Ecological

Latest version: v2.0.0

Safety actively analyzes 621920 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 2

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` 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

Bugfix:
- Improved error reporting (https://github.com/jmcs/ecological/pull/13)

1.5.0

- Support Python 3.7

1.4.0

- Support PEP563;

1.3.0

- [8] Fix bug when processing complex types

1.2.1

- [Removed a duplicated variable](https://github.com/jmcs/ecological/commit/5b9ad681642672a86e5c8e1f4d21ac8943d4b137)
- Improved code documentation

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.