Skip to content

Releases: Indicio-tech/pydid

0.5.3

15 Feb 16:49
fa357d7

Choose a tag to compare

What's Changed

  • Add DIDCommV2Service builder methods and update dependencies by @hpretila in #187

New Contributors

Summary of Changes

  • Dependency & Environment Updates:

    • Modified pyproject.toml to raise the minimum Python version from 3.7 to 3.10, as 3.9 is EOL and key testing libraries have dropped support.
    • Updated version constraints for pydantic to >=2.7.0 and adjusted other development dependencies like pytest.
  • Explicit DIDComm V1 and V2 Service Builders:

    • In builder.py, the generic add_didcomm method has been superseded by two new explicit methods: add_didcomm_v1 and add_didcomm_v2. It still does automatic matching, but I have added a deprecation notice and replaced any use of it in the testing with add_didcomm_v1.
    • add_didcomm_v1 creates a DIDCommV1Service, handling recipient_keys, routing_keys, and priority.
    • add_didcomm_v2 creates a DIDCommV2Service with a compliant DIDCommV2ServiceEndpoint.
    • This change provides a clear and unambiguous API for developers to build the exact service type they need.
    • Tests have been updated across the suite to align with the new builder logic.
  • Backwards Compatibility:

    • To avoid immediately breaking existing integrations, ServiceBuilder.add_didcomm is preserved as a compatibility wrapper.
    • It now emits a DeprecationWarning and delegates to either the V1 or V2 builder. Version detection is based on the accept header or an explicit version argument, defaulting to V1 to maintain old behavior.
  • Model Extensions:

    • In service.py, the type attribute for DIDCommV1Service and DIDCommV2Service now supports a List[str], as noted in #83 allowing for service type arrays.
    • init.py has been updated to export the new service symbols (DIDCommV1Service, DIDCommV2Service, DIDCommV2ServiceEndpoint) for direct use.

Breaking Changes

  • Python Version: The minimum required Python version is now 3.10. This is a breaking change for users on Python 3.7, 3.8, or 3.9, and will break the 3.9 test.
  • Deprecation: ServiceBuilder.add_didcomm is now deprecated and will be removed in a future release. Developers should migrate to using add_didcomm_v1 or add_didcomm_v2 explicitly.

Full Changelog: v0.5.2...v0.5.3

v0.5.2

27 Feb 16:31

Choose a tag to compare

What's Changed

The majority of changes in this release are just minor version bumps. The most exciting addition and the one triggering this patch release is #182 which adds support for blockchainAccountId.

  • chore(deps-dev): Bump ruff from 0.4.7 to 0.5.3 by @dependabot in #134
  • chore(deps-dev): Bump ruff from 0.5.3 to 0.5.4 by @dependabot in #135
  • chore(deps-dev): Bump pytest from 8.2.2 to 8.3.1 by @dependabot in #136
  • chore(deps-dev): Bump pytest-asyncio from 0.23.7 to 0.23.8 by @dependabot in #133
  • chore(deps-dev): Bump ruff from 0.5.4 to 0.6.3 by @dependabot in #147
  • chore(deps-dev): Bump coverage from 7.5.3 to 7.6.1 by @dependabot in #141
  • chore(deps-dev): Bump aiohttp from 3.9.5 to 3.10.6 by @dependabot in #151
  • chore(deps-dev): Bump the dev group with 5 updates by @dependabot in #152
  • chore(deps): Bump psf/black from 24.4.2 to 24.8.0 in the all-actions group by @dependabot in #140
  • chore(deps): Bump typing-extensions from 4.12.1 to 4.12.2 in the minor group by @dependabot in #153
  • chore(deps-dev): Bump aiohttp from 3.10.6 to 3.10.8 in the dev group by @dependabot in #155
  • chore(deps-dev): Bump the dev group with 3 updates by @dependabot in #156
  • chore(deps-dev): Bump the dev group across 1 directory with 5 updates by @dependabot in #161
  • chore(deps): Bump psf/black from 24.8.0 to 24.10.0 in the all-actions group by @dependabot in #157
  • chore(deps-dev): Bump the dev group across 1 directory with 5 updates by @dependabot in #166
  • chore: ruff in gha by @dbluhm in #167
  • ci: test python 3.11 by @dbluhm in #168
  • ci: test python 3.12 by @dbluhm in #169
  • chore(deps-dev): Bump the dev group across 1 directory with 4 updates by @dependabot in #172
  • Adding the attribute "blockchainAccountId" by @thiagoromanos in #182

