PureConfig v0.7.0 Release Notes

Release Date: 2017-04-02 // about 7 years ago
    • ๐Ÿ†• New features

      • ConfigConvert is now a union of two new traits - ConfigReader for reading configs and ConfigWriter for writing them:
      • Having an implicit ConfigReader in scope is enough to read a config to a instance of a given type;
      • Having a ConfigWriter is enough for writing instances to configs;
      • ConfigConvert can still be used everywhere it was before and is advisable when both operations are needed.
      • Many constructors for ConfigConvert instances were deprecated, while new ones were added in the companion objects of ConfigReader, ConfigWriter and ConfigConvert. The deprecation message of each one indicates the new method to use;
      • Add ConfigFactoryWrapper to control exceptions from typesafe ConfigFactory;
      • Modify the message of ConfigReaderException to group errors by keys in the configuration, instead of by type of error;
      • Add a path (Option[String]) to ConfigReaderFailure, in order to expose more information (if available) about the key in the configuration whose value raised the failure.
    • ๐Ÿ’ฅ Breaking changes

      • loadConfigFromFiles works on Path instead of File for consistency;
      • ConfigValueLocation now uses URL instead of Path to encode locations of ConfigValues.
    • ๐Ÿ› Bug fixes

      • pureconfig.load* methods don't throw exceptions on malformed configuration anymore and wrap errors in ConfigReaderFailures [#148].