Releases: jmcs/ecological
Releases · jmcs/ecological
2.0.0
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
sourceoption), - Global variable options can be set on the class level (including
transform,wanted_type,sourceandvariable_name).
Deprecations:
ecological.AutoConfigdeprecated in favor of more flexibleecological.Config.
Internal changes:
- Travis build is run for both Python 3.6 and 3.7,
- Migrated from
pipenvandsetuptoolstopoetry, - 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.Configneeds to be subclassed instead ofecological.AutoConfig, - Please mind that new features cannot be used with
ecological.AutoConfig.
1.6.0
1.5.0
1.4.0
1.3.0
1.2.1
- Removed a duplicated variable
- Improved code documentation