Releases: zio/zio-config
Releases · zio/zio-config
v4.0.6
What's Changed
- Update zio-sbt-website to 0.4.4 (#1625) @zio-scala-steward[bot]
- Update mdoc, sbt-mdoc to 2.8.0 (#1609) @zio-scala-steward[bot]
- Update scala-collection-compat to 2.14.0 (#1606) @zio-scala-steward[bot]
- Update scala-compiler, scala-library, ... to 2.13.18 (#1624) @zio-scala-steward[bot]
- Update aws-java-sdk-ssm to 1.12.794 (#1623) @zio-scala-steward[bot]
- Update enumeratum to 1.9.1 (#1621) @zio-scala-steward[bot]
- Update snakeyaml-engine to 3.0.1 (#1618) @zio-scala-steward[bot]
- Update snakeyaml-engine to 3.0 (#1617) @zio-scala-steward[bot]
- Update scalafmt-core to 3.10.1 (#1616) @zio-scala-steward[bot]
- Update sbt-scalafmt to 2.5.6 (#1614) @zio-scala-steward[bot]
- Update aws-java-sdk-ssm to 1.12.793 (#1613) @zio-scala-steward[bot]
- Update auxlib, clib, javalib, nativelib, ... to 0.5.9 (#1608) @zio-scala-steward[bot]
- Update zio, zio-streams, zio-test, ... to 2.1.22 (#1611) @zio-scala-steward[bot]
- Update scala3-compiler, scala3-library, ... to 3.3.7 (#1610) @zio-scala-steward[bot]
- Update sbt-scalafix to 0.14.4 (#1607) @zio-scala-steward[bot]
- Update aws-java-sdk-ssm to 1.12.792 (#1603) @zio-scala-steward[bot]
- Update sbt, sbt-dependency-tree, ... to 1.11.7 (#1604) @zio-scala-steward[bot]
- Update sbt-jmh to 0.4.8 (#1601) @zio-scala-steward[bot]
- Update kind-projector to 0.13.4 (#1602) @zio-scala-steward[bot]
- Update zio-sbt-website to 0.4.0-alpha.35 (#1600) @zio-scala-steward[bot]
- Remove sbt-bloop plugin (#1599) @guizmaii
v4.0.5
What's Changed
- Update sbt-mdoc to 2.7.2 (#1597) @zio-scala-steward[bot]
- Update sbt-header to 5.11.0 (#1596) @zio-scala-steward[bot]
- Update sbt-ci-release to 1.11.2 (#1595) @zio-scala-steward[bot]
- Update zio, zio-streams, zio-test, ... to 2.1.21 (#1587) @zio-scala-steward[bot]
- Update zio-parser to 0.1.11 (#1589) @zio-scala-steward[bot]
- Update mdoc, sbt-mdoc to 2.6.5 (#1594) @zio-scala-steward[bot]
- Update zio-aws-ssm to 7.28.29.19 (#1588) @zio-scala-steward[bot]
- Update zio-sbt-website to 0.4.0-alpha.34 (#1590) @zio-scala-steward[bot]
- Update sbt-scalajs, scalajs-compiler, ... to 1.20.1 (#1591) @zio-scala-steward[bot]
- Update sbt, sbt-dependency-tree, ... to 1.11.6 (#1593) @zio-scala-steward[bot]
- Update scala-compiler, scala-library, ... to 2.13.16 (#1592) @zio-scala-steward[bot]
- Update enumeratum to 1.9.0 (#1585) @zio-scala-steward[bot]
- Update sbt-scalafix to 0.14.3 (#1584) @zio-scala-steward[bot]
- Update sbt-ci-release to 1.9.3 (#1586) @zio-scala-steward[bot]
- Update cats-core to 2.13.0 (#1525) @scala-steward
- Update scalafmt-core to 3.8.6 (#1528) @scala-steward
- Update scala-collection-compat to 2.13.0 (#1531) @scala-steward
- Update sbt, sbt-dependency-tree, ... to 1.10.11 (#1548) @scala-steward
- Update enumeratum to 1.7.6 (#1551) @scala-steward
- Update scala3-compiler, scala3-library, ... to 3.3.6 (#1557) @scala-steward
- Update auxlib, clib, javalib, nativelib, ... to 0.5.8 (#1563) @scala-steward
- Update sbt-scalafmt to 2.5.5 (#1566) @scala-steward
- Update snakeyaml-engine to 2.10 (#1569) @scala-steward
- Update bots configuration (#1583) @guizmaii
- Update sbt-bloop to 2.0.13 (#1573) @scala-steward
- Update sbt-unidoc to 0.6.0 (#1576) @scala-steward
- Update aws-java-sdk-ssm to 1.12.791 (#1579) @scala-steward
- Update typesafe:config to 1.4.5 (#1582) @scala-steward
v4.0.4
What's Changed
- feat: publish dotty version for cross builds by @mhriemers in #1497
- Table.toGithubFlavouredMarkdown: link to section heading anchors by @igneus in #1543
New Contributors
- @mhriemers made their first contribution in #1497
- @igneus made their first contribution in #1543
Full Changelog: v4.0.3...v4.0.4
v4.0.3
Highlights
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 ConfigWhat's Changed
- Update sbt-buildinfo to 0.12.0 by @scala-steward in #1378
- Removed silencer SBT plugin by @tPl0ch in #1171
- Update aws-java-sdk-ssm to 1.12.721 by @scala-steward in #1408
- Update scala3-library to 3.4.1 by @scala-steward in #1405
- Update sbt-scalafix to 0.12.1 by @scala-steward in #1402
- Update scalafmt-core to 3.7.17 by @scala-steward in #1325
- Remove Duplicated Title from README by @khajavi in #1415
- fix: ZIO Config Guide Invalid link by @varshith257 in #1434
- Update SBT for pureconfig. by @yangzai in #1464
- Update dependencies, build and CI by @kyri-petrou in #1478
- Update enumeratum to 1.7.5 by @scala-steward in #1465
- Update scalaz-core to 7.4.0-M15 by @scala-steward in #1462
- Update cats-core to 2.12.0 by @scala-steward in #1422
- Make it possible to use
derives Configsyntax in Scala 3 by @kyri-petrou in #1479 - Update zio, zio-streams, zio-test, ... to 2.1.12 by @scala-steward in #1482
- Update sbt-bloop to 2.0.5 by @scala-steward in #1481
- Update sbt-buildinfo to 0.13.1 by @scala-steward in #1483
- Update zio-aws-ssm to 7.28.29.4 by @scala-steward in #1484
- add DeriveConfig instances for NonEmptyChunk by @mberndt123 in #1455
- Update refined to 0.11.2 by @scala-steward in #1424
- Reduce amount of generated code when deriving
Configs in Scala 3 by @kyri-petrou in #1480 - Fix compiling after merge error for Scala 3 by @kyri-petrou in #1509
- Update refined to 0.11.3 by @scala-steward in #1508
- Update sbt, sbt-dependency-tree, ... to 1.10.7 by @scala-steward in #1507
- Update zio-aws-ssm to 7.28.29.11 by @scala-steward in #1506
- Update sbt-ci-release to 1.9.2 by @scala-steward in #1503
- Update sbt-bloop to 2.0.6 by @scala-steward in #1499
- Update mdoc, sbt-mdoc to 2.6.2 by @scala-steward in #1498
- Update zio, zio-streams, zio-test, ... to 2.1.14 by @scala-steward in #1504
- Update zio-sbt-website to 0.4.0-alpha.29 by @scala-steward in #1510
- Update aws-java-sdk-ssm to 1.12.780 by @scala-steward in #1500
- Update pureconfig-core to 0.17.8 by @scala-steward in #1488
- Update auxlib, clib, javalib, nativelib, ... to 0.5.6 by @scala-steward in #1486
- Update scalafmt-core to 3.8.3 by @scala-steward in #1445
New Contributors
- @tPl0ch made their first contribution in #1171
- @varshith257 made their first contribution in #1434
- @kyri-petrou made their first contribution in #1478
Full Changelog: v4.0.2...v4.0.3
v4.0.2
What's Changed
- Update aws-java-sdk-ssm to 1.12.709 by @scala-steward in #1401
- Add annotations for key modifications by @IvanFinochenko in #1399
- Add safe ZIO methods builders of ConfigProvider by @IvanFinochenko in #1398
- Update typesafe:config to 1.4.3 by @scala-steward in #1304
- Update refined to 0.11.1 by @scala-steward in #1352
- Update scala-collection-compat to 2.12.0 by @scala-steward in #1395
- Update sbt-bloop to 1.5.17 by @scala-steward in #1387
- Update sbt-scalajs, scalajs-compiler, ... to 1.16.0 by @scala-steward in #1379
- Update scala3-library to 3.3.3 by @scala-steward in #1368
New Contributors
- @IvanFinochenko made their first contribution in #1399
Full Changelog: v4.0.1...v4.0.2
v4.0.1
v4.0.0
v4.0.0-RC16
Changes
Minor bug fixes
v4.0.0-RC15
Remove debug in scala3
v4.0.0-RC14
Updates
- Add type-discriminator support for scala-3 auto derivation. Note that this support already existed in scala-2 auto derivation
import zio.config._, magnolia._, typesafe._
@nameWithLabel("type")
sealed trait FooBar
case class Foo(name: String) extends FooBar
case class Bar() extends FooBar
case class MyConfig(a: FooBar, b: FooBar)
val hocon =
s"""
{
a : {
type : Foo
name : baz
},
# Bar is just name since it has no fields, and therefore no need of type descriminator
b : Bar
}
"""
ConfigProvder.fromHoconString(hocon).load(deriveConfig[MyConfig])
Find more examples here: