diff --git a/.changeset/afraid-falcons-work.md b/.changeset/afraid-falcons-work.md deleted file mode 100644 index 5c33d4e..0000000 --- a/.changeset/afraid-falcons-work.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -"@openid4vc/openid4vci": minor -"@openid4vc/oauth2": minor -"@openid4vc/utils": minor ---- - -Add support for OpenID4VCI draft 15. It also includes improved support for client (wallet) attestations, and better support for server side verification. - -Due to the changes between Draft 14 and Draft 15 and it's up to the caller of this library to handle the difference between the versions. Draft 11 is still supported based on Draft 14 syntax (and thus will be automatically converted). diff --git a/.changeset/chatty-buttons-sip.md b/.changeset/chatty-buttons-sip.md deleted file mode 100644 index 8bb22de..0000000 --- a/.changeset/chatty-buttons-sip.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@openid4vc/openid4vp": minor ---- - -feat: initial version of openid4vp diff --git a/.changeset/funny-actors-kiss.md b/.changeset/funny-actors-kiss.md deleted file mode 100644 index aeff4b9..0000000 --- a/.changeset/funny-actors-kiss.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"@openid4vc/openid4vci": minor -"@openid4vc/oauth2": minor -"@openid4vc/utils": minor ---- - -fix typo in param from authorizationServerMetata to authorizationServerMetadata diff --git a/.changeset/healthy-items-push.md b/.changeset/healthy-items-push.md deleted file mode 100644 index ce80441..0000000 --- a/.changeset/healthy-items-push.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@openid4vc/openid4vci": minor ---- - -renamed oid4vci to openid4vci. This includes the package name, but also the class names and oid4vpRequestUrl to openid4vpRequestUrl diff --git a/.changeset/lemon-buses-pump.md b/.changeset/lemon-buses-pump.md deleted file mode 100644 index c47d734..0000000 --- a/.changeset/lemon-buses-pump.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"@openid4vc/openid4vci": minor -"@openid4vc/oauth2": minor ---- - -replace the `dpopJwk` return value with `dpop` object with `jwk` key. It now also returns the `jwkThumbprint` diff --git a/.changeset/lovely-schools-brush.md b/.changeset/lovely-schools-brush.md deleted file mode 100644 index f405e93..0000000 --- a/.changeset/lovely-schools-brush.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@openid4vc/openid4vci": patch ---- - -support key-attestation+jwt in addition to keyattestation+jwt when verifying key attestation diff --git a/.changeset/mighty-cougars-work.md b/.changeset/mighty-cougars-work.md deleted file mode 100644 index e802a60..0000000 --- a/.changeset/mighty-cougars-work.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -"@openid4vc/openid4vci": patch -"@openid4vc/oauth2": patch ---- - -fix: path where oauth2 authorization server metadata is retrieved from. - -For OAuth you need to put `.well-known/oauth-authorization-server` between the origin and path (so `https://funke.animo.id/provider` becomes `https://funke.animo.id/.well-known/oauth-authorization-server/provider`). We were putting the well known path after the full issuer url. - -It will now first check the correct path, and fall back to the invalid path. diff --git a/.changeset/perfect-bees-clean.md b/.changeset/perfect-bees-clean.md deleted file mode 100644 index 3223bd1..0000000 --- a/.changeset/perfect-bees-clean.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -"@openid4vc/openid4vci": minor -"@openid4vc/oauth2": minor -"@openid4vc/utils": minor ---- - -Before this PR, all packages used Valibot for data validation. -We have now fully transitioned to Zod. This introduces obvious breaking changes for some packages that re-exported Valibot types or schemas for example. diff --git a/.changeset/red-ladybugs-perform.md b/.changeset/red-ladybugs-perform.md deleted file mode 100644 index f03eb9b..0000000 --- a/.changeset/red-ladybugs-perform.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"@openid4vc/openid4vp": minor -"@openid4vc/oauth2": minor -"@openid4vc/openid4vci": minor ---- - -refactor: change the jwt signer method 'trustChain' to 'federation' and make 'trustChain' variable optional. diff --git a/.changeset/selfish-dolls-fix.md b/.changeset/selfish-dolls-fix.md deleted file mode 100644 index 35cbb29..0000000 --- a/.changeset/selfish-dolls-fix.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@openid4vc/openid4vp": patch ---- - -fix: export JarmMode enum diff --git a/.changeset/twelve-kangaroos-help.md b/.changeset/twelve-kangaroos-help.md deleted file mode 100644 index bb47c57..0000000 --- a/.changeset/twelve-kangaroos-help.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"@openid4vc/oauth2": minor -"@openid4vc/openid4vci": minor ---- - -add support for sha-384, sha-512, rename SHA-256 to sha-256 to align with IANA hash algorithm names (https://www.iana.org/assignments/named-information/named-information.xhtml) diff --git a/.changeset/twenty-shirts-love.md b/.changeset/twenty-shirts-love.md deleted file mode 100644 index da1c05b..0000000 --- a/.changeset/twenty-shirts-love.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -"@openid4vc/openid4vp": patch -"@openid4vc/oauth2": patch -"@openid4vc/utils": patch -"@openid4vc/openid4vci": patch ---- - -fix: create fetch wrapper that always calls toString on URLSearchParams as React Native does not encode this correctly while Node.JS does diff --git a/packages/oauth2/CHANGELOG.md b/packages/oauth2/CHANGELOG.md index 3666b81..be62c25 100644 --- a/packages/oauth2/CHANGELOG.md +++ b/packages/oauth2/CHANGELOG.md @@ -1,5 +1,35 @@ # @openid4vc/oauth2 +## 0.3.0 + +### Minor Changes + +- 70b9740: Add support for OpenID4VCI draft 15. It also includes improved support for client (wallet) attestations, and better support for server side verification. + + Due to the changes between Draft 14 and Draft 15 and it's up to the caller of this library to handle the difference between the versions. Draft 11 is still supported based on Draft 14 syntax (and thus will be automatically converted). + +- 70b9740: fix typo in param from authorizationServerMetata to authorizationServerMetadata +- 70b9740: replace the `dpopJwk` return value with `dpop` object with `jwk` key. It now also returns the `jwkThumbprint` +- 26451d7: Before this PR, all packages used Valibot for data validation. + We have now fully transitioned to Zod. This introduces obvious breaking changes for some packages that re-exported Valibot types or schemas for example. +- f798259: refactor: change the jwt signer method 'trustChain' to 'federation' and make 'trustChain' variable optional. +- c23c86f: add support for sha-384, sha-512, rename SHA-256 to sha-256 to align with IANA hash algorithm names (https://www.iana.org/assignments/named-information/named-information.xhtml) + +### Patch Changes + +- c8ce780: fix: path where oauth2 authorization server metadata is retrieved from. + + For OAuth you need to put `.well-known/oauth-authorization-server` between the origin and path (so `https://funke.animo.id/provider` becomes `https://funke.animo.id/.well-known/oauth-authorization-server/provider`). We were putting the well known path after the full issuer url. + + It will now first check the correct path, and fall back to the invalid path. + +- 3b9b88a: fix: create fetch wrapper that always calls toString on URLSearchParams as React Native does not encode this correctly while Node.JS does +- Updated dependencies [70b9740] +- Updated dependencies [70b9740] +- Updated dependencies [26451d7] +- Updated dependencies [3b9b88a] + - @openid4vc/utils@0.3.0 + ## 0.2.0 ### Minor Changes diff --git a/packages/oauth2/package.json b/packages/oauth2/package.json index 8fbc8d5..8b12618 100644 --- a/packages/oauth2/package.json +++ b/packages/oauth2/package.json @@ -1,6 +1,6 @@ { "name": "@openid4vc/oauth2", - "version": "0.2.0", + "version": "0.3.0", "files": ["dist"], "license": "Apache-2.0", "exports": "./src/index.ts", diff --git a/packages/openid4vci/CHANGELOG.md b/packages/openid4vci/CHANGELOG.md index 9f36e8a..d39519d 100644 --- a/packages/openid4vci/CHANGELOG.md +++ b/packages/openid4vci/CHANGELOG.md @@ -1,5 +1,42 @@ # @openid4vc/openid4vci +## 0.3.0 + +### Minor Changes + +- 70b9740: Add support for OpenID4VCI draft 15. It also includes improved support for client (wallet) attestations, and better support for server side verification. + + Due to the changes between Draft 14 and Draft 15 and it's up to the caller of this library to handle the difference between the versions. Draft 11 is still supported based on Draft 14 syntax (and thus will be automatically converted). + +- 70b9740: fix typo in param from authorizationServerMetata to authorizationServerMetadata +- 1b5e003: renamed oid4vci to openid4vci. This includes the package name, but also the class names and oid4vpRequestUrl to openid4vpRequestUrl +- 70b9740: replace the `dpopJwk` return value with `dpop` object with `jwk` key. It now also returns the `jwkThumbprint` +- 26451d7: Before this PR, all packages used Valibot for data validation. + We have now fully transitioned to Zod. This introduces obvious breaking changes for some packages that re-exported Valibot types or schemas for example. +- f798259: refactor: change the jwt signer method 'trustChain' to 'federation' and make 'trustChain' variable optional. +- c23c86f: add support for sha-384, sha-512, rename SHA-256 to sha-256 to align with IANA hash algorithm names (https://www.iana.org/assignments/named-information/named-information.xhtml) + +### Patch Changes + +- ec552d7: support key-attestation+jwt in addition to keyattestation+jwt when verifying key attestation +- c8ce780: fix: path where oauth2 authorization server metadata is retrieved from. + + For OAuth you need to put `.well-known/oauth-authorization-server` between the origin and path (so `https://funke.animo.id/provider` becomes `https://funke.animo.id/.well-known/oauth-authorization-server/provider`). We were putting the well known path after the full issuer url. + + It will now first check the correct path, and fall back to the invalid path. + +- 3b9b88a: fix: create fetch wrapper that always calls toString on URLSearchParams as React Native does not encode this correctly while Node.JS does +- Updated dependencies [70b9740] +- Updated dependencies [70b9740] +- Updated dependencies [70b9740] +- Updated dependencies [c8ce780] +- Updated dependencies [26451d7] +- Updated dependencies [f798259] +- Updated dependencies [c23c86f] +- Updated dependencies [3b9b88a] + - @openid4vc/oauth2@0.3.0 + - @openid4vc/utils@0.3.0 + ## 0.2.0 ### Minor Changes diff --git a/packages/openid4vci/package.json b/packages/openid4vci/package.json index c5e38ad..7a21379 100644 --- a/packages/openid4vci/package.json +++ b/packages/openid4vci/package.json @@ -1,6 +1,6 @@ { "name": "@openid4vc/openid4vci", - "version": "0.2.0", + "version": "0.3.0", "files": ["dist"], "license": "Apache-2.0", "exports": "./src/index.ts", diff --git a/packages/openid4vp/CHANGELOG.md b/packages/openid4vp/CHANGELOG.md new file mode 100644 index 0000000..1dd0997 --- /dev/null +++ b/packages/openid4vp/CHANGELOG.md @@ -0,0 +1,23 @@ +# @openid4vc/openid4vp + +## 0.3.0 + +### Minor Changes + +- 1b5e003: feat: initial version of openid4vp +- f798259: refactor: change the jwt signer method 'trustChain' to 'federation' and make 'trustChain' variable optional. + +### Patch Changes + +- 971f885: fix: export JarmMode enum +- 3b9b88a: fix: create fetch wrapper that always calls toString on URLSearchParams as React Native does not encode this correctly while Node.JS does +- Updated dependencies [70b9740] +- Updated dependencies [70b9740] +- Updated dependencies [70b9740] +- Updated dependencies [c8ce780] +- Updated dependencies [26451d7] +- Updated dependencies [f798259] +- Updated dependencies [c23c86f] +- Updated dependencies [3b9b88a] + - @openid4vc/oauth2@0.3.0 + - @openid4vc/utils@0.3.0 diff --git a/packages/openid4vp/package.json b/packages/openid4vp/package.json index e95062d..366a1e6 100644 --- a/packages/openid4vp/package.json +++ b/packages/openid4vp/package.json @@ -1,6 +1,6 @@ { "name": "@openid4vc/openid4vp", - "version": "0.2.0", + "version": "0.3.0", "files": ["dist"], "license": "Apache-2.0", "exports": "./src/index.ts", diff --git a/packages/utils/CHANGELOG.md b/packages/utils/CHANGELOG.md index 21837e1..d258154 100644 --- a/packages/utils/CHANGELOG.md +++ b/packages/utils/CHANGELOG.md @@ -1,5 +1,21 @@ # @openid4vc/utils +## 0.3.0 + +### Minor Changes + +- 70b9740: Add support for OpenID4VCI draft 15. It also includes improved support for client (wallet) attestations, and better support for server side verification. + + Due to the changes between Draft 14 and Draft 15 and it's up to the caller of this library to handle the difference between the versions. Draft 11 is still supported based on Draft 14 syntax (and thus will be automatically converted). + +- 70b9740: fix typo in param from authorizationServerMetata to authorizationServerMetadata +- 26451d7: Before this PR, all packages used Valibot for data validation. + We have now fully transitioned to Zod. This introduces obvious breaking changes for some packages that re-exported Valibot types or schemas for example. + +### Patch Changes + +- 3b9b88a: fix: create fetch wrapper that always calls toString on URLSearchParams as React Native does not encode this correctly while Node.JS does + ## 0.2.0 ## 0.1.4 diff --git a/packages/utils/package.json b/packages/utils/package.json index 436fe4a..7ecfff7 100644 --- a/packages/utils/package.json +++ b/packages/utils/package.json @@ -1,6 +1,6 @@ { "name": "@openid4vc/utils", - "version": "0.2.0", + "version": "0.3.0", "files": ["dist"], "license": "Apache-2.0", "exports": "./src/index.ts",