All Versions
Latest Version
Avg Release Cycle
97 days
Latest Release
2357 days ago

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