v4.2.0
版本发布时间: 2020-10-30 08:27:59
pypyr/pypyr最新发布版本:v5.9.1(2023-09-22 11:13:53)
- python 3.9 compatibility officially confirmed. All good. Woo!
- New Flat
ff
and Recursiverf
formatting specifiers. #195- Maintain backwards compatibility for all current formatting functionality.
- The
get_formatted_string
,get_formatted_iterable
&get_processed_string
methods onContext()
are now all deprecated. Useget_formatted_value
instead. All of the deprecated functions will keep on working as before, but will print a WARN to the output. -
get_formatted
andget_formatted_value
remain the official best ways of getting formatted values.
- New
!jsonify
yaml special tag directive. This converts context object to a json string. #197. - New
pypyr.steps.jsonparse
step. Parse and deserialise a json string into Context. #199 - Bare
pypyr.steps.assert
syntax. #196 - Add new
utils.asserts
for extra flexibility with nested key validation. - PyStrings optimised. Not so that you'd notice, but still, it'll be a smidge faster.
- Friendlier error messages when yaml/json context parsers reject documents that do NOT have a mapping at root.