Skip to content

0.3.0-pre.1

Pre-release
Pre-release
Compare
Choose a tag to compare
@dbluhm dbluhm released this 05 May 02:02
· 242 commits to main since this release
26e75a3

This release marks a significant change for PyDID; voluptuous has been replaced with Pydantic, causing some associated API changes.

Initially, voluptuous was used for validation and (sort of) serialization. Voluptuous provides an incredibly powerful mechanism for validating and processing data, all with a minimal API; however, extending Voluptuous schemas and the serialization mechanism devised for PyDID would have been far from trivial. Given the need for flexibility in dealing with DID Documents of various versions in the wild today, it became clear that the only way to keep this library usable is to give the library consumer the ability to extend and define their own resources. Pydantic emerged as a clear choice for simplicity and extensibility.

This is a pre-release that will serve as an initial migration checkpoint. A more detailed change log with a list of breaking changes will be included in the official release.