diff --git a/.changeset/crazy-peaches-give.md b/.changeset/crazy-peaches-give.md deleted file mode 100644 index 661f8e4..0000000 --- a/.changeset/crazy-peaches-give.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -"@animo-id/mdoc": minor ---- - -- Major rework of the library, primairly the underlying CBOR structures -- Includes an `Issuer`, `Holder` and `Verifier` class that should make it easier to issue, hold and verify mDocs -- More aligned with the specification, w.r.t. naming conventions -- Simplified additions/modifitcations, so adding newer features will be a lot simpler diff --git a/.changeset/good-starfishes-chew.md b/.changeset/good-starfishes-chew.md deleted file mode 100644 index ad2224e..0000000 --- a/.changeset/good-starfishes-chew.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -"@animo-id/mdoc": minor ---- - -feat: add new openid4vp session transcript calculation methods. - -NOTE that this introduces breaking chnages since `calculateSessionTranscriptBytesForOid4VpDcApi` has been renamed to `calculateSessionTranscriptBytesForOid4VpDcApiDraft24`. The `calculateSessionTranscriptBytesForOid4VpDcApi` method is now used for the latest (draft29/1.0) session transcript structure. - -In addtion, `calculateSessionTranscriptBytesForOid4Vp` has been renamed to `calculateSessionTranscriptBytesForOid4VpDraft18`. The `calculateSessionTranscriptBytesForOid4Vp` method is now used for the latest (draft29/1.0) session transcript structure. diff --git a/.changeset/lemon-geckos-yell.md b/.changeset/lemon-geckos-yell.md deleted file mode 100644 index b1cba14..0000000 --- a/.changeset/lemon-geckos-yell.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@animo-id/mdoc": patch ---- - -feat: native JS implementation of byte encoding and decoding diff --git a/.changeset/seven-pears-relate.md b/.changeset/seven-pears-relate.md deleted file mode 100644 index 61b456c..0000000 --- a/.changeset/seven-pears-relate.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@animo-id/mdoc": minor ---- - -fix: use variable map size for map encoding diff --git a/.changeset/violet-needles-own.md b/.changeset/violet-needles-own.md deleted file mode 100644 index 88eef0f..0000000 --- a/.changeset/violet-needles-own.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@animo-id/mdoc": patch ---- - -fix: always true statement throws error. In the DeviceResponse model there was an always true if statement that throws an error before allowing the creation of the response. diff --git a/.changeset/wise-dodos-warn.md b/.changeset/wise-dodos-warn.md deleted file mode 100644 index b1ef611..0000000 --- a/.changeset/wise-dodos-warn.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@animo-id/mdoc": minor ---- - -Remove support for the CommonJS/CJS syntax. Since React Native bundles your code, the update to ESM should not cause issues. In addition all latest minor releases of Node 20+ support requiring ESM modules. This means that even if you project is still a CommonJS project, it can now depend on ESM modules. For this reason mDOC is now fully an ESM module. \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 09bfdbc..5154322 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,27 @@ # @animo-id/mdoc +## 0.6.0 + +### Minor Changes + +- 153111e: - Major rework of the library, primairly the underlying CBOR structures + - Includes an `Issuer`, `Holder` and `Verifier` class that should make it easier to issue, hold and verify mDocs + - More aligned with the specification, w.r.t. naming conventions + - Simplified additions/modifitcations, so adding newer features will be a lot simpler +- fd7cc00: feat: add new openid4vp session transcript calculation methods. + + NOTE that this introduces breaking chnages since `calculateSessionTranscriptBytesForOid4VpDcApi` has been renamed to `calculateSessionTranscriptBytesForOid4VpDcApiDraft24`. The `calculateSessionTranscriptBytesForOid4VpDcApi` method is now used for the latest (draft29/1.0) session transcript structure. + + In addtion, `calculateSessionTranscriptBytesForOid4Vp` has been renamed to `calculateSessionTranscriptBytesForOid4VpDraft18`. The `calculateSessionTranscriptBytesForOid4Vp` method is now used for the latest (draft29/1.0) session transcript structure. + +- 0311619: fix: use variable map size for map encoding +- 15a8efa: Remove support for the CommonJS/CJS syntax. Since React Native bundles your code, the update to ESM should not cause issues. In addition all latest minor releases of Node 20+ support requiring ESM modules. This means that even if you project is still a CommonJS project, it can now depend on ESM modules. For this reason mDOC is now fully an ESM module. + +### Patch Changes + +- 2963990: feat: native JS implementation of byte encoding and decoding +- 3f19ace: fix: always true statement throws error. In the DeviceResponse model there was an always true if statement that throws an error before allowing the creation of the response. + ## 0.5.2 ### Patch Changes diff --git a/package.json b/package.json index ca51b2c..1533154 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,7 @@ "packageManager": "pnpm@10.20.0+sha512.cf9998222162dd85864d0a8102e7892e7ba4ceadebbf5a31f9c2fce48dfce317a9c53b9f6464d1ef9042cba2e02ae02a9f7c143a2b438cd93c91840f0192b9dd", "author": "Animo Solutions", "exports": "./src/index.ts", - "version": "0.5.2", + "version": "0.6.0", "files": [ "dist" ],