Repository navigation
This is release 45 of sconfig which supports the Scala line of products.
Highlights 💥
This release brings in several features and fixes from the Lightbend config library. It is binary compatible with 2.0.x, which is now checked by MiMa in CI. The library build now uses sbt 2.
SimpleConfigObject.keySet now returns an unmodifiable set, so code that changed the returned set will now throw an exception.
✨ New Features
- Override config values with
CONFIG_FORCE_*environment variables (lightbend/config#620, lightbend/config#686) #604 ConfigFactory.parseApplicationReplacement(lightbend/config#708, lightbend/config#709) #602application.confcan override substitutions inreference.conf(lightbend/config#619) #603- List expansion from environment variables #605
🐛 Bug Fixes
- Don't evaluate substitutions hidden by values from resolved objects (lightbend/config#839, lightbend/config#846) #595
- Route
replaceChildthrough a heldConfigConcatenation's pieces (lightbend/config#725) #596 - Two rendering round-trip fixes (lightbend/config#832, lightbend/config#841) #590
- Renderer output is now parseable and a fixed point #598
- Make
SimpleConfigObject.keySetunmodifiable (lightbend/config#848) #618 - Fix a Scala Native linking error for
getResources#638
Contributors 👥
According to git shortlog -sn --no-merges v2.0.0..v2.1.0
15 Scala Steward
12 Eric K Richardson
11 Waldemar Wosiński
2 dependabot[bot]
Special thanks to Waldemar for fixing bugs and porting from the upstream project. 🎤 👏
What's Changed
- Bump actions/checkout from 6 to 7 by @dependabot[bot] in #567
- Update sbt-scalajs, scalajs-compiler, ... to 1.22.0 by @scala-steward in #568
- Update sbt, scripted-plugin to 1.12.15 by @scala-steward in #578
- Update sbt-scala-native-crossproject, ... to 1.4.0 by @scala-steward in #580
- Update scalafmt-core to 3.11.5 by @scala-steward in #577
- Update sbt-scalafmt to 2.6.2 by @scala-steward in #574
- Update sbt-ci-release to 1.12.0 by @scala-steward in #570
- Update scala3-library_sjs1_3 to 3.8.4 by @scala-steward in #576
- Update sbt-ci-release to 1.12.1 by @scala-steward in #581
- Update sbt, scripted-plugin to 1.13.0 by @scala-steward in #582
- Update deprecations for Scala 3 by @ekrich in #584
- Update for sbt 2 by @ekrich in #585
- Fix doc generation for sbt 2 by @ekrich in #586
- Fix broken doc gen after sbt 2 upgrade by @ekrich in #593
- Bump actions/setup-java from 5 to 6 by @dependabot[bot] in #587
- Update sbt-scalafix, scalafix-core, ... to 0.14.8 by @scala-steward in #591
- Update sbt-mima-plugin to 1.2.0 by @scala-steward in #592
- Port lightbend/config#832 and #841: two rendering round-trip fixes (#2) by @kastoestoramadus in #590
- Change adopt to temurin for publish workflow by @ekrich in #594
- Port lightbend/config#839+#846: don't evaluate substitutions hidden by values from resolved objects by @kastoestoramadus in #595
- Revise README for clarity on usage and features by @ekrich in #597
- Port lightbend/config#725: route replaceChild through a held ConfigConcatenation's pieces by @kastoestoramadus in #596
- Update sbt to 2.0.9 by @scala-steward in #608
- Update sbt-mima-plugin to 1.2.1 by @scala-steward in #607
- Update sbt-scalafix, scalafix-core, ... to 0.14.9 by @scala-steward in #606
- Update dependency resolution instructions for sbt by @ekrich in #612
- Port lightbend/config#708+#709: ConfigFactory.parseApplicationReplacement by @kastoestoramadus in #602
- Fix #479: Add mima check to CI by @ekrich in #619
- Make the renderer's output parseable and a fixed point by @kastoestoramadus in #598
- Run uncached full test suites in CI by @kastoestoramadus in #622
- Fix native linking error for getResources by @ekrich in #638
- Port lightbend/config#848: make SimpleConfigObject.keySet unmodifiable by @kastoestoramadus in #618
- Port lightbend/config#620+#686: override config with CONFIG_FORCE_* env vars by @kastoestoramadus in #604
- Drop Option and Vector from the renderer code by @kastoestoramadus in #613
- Port lightbend/config#619: let application.conf override reference.conf substitutions by @kastoestoramadus in #603
- Update sbt to 2.0.10 by @scala-steward in #637
- List expansion from environment variables by @kastoestoramadus in #605
- Remove old mima rules by @ekrich in #652
Full Changelog: v2.0.0...v2.1.0