Skip to content

Releases: jmcs/ecological

2.0.0

18 Jun 12:58
2f4eca1
Compare
Choose a tag to compare

New features:

  • Load values on demand; load values to an object instance instead of the class itself (Configurable autoloading),
  • Ability to load values from an arbitrary dictionary (the source option),
  • Global variable options can be set on the class level (including transform, wanted_type, source and variable_name).

Deprecations:

  • ecological.AutoConfig deprecated in favor of more flexible ecological.Config.

Internal changes:

  • Travis build is run for both Python 3.6 and 3.7,
  • Migrated from pipenv and setuptools to poetry,
  • Moved away from the metaclass and replaced it with the __init_subclass__ method instead,
  • Loading mechanism was significantly refactored.

Migration:

  • In order to migrate ecological.Config needs to be subclassed instead of ecological.AutoConfig,
  • Please mind that new features cannot be used with ecological.AutoConfig.

1.6.0

17 Aug 05:18
Compare
Choose a tag to compare

Bugfix:

  • Improved error reporting (#13)

1.5.0

07 Aug 10:22
Compare
Choose a tag to compare
  • Support Python 3.7

1.4.0

21 Oct 07:44
Compare
Choose a tag to compare
  • Support PEP563;

1.3.0

17 Jun 14:37
Compare
Choose a tag to compare
  • [#8] Fix bug when processing complex types

1.2.1

17 Jun 09:14
Compare
Choose a tag to compare

1.2

13 Jun 16:09
Compare
Choose a tag to compare
1.2
  • (#3) Support Python 3.6.0

1.1

12 Jun 17:07
Compare
Choose a tag to compare
1.1
  • (#2) If the environmental variable is not set and a default is set, the default is returned as is, instead of being parsed by the transform function.

1.0

12 Jun 17:04
Compare
Choose a tag to compare
1.0

First release