This release brings a new feature for Scala 3 that allows users deriving Config instances using the Scala 3 derives keyword.
The syntax is enabled by adding the import zio.config.magnolia.* import in the file where the case class / sealed trait is defined:
import zio.Config
import zio.config.magnolia.*
case class Foo(key1: String, key2: Int) derives Config
What's Changed
Update sbt-buildinfo to 0.12.0 by @scala-steward in https://github.com/zio/zio-config/pull/1378
Removed silencer SBT plugin by @tPl0ch in https://github.com/zio/zio-config/pull/1171
Update aws-java-sdk-ssm to 1.12.721 by @scala-steward in https://github.com/zio/zio-config/pull/1408
Update scala3-library to 3.4.1 by @scala-steward in https://github.com/zio/zio-config/pull/1405
Update sbt-scalafix to 0.12.1 by @scala-steward in https://github.com/zio/zio-config/pull/1402
Update scalafmt-core to 3.7.17 by @scala-steward in https://github.com/zio/zio-config/pull/1325
Remove Duplicated Title from README by @khajavi in https://github.com/zio/zio-config/pull/1415
fix: ZIO Config Guide Invalid link by @varshith257 in https://github.com/zio/zio-config/pull/1434
Update SBT for pureconfig. by @yangzai in https://github.com/zio/zio-config/pull/1464
Update dependencies, build and CI by @kyri-petrou in https://github.com/zio/zio-config/pull/1478
Update enumeratum to 1.7.5 by @scala-steward in https://github.com/zio/zio-config/pull/1465
Update scalaz-core to 7.4.0-M15 by @scala-steward in https://github.com/zio/zio-config/pull/1462
Update cats-core to 2.12.0 by @scala-steward in https://github.com/zio/zio-config/pull/1422
Make it possible to use derives Config syntax in Scala 3 by @kyri-petrou in https://github.com/zio/zio-config/pull/1479
Update zio, zio-streams, zio-test, ... to 2.1.12 by @scala-steward in https://github.com/zio/zio-config/pull/1482
Update sbt-bloop to 2.0.5 by @scala-steward in https://github.com/zio/zio-config/pull/1481
Update sbt-buildinfo to 0.13.1 by @scala-steward in https://github.com/zio/zio-config/pull/1483
Update zio-aws-ssm to 7.28.29.4 by @scala-steward in https://github.com/zio/zio-config/pull/1484
add DeriveConfig instances for NonEmptyChunk by @mberndt123 in https://github.com/zio/zio-config/pull/1455
Update refined to 0.11.2 by @scala-steward in https://github.com/zio/zio-config/pull/1424
Reduce amount of generated code when deriving Configs in Scala 3 by @kyri-petrou in https://github.com/zio/zio-config/pull/1480
Fix compiling after merge error for Scala 3 by @kyri-petrou in https://github.com/zio/zio-config/pull/1509
Update refined to 0.11.3 by @scala-steward in https://github.com/zio/zio-config/pull/1508
Update sbt, sbt-dependency-tree, ... to 1.10.7 by @scala-steward in https://github.com/zio/zio-config/pull/1507
Update zio-aws-ssm to 7.28.29.11 by @scala-steward in https://github.com/zio/zio-config/pull/1506
Update sbt-ci-release to 1.9.2 by @scala-steward in https://github.com/zio/zio-config/pull/1503
Update sbt-bloop to 2.0.6 by @scala-steward in https://github.com/zio/zio-config/pull/1499
Update mdoc, sbt-mdoc to 2.6.2 by @scala-steward in https://github.com/zio/zio-config/pull/1498
Update zio, zio-streams, zio-test, ... to 2.1.14 by @scala-steward in https://github.com/zio/zio-config/pull/1504
Update zio-sbt-website to 0.4.0-alpha.29 by @scala-steward in https://github.com/zio/zio-config/pull/1510
Update aws-java-sdk-ssm to 1.12.780 by @scala-steward in https://github.com/zio/zio-config/pull/1500
Update pureconfig-core to 0.17.8 by @scala-steward in https://github.com/zio/zio-config/pull/1488
Update auxlib, clib, javalib, nativelib, ... to 0.5.6 by @scala-steward in https://github.com/zio/zio-config/pull/1486
Update scalafmt-core to 3.8.3 by @scala-steward in https://github.com/zio/zio-config/pull/1445
New Contributors
@tPl0ch made their first contribution in https://github.com/zio/zio-config/pull/1171
@varshith257 made their first contribution in https://github.com/zio/zio-config/pull/1434
@kyri-petrou made their first contribution in https://github.com/zio/zio-config/pull/1478
Full Changelog: https://github.com/zio/zio-config/compare/v4.0.2...v4.0.3