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
source
option), - Global variable options can be set on the class level (including
transform
,wanted_type
,source
andvariable_name
).
Deprecations:
ecological.AutoConfig
deprecated in favor of more flexibleecological.Config
.
Internal changes:
- Travis build is run for both Python 3.6 and 3.7,
- Migrated from
pipenv
andsetuptools
topoetry
, - 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 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