Changelog

All notable changes to this project will be documented in this file.

This project adheres to Semantic Versioning.

2.2.1

  • Fix JSON cast for already parsed default configuration

2.2.0

  • Add new cast config.json for JSON configurations

2.1.0

  • Add (optional) support for AWSParameterStore. To enable it install prettyconf[aws] (thanks @ronaldotd)
  • Replace nosetest -> pytest
  • Implemented new .env parser with multiline support (thanks @jaysonsantos)
  • Update and improve casts session documentation (thanks @hernantz)

2.0.1

  • Hopeful quick and dirty fix of the discovery system (do not install version 2.0.0)

2.0.0

  • Refactor strategy to find configuration files (thanks to @hernantz)
  • Lots of improvements on documentation
  • Dropped support for py2
  • Dropped tox support

1.2.3

  • Fix a blocker issue with config.eval cast and add a test to prevent regressions
  • Add more informations about python-decouple vs. prettyconf at FAQ (Fixes #16 again)

1.2.2

  • Remove testfixtures requirements (it’s broken with pypy)

1.2.1

  • New cast type: config.eval (uses ast.literal_eval to cast python settings)
  • 3rd-party suggestion: dj-email-url parser in documentation

1.2.0

  • New cast type: config.tuple (converts a comma-separated string in tuple)

1.1.2

  • Ignore errors in make clean

1.1.1

  • Fix a brown paper bug in the last release
  • Force test running in make release target
  • Add “pragma: no cover” in abstract methods

1.1.0

  • Skip discovering files inside not-directory paths (eg. .egg, .zip or wheel packages)

1.0.1

  • Fix a issue that breaks .ini/.cfg loader with “broken” files

1.0.0

  • First stable release! hooray!
  • Make configuration load lazy to make possible change root_path and starting_path in prettyconf.config
  • Default root_path is “/” instead of $HOME (backward incompatible change)
  • Add missing requirements in requirements.txt and make tox use it.
  • Small PEP-8 and code formatting fixes

0.4.1

  • Add MacOSX travis builds.

0.4.0

  • Add root_path to stop looking indefinitely for configuration files until the OS root path
  • Add advanced usage docs
  • Include a simple (but working) tox configuration for py27 + py34 to the project

0.3.3

  • Start a structure to make a better documentation with sphinx and publish it at Read the Docs

0.3.2

  • Stop directories from being traversed up when valid configurations were found.
  • Validates invalid unicode data on INI files (and skip them)
  • Better Python3 support with use of ConfigParser.read_file
  • Code cleanup
  • More test cases for ConfigurationDiscovery added

0.3.1

  • Fix a bad behaviour that make impossible to define a None default

0.3.0

  • Make config.{cast} shortcuts easier to use. This change breaks backward compatibility.

0.2.2

  • Fix an issue with .env parser that breaks with unquoted URL values
  • Fix an issue with magic _get_path used by config discovery (thanks @bertonha)

0.2.0

  • Add basic documentation

0.1.1

  • Fix a small issue in README.txt formatting

0.1

  • First version