Skip to content

Releases: Indicio-tech/pydid

0.3.2

21 Jul 18:25
86bc8f1
Compare
Choose a tag to compare

Added:

  • dereference_as now works with Union types, allowing usage of KnownVerificationMethods or similar as the target.

0.3.1

19 Jul 22:19
e2bb9f5
Compare
Choose a tag to compare

Added:

  • Improve usability of dereference_as by attempting to parse the object as the target resource type if it is not already of that type.

0.3.0

05 Jun 20:09
Compare
Choose a tag to compare

Added:

  • dereference_as method to simplify dereferencing a values and casting them to the appropriate objects.

0.3.0-pre.4

05 Jun 17:10
Compare
Choose a tag to compare
0.3.0-pre.4 Pre-release
Pre-release

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. Use pydid.deserialize_document(value, strict=True) to keep strict validation behavior.
  • Various fixes discovered while improving test coverage.

0.2.6

04 Jun 13:55
2906968
Compare
Choose a tag to compare

Fixes:

  • Allow % in DIDs
  • Cannot create DIDComm service without using defaults

0.3.0-pre.3

05 May 03:20
b1fea75
Compare
Choose a tag to compare
0.3.0-pre.3 Pre-release
Pre-release

Additions:

  • Verification method types can now report their expected type string

0.3.0-pre.2

05 May 02:55
6b54afa
Compare
Choose a tag to compare
0.3.0-pre.2 Pre-release
Pre-release

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

05 May 02:02
26e75a3
Compare
Choose a tag to compare
0.3.0-pre.1 Pre-release
Pre-release

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.

0.2.5

04 May 21:19
1266f3d
Compare
Choose a tag to compare

Fixes:

  • DID_PATTERN regex not matching full strings

0.2.4

21 Apr 13:41
c5360f5
Compare
Choose a tag to compare

Fixes for:

  • Clobbered controller values when using doc_allow_missing_controller option in deserialization.