New Contributors

Full Changelog: v0.5.1...v0.5.2

v0.5.1

06 Jun 14:43
735446c

Choose a tag to compare

What's Changed

  • chore(deps-dev): Bump ruff from 0.4.3 to 0.4.7 by @dependabot in #120
  • 🎨 Fix Pydantic warning and ⬆️ upgrade dependencies by @ff137 in #123

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

v0.5.0

10 May 01:25
677eca0

Choose a tag to compare

This release largely consists of updates to dependencies, the biggest of which is the upgrade to using Pydantic v2. Thank you to @ff137 for putting in the effort to make that happen!

The new Pydantic version may conflict with other dependencies that may still be using Pydantic v1. Bearing this in mind, this is a pre-1.0.0 minor version bump meaning projects pinning to ^0.4.3 will not automatically update to this version. However, there should be no API differences between 0.5.0 and the 0.4.3 release. Projects may update at their discretion without missing out on other improvements. If there is appetite for it, if there are fixes that come in, we may consider also releasing a patch or two for 0.4.x as a courtesy.

What's Changed

  • ⬆️ update black and ruff and 🎨 apply formatting by @ff137 in #86
  • 🎨 fix typos by @ff137 in #84
  • 👷 Configure dependabot workflow by @ff137 in #85
  • 👷 Fix dependabot config by @ff137 in #87
  • chore(deps): Bump the all-actions group with 2 updates by @dependabot in #88
  • chore(deps): Bump typing-extensions from 4.10.0 to 4.11.0 by @dependabot in #93
  • chore(deps-dev): Bump pytest-asyncio from 0.21.1 to 0.23.6 by @dependabot in #90
  • chore(deps-dev): Bump pytest from 7.4.4 to 8.1.1 by @dependabot in #89
  • chore(deps-dev): Bump aiohttp from 3.9.3 to 3.9.5 by @dependabot in #99
  • chore(deps-dev): Bump black from 24.3.0 to 24.4.0 by @dependabot in #98
  • chore(deps): Bump psf/black from 24.3.0 to 24.4.0 in the all-actions group by @dependabot in #97
  • chore(deps-dev): Bump ruff from 0.3.4 to 0.3.7 by @dependabot in #96
  • chore(deps-dev): Bump ruff from 0.3.7 to 0.4.0 by @dependabot in #100
  • chore(deps-dev): Bump ruff from 0.4.0 to 0.4.1 by @dependabot in #101
  • chore(deps-dev): Bump coverage from 7.4.4 to 7.5.0 by @dependabot in #102
  • chore(deps-dev): Bump ruff from 0.4.1 to 0.4.3 by @dependabot in #111
  • chore(deps-dev): Bump coverage from 7.5.0 to 7.5.1 by @dependabot in #110
  • ⬆️ Upgrade pydantic to v2 by @ff137 in #72
  • chore(deps): Bump psf/black from 24.4.0 to 24.4.2 in the all-actions group by @dependabot in #108

New Contributors

Full Changelog: v0.4.3...v0.5.0

v0.4.3

05 Jan 18:07

Choose a tag to compare

What's Changed

  • Allow list or string as service type + test cases by @PatStLouis in #82

New Contributors

Full Changelog: v0.4.2...v0.4.3

v0.4.2

29 Oct 01:17

Choose a tag to compare

What's Changed

Full Changelog: v0.4.1...v0.4.2

v0.3.11

29 Oct 01:16

Choose a tag to compare

What's Changed

  • feat(backport 0.3.x): add multikey vm by @dbluhm in #80

Full Changelog: v0.3.10...v0.3.11

v0.4.1

20 Oct 18:24

Choose a tag to compare

What's Changed

  • fix: align with DIDComm v2.1 spec for service endpoints by @dbluhm in #77

Full Changelog: v0.4.0...v0.4.1

v0.3.10

20 Oct 18:25

Choose a tag to compare

What's Changed

  • fix(backport 0.3.x): align with DIDComm v2.1 spec for service endpoints by @dbluhm in #78

Full Changelog: v0.3.9...v0.3.10

0.3.9

22 Sep 03:23

Choose a tag to compare

What's Changed

  • feat: add didcomm v2 service model by @dbluhm in #57
  • feat: realign services with did core. These are the same changes from #75 applied to the 0.3.x version

Full Changelog: v0.3.8...v0.3.9