All Versions
4
Latest Version
Avg Release Cycle
152 days
Latest Release
1748 days ago

Changelog History

  • v1.0.1 Changes

    August 14, 2017
    • โž• Added reader for Seq[Config] (thanks @jw3!)
    • ๐Ÿ— Cross build for scala 2.12.x (thanks @jw3!)
    • โ†” Integrated sbt-release.
  • v1.0.0 Changes

    November 03, 2016
    • โฌ†๏ธ Upgraded to "com.typesafe" % "config" % "1.3.1"
    • Cross compiled against Scala "2.11.8" and "2.12.0-RC1"
  • v0.2.0 Changes

    May 15, 2016

    ๐Ÿ†• New Features

    • โž• Added support for HOCON array values through as[Seq[T]] and asOption[Seq[T]]
    • ๐Ÿ‘€ Converted value extraction to use user-extensible typeclass pattern. See README for details.

    ๐Ÿ”„ Changes

    ๐Ÿ’ฅ Breaking Changes

    • asSize has gone away in preference for as[ConfigMemorySize], which normalizes it's usage with rest of API.
  • v0.1.0 Changes

    May 14, 2016

    ๐Ÿ”ง Simple Scala Config is Typesafe Config wrapped in a Dynamic Scala blanket. It is an extremely thin wrapper (less than 100 SLOC), allowing retrieval of configuration values using field-dereference syntax.

    Supports field-dereference syntax for Typesafe Config lookups, supporting types T and Option[T] where T is {Boolean|Int|Double|Long|Float|String|Duration|Path|File|Config|AnyRef}.

    object MyConfig extends SSConfig()val tmp = MyConfig.myapp.tempdir.as[Path]val runtime = MyConfig.java.runtime.name.as[String]val timeout = MyConfig.akka.actor.`creation-timeout`.as[Duration].getSecondsval debugMode = MyConfig.app.debug.asOption[Boolean].getOrElse(false)
    

    ๐Ÿ‘ Allows nested configuration via optional path parameter:

    object AkkaConfig extends SSConfig("akka")val akkaVersion = AkkaConfig.version.as[String]val timeout = AkkaConfig.actor.`creation-timeout`.as[Duration].getSeconds
    

    ๐Ÿ‘ Allows custom config loading via optional Config parameter:

    val props = new SSConfig(ConfigFactory.load("myprops.properties"))val version = props.version.as[String]