Release Date: 2020-10-30T00:27:59Z
- python 3.9 compatibility officially confirmed & enforced in CI. All good. Woo! 🎉
- New Flat
rfformatting specifiers. #195
- Check recursive vs flat format expressions for full documentation.
- Maintain backwards compatibility for all current formatting functionality.
Context()are now all deprecated. Use
get_formatted_valueinstead. All of the deprecated functions will keep on working as before, but will print a WARN to the output.
get_formatted_valueremain the official best ways of getting formatted values.
!jsonifyyaml special tag directive. This converts a context object to a json string. #197.
- Check how to serialize or convert an object into json for details.
pypyr.steps.jsonparsestep. Parse and deserialise a json string into Context. #199
- Check how to parse a json string into an object for full documentation.
- Use the new simplified assert format.
- Minor api improvements unlikely to be of interest except for the very enthusiastic
- Add new
utils.assertsfor extra flexibility with nested key validation.
- PyStrings optimized. Not so that you’d notice, but still, it’ll be a smidge faster.
- Add new
- Friendlier error messages when yaml/json context parsers reject documents that do NOT have a mapping at root.
- Update pypyr-aws release 1.2.0 to work with new
- pypyr-slack python 3.9 compatibility officially confirmed & included in CI. No release necessary.
You can find pypyr release v4.2.0 on github, where you can click through to associated Issues, Pull Requests and Users.
Released by yaythomas.