Skip to content

Releases: vlovgr/ciris

Ciris v0.6.1

25 Dec 10:28
Compare
Choose a tag to compare

Changes

  • Add Scala Native (0.3.6) support for ciris-core. (#76)

Miscellaneous

Released on 2017-12-25.

Ciris v0.6.0

08 Dec 16:54
Compare
Choose a tag to compare

Changes

  • Add Secret[A] to avoid logging secret configuration values. (#73)
  • Fix Squants ConfigReader[Temperature] to work around #261. (#75)

Updates

  • Update SBT to 1.0.4. (#72)
  • Update Scala to 2.11.12 and 2.10.7. (#70)

Miscellaneous

  • Add syntax imports to Ammonite imports and try script. (#75)
  • Add note on binary compatibility to index page/readme. (#75)
  • Add note clarifying library is targeting Java 8. (#75)

Released on 2017-12-08.

Ciris v0.5.0

11 Nov 13:36
Compare
Choose a tag to compare

Changes

  • Add .jvmopts for default java options. (#56)
  • Add refine and mapRefine syntax to ConfigValue. (#42)
  • Add support for Java BigDecimal and BigInteger. (Thanks @asalvadore.) (#57)
  • Add customisable ConfigReader instances for Java time. (Thanks @ZsoltBalvanyos.) (#63, #64)
  • Add support for reading from files with the file and fileWithName methods (JVM only). (#69)
    Add ConfigKeyType#File, ConfigSource#File, ConfigReader#mapEntryValue, ConfigSourceEntry#mapValue.
  • Add build integration with the Migration Manager for Scala (MiMa). (#58)
    Minor version numbers are now used to indicate binary compatibility.
  • Change ConfigValue to be a final case class and value class. (#45)
  • Fix ConfigException#toString to include the exception message. (#68)

Updates

  • Update SBT to 1.0.3. (#66)
  • Update Scala to 2.12.4. (#65)
  • Update Scala.js to 0.6.21. (#67)

External Libraries

Miscellaneous

Released on 2017-11-11.

Ciris v0.4.2

05 Oct 08:47
Compare
Choose a tag to compare

Changes

  • Add ConfigValue#orElse for chaining configuration values. (#37)
  • Add ConfigValue#apply for creating a ConfigValue from an Either[ConfigError, T]. (#37)

Updates

  • Update refined to 0.8.4. (#41)
  • Update Scala.js to 0.6.20. (#40)

Released on 2017-10-05.

Ciris v0.4.1

28 Aug 08:40
Compare
Choose a tag to compare

Changes

  • Add ciris-spire module for integration with spire. (#35)
  • Add ConfigSource#empty and fromEntries. (#33, #35)
  • Add ConfigException and Either[ConfigErrors, T]#orThrow() syntax. (#34)
  • Add ConfigErrors#toException for converting to ConfigException. (#34)
  • Add ConfigReader#collect, mapTry, mapCatchNonFatal, fromTryOption. (#35)

Updates

  • The try script now uses Ammonite 1.0.2. (#35)
  • Scala.js has been updated to 0.6.19. (#32)
  • Update to Scala 2.12.3. (#32)

Miscellaneous

  • Ciris is now a Typelevel incubator library. (#31)

Released on 2017-08-28.

Ciris v0.4.0

10 Jun 08:27
Compare
Choose a tag to compare

Changes

  • Configuration sources can now be created for different key types. (#26)
  • Sources and readers are now separated with ConfigSourceEntry. (#26)
  • Add arg method for reading command-line arguments by index. (#26)
  • Add unified API documentation with sbt-doctest tests. (#27)

Updates

  • ciris-refined is now using refined 0.8.2. (#23)
  • The try script now uses Ammonite 0.9.9. (#25)
  • Scala.js has been updated to 0.6.17. (#24)

Miscellaneous

  • Fix unused import warnings in sbt console.
  • Argument names, type parameter names, and toString methods have changed in a few places.
  • Ensure usage guide compiles and API documentation tests pass on all supported Scala versions. (#28)
ConfigError
  • ConfigError#apply now accepts messages by reference.
  • ConfigError#Combined, MissingKey, ReadException, and WrongType are now private.
    Replaced by ConfigError#combined, missingKey, readException, and wrongType.
ConfigErrors
  • ConfigErrors#apply now accepts multiple ConfigErrors.
ConfigKeyType
  • Add ConfigKeyType#Argument.
  • Rename ConfigKeyType#Properties to Property.
ConfigReader
  • Add ConfigReader#map and identity.
  • Rename ConfigReader#fold to mapBoth.
ConfigSource
  • Add ConfigSource#byIndex.
  • Fix creating some unnecessary ConfigSource instances.
  • Remove ConfigReader#pure since it can no longer work.
ConfigValue
  • Add ConfigValue.PartiallyApplied to support the read method.
  • Change ConfigValue#apply arguments to be explicit instead of implicit.

Released on 2017-06-10.

Ciris v0.3.2

01 Jun 13:51
Compare
Choose a tag to compare

Changes

  • ConfigSource is no longer a sealed class and can be extended. (#17)
  • ciris-refined uses a WeakTypeTag on the JVM. (#20)

Updates

  • ciris-squants module is now using squants 1.3.0. (#16)

Miscellaneous

  • Rename implicits in ciris-generic, add more test cases. (#15)
  • The ConfigValue class now has a sensible toString method. (#19)
  • Usage guide now has two new sections, Core Concepts and Modules Overview. (#19)
  • Documentation now has headings which are hyperlinks with anchors. (#19)
  • Smaller changes to the release process. (#18)

Released on 2017-06-01.

Ciris v0.3.1

26 May 06:45
Compare
Choose a tag to compare

Changes

  • Fix missing sources for ciris-generic on Scala.js. (#14)

Miscellaneous

  • The microsite has had a design update, and now has a usage guide. (#11)
  • The readme has been expanded with more details. (#11)
  • Unified API docs are now available at cir.is/api. (#11)
  • Fixed naming on an implicit ConfigReader[SpecificEnergy] in ciris-squants. (ca7477f)
  • Sources are no longer using unicode arrows. (00434cc)
  • Tests are now in a separate module, tests. This is in preparation of Scala Native support. (#14)
  • The try script is now using Ammonite 0.9.3. (#13)

Released on 2017-05-26.

Ciris v0.3.0

14 May 19:49
Compare
Choose a tag to compare

Changes

  • Add a ciris-generic module using shapeless to load coproducts and products. (#9)
  • Add additional methods to create a ConfigSource. (#8)
  • Add support for reading more types. (#10)

Miscellaneous

  • There is now a try script using coursier and Ammonite REPL (see updated readme).
  • Ammonite REPL imports for loading Ciris modules are now included in the readme.
  • You can now use sbt console in the project root (and modules) to try out Ciris.

Released on 2017-05-14.

Ciris v0.2.0

09 May 08:05
Compare
Choose a tag to compare

Changes

  • Add support for Scala.js to all existing modules. (#7)

Released on 2017-05-09.