diff --git a/.changeset/pre.json b/.changeset/pre.json index 4b8a12605..76ae461b6 100644 --- a/.changeset/pre.json +++ b/.changeset/pre.json @@ -73,7 +73,9 @@ "@embedpdf/bundler-matrix-rspack": "0.0.0", "@embedpdf/bundler-matrix-vite": "0.0.0", "@embedpdf/bundler-matrix-webpack": "0.0.0", - "@embedpdf/bundler-probe": "0.0.0" + "@embedpdf/bundler-probe": "0.0.0", + "@embedpdf/core-signature": "3.0.0-next.0", + "@embedpdf/plugin-signature": "3.0.0-next.0" }, "changesets": [ "acrojs-af-library", @@ -230,6 +232,7 @@ "initial-embedpdf-viewer", "initial-embedpdf-web", "keygen-expiring-cloudpdf-server", + "linear-base64-engine-core", "oriented-text-core-annotation", "oriented-text-core-geometry", "oriented-text-engine-core", @@ -266,10 +269,23 @@ "plugin-contracts-stamp", "plugin-contracts-view-manager", "prepaint-placement-react", + "redaction-residual-text-engine-runtime", "render-layer-viewer-chrome", "render-strategy-plugin-render", "render-strategy-react", "render-worker-engine", + "rich-text-cloudpdf-contract", + "rich-text-cloudpdf-sdk", + "rich-text-core-annotation", + "rich-text-engine-core", + "rich-text-engine-runtime", + "rich-text-engine-services", + "rich-text-engine", + "rich-text-plugin-annotation", + "rich-text-react", + "rich-text-viewer-chrome", + "rich-text-viewer", + "rich-text-web", "s3-stream-buffer-server", "script-host-core-acrojs", "script-host-core-annotation", @@ -288,6 +304,21 @@ "selection-handles-web", "selection-strip-viewer-chrome", "server-engine-host-isolation", + "signature-stamp-contract-react", + "signatures-cloudpdf-contract", + "signatures-cloudpdf-engine", + "signatures-cloudpdf-sdk", + "signatures-cloudpdf-server", + "signatures-core-signature", + "signatures-engine-runtime", + "signatures-engine-services", + "signatures-engine", + "signatures-plugin-annotation", + "signatures-plugin-form", + "signatures-plugin-signature", + "signatures-plugin-stamp", + "signatures-viewer-chrome", + "signatures-viewer", "stamp-libraries-cloudpdf-viewer", "stamp-libraries-default-stamps", "stamp-libraries-plugin-annotation", diff --git a/cloudpdf/contract/CHANGELOG.md b/cloudpdf/contract/CHANGELOG.md index 050da16f0..48c3d5035 100644 --- a/cloudpdf/contract/CHANGELOG.md +++ b/cloudpdf/contract/CHANGELOG.md @@ -1,5 +1,15 @@ # @cloudpdf/contract +## 3.0.0-next.13 + +### Minor Changes + +- [#817](https://github.com/embedpdf/embed-pdf-viewer/pull/817) by [@bobsingor](https://github.com/bobsingor) – Expose structured FreeText rich text in OpenAPI annotation responses, including paragraph and run styles and custom font family names. + + Update signature and version analysis response schemas with applicable restrictions, current-state findings, and information about later revisions and reverted objects. + +- [#812](https://github.com/embedpdf/embed-pdf-viewer/pull/812) by [@bobsingor](https://github.com/bobsingor) – Add API contracts and OpenAPI schemas for preparing, completing, aborting, listing, and analyzing digital signatures. Add document version history, immutable version downloads, signed revision downloads, and signature contents and digest endpoints, with signing permissions and version conflict responses. + ## 3.0.0-next.12 ### Minor Changes diff --git a/cloudpdf/contract/openapi.json b/cloudpdf/contract/openapi.json index eda758435..3f0103d44 100644 --- a/cloudpdf/contract/openapi.json +++ b/cloudpdf/contract/openapi.json @@ -2,7 +2,7 @@ "openapi": "3.1.0", "info": { "title": "CloudPDF Engine API", - "version": "3.0.0-next.12", + "version": "3.0.0-next.13", "description": "The backend-callable surface of the CloudPDF document engine: deployment and tenant administration plus the document operations (reads, annotations, forms, page operations, redaction, download). Interactive viewing goes through the CloudPDF viewer SDKs, whose session protocol is deliberately not part of this API. Generated from the @cloudpdf/contract operation registry — do not edit by hand.", "license": { "name": "Apache-2.0", diff --git a/cloudpdf/contract/package.json b/cloudpdf/contract/package.json index b2c5906cc..a3b0fd53b 100644 --- a/cloudpdf/contract/package.json +++ b/cloudpdf/contract/package.json @@ -1,6 +1,6 @@ { "name": "@cloudpdf/contract", - "version": "3.0.0-next.12", + "version": "3.0.0-next.13", "private": false, "description": "The CloudPDF engine contract: operation registry, Zod schemas, and OpenAPI emitter for every backend-callable surface — used by @cloudpdf/server and the generated @cloudpdf/sdk, and the source of the committed openapi.json.", "type": "module", diff --git a/cloudpdf/engine/CHANGELOG.md b/cloudpdf/engine/CHANGELOG.md index fa68590f7..3e44f8cef 100644 --- a/cloudpdf/engine/CHANGELOG.md +++ b/cloudpdf/engine/CHANGELOG.md @@ -1,5 +1,13 @@ # @cloudpdf/engine +## 3.0.0-next.13 + +### Minor Changes + +- [#812](https://github.com/embedpdf/embed-pdf-viewer/pull/812) by [@bobsingor](https://github.com/bobsingor) – Add `doc.signatures` for cloud-backed signature inspection, revision analysis, and two-phase signing. Read signed bytes from immutable document versions and refresh the manifest after preparing or completing a signature. + + Support visual appearances on unsigned signature fields and publish their form update events. + ## 3.0.0-next.12 ### Minor Changes diff --git a/cloudpdf/engine/package.json b/cloudpdf/engine/package.json index b7db3ddd9..afc2f6380 100644 --- a/cloudpdf/engine/package.json +++ b/cloudpdf/engine/package.json @@ -1,6 +1,6 @@ { "name": "@cloudpdf/engine", - "version": "3.0.0-next.12", + "version": "3.0.0-next.13", "private": false, "description": "CloudPDF engine: the cloud client that speaks the Engine v3 interface over HTTPS to a @cloudpdf/server deployment (or CloudPDF SaaS). Same AbortablePromise-based, EngineError-coded contract as the local engine.", "type": "module", diff --git a/cloudpdf/sdk/.fern/metadata.json b/cloudpdf/sdk/.fern/metadata.json index 0a9af1aa1..484f64a46 100644 --- a/cloudpdf/sdk/.fern/metadata.json +++ b/cloudpdf/sdk/.fern/metadata.json @@ -25,6 +25,6 @@ }, "originGitCommit": null, "originGitCommitIsDirty": null, - "requestedVersion": "3.0.0-next.12", - "sdkVersion": "3.0.0-next.12" + "requestedVersion": "3.0.0-next.13", + "sdkVersion": "3.0.0-next.13" } diff --git a/cloudpdf/sdk/CHANGELOG.md b/cloudpdf/sdk/CHANGELOG.md index cf8b62dad..54567a71d 100644 --- a/cloudpdf/sdk/CHANGELOG.md +++ b/cloudpdf/sdk/CHANGELOG.md @@ -1,5 +1,15 @@ # @cloudpdf/sdk +## 3.0.0-next.13 + +### Minor Changes + +- [#817](https://github.com/embedpdf/embed-pdf-viewer/pull/817) by [@bobsingor](https://github.com/bobsingor) – Add generated annotation response types for FreeText rich-text bodies, paragraphs, and styled runs, and allow custom font family names. + + Expose restrictions, current-state findings, and later-revision details in the generated signature and version analysis response types. + +- [#812](https://github.com/embedpdf/embed-pdf-viewer/pull/812) by [@bobsingor](https://github.com/bobsingor) – Add generated `doc.signatures` and `doc.versions` clients, request and response types, and package subpath exports. Support preparing, completing, and aborting signatures; reading signature facts and modification analysis; and downloading document versions, signed revisions, signature contents, and digests. + ## 3.0.0-next.12 ### Minor Changes diff --git a/cloudpdf/sdk/cloudpdf-generation.json b/cloudpdf/sdk/cloudpdf-generation.json index a6ea188f8..c7454733d 100644 --- a/cloudpdf/sdk/cloudpdf-generation.json +++ b/cloudpdf/sdk/cloudpdf-generation.json @@ -1,11 +1,11 @@ { "language": "typescript", - "canonicalVersion": "3.0.0-next.12", - "sdkVersion": "3.0.0-next.12", + "canonicalVersion": "3.0.0-next.13", + "sdkVersion": "3.0.0-next.13", "source": { "repository": "embedpdf/embed-pdf-viewer", "openapi": "cloudpdf/contract/openapi.json", - "openapiSha256": "09a9a8785c092e8868eb7e4f47074cf39cb7a88965623109e49dd3be4d767d5f", + "openapiSha256": "a472da9c7aed5db7f2b6b1f67f1b6268a9407afe9e7cf879ac04b878b4fc9dc7", "gitCommit": null, "gitCommitIsDirty": null }, diff --git a/cloudpdf/sdk/package.json b/cloudpdf/sdk/package.json index 3702a99d5..7399a3fdb 100644 --- a/cloudpdf/sdk/package.json +++ b/cloudpdf/sdk/package.json @@ -1,6 +1,6 @@ { "name": "@cloudpdf/sdk", - "version": "3.0.0-next.12", + "version": "3.0.0-next.13", "private": false, "license": "Apache-2.0", "type": "commonjs", diff --git a/cloudpdf/sdk/src/BaseClient.ts b/cloudpdf/sdk/src/BaseClient.ts index 7034e804a..756f1e403 100644 --- a/cloudpdf/sdk/src/BaseClient.ts +++ b/cloudpdf/sdk/src/BaseClient.ts @@ -64,8 +64,8 @@ export function normalizeClientOptions per view. Ships zero framework code.", "type": "module", diff --git a/packages/viewer/chrome/CHANGELOG.md b/packages/viewer/chrome/CHANGELOG.md index f3e120ec7..cef3c5047 100644 --- a/packages/viewer/chrome/CHANGELOG.md +++ b/packages/viewer/chrome/CHANGELOG.md @@ -1,5 +1,17 @@ # @embedpdf/viewer-chrome +## 3.0.0-next.13 + +### Minor Changes + +- [#817](https://github.com/embedpdf/embed-pdf-viewer/pull/817) by [@bobsingor](https://github.com/bobsingor) – Add bold, italic, and underline controls to the FreeText style panel while preserving the active text selection. + + Support `annotations.fonts` for additional font choices. Fonts are fetched, registered with the engine, and mounted for the live editor before appearing in the picker, so editing and PDF output use the same font bytes. + +- [#812](https://github.com/embedpdf/embed-pdf-viewer/pull/812) by [@bobsingor](https://github.com/bobsingor) – Add signature and initials libraries with drawn, typed, and imported artwork, plus signature-field authoring, signing dialogs, and visual-only filling. Configure signers, trust anchors, certification options, and signing modes. + + Add signature inspection with validation details, signed revision downloads, and notices when pending edits would invalidate a signature. Support filtering the stamps sidebar by library kind and showing quick-access stamps in the toolbar. + ## 3.0.0-next.12 ### Minor Changes diff --git a/packages/viewer/chrome/package.json b/packages/viewer/chrome/package.json index 8f01ff590..1b1771faa 100644 --- a/packages/viewer/chrome/package.json +++ b/packages/viewer/chrome/package.json @@ -1,6 +1,6 @@ { "name": "@embedpdf/viewer-chrome", - "version": "3.0.0-next.12", + "version": "3.0.0-next.13", "private": false, "description": "The full viewer's chrome - the one React implementation of the snippet UI (structure-only chrome schema, measured toolbar, Tailwind pixels). Published as an implementation dependency of @embedpdf/viewer; it is not a documented user-facing entry point for now.", "type": "module", diff --git a/packages/viewer/main/CHANGELOG.md b/packages/viewer/main/CHANGELOG.md index 28a41f21c..9170fe800 100644 --- a/packages/viewer/main/CHANGELOG.md +++ b/packages/viewer/main/CHANGELOG.md @@ -1,5 +1,13 @@ # @embedpdf/viewer +## 3.0.0-next.13 + +### Minor Changes + +- [#817](https://github.com/embedpdf/embed-pdf-viewer/pull/817) by [@bobsingor](https://github.com/bobsingor) – Expose `AnnotationFontSpec` and `AnnotationsCustomization` through the viewer entry points so applications can configure additional FreeText fonts with `annotations.fonts`. + +- [#812](https://github.com/embedpdf/embed-pdf-viewer/pull/812) by [@bobsingor](https://github.com/bobsingor) – Expose `SignatureToken`, signer adapters, personal key stores, and signature customization types through the viewer's core entry point so applications can configure and control signing from the viewer package. + ## 3.0.0-next.12 ### Patch Changes diff --git a/packages/viewer/main/package.json b/packages/viewer/main/package.json index 7c4faf7ea..41a87d65e 100644 --- a/packages/viewer/main/package.json +++ b/packages/viewer/main/package.json @@ -1,6 +1,6 @@ { "name": "@embedpdf/viewer", - "version": "3.0.0-next.12", + "version": "3.0.0-next.13", "private": false, "description": "The full viewer, delivered: the custom element + EmbedPDF.init(). One Preact-compiled artifact of @embedpdf/viewer-chrome with the local wasm engine wired in — the thing the CDN serves and every framework wrapper wraps. Ships DIST only (the preact aliasing happens in THIS package's build), so consumers never compile the chrome.", "type": "module", diff --git a/packages/viewer/react/CHANGELOG.md b/packages/viewer/react/CHANGELOG.md index 53ae62f1f..c4b3005c4 100644 --- a/packages/viewer/react/CHANGELOG.md +++ b/packages/viewer/react/CHANGELOG.md @@ -1,5 +1,7 @@ # @embedpdf/viewer-react +## 3.0.0-next.13 + ## 3.0.0-next.12 ## 3.0.0-next.11 diff --git a/packages/viewer/react/package.json b/packages/viewer/react/package.json index c20c124eb..7ad90e997 100644 --- a/packages/viewer/react/package.json +++ b/packages/viewer/react/package.json @@ -1,6 +1,6 @@ { "name": "@embedpdf/viewer-react", - "version": "3.0.0-next.12", + "version": "3.0.0-next.13", "private": false, "description": "React wrapper for the full viewer: the PDFViewer component around the embedpdf-viewer custom element. Children are light-DOM slots - a child with slot=\"name\" projects into the chrome's matching custom() unit while staying in your React tree (your context, your CSS). No peer constraints beyond react>=18; the viewer inside is the Preact-compiled artifact.", "type": "module",