Skip to content

v0.5.1 - Added SecretStr, SecretBytes support.

Compare
Choose a tag to compare
@NowanIlfideme NowanIlfideme released this 14 Dec 23:55
· 145 commits to main since this release

This version adds support for Pydantic's SecretStr and SecretBytes classes.

You can now dump them to YAML (they will be "**********" instead of their actual values). However, the "json_encoders" trick does not currently work - it's not straightforward to implement a similar thing for YAML, either by hooking into json_encoders or by defining our own yaml_encoders config.

Full Changelog: v0.5.0...v0.5.1