Releases: mkaranasou/pyaml_env
Releases · mkaranasou/pyaml_env
v1.2.2
What's Changed
- Update codeql analysis by @lukeanderson93 in #39
- Fix SyntaxWarning: invalid escape sequence. by @lukeanderson93 in #37
- Update python-publish.yml by @mkaranasou in #40
- Revert "Update python-publish.yml" by @mkaranasou in #41
New Contributors
- @lukeanderson93 made their first contribution in #39
Full Changelog: v1.2.1...v1.2.2
Release requirements
Resolves issue #30
Option to enforce datatype + bug fix
- You can now enforce datatype of environment variable or default value with
tag:yaml.org,2002:datatype
e.g.tag:yaml.org,2002:float
(workaround because!!float
is not allowed when there is an!ENV
tag. (see #26 ) - Bug fix: parse only environment variables that are denoted with
!ENV
tag, not any environment variable (see #25 )
Allow PyYAML 6.*
- Minor change in requirements.txt to allow PyYAML 6.* too.
File Encoding and `default_value=None` handling
Changelog:
- Added an encoding option for opening files - defaults to utf-8
- Handling of
default_value=None
Adding support for different yaml loaders
Adding loader
kwarg to parse_config
to address #17 .
Minor: Flexibility with PyYAML version
Be more flexible with PyYAML version.
MANIFEST.in
v1.1.1 bump version to v1.1.1
More flexibility with env variables' naming and ':' as default separator
- Allows for more characters to be used in environment variables' naming
- Breaking change: sets the
default_sep
to:
- Documentation updates
Pattern bugfix
Resolves issue #6