This is release 39 of sconfig which supports the Scala line of products.
Highlights 💥
This release offers an additional formatting feature to simplify single entry values. The formatting is new so please file issues if they are found. This update again addresses many fixes and enhancements that are included in the upstream Java project. Other outstanding issues are tracked here: #29
-
Note: this release has numerous deprecations that will be removed in 2 releases. When we added the single entry format option we realized our approach was not binary compatible because we used a case class. The original library had a good binary format design and we needed to continue the design. The new
FormattingOptionsintroduced last release is deprecated, and is nowConfigFormatOptionswhich is designed exactly likeConfigRenderOptionsandConfigResolveOptionsfrom the original library. The other deprecations include any use of the properties of the last 2 mentioned options objects. This was a porting / IntelliJ conversion error and the properties wereprivatein the Java version so now they are private. The other property inConfigMemorySizehas been changed fromLongtoBigIntegerin this release. TheBigIntegerproperty is now private so we added a deprecated getter for thebytesproperty if this field was accessed directly. -
Note 2: This release is binary compatible but please fix all deprecations as soon as possible. Reasonable hints are available in the deprecations.
Details below.
Contributors 👥
According to git shortlog -sn --no-merges v1.11.0..v1.12.0
8 Eric K Richardson
7 Scala Steward
6 Waldemar Wosiński
2 Matthew de Detrich
2 dependabot[bot]
Special thank you to Matthew de Detrich, @mdedetrich for the scalafmt plugin and fixing the no paren issues. Thank-you for these first contributions. 🎤 👏
What's Changed
- Additional space after assign - rendering improvement by @kastoestoramadus in #467
- [ISSUE-465] Bugfix for unquoted Strings, exception with '.' kept by @kastoestoramadus in #466
- Update scalafmt-core to 3.9.9 by @scala-steward in #470
- Update sbt, scripted-plugin to 1.11.4 by @scala-steward in #471
- [BUGFIX] surplus spaces in array comments by @kastoestoramadus in #472
- Compact single nested object entry - rendering improvement by @kastoestoramadus in #468
- Fix #256: Potential excess memory use with getDuration by @ekrich in #473
- Add ScalaOps and convert SimpleConfig by @ekrich in #476
- Bump actions/checkout from 4 to 5 by @dependabot[bot] in #477
- Update sbt-ci-release to 1.11.2 by @scala-steward in #480
- Porting from Lightbend: Support for huge memory units #663 by @kastoestoramadus in #469
- Bump actions/setup-java from 4 to 5 by @dependabot[bot] in #482
- Update sbt, scripted-plugin to 1.11.5 by @scala-steward in #483
- Update sbt-scalajs, scalajs-compiler, ... to 1.20.1 by @scala-steward in #484
- Update sbt, scripted-plugin to 1.11.6 by @scala-steward in #485
- Change ConfigFactory/SimpleConfigObject def to no paren by @mdedetrich in #488
- Use scalafmt native and defer to scalafmt installation by @mdedetrich in #489
- Some clean up before the release by @ekrich in #490
- Fix #487: BadMap negative hash again by @ekrich in #491
- Update scalafmt-core to 3.9.10 by @scala-steward in #495
- Enhance CI matrix by @ekrich in #494
- Fix #481: Fix ABI before release by @ekrich in #493
- [496] bugfix rendering for multipaths in arrays by @kastoestoramadus in #497
- Updates for 1.12.0 Release by @ekrich in #498
New Contributors
- @mdedetrich made their first contribution in #488
Full Changelog: v1.11.0...v1.12.0