diff --git a/.changeset/all-phones-read.md b/.changeset/all-phones-read.md deleted file mode 100644 index c861b72e..00000000 --- a/.changeset/all-phones-read.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -'@contentauth/c2pa-node': patch -'@contentauth/c2pa-wasm': patch -'@contentauth/c2pa-web': patch ---- - -c2pa-rs bump diff --git a/.changeset/blue-stamps-bow.md b/.changeset/blue-stamps-bow.md deleted file mode 100644 index d3ea15bd..00000000 --- a/.changeset/blue-stamps-bow.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@contentauth/c2pa-web': patch ---- - -Remove ts-deepmerge from vite.config.ts's external array so that it gets bundled into c2pa-web. diff --git a/.changeset/fresh-kiwis-doubt.md b/.changeset/fresh-kiwis-doubt.md deleted file mode 100644 index beb44c31..00000000 --- a/.changeset/fresh-kiwis-doubt.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -'@contentauth/c2pa-utilities': minor -'@contentauth/c2pa-node': minor -'@contentauth/c2pa-web': minor ---- - -Introduce new c2pa-utilities package, and update c2pa-web and c2pa-node to use it. diff --git a/.changeset/jolly-cats-cheat.md b/.changeset/jolly-cats-cheat.md deleted file mode 100644 index 08c9f96f..00000000 --- a/.changeset/jolly-cats-cheat.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -'@contentauth/c2pa-node': patch -'@contentauth/c2pa-wasm': patch -'@contentauth/c2pa-web': patch ---- - -Bump c2pa-rs version to v0.90.10 diff --git a/.changeset/proud-candles-tap.md b/.changeset/proud-candles-tap.md deleted file mode 100644 index fc8ab519..00000000 --- a/.changeset/proud-candles-tap.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -'@contentauth/c2pa-node': patch -'@contentauth/c2pa-wasm': patch -'@contentauth/c2pa-web': patch ---- - -c2pa-rs version bump to v0.90.12 diff --git a/.changeset/tame-mice-hunt.md b/.changeset/tame-mice-hunt.md deleted file mode 100644 index 571dd036..00000000 --- a/.changeset/tame-mice-hunt.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -'@contentauth/c2pa-utilities': minor -'@contentauth/c2pa-node': minor -'@contentauth/c2pa-web': minor ---- - -Move the Reader asset size check into `c2pa-utilities`, shared by both `c2pa-web` and `c2pa-node`. `c2pa-node`'s Reader now validates asset size before reading, using its own server-appropriate limit. - -`validateAssetSize` treats a `maxSizeInBytes` of `0` as a request to use the new `DEFAULT_MAX_SIZE_IN_BYTES`, and throws a `RangeError` for non-finite or negative size/limit values. diff --git a/.changeset/tame-otters-relax.md b/.changeset/tame-otters-relax.md deleted file mode 100644 index cafc18d0..00000000 --- a/.changeset/tame-otters-relax.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -'@contentauth/c2pa-node': patch -'@contentauth/c2pa-web': patch -'@contentauth/c2pa-utilities': minor ---- - -Consolidate the `SigningAlg` type into `@contentauth/c2pa-utilities` (derived from `@contentauth/c2pa-types`'s schema-generated type). Re-use `ManifestAssertionKind` from `@contentauth/c2pa-types` instead of a duplicate hand-written copy. Fix `c2pa-node`'s `package.json` to list `@contentauth/c2pa-types` as a `dependency` rather than a `devDependency`, matching `c2pa-web`. diff --git a/packages/c2pa-node/CHANGELOG.md b/packages/c2pa-node/CHANGELOG.md index 43ea9fb3..3a2949fb 100644 --- a/packages/c2pa-node/CHANGELOG.md +++ b/packages/c2pa-node/CHANGELOG.md @@ -1,5 +1,25 @@ # @contentauth/c2pa-node +## 0.9.0 + +### Minor Changes + +- b3b3196: Introduce new c2pa-utilities package, and update c2pa-web and c2pa-node to use it. +- f2f6ada: Move the Reader asset size check into `c2pa-utilities`, shared by both `c2pa-web` and `c2pa-node`. `c2pa-node`'s Reader now validates asset size before reading, using its own server-appropriate limit. + + `validateAssetSize` treats a `maxSizeInBytes` of `0` as a request to use the new `DEFAULT_MAX_SIZE_IN_BYTES`, and throws a `RangeError` for non-finite or negative size/limit values. + +### Patch Changes + +- 2de9ba5: c2pa-rs bump +- 1102535: Bump c2pa-rs version to v0.90.10 +- 4c8ad00: c2pa-rs version bump to v0.90.12 +- 0f42fe8: Consolidate the `SigningAlg` type into `@contentauth/c2pa-utilities` (derived from `@contentauth/c2pa-types`'s schema-generated type). Re-use `ManifestAssertionKind` from `@contentauth/c2pa-types` instead of a duplicate hand-written copy. Fix `c2pa-node`'s `package.json` to list `@contentauth/c2pa-types` as a `dependency` rather than a `devDependency`, matching `c2pa-web`. +- Updated dependencies [b3b3196] +- Updated dependencies [f2f6ada] +- Updated dependencies [0f42fe8] + - @contentauth/c2pa-utilities@0.2.0 + ## 0.8.3 ### Patch Changes diff --git a/packages/c2pa-node/package.json b/packages/c2pa-node/package.json index 8d362598..d463b99c 100644 --- a/packages/c2pa-node/package.json +++ b/packages/c2pa-node/package.json @@ -5,7 +5,7 @@ "url": "git+https://github.com/contentauth/c2pa-js.git", "directory": "packages/c2pa-node" }, - "version": "0.8.3", + "version": "0.9.0", "description": "Node.js bindings for C2PA", "main": "dist/index.js", "type": "module", diff --git a/packages/c2pa-utilities/CHANGELOG.md b/packages/c2pa-utilities/CHANGELOG.md new file mode 100644 index 00000000..d49c409f --- /dev/null +++ b/packages/c2pa-utilities/CHANGELOG.md @@ -0,0 +1,12 @@ +# @contentauth/c2pa-utilities + +## 0.2.0 + +### Minor Changes + +- b3b3196: Introduce new c2pa-utilities package, and update c2pa-web and c2pa-node to use it. +- f2f6ada: Move the Reader asset size check into `c2pa-utilities`, shared by both `c2pa-web` and `c2pa-node`. `c2pa-node`'s Reader now validates asset size before reading, using its own server-appropriate limit. + + `validateAssetSize` treats a `maxSizeInBytes` of `0` as a request to use the new `DEFAULT_MAX_SIZE_IN_BYTES`, and throws a `RangeError` for non-finite or negative size/limit values. + +- 0f42fe8: Consolidate the `SigningAlg` type into `@contentauth/c2pa-utilities` (derived from `@contentauth/c2pa-types`'s schema-generated type). Re-use `ManifestAssertionKind` from `@contentauth/c2pa-types` instead of a duplicate hand-written copy. Fix `c2pa-node`'s `package.json` to list `@contentauth/c2pa-types` as a `dependency` rather than a `devDependency`, matching `c2pa-web`. diff --git a/packages/c2pa-utilities/package.json b/packages/c2pa-utilities/package.json index 9bb70d71..c7cbd29f 100644 --- a/packages/c2pa-utilities/package.json +++ b/packages/c2pa-utilities/package.json @@ -1,6 +1,6 @@ { "name": "@contentauth/c2pa-utilities", - "version": "0.1.0", + "version": "0.2.0", "license": "MIT", "repository": { "type": "git", diff --git a/packages/c2pa-wasm/CHANGELOG.md b/packages/c2pa-wasm/CHANGELOG.md index 8fd8f51e..56bd1fac 100644 --- a/packages/c2pa-wasm/CHANGELOG.md +++ b/packages/c2pa-wasm/CHANGELOG.md @@ -1,5 +1,13 @@ # @contentauth/c2pa-wasm +## 0.11.3 + +### Patch Changes + +- 2de9ba5: c2pa-rs bump +- 1102535: Bump c2pa-rs version to v0.90.10 +- 4c8ad00: c2pa-rs version bump to v0.90.12 + ## 0.11.2 ### Patch Changes diff --git a/packages/c2pa-wasm/package.json b/packages/c2pa-wasm/package.json index 69079ded..6954a56d 100644 --- a/packages/c2pa-wasm/package.json +++ b/packages/c2pa-wasm/package.json @@ -1,6 +1,6 @@ { "name": "@contentauth/c2pa-wasm", - "version": "0.11.2", + "version": "0.11.3", "license": "MIT", "repository": { "type": "git", diff --git a/packages/c2pa-web/CHANGELOG.md b/packages/c2pa-web/CHANGELOG.md index 93a299f4..581f36bb 100644 --- a/packages/c2pa-web/CHANGELOG.md +++ b/packages/c2pa-web/CHANGELOG.md @@ -1,5 +1,30 @@ # @contentauth/c2pa-web +## 0.14.0 + +### Minor Changes + +- b3b3196: Introduce new c2pa-utilities package, and update c2pa-web and c2pa-node to use it. +- f2f6ada: Move the Reader asset size check into `c2pa-utilities`, shared by both `c2pa-web` and `c2pa-node`. `c2pa-node`'s Reader now validates asset size before reading, using its own server-appropriate limit. + + `validateAssetSize` treats a `maxSizeInBytes` of `0` as a request to use the new `DEFAULT_MAX_SIZE_IN_BYTES`, and throws a `RangeError` for non-finite or negative size/limit values. + +### Patch Changes + +- 2de9ba5: c2pa-rs bump +- 4b22953: Remove ts-deepmerge from vite.config.ts's external array so that it gets bundled into c2pa-web. +- 1102535: Bump c2pa-rs version to v0.90.10 +- 4c8ad00: c2pa-rs version bump to v0.90.12 +- 0f42fe8: Consolidate the `SigningAlg` type into `@contentauth/c2pa-utilities` (derived from `@contentauth/c2pa-types`'s schema-generated type). Re-use `ManifestAssertionKind` from `@contentauth/c2pa-types` instead of a duplicate hand-written copy. Fix `c2pa-node`'s `package.json` to list `@contentauth/c2pa-types` as a `dependency` rather than a `devDependency`, matching `c2pa-web`. +- Updated dependencies [2de9ba5] +- Updated dependencies [b3b3196] +- Updated dependencies [1102535] +- Updated dependencies [4c8ad00] +- Updated dependencies [f2f6ada] +- Updated dependencies [0f42fe8] + - @contentauth/c2pa-wasm@0.11.3 + - @contentauth/c2pa-utilities@0.2.0 + ## 0.13.4 ### Patch Changes diff --git a/packages/c2pa-web/package.json b/packages/c2pa-web/package.json index 37725920..24e2bae0 100644 --- a/packages/c2pa-web/package.json +++ b/packages/c2pa-web/package.json @@ -1,6 +1,6 @@ { "name": "@contentauth/c2pa-web", - "version": "0.13.4", + "version": "0.14.0", "license": "MIT", "repository": { "type": "git",