From 626c2f122bd5d37eb95085b666a384d5d9ebdd11 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 5 Oct 2026 22:14:49 +0000 Subject: [PATCH 1/2] chore: release --- .changeset/document-card-filters.md | 7 ------- .changeset/wait-for-generation-deadline.md | 5 ----- .changeset/webhook-payloads.md | 5 ----- CHANGELOG.md | 13 +++++++++++++ package.json | 2 +- 5 files changed, 14 insertions(+), 18 deletions(-) delete mode 100644 .changeset/document-card-filters.md delete mode 100644 .changeset/wait-for-generation-deadline.md delete mode 100644 .changeset/webhook-payloads.md diff --git a/.changeset/document-card-filters.md b/.changeset/document-card-filters.md deleted file mode 100644 index 6117a42..0000000 --- a/.changeset/document-card-filters.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"pdfmonkey": minor ---- - -Adding the `search` filter to `documentCards.list()` (exact document ID or partial filename) and letting `status` take several statuses. Query values now accept arrays, sent as `key[]=a&key[]=b`. Documenting the accepted `folders` and `sort` values on `documentTemplates.list()`. - -Fixing `workspaceCards.update()` to send `PUT` instead of `PATCH`, matching the API and the other update endpoints. Removing the `'error'` value from `DocumentStatus`: the API never returns it. diff --git a/.changeset/wait-for-generation-deadline.md b/.changeset/wait-for-generation-deadline.md deleted file mode 100644 index 8343354..0000000 --- a/.changeset/wait-for-generation-deadline.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"pdfmonkey": patch ---- - -Fixing `documents.waitForGeneration()` so its `timeout` is a true total budget: in-flight polls and their retries are now aborted when it expires, instead of resolving with a late success or reporting the timeout only after a slow response came back. diff --git a/.changeset/webhook-payloads.md b/.changeset/webhook-payloads.md deleted file mode 100644 index b829d41..0000000 --- a/.changeset/webhook-payloads.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"pdfmonkey": minor ---- - -Fixing `verifyWebhook()`, which rejected every real PDFMonkey webhook: it expected a `{ type, data, timestamp }` envelope the API never sends. It now returns the delivered body as a `WebhookPayload`, either `{ document }` (the document card, for `documents.generation.success`/`failure`) or the `quota.warning` usage figures. Narrow with `'document' in payload` and check `payload.document.status`. Removing the `WebhookEvent`, `WebhookEventType`, `DocumentDoneEvent`, `DocumentErrorEvent`, their `*Data` types and `UnknownWebhookEvent`. diff --git a/CHANGELOG.md b/CHANGELOG.md index d37f584..55da0e8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,18 @@ # pdfmonkey +## 1.4.0 + +### Minor Changes + +- dfafa9f: Adding the `search` filter to `documentCards.list()` (exact document ID or partial filename) and letting `status` take several statuses. Query values now accept arrays, sent as `key[]=a&key[]=b`. Documenting the accepted `folders` and `sort` values on `documentTemplates.list()`. + + Fixing `workspaceCards.update()` to send `PUT` instead of `PATCH`, matching the API and the other update endpoints. Removing the `'error'` value from `DocumentStatus`: the API never returns it. +- af5932f: Fixing `verifyWebhook()`, which rejected every real PDFMonkey webhook: it expected a `{ type, data, timestamp }` envelope the API never sends. It now returns the delivered body as a `WebhookPayload`, either `{ document }` (the document card, for `documents.generation.success`/`failure`) or the `quota.warning` usage figures. Narrow with `'document' in payload` and check `payload.document.status`. Removing the `WebhookEvent`, `WebhookEventType`, `DocumentDoneEvent`, `DocumentErrorEvent`, their `*Data` types and `UnknownWebhookEvent`. + +### Patch Changes + +- ad9d7cd: Fixing `documents.waitForGeneration()` so its `timeout` is a true total budget: in-flight polls and their retries are now aborted when it expires, instead of resolving with a late success or reporting the timeout only after a slow response came back. + ## Unreleased ### Minor Changes diff --git a/package.json b/package.json index bcee549..3bd6568 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "pdfmonkey", - "version": "1.3.0", + "version": "1.4.0", "description": "Official PDFMonkey Node.js SDK — generate PDFs from HTML/CSS templates", "author": "PDFMonkey (https://www.pdfmonkey.io)", "homepage": "https://github.com/pdfmonkey/pdfmonkey-node#readme", From efed3e4fb1bfb3f2d7f04b49b4b7a745bbd8ccf1 Mon Sep 17 00:00:00 2001 From: Simon Courtois Date: Tue, 6 Oct 2026 00:23:27 +0200 Subject: [PATCH 2/2] =?UTF-8?q?=F0=9F=93=9D=20Removing=20the=20Unreleased?= =?UTF-8?q?=20CHANGELOG=20section=20now=20covered=20by=201.4.0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG.md | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 55da0e8..45c6765 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,18 +13,6 @@ - ad9d7cd: Fixing `documents.waitForGeneration()` so its `timeout` is a true total budget: in-flight polls and their retries are now aborted when it expires, instead of resolving with a late success or reporting the timeout only after a slow response came back. -## Unreleased - -### Minor Changes - -- Adding the `search` filter to `documentCards.list()` (exact document ID or partial filename) and letting `status` take several statuses. Query values now accept arrays, sent as `key[]=a&key[]=b`. Documenting the accepted `folders` and `sort` values on `documentTemplates.list()`. -- Fixing `verifyWebhook()`, which rejected every real PDFMonkey webhook: it expected a `{ type, data, timestamp }` envelope the API never sends. It now returns the delivered body as a `WebhookPayload`, either `{ document }` (the document card, for `documents.generation.success`/`failure`) or the `quota.warning` usage figures. Narrow with `'document' in payload` and check `payload.document.status`. Removing the `WebhookEvent`, `WebhookEventType`, `DocumentDoneEvent`, `DocumentErrorEvent`, their `*Data` types and `UnknownWebhookEvent`. - -### Patch Changes - -- Fixing `workspaceCards.update()` to send `PUT` instead of `PATCH`, matching the API and the other update endpoints. Removing the `'error'` value from `DocumentStatus`: the API never returns it. -- ad9d7cd: Fixing `documents.waitForGeneration()` so its `timeout` is a true total budget: in-flight polls and their retries are now aborted when it expires, instead of resolving with a late success or reporting the timeout only after a slow response came back. - ## 1.3.0 ### Minor Changes