From 241ffabd213ac51516f0040a02cbffda688ac7ec Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Tue, 4 Feb 2025 11:15:51 +0000 Subject: [PATCH] chore(release): version 0.6.0 Signed-off-by: "github-actions[bot]" <"github-actions[bot]@users.noreply.github.com"> --- .changeset/big-countries-work.md | 5 -- .changeset/eleven-numbers-jam.md | 18 ----- .changeset/grumpy-avocados-decide.md | 5 -- .changeset/hip-planes-hunt.md | 5 -- .changeset/hungry-ducks-yawn.md | 6 -- .changeset/late-shirts-flash.md | 6 -- .changeset/lemon-singers-sneeze.md | 5 -- .changeset/loud-kiwis-bake.md | 7 -- .changeset/loud-ligers-check.md | 5 -- .changeset/perfect-islands-grin.md | 5 -- .changeset/popular-walls-add.md | 18 ----- .changeset/purple-donkeys-camp.md | 67 ---------------- .changeset/serious-rivers-clap.md | 6 -- .changeset/shiny-sheep-appear.md | 20 ----- .changeset/six-phones-marry.md | 5 -- .changeset/stupid-beans-glow.md | 5 -- .changeset/tall-geese-impress.md | 5 -- .changeset/witty-rabbits-act.md | 7 -- packages/action-menu/CHANGELOG.md | 78 ++++++++++++++++++ packages/action-menu/package.json | 2 +- packages/anoncreds/CHANGELOG.md | 78 ++++++++++++++++++ packages/anoncreds/package.json | 2 +- packages/askar/CHANGELOG.md | 77 ++++++++++++++++++ packages/askar/package.json | 2 +- packages/bbs-signatures/CHANGELOG.md | 76 ++++++++++++++++++ packages/bbs-signatures/package.json | 2 +- packages/cheqd/CHANGELOG.md | 77 ++++++++++++++++++ packages/cheqd/package.json | 2 +- packages/core/CHANGELOG.md | 75 ++++++++++++++++++ packages/core/package.json | 2 +- packages/didcomm/CHANGELOG.md | 79 +++++++++++++++++++ packages/didcomm/package.json | 2 +- packages/drpc/CHANGELOG.md | 78 ++++++++++++++++++ packages/drpc/package.json | 2 +- .../indy-sdk-to-askar-migration/CHANGELOG.md | 27 +++++++ .../indy-sdk-to-askar-migration/package.json | 2 +- packages/indy-vdr/CHANGELOG.md | 77 ++++++++++++++++++ packages/indy-vdr/package.json | 2 +- packages/node/CHANGELOG.md | 78 ++++++++++++++++++ packages/node/package.json | 2 +- packages/openid4vc/CHANGELOG.md | 45 +++++++++++ packages/openid4vc/package.json | 2 +- packages/question-answer/CHANGELOG.md | 78 ++++++++++++++++++ packages/question-answer/package.json | 2 +- packages/react-native/CHANGELOG.md | 24 ++++++ packages/react-native/package.json | 2 +- packages/tenants/CHANGELOG.md | 78 ++++++++++++++++++ packages/tenants/package.json | 2 +- 48 files changed, 1040 insertions(+), 215 deletions(-) delete mode 100644 .changeset/big-countries-work.md delete mode 100644 .changeset/eleven-numbers-jam.md delete mode 100644 .changeset/grumpy-avocados-decide.md delete mode 100644 .changeset/hip-planes-hunt.md delete mode 100644 .changeset/hungry-ducks-yawn.md delete mode 100644 .changeset/late-shirts-flash.md delete mode 100644 .changeset/lemon-singers-sneeze.md delete mode 100644 .changeset/loud-kiwis-bake.md delete mode 100644 .changeset/loud-ligers-check.md delete mode 100644 .changeset/perfect-islands-grin.md delete mode 100644 .changeset/popular-walls-add.md delete mode 100644 .changeset/purple-donkeys-camp.md delete mode 100644 .changeset/serious-rivers-clap.md delete mode 100644 .changeset/shiny-sheep-appear.md delete mode 100644 .changeset/six-phones-marry.md delete mode 100644 .changeset/stupid-beans-glow.md delete mode 100644 .changeset/tall-geese-impress.md delete mode 100644 .changeset/witty-rabbits-act.md create mode 100644 packages/didcomm/CHANGELOG.md diff --git a/.changeset/big-countries-work.md b/.changeset/big-countries-work.md deleted file mode 100644 index 76a993b9f8..0000000000 --- a/.changeset/big-countries-work.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@credo-ts/core': patch ---- - -fix: presentation exchange handling when multiple mdocs in presentation definition diff --git a/.changeset/eleven-numbers-jam.md b/.changeset/eleven-numbers-jam.md deleted file mode 100644 index f134a6e79c..0000000000 --- a/.changeset/eleven-numbers-jam.md +++ /dev/null @@ -1,18 +0,0 @@ ---- -'@credo-ts/openid4vc': patch -'@credo-ts/core': patch -'@credo-ts/node': patch -'@credo-ts/action-menu': patch -'@credo-ts/anoncreds': patch -'@credo-ts/askar': patch -'@credo-ts/bbs-signatures': patch -'@credo-ts/cheqd': patch -'@credo-ts/drpc': patch -'@credo-ts/indy-sdk-to-askar-migration': patch -'@credo-ts/indy-vdr': patch -'@credo-ts/question-answer': patch -'@credo-ts/react-native': patch -'@credo-ts/tenants': patch ---- - -feat: support node 22 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/hip-planes-hunt.md b/.changeset/hip-planes-hunt.md deleted file mode 100644 index 84bd95aad3..0000000000 --- a/.changeset/hip-planes-hunt.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@credo-ts/core": minor ---- - -Remove dependency on `abort-controller` library. Abort Controller has been supported on all platforms for quite some time already. 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/late-shirts-flash.md b/.changeset/late-shirts-flash.md deleted file mode 100644 index 06b0c8b152..0000000000 --- a/.changeset/late-shirts-flash.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -'@credo-ts/openid4vc': minor -'@credo-ts/core': minor ---- - -feat: allow dynamicaly providing x509 certificates for all types of verifications diff --git a/.changeset/lemon-singers-sneeze.md b/.changeset/lemon-singers-sneeze.md deleted file mode 100644 index d5fec882f5..0000000000 --- a/.changeset/lemon-singers-sneeze.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@credo-ts/core': patch ---- - -feat: support EdDSA, P384 and P512 for mdoc holder binding diff --git a/.changeset/loud-kiwis-bake.md b/.changeset/loud-kiwis-bake.md deleted file mode 100644 index c83046f163..0000000000 --- a/.changeset/loud-kiwis-bake.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -'@credo-ts/didcomm': minor ---- - -Now using did:peer:4 by default when creating DID Exchange Requests as response to an Out of Band invitation. - -It is possible to return to previous behaviour by manually setting `peerNumAlgoForDidExchangeRequests` option in DIDComm Connections module config. diff --git a/.changeset/loud-ligers-check.md b/.changeset/loud-ligers-check.md deleted file mode 100644 index ca680be7a2..0000000000 --- a/.changeset/loud-ligers-check.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@credo-ts/core': patch ---- - -fix: issue where all available credentials were selected for queried DIF PEX definition. Now it only selects `needsCount` credentials, so it won't disclose more credentials than neccesary. 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/popular-walls-add.md b/.changeset/popular-walls-add.md deleted file mode 100644 index a93cdf4773..0000000000 --- a/.changeset/popular-walls-add.md +++ /dev/null @@ -1,18 +0,0 @@ ---- -'@credo-ts/action-menu': minor -'@credo-ts/anoncreds': minor -'@credo-ts/askar': minor -'@credo-ts/bbs-signatures': minor -'@credo-ts/cheqd': minor -'@credo-ts/core': minor -'@credo-ts/drpc': minor -'@credo-ts/indy-sdk-to-askar-migration': minor -'@credo-ts/indy-vdr': minor -'@credo-ts/node': minor -'@credo-ts/openid4vc': minor -'@credo-ts/question-answer': minor -'@credo-ts/react-native': minor -'@credo-ts/tenants': minor ---- - -update target for tsc compiler to ES2020. Generally this should not have an impact for the supported environments (Node.JS / React Native). However this will have to be tested in React Native diff --git a/.changeset/purple-donkeys-camp.md b/.changeset/purple-donkeys-camp.md deleted file mode 100644 index 75ff1ea2c5..0000000000 --- a/.changeset/purple-donkeys-camp.md +++ /dev/null @@ -1,67 +0,0 @@ ---- -'@credo-ts/question-answer': minor -'@credo-ts/bbs-signatures': minor -'@credo-ts/action-menu': minor -'@credo-ts/anoncreds': minor -'@credo-ts/indy-vdr': minor -'@credo-ts/didcomm': minor -'@credo-ts/tenants': minor -'@credo-ts/askar': minor -'@credo-ts/cheqd': minor -'@credo-ts/core': minor -'@credo-ts/drpc': minor -'@credo-ts/node': minor ---- - -DIDComm has been extracted out of the Core. This means that now all DIDComm related modules (e.g. proofs, credentials) must be explicitly added when creating an `Agent` instance. Therefore, their API will be accesable under `agent.modules.[moduleAPI]` instead of `agent.[moduleAPI]`. Some `Agent` DIDComm-related properties and methods where also moved to the API of a new DIDComm module (e.g. `agent.registerInboundTransport` turned into `agent.modules.didcomm.registerInboundTransport`). - -**Example of DIDComm Agent** - -Previously: - -```ts - const config = { - label: name, - endpoints: ['https://myendpoint'], - walletConfig: { - id: name, - key: name, - }, - } satisfies InitConfig - - const agent = new Agent({ - config, - dependencies: agentDependencies, - modules: { - connections: new ConnectionsModule({ - autoAcceptConnections: true, - }) - }) - this.agent.registerInboundTransport(new HttpInboundTransport({ port })) - this.agent.registerOutboundTransport(new HttpOutboundTransport()) - -``` - -Now: - -```ts - const config = { - label: name, - walletConfig: { - id: name, - key: name, - }, - } satisfies InitConfig - - const agent = new Agent({ - config, - dependencies: agentDependencies, - modules: { - ...getDefaultDidcommModules({ endpoints: ['https://myendpoint'] }), - connections: new ConnectionsModule({ - autoAcceptConnections: true, - }) - }) - agent.modules.didcomm.registerInboundTransport(new HttpInboundTransport({ port })) - agent.modules.didcomm.registerOutboundTransport(new HttpOutboundTransport()) -``` diff --git a/.changeset/serious-rivers-clap.md b/.changeset/serious-rivers-clap.md deleted file mode 100644 index 45c887c3b4..0000000000 --- a/.changeset/serious-rivers-clap.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -'@credo-ts/askar': patch -'@credo-ts/core': patch ---- - -feat: support A128CBC-HS256 encryption algorithm for JWE 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/.changeset/six-phones-marry.md b/.changeset/six-phones-marry.md deleted file mode 100644 index b86618389e..0000000000 --- a/.changeset/six-phones-marry.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@credo-ts/core': patch ---- - -feat(mdoc): support creating device response with multiple mdocs for usage in proximity flow diff --git a/.changeset/stupid-beans-glow.md b/.changeset/stupid-beans-glow.md deleted file mode 100644 index 8707477f30..0000000000 --- a/.changeset/stupid-beans-glow.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@credo-ts/core": patch ---- - -fix: error during shutdown of agent in React Native due to usage of unavailable event method on socket `.once` diff --git a/.changeset/tall-geese-impress.md b/.changeset/tall-geese-impress.md deleted file mode 100644 index aa0e2c5bf5..0000000000 --- a/.changeset/tall-geese-impress.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@credo-ts/openid4vc': patch ---- - -fix: only include supported mdoc algs in vp_formats metadata diff --git a/.changeset/witty-rabbits-act.md b/.changeset/witty-rabbits-act.md deleted file mode 100644 index 6d9c530034..0000000000 --- a/.changeset/witty-rabbits-act.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -'@credo-ts/core': minor ---- - -feat: support ISO 18013-7 Draft 2024-03-12. - -This mostly changes the structure of the calculated session transcript bytes for usage with OpenID4VP. This is a breaking change and incompatible with older versions. \ No newline at end of file diff --git a/packages/action-menu/CHANGELOG.md b/packages/action-menu/CHANGELOG.md index 2bc0e4110c..783b9c6a8b 100644 --- a/packages/action-menu/CHANGELOG.md +++ b/packages/action-menu/CHANGELOG.md @@ -1,5 +1,83 @@ # Changelog +## 0.6.0 + +### Minor Changes + +- 70c849d: update target for tsc compiler to ES2020. Generally this should not have an impact for the supported environments (Node.JS / React Native). However this will have to be tested in React Native +- 897c834: DIDComm has been extracted out of the Core. This means that now all DIDComm related modules (e.g. proofs, credentials) must be explicitly added when creating an `Agent` instance. Therefore, their API will be accesable under `agent.modules.[moduleAPI]` instead of `agent.[moduleAPI]`. Some `Agent` DIDComm-related properties and methods where also moved to the API of a new DIDComm module (e.g. `agent.registerInboundTransport` turned into `agent.modules.didcomm.registerInboundTransport`). + + **Example of DIDComm Agent** + + Previously: + + ```ts + const config = { + label: name, + endpoints: ['https://myendpoint'], + walletConfig: { + id: name, + key: name, + }, + } satisfies InitConfig + + const agent = new Agent({ + config, + dependencies: agentDependencies, + modules: { + connections: new ConnectionsModule({ + autoAcceptConnections: true, + }) + }) + this.agent.registerInboundTransport(new HttpInboundTransport({ port })) + this.agent.registerOutboundTransport(new HttpOutboundTransport()) + + ``` + + Now: + + ```ts + const config = { + label: name, + walletConfig: { + id: name, + key: name, + }, + } satisfies InitConfig + + const agent = new Agent({ + config, + dependencies: agentDependencies, + modules: { + ...getDefaultDidcommModules({ endpoints: ['https://myendpoint'] }), + connections: new ConnectionsModule({ + autoAcceptConnections: true, + }) + }) + agent.modules.didcomm.registerInboundTransport(new HttpInboundTransport({ port })) + agent.modules.didcomm.registerOutboundTransport(new HttpOutboundTransport()) + ``` + +### Patch Changes + +- 13cd8cb: feat: support node 22 +- Updated dependencies [2d10ec3] +- Updated dependencies [13cd8cb] +- Updated dependencies [14673b1] +- Updated dependencies [607659a] +- Updated dependencies [5f08bc6] +- Updated dependencies [27f971d] +- Updated dependencies [0d877f5] +- Updated dependencies [2d10ec3] +- Updated dependencies [70c849d] +- Updated dependencies [897c834] +- Updated dependencies [a53fc54] +- Updated dependencies [edd2edc] +- Updated dependencies [e80794b] +- Updated dependencies [27f971d] + - @credo-ts/core@0.6.0 + - @credo-ts/didcomm@0.6.0 + ## 0.5.13 ### Patch Changes diff --git a/packages/action-menu/package.json b/packages/action-menu/package.json index 0a6d5f8733..b2a06503f8 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..68f1389c91 100644 --- a/packages/anoncreds/CHANGELOG.md +++ b/packages/anoncreds/CHANGELOG.md @@ -1,5 +1,83 @@ # Changelog +## 0.6.0 + +### Minor Changes + +- 70c849d: update target for tsc compiler to ES2020. Generally this should not have an impact for the supported environments (Node.JS / React Native). However this will have to be tested in React Native +- 897c834: DIDComm has been extracted out of the Core. This means that now all DIDComm related modules (e.g. proofs, credentials) must be explicitly added when creating an `Agent` instance. Therefore, their API will be accesable under `agent.modules.[moduleAPI]` instead of `agent.[moduleAPI]`. Some `Agent` DIDComm-related properties and methods where also moved to the API of a new DIDComm module (e.g. `agent.registerInboundTransport` turned into `agent.modules.didcomm.registerInboundTransport`). + + **Example of DIDComm Agent** + + Previously: + + ```ts + const config = { + label: name, + endpoints: ['https://myendpoint'], + walletConfig: { + id: name, + key: name, + }, + } satisfies InitConfig + + const agent = new Agent({ + config, + dependencies: agentDependencies, + modules: { + connections: new ConnectionsModule({ + autoAcceptConnections: true, + }) + }) + this.agent.registerInboundTransport(new HttpInboundTransport({ port })) + this.agent.registerOutboundTransport(new HttpOutboundTransport()) + + ``` + + Now: + + ```ts + const config = { + label: name, + walletConfig: { + id: name, + key: name, + }, + } satisfies InitConfig + + const agent = new Agent({ + config, + dependencies: agentDependencies, + modules: { + ...getDefaultDidcommModules({ endpoints: ['https://myendpoint'] }), + connections: new ConnectionsModule({ + autoAcceptConnections: true, + }) + }) + agent.modules.didcomm.registerInboundTransport(new HttpInboundTransport({ port })) + agent.modules.didcomm.registerOutboundTransport(new HttpOutboundTransport()) + ``` + +### Patch Changes + +- 13cd8cb: feat: support node 22 +- Updated dependencies [2d10ec3] +- Updated dependencies [13cd8cb] +- Updated dependencies [14673b1] +- Updated dependencies [607659a] +- Updated dependencies [5f08bc6] +- Updated dependencies [27f971d] +- Updated dependencies [0d877f5] +- Updated dependencies [2d10ec3] +- Updated dependencies [70c849d] +- Updated dependencies [897c834] +- Updated dependencies [a53fc54] +- Updated dependencies [edd2edc] +- Updated dependencies [e80794b] +- Updated dependencies [27f971d] + - @credo-ts/core@0.6.0 + - @credo-ts/didcomm@0.6.0 + ## 0.5.13 ### Patch Changes diff --git a/packages/anoncreds/package.json b/packages/anoncreds/package.json index 7bee830493..ca604b8374 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..735c4199bf 100644 --- a/packages/askar/CHANGELOG.md +++ b/packages/askar/CHANGELOG.md @@ -1,5 +1,82 @@ # Changelog +## 0.6.0 + +### Minor Changes + +- 70c849d: update target for tsc compiler to ES2020. Generally this should not have an impact for the supported environments (Node.JS / React Native). However this will have to be tested in React Native +- 897c834: DIDComm has been extracted out of the Core. This means that now all DIDComm related modules (e.g. proofs, credentials) must be explicitly added when creating an `Agent` instance. Therefore, their API will be accesable under `agent.modules.[moduleAPI]` instead of `agent.[moduleAPI]`. Some `Agent` DIDComm-related properties and methods where also moved to the API of a new DIDComm module (e.g. `agent.registerInboundTransport` turned into `agent.modules.didcomm.registerInboundTransport`). + + **Example of DIDComm Agent** + + Previously: + + ```ts + const config = { + label: name, + endpoints: ['https://myendpoint'], + walletConfig: { + id: name, + key: name, + }, + } satisfies InitConfig + + const agent = new Agent({ + config, + dependencies: agentDependencies, + modules: { + connections: new ConnectionsModule({ + autoAcceptConnections: true, + }) + }) + this.agent.registerInboundTransport(new HttpInboundTransport({ port })) + this.agent.registerOutboundTransport(new HttpOutboundTransport()) + + ``` + + Now: + + ```ts + const config = { + label: name, + walletConfig: { + id: name, + key: name, + }, + } satisfies InitConfig + + const agent = new Agent({ + config, + dependencies: agentDependencies, + modules: { + ...getDefaultDidcommModules({ endpoints: ['https://myendpoint'] }), + connections: new ConnectionsModule({ + autoAcceptConnections: true, + }) + }) + agent.modules.didcomm.registerInboundTransport(new HttpInboundTransport({ port })) + agent.modules.didcomm.registerOutboundTransport(new HttpOutboundTransport()) + ``` + +### Patch Changes + +- 13cd8cb: feat: support node 22 +- a53fc54: feat: support A128CBC-HS256 encryption algorithm for JWE +- Updated dependencies [2d10ec3] +- Updated dependencies [13cd8cb] +- Updated dependencies [14673b1] +- Updated dependencies [607659a] +- Updated dependencies [5f08bc6] +- Updated dependencies [27f971d] +- Updated dependencies [2d10ec3] +- Updated dependencies [70c849d] +- Updated dependencies [897c834] +- Updated dependencies [a53fc54] +- Updated dependencies [edd2edc] +- Updated dependencies [e80794b] +- Updated dependencies [27f971d] + - @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..78d2ae668e 100644 --- a/packages/bbs-signatures/CHANGELOG.md +++ b/packages/bbs-signatures/CHANGELOG.md @@ -1,5 +1,81 @@ # Changelog +## 0.6.0 + +### Minor Changes + +- 70c849d: update target for tsc compiler to ES2020. Generally this should not have an impact for the supported environments (Node.JS / React Native). However this will have to be tested in React Native +- 897c834: DIDComm has been extracted out of the Core. This means that now all DIDComm related modules (e.g. proofs, credentials) must be explicitly added when creating an `Agent` instance. Therefore, their API will be accesable under `agent.modules.[moduleAPI]` instead of `agent.[moduleAPI]`. Some `Agent` DIDComm-related properties and methods where also moved to the API of a new DIDComm module (e.g. `agent.registerInboundTransport` turned into `agent.modules.didcomm.registerInboundTransport`). + + **Example of DIDComm Agent** + + Previously: + + ```ts + const config = { + label: name, + endpoints: ['https://myendpoint'], + walletConfig: { + id: name, + key: name, + }, + } satisfies InitConfig + + const agent = new Agent({ + config, + dependencies: agentDependencies, + modules: { + connections: new ConnectionsModule({ + autoAcceptConnections: true, + }) + }) + this.agent.registerInboundTransport(new HttpInboundTransport({ port })) + this.agent.registerOutboundTransport(new HttpOutboundTransport()) + + ``` + + Now: + + ```ts + const config = { + label: name, + walletConfig: { + id: name, + key: name, + }, + } satisfies InitConfig + + const agent = new Agent({ + config, + dependencies: agentDependencies, + modules: { + ...getDefaultDidcommModules({ endpoints: ['https://myendpoint'] }), + connections: new ConnectionsModule({ + autoAcceptConnections: true, + }) + }) + agent.modules.didcomm.registerInboundTransport(new HttpInboundTransport({ port })) + agent.modules.didcomm.registerOutboundTransport(new HttpOutboundTransport()) + ``` + +### Patch Changes + +- 13cd8cb: feat: support node 22 +- Updated dependencies [2d10ec3] +- Updated dependencies [13cd8cb] +- Updated dependencies [14673b1] +- Updated dependencies [607659a] +- Updated dependencies [5f08bc6] +- Updated dependencies [27f971d] +- Updated dependencies [2d10ec3] +- Updated dependencies [70c849d] +- Updated dependencies [897c834] +- Updated dependencies [a53fc54] +- Updated dependencies [edd2edc] +- Updated dependencies [e80794b] +- Updated dependencies [27f971d] + - @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..2b3043a48f 100644 --- a/packages/cheqd/CHANGELOG.md +++ b/packages/cheqd/CHANGELOG.md @@ -1,5 +1,82 @@ # Changelog +## 0.6.0 + +### Minor Changes + +- 70c849d: update target for tsc compiler to ES2020. Generally this should not have an impact for the supported environments (Node.JS / React Native). However this will have to be tested in React Native +- 897c834: DIDComm has been extracted out of the Core. This means that now all DIDComm related modules (e.g. proofs, credentials) must be explicitly added when creating an `Agent` instance. Therefore, their API will be accesable under `agent.modules.[moduleAPI]` instead of `agent.[moduleAPI]`. Some `Agent` DIDComm-related properties and methods where also moved to the API of a new DIDComm module (e.g. `agent.registerInboundTransport` turned into `agent.modules.didcomm.registerInboundTransport`). + + **Example of DIDComm Agent** + + Previously: + + ```ts + const config = { + label: name, + endpoints: ['https://myendpoint'], + walletConfig: { + id: name, + key: name, + }, + } satisfies InitConfig + + const agent = new Agent({ + config, + dependencies: agentDependencies, + modules: { + connections: new ConnectionsModule({ + autoAcceptConnections: true, + }) + }) + this.agent.registerInboundTransport(new HttpInboundTransport({ port })) + this.agent.registerOutboundTransport(new HttpOutboundTransport()) + + ``` + + Now: + + ```ts + const config = { + label: name, + walletConfig: { + id: name, + key: name, + }, + } satisfies InitConfig + + const agent = new Agent({ + config, + dependencies: agentDependencies, + modules: { + ...getDefaultDidcommModules({ endpoints: ['https://myendpoint'] }), + connections: new ConnectionsModule({ + autoAcceptConnections: true, + }) + }) + agent.modules.didcomm.registerInboundTransport(new HttpInboundTransport({ port })) + agent.modules.didcomm.registerOutboundTransport(new HttpOutboundTransport()) + ``` + +### Patch Changes + +- 13cd8cb: feat: support node 22 +- Updated dependencies [2d10ec3] +- Updated dependencies [13cd8cb] +- Updated dependencies [14673b1] +- Updated dependencies [607659a] +- Updated dependencies [5f08bc6] +- Updated dependencies [27f971d] +- Updated dependencies [2d10ec3] +- Updated dependencies [70c849d] +- Updated dependencies [897c834] +- Updated dependencies [a53fc54] +- Updated dependencies [edd2edc] +- Updated dependencies [e80794b] +- Updated dependencies [27f971d] + - @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 cfa83cb4a5..6527f84c88 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..992958904f 100644 --- a/packages/core/CHANGELOG.md +++ b/packages/core/CHANGELOG.md @@ -1,5 +1,80 @@ # Changelog +## 0.6.0 + +### Minor Changes + +- 14673b1: Remove dependency on `abort-controller` library. Abort Controller has been supported on all platforms for quite some time already. +- 5f08bc6: feat: allow dynamicaly providing x509 certificates for all types of verifications +- 70c849d: update target for tsc compiler to ES2020. Generally this should not have an impact for the supported environments (Node.JS / React Native). However this will have to be tested in React Native +- 897c834: DIDComm has been extracted out of the Core. This means that now all DIDComm related modules (e.g. proofs, credentials) must be explicitly added when creating an `Agent` instance. Therefore, their API will be accesable under `agent.modules.[moduleAPI]` instead of `agent.[moduleAPI]`. Some `Agent` DIDComm-related properties and methods where also moved to the API of a new DIDComm module (e.g. `agent.registerInboundTransport` turned into `agent.modules.didcomm.registerInboundTransport`). + + **Example of DIDComm Agent** + + Previously: + + ```ts + const config = { + label: name, + endpoints: ['https://myendpoint'], + walletConfig: { + id: name, + key: name, + }, + } satisfies InitConfig + + const agent = new Agent({ + config, + dependencies: agentDependencies, + modules: { + connections: new ConnectionsModule({ + autoAcceptConnections: true, + }) + }) + this.agent.registerInboundTransport(new HttpInboundTransport({ port })) + this.agent.registerOutboundTransport(new HttpOutboundTransport()) + + ``` + + Now: + + ```ts + const config = { + label: name, + walletConfig: { + id: name, + key: name, + }, + } satisfies InitConfig + + const agent = new Agent({ + config, + dependencies: agentDependencies, + modules: { + ...getDefaultDidcommModules({ endpoints: ['https://myendpoint'] }), + connections: new ConnectionsModule({ + autoAcceptConnections: true, + }) + }) + agent.modules.didcomm.registerInboundTransport(new HttpInboundTransport({ port })) + agent.modules.didcomm.registerOutboundTransport(new HttpOutboundTransport()) + ``` + +- 27f971d: feat: support ISO 18013-7 Draft 2024-03-12. + + This mostly changes the structure of the calculated session transcript bytes for usage with OpenID4VP. This is a breaking change and incompatible with older versions. + +### Patch Changes + +- 2d10ec3: fix: presentation exchange handling when multiple mdocs in presentation definition +- 13cd8cb: feat: support node 22 +- 607659a: feat: fetch sd-jwt type metadata +- 27f971d: feat: support EdDSA, P384 and P512 for mdoc holder binding +- 2d10ec3: fix: issue where all available credentials were selected for queried DIF PEX definition. Now it only selects `needsCount` credentials, so it won't disclose more credentials than neccesary. +- a53fc54: feat: support A128CBC-HS256 encryption algorithm for JWE +- edd2edc: feat(mdoc): support creating device response with multiple mdocs for usage in proximity flow +- e80794b: fix: error during shutdown of agent in React Native due to usage of unavailable event method on socket `.once` + ## 0.5.13 ### Patch Changes diff --git a/packages/core/package.json b/packages/core/package.json index 2117d99997..7b34b9b55f 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/didcomm/CHANGELOG.md b/packages/didcomm/CHANGELOG.md new file mode 100644 index 0000000000..f41adff19d --- /dev/null +++ b/packages/didcomm/CHANGELOG.md @@ -0,0 +1,79 @@ +# @credo-ts/didcomm + +## 0.6.0 + +### Minor Changes + +- 0d877f5: Now using did:peer:4 by default when creating DID Exchange Requests as response to an Out of Band invitation. + + It is possible to return to previous behaviour by manually setting `peerNumAlgoForDidExchangeRequests` option in DIDComm Connections module config. + +- 897c834: DIDComm has been extracted out of the Core. This means that now all DIDComm related modules (e.g. proofs, credentials) must be explicitly added when creating an `Agent` instance. Therefore, their API will be accesable under `agent.modules.[moduleAPI]` instead of `agent.[moduleAPI]`. Some `Agent` DIDComm-related properties and methods where also moved to the API of a new DIDComm module (e.g. `agent.registerInboundTransport` turned into `agent.modules.didcomm.registerInboundTransport`). + + **Example of DIDComm Agent** + + Previously: + + ```ts + const config = { + label: name, + endpoints: ['https://myendpoint'], + walletConfig: { + id: name, + key: name, + }, + } satisfies InitConfig + + const agent = new Agent({ + config, + dependencies: agentDependencies, + modules: { + connections: new ConnectionsModule({ + autoAcceptConnections: true, + }) + }) + this.agent.registerInboundTransport(new HttpInboundTransport({ port })) + this.agent.registerOutboundTransport(new HttpOutboundTransport()) + + ``` + + Now: + + ```ts + const config = { + label: name, + walletConfig: { + id: name, + key: name, + }, + } satisfies InitConfig + + const agent = new Agent({ + config, + dependencies: agentDependencies, + modules: { + ...getDefaultDidcommModules({ endpoints: ['https://myendpoint'] }), + connections: new ConnectionsModule({ + autoAcceptConnections: true, + }) + }) + agent.modules.didcomm.registerInboundTransport(new HttpInboundTransport({ port })) + agent.modules.didcomm.registerOutboundTransport(new HttpOutboundTransport()) + ``` + +### Patch Changes + +- Updated dependencies [2d10ec3] +- Updated dependencies [13cd8cb] +- Updated dependencies [14673b1] +- Updated dependencies [607659a] +- Updated dependencies [5f08bc6] +- Updated dependencies [27f971d] +- Updated dependencies [2d10ec3] +- Updated dependencies [70c849d] +- Updated dependencies [897c834] +- Updated dependencies [a53fc54] +- Updated dependencies [edd2edc] +- Updated dependencies [e80794b] +- Updated dependencies [27f971d] + - @credo-ts/core@0.6.0 diff --git a/packages/didcomm/package.json b/packages/didcomm/package.json index 58a97b1de6..dfa2e160eb 100644 --- a/packages/didcomm/package.json +++ b/packages/didcomm/package.json @@ -2,7 +2,7 @@ "name": "@credo-ts/didcomm", "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..f08ab70b1f 100644 --- a/packages/drpc/CHANGELOG.md +++ b/packages/drpc/CHANGELOG.md @@ -1,5 +1,83 @@ # Changelog +## 0.6.0 + +### Minor Changes + +- 70c849d: update target for tsc compiler to ES2020. Generally this should not have an impact for the supported environments (Node.JS / React Native). However this will have to be tested in React Native +- 897c834: DIDComm has been extracted out of the Core. This means that now all DIDComm related modules (e.g. proofs, credentials) must be explicitly added when creating an `Agent` instance. Therefore, their API will be accesable under `agent.modules.[moduleAPI]` instead of `agent.[moduleAPI]`. Some `Agent` DIDComm-related properties and methods where also moved to the API of a new DIDComm module (e.g. `agent.registerInboundTransport` turned into `agent.modules.didcomm.registerInboundTransport`). + + **Example of DIDComm Agent** + + Previously: + + ```ts + const config = { + label: name, + endpoints: ['https://myendpoint'], + walletConfig: { + id: name, + key: name, + }, + } satisfies InitConfig + + const agent = new Agent({ + config, + dependencies: agentDependencies, + modules: { + connections: new ConnectionsModule({ + autoAcceptConnections: true, + }) + }) + this.agent.registerInboundTransport(new HttpInboundTransport({ port })) + this.agent.registerOutboundTransport(new HttpOutboundTransport()) + + ``` + + Now: + + ```ts + const config = { + label: name, + walletConfig: { + id: name, + key: name, + }, + } satisfies InitConfig + + const agent = new Agent({ + config, + dependencies: agentDependencies, + modules: { + ...getDefaultDidcommModules({ endpoints: ['https://myendpoint'] }), + connections: new ConnectionsModule({ + autoAcceptConnections: true, + }) + }) + agent.modules.didcomm.registerInboundTransport(new HttpInboundTransport({ port })) + agent.modules.didcomm.registerOutboundTransport(new HttpOutboundTransport()) + ``` + +### Patch Changes + +- 13cd8cb: feat: support node 22 +- Updated dependencies [2d10ec3] +- Updated dependencies [13cd8cb] +- Updated dependencies [14673b1] +- Updated dependencies [607659a] +- Updated dependencies [5f08bc6] +- Updated dependencies [27f971d] +- Updated dependencies [0d877f5] +- Updated dependencies [2d10ec3] +- Updated dependencies [70c849d] +- Updated dependencies [897c834] +- Updated dependencies [a53fc54] +- Updated dependencies [edd2edc] +- Updated dependencies [e80794b] +- Updated dependencies [27f971d] + - @credo-ts/core@0.6.0 + - @credo-ts/didcomm@0.6.0 + ## 0.5.13 ### Patch Changes diff --git a/packages/drpc/package.json b/packages/drpc/package.json index d59119c91d..369b6a5523 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..09bb99f70c 100644 --- a/packages/indy-sdk-to-askar-migration/CHANGELOG.md +++ b/packages/indy-sdk-to-askar-migration/CHANGELOG.md @@ -1,5 +1,32 @@ # Changelog +## 0.6.0 + +### Minor Changes + +- 70c849d: update target for tsc compiler to ES2020. Generally this should not have an impact for the supported environments (Node.JS / React Native). However this will have to be tested in React Native + +### Patch Changes + +- 13cd8cb: feat: support node 22 +- Updated dependencies [2d10ec3] +- Updated dependencies [13cd8cb] +- Updated dependencies [14673b1] +- Updated dependencies [607659a] +- Updated dependencies [5f08bc6] +- Updated dependencies [27f971d] +- Updated dependencies [2d10ec3] +- Updated dependencies [70c849d] +- Updated dependencies [897c834] +- Updated dependencies [a53fc54] +- Updated dependencies [edd2edc] +- Updated dependencies [e80794b] +- Updated dependencies [27f971d] + - @credo-ts/core@0.6.0 + - @credo-ts/node@0.6.0 + - @credo-ts/anoncreds@0.6.0 + - @credo-ts/askar@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..c83ec323d3 100644 --- a/packages/indy-vdr/CHANGELOG.md +++ b/packages/indy-vdr/CHANGELOG.md @@ -1,5 +1,82 @@ # Changelog +## 0.6.0 + +### Minor Changes + +- 70c849d: update target for tsc compiler to ES2020. Generally this should not have an impact for the supported environments (Node.JS / React Native). However this will have to be tested in React Native +- 897c834: DIDComm has been extracted out of the Core. This means that now all DIDComm related modules (e.g. proofs, credentials) must be explicitly added when creating an `Agent` instance. Therefore, their API will be accesable under `agent.modules.[moduleAPI]` instead of `agent.[moduleAPI]`. Some `Agent` DIDComm-related properties and methods where also moved to the API of a new DIDComm module (e.g. `agent.registerInboundTransport` turned into `agent.modules.didcomm.registerInboundTransport`). + + **Example of DIDComm Agent** + + Previously: + + ```ts + const config = { + label: name, + endpoints: ['https://myendpoint'], + walletConfig: { + id: name, + key: name, + }, + } satisfies InitConfig + + const agent = new Agent({ + config, + dependencies: agentDependencies, + modules: { + connections: new ConnectionsModule({ + autoAcceptConnections: true, + }) + }) + this.agent.registerInboundTransport(new HttpInboundTransport({ port })) + this.agent.registerOutboundTransport(new HttpOutboundTransport()) + + ``` + + Now: + + ```ts + const config = { + label: name, + walletConfig: { + id: name, + key: name, + }, + } satisfies InitConfig + + const agent = new Agent({ + config, + dependencies: agentDependencies, + modules: { + ...getDefaultDidcommModules({ endpoints: ['https://myendpoint'] }), + connections: new ConnectionsModule({ + autoAcceptConnections: true, + }) + }) + agent.modules.didcomm.registerInboundTransport(new HttpInboundTransport({ port })) + agent.modules.didcomm.registerOutboundTransport(new HttpOutboundTransport()) + ``` + +### Patch Changes + +- 13cd8cb: feat: support node 22 +- Updated dependencies [2d10ec3] +- Updated dependencies [13cd8cb] +- Updated dependencies [14673b1] +- Updated dependencies [607659a] +- Updated dependencies [5f08bc6] +- Updated dependencies [27f971d] +- Updated dependencies [2d10ec3] +- Updated dependencies [70c849d] +- Updated dependencies [897c834] +- Updated dependencies [a53fc54] +- Updated dependencies [edd2edc] +- Updated dependencies [e80794b] +- Updated dependencies [27f971d] + - @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..29aed720d2 100644 --- a/packages/node/CHANGELOG.md +++ b/packages/node/CHANGELOG.md @@ -1,5 +1,83 @@ # Changelog +## 0.6.0 + +### Minor Changes + +- 70c849d: update target for tsc compiler to ES2020. Generally this should not have an impact for the supported environments (Node.JS / React Native). However this will have to be tested in React Native +- 897c834: DIDComm has been extracted out of the Core. This means that now all DIDComm related modules (e.g. proofs, credentials) must be explicitly added when creating an `Agent` instance. Therefore, their API will be accesable under `agent.modules.[moduleAPI]` instead of `agent.[moduleAPI]`. Some `Agent` DIDComm-related properties and methods where also moved to the API of a new DIDComm module (e.g. `agent.registerInboundTransport` turned into `agent.modules.didcomm.registerInboundTransport`). + + **Example of DIDComm Agent** + + Previously: + + ```ts + const config = { + label: name, + endpoints: ['https://myendpoint'], + walletConfig: { + id: name, + key: name, + }, + } satisfies InitConfig + + const agent = new Agent({ + config, + dependencies: agentDependencies, + modules: { + connections: new ConnectionsModule({ + autoAcceptConnections: true, + }) + }) + this.agent.registerInboundTransport(new HttpInboundTransport({ port })) + this.agent.registerOutboundTransport(new HttpOutboundTransport()) + + ``` + + Now: + + ```ts + const config = { + label: name, + walletConfig: { + id: name, + key: name, + }, + } satisfies InitConfig + + const agent = new Agent({ + config, + dependencies: agentDependencies, + modules: { + ...getDefaultDidcommModules({ endpoints: ['https://myendpoint'] }), + connections: new ConnectionsModule({ + autoAcceptConnections: true, + }) + }) + agent.modules.didcomm.registerInboundTransport(new HttpInboundTransport({ port })) + agent.modules.didcomm.registerOutboundTransport(new HttpOutboundTransport()) + ``` + +### Patch Changes + +- 13cd8cb: feat: support node 22 +- Updated dependencies [2d10ec3] +- Updated dependencies [13cd8cb] +- Updated dependencies [14673b1] +- Updated dependencies [607659a] +- Updated dependencies [5f08bc6] +- Updated dependencies [27f971d] +- Updated dependencies [0d877f5] +- Updated dependencies [2d10ec3] +- Updated dependencies [70c849d] +- Updated dependencies [897c834] +- Updated dependencies [a53fc54] +- Updated dependencies [edd2edc] +- Updated dependencies [e80794b] +- Updated dependencies [27f971d] + - @credo-ts/core@0.6.0 + - @credo-ts/didcomm@0.6.0 + ## 0.5.13 ### Patch Changes diff --git a/packages/node/package.json b/packages/node/package.json index 5595bf32c2..5bb25c2b6e 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..c9ff0ffbbb 100644 --- a/packages/openid4vc/CHANGELOG.md +++ b/packages/openid4vc/CHANGELOG.md @@ -1,5 +1,50 @@ # Changelog +## 0.6.0 + +### Minor Changes + +- 5f08bc6: feat: allow dynamicaly providing x509 certificates for all types of verifications +- 70c849d: update target for tsc compiler to ES2020. Generally this should not have an impact for the supported environments (Node.JS / React Native). However this will have to be tested in React Native +- 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 + +- 13cd8cb: feat: support node 22 +- 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 +- 27f971d: fix: only include supported mdoc algs in vp_formats metadata +- Updated dependencies [2d10ec3] +- Updated dependencies [13cd8cb] +- Updated dependencies [14673b1] +- Updated dependencies [607659a] +- Updated dependencies [5f08bc6] +- Updated dependencies [27f971d] +- Updated dependencies [2d10ec3] +- Updated dependencies [70c849d] +- Updated dependencies [897c834] +- Updated dependencies [a53fc54] +- Updated dependencies [edd2edc] +- Updated dependencies [e80794b] +- Updated dependencies [27f971d] + - @credo-ts/core@0.6.0 + ## 0.5.13 ### Patch Changes diff --git a/packages/openid4vc/package.json b/packages/openid4vc/package.json index 70f0dcaa49..500ca9f2b1 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..a3bc9d76a7 100644 --- a/packages/question-answer/CHANGELOG.md +++ b/packages/question-answer/CHANGELOG.md @@ -1,5 +1,83 @@ # Changelog +## 0.6.0 + +### Minor Changes + +- 70c849d: update target for tsc compiler to ES2020. Generally this should not have an impact for the supported environments (Node.JS / React Native). However this will have to be tested in React Native +- 897c834: DIDComm has been extracted out of the Core. This means that now all DIDComm related modules (e.g. proofs, credentials) must be explicitly added when creating an `Agent` instance. Therefore, their API will be accesable under `agent.modules.[moduleAPI]` instead of `agent.[moduleAPI]`. Some `Agent` DIDComm-related properties and methods where also moved to the API of a new DIDComm module (e.g. `agent.registerInboundTransport` turned into `agent.modules.didcomm.registerInboundTransport`). + + **Example of DIDComm Agent** + + Previously: + + ```ts + const config = { + label: name, + endpoints: ['https://myendpoint'], + walletConfig: { + id: name, + key: name, + }, + } satisfies InitConfig + + const agent = new Agent({ + config, + dependencies: agentDependencies, + modules: { + connections: new ConnectionsModule({ + autoAcceptConnections: true, + }) + }) + this.agent.registerInboundTransport(new HttpInboundTransport({ port })) + this.agent.registerOutboundTransport(new HttpOutboundTransport()) + + ``` + + Now: + + ```ts + const config = { + label: name, + walletConfig: { + id: name, + key: name, + }, + } satisfies InitConfig + + const agent = new Agent({ + config, + dependencies: agentDependencies, + modules: { + ...getDefaultDidcommModules({ endpoints: ['https://myendpoint'] }), + connections: new ConnectionsModule({ + autoAcceptConnections: true, + }) + }) + agent.modules.didcomm.registerInboundTransport(new HttpInboundTransport({ port })) + agent.modules.didcomm.registerOutboundTransport(new HttpOutboundTransport()) + ``` + +### Patch Changes + +- 13cd8cb: feat: support node 22 +- Updated dependencies [2d10ec3] +- Updated dependencies [13cd8cb] +- Updated dependencies [14673b1] +- Updated dependencies [607659a] +- Updated dependencies [5f08bc6] +- Updated dependencies [27f971d] +- Updated dependencies [0d877f5] +- Updated dependencies [2d10ec3] +- Updated dependencies [70c849d] +- Updated dependencies [897c834] +- Updated dependencies [a53fc54] +- Updated dependencies [edd2edc] +- Updated dependencies [e80794b] +- Updated dependencies [27f971d] + - @credo-ts/core@0.6.0 + - @credo-ts/didcomm@0.6.0 + ## 0.5.13 ### Patch Changes diff --git a/packages/question-answer/package.json b/packages/question-answer/package.json index 32e61e1da9..92f1dc7cd5 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..22d6313757 100644 --- a/packages/react-native/CHANGELOG.md +++ b/packages/react-native/CHANGELOG.md @@ -1,5 +1,29 @@ # Changelog +## 0.6.0 + +### Minor Changes + +- 70c849d: update target for tsc compiler to ES2020. Generally this should not have an impact for the supported environments (Node.JS / React Native). However this will have to be tested in React Native + +### Patch Changes + +- 13cd8cb: feat: support node 22 +- Updated dependencies [2d10ec3] +- Updated dependencies [13cd8cb] +- Updated dependencies [14673b1] +- Updated dependencies [607659a] +- Updated dependencies [5f08bc6] +- Updated dependencies [27f971d] +- Updated dependencies [2d10ec3] +- Updated dependencies [70c849d] +- Updated dependencies [897c834] +- Updated dependencies [a53fc54] +- Updated dependencies [edd2edc] +- Updated dependencies [e80794b] +- Updated dependencies [27f971d] + - @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..d462813471 100644 --- a/packages/tenants/CHANGELOG.md +++ b/packages/tenants/CHANGELOG.md @@ -1,5 +1,83 @@ # Changelog +## 0.6.0 + +### Minor Changes + +- 70c849d: update target for tsc compiler to ES2020. Generally this should not have an impact for the supported environments (Node.JS / React Native). However this will have to be tested in React Native +- 897c834: DIDComm has been extracted out of the Core. This means that now all DIDComm related modules (e.g. proofs, credentials) must be explicitly added when creating an `Agent` instance. Therefore, their API will be accesable under `agent.modules.[moduleAPI]` instead of `agent.[moduleAPI]`. Some `Agent` DIDComm-related properties and methods where also moved to the API of a new DIDComm module (e.g. `agent.registerInboundTransport` turned into `agent.modules.didcomm.registerInboundTransport`). + + **Example of DIDComm Agent** + + Previously: + + ```ts + const config = { + label: name, + endpoints: ['https://myendpoint'], + walletConfig: { + id: name, + key: name, + }, + } satisfies InitConfig + + const agent = new Agent({ + config, + dependencies: agentDependencies, + modules: { + connections: new ConnectionsModule({ + autoAcceptConnections: true, + }) + }) + this.agent.registerInboundTransport(new HttpInboundTransport({ port })) + this.agent.registerOutboundTransport(new HttpOutboundTransport()) + + ``` + + Now: + + ```ts + const config = { + label: name, + walletConfig: { + id: name, + key: name, + }, + } satisfies InitConfig + + const agent = new Agent({ + config, + dependencies: agentDependencies, + modules: { + ...getDefaultDidcommModules({ endpoints: ['https://myendpoint'] }), + connections: new ConnectionsModule({ + autoAcceptConnections: true, + }) + }) + agent.modules.didcomm.registerInboundTransport(new HttpInboundTransport({ port })) + agent.modules.didcomm.registerOutboundTransport(new HttpOutboundTransport()) + ``` + +### Patch Changes + +- 13cd8cb: feat: support node 22 +- Updated dependencies [2d10ec3] +- Updated dependencies [13cd8cb] +- Updated dependencies [14673b1] +- Updated dependencies [607659a] +- Updated dependencies [5f08bc6] +- Updated dependencies [27f971d] +- Updated dependencies [0d877f5] +- Updated dependencies [2d10ec3] +- Updated dependencies [70c849d] +- Updated dependencies [897c834] +- Updated dependencies [a53fc54] +- Updated dependencies [edd2edc] +- Updated dependencies [e80794b] +- Updated dependencies [27f971d] + - @credo-ts/core@0.6.0 + - @credo-ts/didcomm@0.6.0 + ## 0.5.13 ### Patch Changes diff --git a/packages/tenants/package.json b/packages/tenants/package.json index 8b907f56e4..0b81b3ab15 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" ],