From 48e6da2bb9860eddfb2953765068ac971b7f80b9 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Thu, 5 Dec 2024 12:27:37 +0000 Subject: [PATCH] chore(release): version 0.6.0 Signed-off-by: "github-actions[bot]" <"github-actions[bot]@users.noreply.github.com"> --- .changeset/grumpy-avocados-decide.md | 5 ---- .changeset/hungry-ducks-yawn.md | 6 ---- .changeset/perfect-islands-grin.md | 5 ---- .changeset/shiny-sheep-appear.md | 20 ------------- packages/action-menu/CHANGELOG.md | 7 +++++ packages/action-menu/package.json | 2 +- packages/anoncreds/CHANGELOG.md | 7 +++++ packages/anoncreds/package.json | 2 +- packages/askar/CHANGELOG.md | 7 +++++ packages/askar/package.json | 2 +- packages/bbs-signatures/CHANGELOG.md | 7 +++++ packages/bbs-signatures/package.json | 2 +- packages/cheqd/CHANGELOG.md | 8 +++++ packages/cheqd/package.json | 2 +- packages/core/CHANGELOG.md | 6 ++++ packages/core/package.json | 2 +- packages/drpc/CHANGELOG.md | 7 +++++ packages/drpc/package.json | 2 +- .../indy-sdk-to-askar-migration/CHANGELOG.md | 10 +++++++ .../indy-sdk-to-askar-migration/package.json | 2 +- packages/indy-vdr/CHANGELOG.md | 8 +++++ packages/indy-vdr/package.json | 2 +- packages/node/CHANGELOG.md | 7 +++++ packages/node/package.json | 2 +- packages/openid4vc/CHANGELOG.md | 29 +++++++++++++++++++ packages/openid4vc/package.json | 2 +- packages/question-answer/CHANGELOG.md | 7 +++++ packages/question-answer/package.json | 2 +- packages/react-native/CHANGELOG.md | 7 +++++ packages/react-native/package.json | 2 +- packages/tenants/CHANGELOG.md | 7 +++++ packages/tenants/package.json | 2 +- 32 files changed, 138 insertions(+), 50 deletions(-) delete mode 100644 .changeset/grumpy-avocados-decide.md delete mode 100644 .changeset/hungry-ducks-yawn.md delete mode 100644 .changeset/perfect-islands-grin.md delete mode 100644 .changeset/shiny-sheep-appear.md diff --git a/.changeset/grumpy-avocados-decide.md b/.changeset/grumpy-avocados-decide.md deleted file mode 100644 index 250622a538..0000000000 --- a/.changeset/grumpy-avocados-decide.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@credo-ts/openid4vc': patch ---- - -fix(openid4vc): use `vp_formats` in client_metadata instead of `vp_formats supported` (#2089) diff --git a/.changeset/hungry-ducks-yawn.md b/.changeset/hungry-ducks-yawn.md deleted file mode 100644 index c2c916770b..0000000000 --- a/.changeset/hungry-ducks-yawn.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"@credo-ts/core": patch -"@credo-ts/openid4vc": patch ---- - -feat: fetch sd-jwt type metadata diff --git a/.changeset/perfect-islands-grin.md b/.changeset/perfect-islands-grin.md deleted file mode 100644 index 023c6f44d0..0000000000 --- a/.changeset/perfect-islands-grin.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@credo-ts/openid4vc': patch ---- - -feat(openid4vc): support jwk thumbprint for openid token issuer diff --git a/.changeset/shiny-sheep-appear.md b/.changeset/shiny-sheep-appear.md deleted file mode 100644 index 8e528852e9..0000000000 --- a/.changeset/shiny-sheep-appear.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -'@credo-ts/openid4vc': minor ---- - -feat(openid4vc): oid4vci authorization code flow, presentation during issuance and batch issuance. - -This is a big change to OpenID4VCI in Credo, with the neccsary breaking changes since we first added it to the framework. Over time the spec has changed significantly, but also our understanding of the standards and protocols. - -**Authorization Code Flow** -Credo now supports the authorization code flow, for both issuer and holder. An issuer can configure multiple authorization servers, and work with external authorization servers as well. The integration is based on OAuth2, with several extension specifications, mainly the OAuth2 JWT Access Token Profile, as well as Token Introspection (for opaque access tokens). Verification works out of the box, as longs as the authorization server has a `jwks_uri` configured. For Token Introspection it's also required to provide a `clientId` and `clientSecret` in the authorization server config. - -To use an external authorization server, the authorization server MUST include the `issuer_state` parameter from the credential offer in the access token. Otherwise it's not possible for Credo to correlate the authorization session to the offer session. - -The demo-openid contains an example with external authorization server, which can be used as reference. The Credo authorization server supports DPoP and PKCE. - -**Batch Issuance** -The credential request to credential mapper has been updated to support multiple proofs, and also multiple credential instances. The client can now also handle batch issuance. - -**Presentation During Issuance** -The presenation during issuance allows to request presentation using OID4VP before granting authorization for issuance of one or more credentials. This flow is automatically handled by the `resolveAuthorizationRequest` method on the oid4vci holder service. diff --git a/packages/action-menu/CHANGELOG.md b/packages/action-menu/CHANGELOG.md index 2bc0e4110c..ce1ed904a0 100644 --- a/packages/action-menu/CHANGELOG.md +++ b/packages/action-menu/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +## 0.6.0 + +### Patch Changes + +- Updated dependencies [607659a] + - @credo-ts/core@0.6.0 + ## 0.5.13 ### Patch Changes diff --git a/packages/action-menu/package.json b/packages/action-menu/package.json index 215749d9ed..198b57f054 100644 --- a/packages/action-menu/package.json +++ b/packages/action-menu/package.json @@ -2,7 +2,7 @@ "name": "@credo-ts/action-menu", "main": "src/index", "types": "src/index", - "version": "0.5.13", + "version": "0.6.0", "files": [ "build" ], diff --git a/packages/anoncreds/CHANGELOG.md b/packages/anoncreds/CHANGELOG.md index 9bfb1f4641..eaac5ccbbc 100644 --- a/packages/anoncreds/CHANGELOG.md +++ b/packages/anoncreds/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +## 0.6.0 + +### Patch Changes + +- Updated dependencies [607659a] + - @credo-ts/core@0.6.0 + ## 0.5.13 ### Patch Changes diff --git a/packages/anoncreds/package.json b/packages/anoncreds/package.json index 8152e45a3a..af7d6a4cb6 100644 --- a/packages/anoncreds/package.json +++ b/packages/anoncreds/package.json @@ -2,7 +2,7 @@ "name": "@credo-ts/anoncreds", "main": "src/index", "types": "src/index", - "version": "0.5.13", + "version": "0.6.0", "files": [ "build" ], diff --git a/packages/askar/CHANGELOG.md b/packages/askar/CHANGELOG.md index bb2819e2f7..5e45f2071f 100644 --- a/packages/askar/CHANGELOG.md +++ b/packages/askar/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +## 0.6.0 + +### Patch Changes + +- Updated dependencies [607659a] + - @credo-ts/core@0.6.0 + ## 0.5.13 ### Patch Changes diff --git a/packages/askar/package.json b/packages/askar/package.json index 48730d5638..98acc042b7 100644 --- a/packages/askar/package.json +++ b/packages/askar/package.json @@ -2,7 +2,7 @@ "name": "@credo-ts/askar", "main": "src/index", "types": "src/index", - "version": "0.5.13", + "version": "0.6.0", "files": [ "build" ], diff --git a/packages/bbs-signatures/CHANGELOG.md b/packages/bbs-signatures/CHANGELOG.md index 9d773570f5..09f3d8214b 100644 --- a/packages/bbs-signatures/CHANGELOG.md +++ b/packages/bbs-signatures/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +## 0.6.0 + +### Patch Changes + +- Updated dependencies [607659a] + - @credo-ts/core@0.6.0 + ## 0.5.13 ### Patch Changes diff --git a/packages/bbs-signatures/package.json b/packages/bbs-signatures/package.json index 7960f26e24..e8a7567f5c 100644 --- a/packages/bbs-signatures/package.json +++ b/packages/bbs-signatures/package.json @@ -2,7 +2,7 @@ "name": "@credo-ts/bbs-signatures", "main": "src/index", "types": "src/index", - "version": "0.5.13", + "version": "0.6.0", "files": [ "build" ], diff --git a/packages/cheqd/CHANGELOG.md b/packages/cheqd/CHANGELOG.md index 2caf91258b..9cce9ca42d 100644 --- a/packages/cheqd/CHANGELOG.md +++ b/packages/cheqd/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## 0.6.0 + +### Patch Changes + +- Updated dependencies [607659a] + - @credo-ts/core@0.6.0 + - @credo-ts/anoncreds@0.6.0 + ## 0.5.13 ### Patch Changes diff --git a/packages/cheqd/package.json b/packages/cheqd/package.json index ae479fc70c..a5f44b6c12 100644 --- a/packages/cheqd/package.json +++ b/packages/cheqd/package.json @@ -2,7 +2,7 @@ "name": "@credo-ts/cheqd", "main": "src/index", "types": "src/index", - "version": "0.5.13", + "version": "0.6.0", "files": [ "build" ], diff --git a/packages/core/CHANGELOG.md b/packages/core/CHANGELOG.md index eeb1f0703d..9cacf411e4 100644 --- a/packages/core/CHANGELOG.md +++ b/packages/core/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## 0.6.0 + +### Patch Changes + +- 607659a: feat: fetch sd-jwt type metadata + ## 0.5.13 ### Patch Changes diff --git a/packages/core/package.json b/packages/core/package.json index b4f8e333b3..fdeb860ac6 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -2,7 +2,7 @@ "name": "@credo-ts/core", "main": "src/index", "types": "src/index", - "version": "0.5.13", + "version": "0.6.0", "files": [ "build" ], diff --git a/packages/drpc/CHANGELOG.md b/packages/drpc/CHANGELOG.md index 7f5c4f75c0..7b03090e67 100644 --- a/packages/drpc/CHANGELOG.md +++ b/packages/drpc/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +## 0.6.0 + +### Patch Changes + +- Updated dependencies [607659a] + - @credo-ts/core@0.6.0 + ## 0.5.13 ### Patch Changes diff --git a/packages/drpc/package.json b/packages/drpc/package.json index b11a6bc259..0046427bfe 100644 --- a/packages/drpc/package.json +++ b/packages/drpc/package.json @@ -2,7 +2,7 @@ "name": "@credo-ts/drpc", "main": "src/index", "types": "src/index", - "version": "0.5.13", + "version": "0.6.0", "files": [ "build" ], diff --git a/packages/indy-sdk-to-askar-migration/CHANGELOG.md b/packages/indy-sdk-to-askar-migration/CHANGELOG.md index 5fee3bfaab..795dd81830 100644 --- a/packages/indy-sdk-to-askar-migration/CHANGELOG.md +++ b/packages/indy-sdk-to-askar-migration/CHANGELOG.md @@ -1,5 +1,15 @@ # Changelog +## 0.6.0 + +### Patch Changes + +- Updated dependencies [607659a] + - @credo-ts/core@0.6.0 + - @credo-ts/anoncreds@0.6.0 + - @credo-ts/askar@0.6.0 + - @credo-ts/node@0.6.0 + ## 0.5.13 ### Patch Changes diff --git a/packages/indy-sdk-to-askar-migration/package.json b/packages/indy-sdk-to-askar-migration/package.json index d2a7da69d7..1a294f1d65 100644 --- a/packages/indy-sdk-to-askar-migration/package.json +++ b/packages/indy-sdk-to-askar-migration/package.json @@ -2,7 +2,7 @@ "name": "@credo-ts/indy-sdk-to-askar-migration", "main": "src/index", "types": "src/index", - "version": "0.5.13", + "version": "0.6.0", "files": [ "build" ], diff --git a/packages/indy-vdr/CHANGELOG.md b/packages/indy-vdr/CHANGELOG.md index 8b05d1b715..4a8905a15c 100644 --- a/packages/indy-vdr/CHANGELOG.md +++ b/packages/indy-vdr/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## 0.6.0 + +### Patch Changes + +- Updated dependencies [607659a] + - @credo-ts/core@0.6.0 + - @credo-ts/anoncreds@0.6.0 + ## 0.5.13 ### Patch Changes diff --git a/packages/indy-vdr/package.json b/packages/indy-vdr/package.json index 748fd38e5a..3e65037e3d 100644 --- a/packages/indy-vdr/package.json +++ b/packages/indy-vdr/package.json @@ -2,7 +2,7 @@ "name": "@credo-ts/indy-vdr", "main": "src/index", "types": "src/index", - "version": "0.5.13", + "version": "0.6.0", "files": [ "build" ], diff --git a/packages/node/CHANGELOG.md b/packages/node/CHANGELOG.md index 96f4cd8bc4..ab1deff178 100644 --- a/packages/node/CHANGELOG.md +++ b/packages/node/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +## 0.6.0 + +### Patch Changes + +- Updated dependencies [607659a] + - @credo-ts/core@0.6.0 + ## 0.5.13 ### Patch Changes diff --git a/packages/node/package.json b/packages/node/package.json index 1748ba3bc6..f0aad8c31b 100644 --- a/packages/node/package.json +++ b/packages/node/package.json @@ -2,7 +2,7 @@ "name": "@credo-ts/node", "main": "src/index", "types": "src/index", - "version": "0.5.13", + "version": "0.6.0", "files": [ "build" ], diff --git a/packages/openid4vc/CHANGELOG.md b/packages/openid4vc/CHANGELOG.md index 4299bb268c..5a28ef2e38 100644 --- a/packages/openid4vc/CHANGELOG.md +++ b/packages/openid4vc/CHANGELOG.md @@ -1,5 +1,34 @@ # Changelog +## 0.6.0 + +### Minor Changes + +- 17ec6b8: feat(openid4vc): oid4vci authorization code flow, presentation during issuance and batch issuance. + + This is a big change to OpenID4VCI in Credo, with the neccsary breaking changes since we first added it to the framework. Over time the spec has changed significantly, but also our understanding of the standards and protocols. + + **Authorization Code Flow** + Credo now supports the authorization code flow, for both issuer and holder. An issuer can configure multiple authorization servers, and work with external authorization servers as well. The integration is based on OAuth2, with several extension specifications, mainly the OAuth2 JWT Access Token Profile, as well as Token Introspection (for opaque access tokens). Verification works out of the box, as longs as the authorization server has a `jwks_uri` configured. For Token Introspection it's also required to provide a `clientId` and `clientSecret` in the authorization server config. + + To use an external authorization server, the authorization server MUST include the `issuer_state` parameter from the credential offer in the access token. Otherwise it's not possible for Credo to correlate the authorization session to the offer session. + + The demo-openid contains an example with external authorization server, which can be used as reference. The Credo authorization server supports DPoP and PKCE. + + **Batch Issuance** + The credential request to credential mapper has been updated to support multiple proofs, and also multiple credential instances. The client can now also handle batch issuance. + + **Presentation During Issuance** + The presenation during issuance allows to request presentation using OID4VP before granting authorization for issuance of one or more credentials. This flow is automatically handled by the `resolveAuthorizationRequest` method on the oid4vci holder service. + +### Patch Changes + +- 17ec6b8: fix(openid4vc): use `vp_formats` in client_metadata instead of `vp_formats supported` (#2089) +- 607659a: feat: fetch sd-jwt type metadata +- 17ec6b8: feat(openid4vc): support jwk thumbprint for openid token issuer +- Updated dependencies [607659a] + - @credo-ts/core@0.6.0 + ## 0.5.13 ### Patch Changes diff --git a/packages/openid4vc/package.json b/packages/openid4vc/package.json index 9e4f8481cb..efce5f164a 100644 --- a/packages/openid4vc/package.json +++ b/packages/openid4vc/package.json @@ -2,7 +2,7 @@ "name": "@credo-ts/openid4vc", "main": "src/index", "types": "src/index", - "version": "0.5.13", + "version": "0.6.0", "files": [ "build" ], diff --git a/packages/question-answer/CHANGELOG.md b/packages/question-answer/CHANGELOG.md index bbf9d7d9f4..2e34de7bd2 100644 --- a/packages/question-answer/CHANGELOG.md +++ b/packages/question-answer/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +## 0.6.0 + +### Patch Changes + +- Updated dependencies [607659a] + - @credo-ts/core@0.6.0 + ## 0.5.13 ### Patch Changes diff --git a/packages/question-answer/package.json b/packages/question-answer/package.json index 60b40c9e0a..42afbde6f5 100644 --- a/packages/question-answer/package.json +++ b/packages/question-answer/package.json @@ -2,7 +2,7 @@ "name": "@credo-ts/question-answer", "main": "src/index", "types": "src/index", - "version": "0.5.13", + "version": "0.6.0", "files": [ "build" ], diff --git a/packages/react-native/CHANGELOG.md b/packages/react-native/CHANGELOG.md index afcbbcb804..791fa2f53c 100644 --- a/packages/react-native/CHANGELOG.md +++ b/packages/react-native/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +## 0.6.0 + +### Patch Changes + +- Updated dependencies [607659a] + - @credo-ts/core@0.6.0 + ## 0.5.13 ### Patch Changes diff --git a/packages/react-native/package.json b/packages/react-native/package.json index 8b898e0241..e4574417bd 100644 --- a/packages/react-native/package.json +++ b/packages/react-native/package.json @@ -2,7 +2,7 @@ "name": "@credo-ts/react-native", "main": "src/index", "types": "src/index", - "version": "0.5.13", + "version": "0.6.0", "files": [ "build" ], diff --git a/packages/tenants/CHANGELOG.md b/packages/tenants/CHANGELOG.md index b6684b90d6..2411d1983e 100644 --- a/packages/tenants/CHANGELOG.md +++ b/packages/tenants/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +## 0.6.0 + +### Patch Changes + +- Updated dependencies [607659a] + - @credo-ts/core@0.6.0 + ## 0.5.13 ### Patch Changes diff --git a/packages/tenants/package.json b/packages/tenants/package.json index abe7c46e3c..531498e169 100644 --- a/packages/tenants/package.json +++ b/packages/tenants/package.json @@ -2,7 +2,7 @@ "name": "@credo-ts/tenants", "main": "src/index", "types": "src/index", - "version": "0.5.13", + "version": "0.6.0", "files": [ "build" ],