Yamlpath

Latest version: v3.8.2

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

Scan your dependencies

Page 2 of 9

3.6.7

Bug Fixes:

3.6.6

Enhancements:
* Support ruamel.yaml up to version 0.17.21.

Bug Fixes:
* YAML timestamp values could not be created via yamlpath tools or its library,
per http://yaml.org/type/timestamp.html.
* CAUTION 1: ruamel.yaml seems to force all timestamps to UTC while it loads
YAML/JSON/Compatible data. So, when the timestamp value contains time-zone
data, it will be stripped off after it is applied to the timestamp value.
The yamlpath library reverses this when emitting the affected values but if
you attempt to load the timestamp values directly in the DOM, you'll end up
with the UTC-converted value, stripped of any time-zone specification. If
you need the original, unmodified data as a time-zone aware
datetime.datetime value, pass it through the helper method,
Nodes.get_timestamp_with_tzinfo(data: AnchoredTimeStamp).
* CAUTION 2: In order to support timestamp parsing, this project now depends
on the python-dateutil library. Be sure to install it!
Thanks again go to https://github.com/AndydeCleyre!

3.6.5

Bug Fixes:
* When using EYAML with block formatted values on Windows, the block formatting
was broken when written to YAML, corrupting the YAML file. Non-block
formatted values were unaffected and this issue only affected Windows EYAML
users.
* EYAML values were not being decrypted when the result appeared in a list.
* Boolean values were being unexpectedly output as base-10 representations of
the binary values 1 (True) and 0 (False) when emitting to JSON after setting
the Boolean. This change also brings this project into compilance with
https://peps.python.org/pep-0632/. Many thanks to
https://github.com/AndydeCleyre!

3.6.4

Enhancements:
* Support ruamel.yaml up to version 0.17.17.

Bug Fixes:
* Refactored single-star wildcard segment (*) handling to enable filtering
matches when subsequent segments exist; this fixes Issue 154.

3.6.3

Bug Fixes:
* The eyaml-rotate-keys command-line tool failed to preserve block-style EYAML
strings after key rotation.

3.6.2

Bug Fixes:
* The eyaml-rotate-keys command-line tool would generate a stack-dump when the
key for an encrypted value contained dots. The underlying library for this
tool now safely generates the internal YAMLPaths it uses.
* The default encoding when opening files is now set to utf-8 to support
extended character sets on Windows.

Page 2 of 9

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.