All Versions
2
Latest Version
Avg Release Cycle
97 days
Latest Release
2640 days ago
Changelog History
Changelog History
-
v1.0.0 Changes
June 23, 2017🔄 Changelog:
👍 Allow extended traits to implement setting methods from their parents:
trait Parent { def myNumber: Int}trait Child extends ParentSettler.settings[Child](/*...*/)// Will correctly implement the
myNumber
method.👍 Allow lazy/eager loading of settings based on declaration:
trait Settings { val eagerlyLoaded: Stringdef lazyLoaded: String}
Format code using scalafmt
➕ Add a config provider that uses environment variables:
trait Aws { @Key(name = "AWS\_SECRET\_ACCESS\_KEY") def key: Stringdef awsSecretAccessKey: String}val s = Settler.settings[Aws](ConfigProvider.fromEnv()) println(s.key == s.awsSecretAccessKey)
-
v0.4.3
March 18, 2017