Releases: Indicio-tech/pydid
0.3.2
0.3.1
0.3.0
0.3.0-pre.4
Added:
- NonconformantDocument object as a fallback when all other validation fails. It attempts to make the resulting document as usable as possible without making assertions about what is or is not present in the document. Use
pydid.deserialize_document(value)
to get this fallback behavior. Usepydid.deserialize_document(value, strict=True)
to keep strict validation behavior. - Various fixes discovered while improving test coverage.
0.2.6
0.3.0-pre.3
Additions:
- Verification method types can now report their expected type string
0.3.0-pre.2
Fixes:
- use service_endpoint instead of endpoint in add_didcomm for consistency
- dereferencing from built doc not working as expected
0.3.0-pre.1
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.