sconfig 0.7.0
This is the first release of sconfig which supports Scala 2.12
and 2.11
and Java 8
on the JVM. The sconfig code branches after config release version 1.3.3
at commit 1fc2aff4
. See the PR to the config
project for more background.
Changes 💥
The following are changes from the original Java version.
- The package organization name changed from
com.typesafe
toorg.ekrich
. A global change like the following should be safe.- Search and replace the first line with the second.
import com.typesafe.config import org.ekrich.config
- We removed
()
to follow the Scala convention which supports the uniform access principle (Odersky, Spoon, & Venners (2016). Programming in Scala (3rd Ed), (pp. 185-188)
). Methods that have side effects should still require()
.- When using Scala, code sites may require removing
()
where the method just returns state.
- When using Scala, code sites may require removing
- The serialization format has changed due to the package name change. This could require special consideration.
- Support for OSGi has been dropped to reduce complexity. OSGi is more popular in the Java world and the primary purpose of this library is to support Scala.
Contributors 👥
According to git shortlog -sn --no-merges 1fc2aff4..v0.7.0
, 1 person contributed to this release: Eric K Richardson
100 commits are from the original port PR and then 7 additional PRs after the fork.
Special Thanks to Havoc Pennington (the original author of config) and Ólafur Páll Geirsson for his support and encouragement. 🎤 👏