Envolved

Latest version: v1.5.0

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

Scan your dependencies

Page 1 of 3

1.5.0

Removed
* `envolved` no longer supports python 3.7
Added
* `FindIterCollectionParser`
* `with_prefix` can now override many of an env-var's parameters
Fixed
* `CollectionParser`'s `opener` and `closer` arguments now correctly handle matches that would be split by the delimiter
* `CollectionParser`'s `closer` argument now correctly handles overlapping matches
* `CollectionParser`'s `closer` argument is now faster when using non-regex matches
* `CollectionParser.pair_wise_delimited` will now be more memory efficient when using a mapping `value_type`
Internal
* fixed some documentation typos

1.4.0

Deprecated
* this is the last release to support python 3.7
Changed
* `BoolParser` is now a subclass of `LookupParser`
Fixed
* environment sys-hooks can now handle invalid arguments gracefully
Internal
* update formatter to ruff 0.3.0
* unittests now automatically run on all supported platforms
* using sluth for documentation

1.3.0

Added
* single-environment variable can now be given additional arguments, that are passed to the parser.
* env-var defaults can now be wrapped in a `Factory` to allow for a default Factory.
Changed
* type annotation correctness is no longer supported for python 3.7
Documentation
* Fixed some typos in the documentation

1.2.1

Fixed
* The children of envvars that are excluded from the description are now also excluded.

1.2.0

Added
* new argument `strip_items` for `CollectionParser`.
* new arguments `strip_keys` and `strip_values` for `CollectionParser.pairwise_delimited`.
* `missing`, `as_default`, `no_patch`, and `discard` consts are now available in the `envolved` namespace.
* envvar descriptions can now also be a sequence of strings to denote multiple paragraphs.
* many new options for describing env vars
* inferred env vars can now be used for parameters that don't have a type hint, so long as the default and type are provided.
Fixed
* the default `case_sensitive` value for `inferred_env_var`s is now `False` instead of `True`.
* envvars create with `with_prefix` are now correctly added to the description
* calling `describe_env_vars` without any envvars defined no longer raises an error
Docs
* changed documentation theme with furo
Deprecations
* usage of the `basevar` and `infer_env_var` modules is deprecated
* usage of the `envvar` function to create inferred envvars is deprecated

1.1.2

Fixed
* changed type of `args` to be an invariant `Mapping` instead of a `dict`

Page 1 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.