Skip to content

Releases: Indicio-tech/pydid

0.2.3

05 Apr 14:46
Compare
Choose a tag to compare

Added Features:

  • Added to_json convenience method on DID Document.

0.2.2

26 Mar 22:14
Compare
Choose a tag to compare

Added Features:

  • Add from_json method to DID Document

0.2.1

26 Mar 22:04
Compare
Choose a tag to compare

Fixed:

  • Allow empty service endpoint
  • Priority attribute on didcomm service
  • Deserialize DIDCommService instead of Service when it is a DIDComm service
  • Access DIDCommService custom attributes through "extra" dictionary for compatibility with Service
  • DIDDocument.id returns a string, DIDDocument.did returns a DID

0.2.0

23 Mar 16:18
5b9637c
Compare
Choose a tag to compare

Improve builders by reworking usage of context managers and adding ability to remove elements.
Features:

  • Verification methods, references, and services can now be added to builders in the following manner:
    builder.verification_methods.add(...)
    builder.authentication.embed(...)
    builder.authentication.reference(...)
    builder.service.add(...)
  • Verification methods, references, and services can now be removed from builders (completing the CRUD operations of DID Documents as delegated to the DIDDocumentBuilder)

Breaking Changes:

  • builder.verification_methods(default_suite=...) is now builder.verification_methods.defaults(suite=...)
  • Removed DIDDocument.to_builder(). Use DIDDocumentBuilder.from_doc(doc) instead.

0.1.0.post3

22 Mar 20:36
Compare
Choose a tag to compare

Fix typo in packaging.

0.1.0.post2

22 Mar 20:14
Compare
Choose a tag to compare

Minor fixes for packaging.

0.1.0.post1

22 Mar 19:50
Compare
Choose a tag to compare

Post release improving package metadata.

0.1.0

22 Mar 19:40
Compare
Choose a tag to compare

Initial release.

Features:

  • DIDs from string, validation, etc.
  • DID URLs from string, validation, etc.
  • DID Document validation, serialization, deserialization, programmatic construction.
  • Options for loosening some restrictions on deserialization to load documents conforming to older versions of the spec.