diff --git a/.changeset/email-drafts-and-publish.md b/.changeset/email-drafts-and-publish.md deleted file mode 100644 index 6c2a46ae..00000000 --- a/.changeset/email-drafts-and-publish.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"sendlit": minor -"@sendlit/email-blocks": minor ---- - -Draft and publish for broadcast and sequence emails. While a broadcast or sequence is active (a running sequence or a scheduled broadcast), `sequences.updateEmail` saves subject and content changes as a draft (the email's `draft`, with `hasUnpublishedChanges` on the email and the sequence) and sends keep using the published version. New methods: `sequences.publishChanges` (with `scope: "in_flight" | "new_entrants"` for sequences), `sequences.discardChanges`, `sequences.emailVersions` and `sequences.restoreEmailVersion`. `@sendlit/email-blocks` adds `draft` and `hasUnpublishedChanges` to its sequence types. diff --git a/packages/email-blocks/CHANGELOG.md b/packages/email-blocks/CHANGELOG.md index 0393aa1f..bb6d924e 100644 --- a/packages/email-blocks/CHANGELOG.md +++ b/packages/email-blocks/CHANGELOG.md @@ -1,5 +1,11 @@ # @sendlit/email-blocks +## 0.5.0 + +### Minor Changes + +- 3ff09da: Draft and publish for broadcast and sequence emails. While a broadcast or sequence is active (a running sequence or a scheduled broadcast), `sequences.updateEmail` saves subject and content changes as a draft (the email's `draft`, with `hasUnpublishedChanges` on the email and the sequence) and sends keep using the published version. New methods: `sequences.publishChanges` (with `scope: "in_flight" | "new_entrants"` for sequences), `sequences.discardChanges`, `sequences.emailVersions` and `sequences.restoreEmailVersion`. `@sendlit/email-blocks` adds `draft` and `hasUnpublishedChanges` to its sequence types. + ## 0.4.0 ### Minor Changes diff --git a/packages/email-blocks/package.json b/packages/email-blocks/package.json index 08ce48d3..4a25ad3b 100644 --- a/packages/email-blocks/package.json +++ b/packages/email-blocks/package.json @@ -1,6 +1,6 @@ { "name": "@sendlit/email-blocks", - "version": "0.4.0", + "version": "0.5.0", "description": "Headless, ready-to-use blocks for composing your own email workflows powered by SendLit", "author": "SendLit", "license": "MIT", diff --git a/packages/sendlit/CHANGELOG.md b/packages/sendlit/CHANGELOG.md index f7198abb..7ccd9872 100644 --- a/packages/sendlit/CHANGELOG.md +++ b/packages/sendlit/CHANGELOG.md @@ -1,5 +1,11 @@ # sendlit +## 0.4.0 + +### Minor Changes + +- 3ff09da: Draft and publish for broadcast and sequence emails. While a broadcast or sequence is active (a running sequence or a scheduled broadcast), `sequences.updateEmail` saves subject and content changes as a draft (the email's `draft`, with `hasUnpublishedChanges` on the email and the sequence) and sends keep using the published version. New methods: `sequences.publishChanges` (with `scope: "in_flight" | "new_entrants"` for sequences), `sequences.discardChanges`, `sequences.emailVersions` and `sequences.restoreEmailVersion`. `@sendlit/email-blocks` adds `draft` and `hasUnpublishedChanges` to its sequence types. + ## 0.3.0 ### Minor Changes diff --git a/packages/sendlit/package.json b/packages/sendlit/package.json index 739f28f4..cdc62e43 100644 --- a/packages/sendlit/package.json +++ b/packages/sendlit/package.json @@ -1,6 +1,6 @@ { "name": "sendlit", - "version": "0.3.0", + "version": "0.4.0", "description": "Official server-side TypeScript SDK for the SendLit email marketing API", "author": "SendLit", "license": "MIT",