Commit e53ccab142e for woocommerce
commit e53ccab142e821004f0bfa7821dd9b78f62e422a
Author: woocommercebot <30233865+woocommercebot@users.noreply.github.com>
Date: Tue Jul 28 17:20:08 2026 +0530
Prepare Packages for Release (#67054)
* Automated change: Prep @woocommerce/email-editor for release.
* Restore breaking change markers in email editor changelog
The changelogger rewrites the whole CHANGELOG.md on every release, but its
parser cannot read the `Major [ **BREAKING CHANGE** ]` preamble its own
formatter writes: the marker lands in the significance segment, fails the
patch/minor/major check, and the entry is re-emitted with an empty
significance. That turned two historical 2.0.0 entries into `- - ...`,
which markdownlint rejects as MD007 (5-space list indent) and which also
drops the breaking-change annotation from released history.
Restoring the two lines unblocks the markdown check so the release can
proceed. The parser bug itself is unfixed and will mangle these entries
again on the next release; it is being addressed in a follow-up.
---------
Co-authored-by: woocommercebot <woocommercebot@users.noreply.github.com>
Co-authored-by: Rostislav Wolny <rosta.wolny@automattic.com>
diff --git a/packages/js/email-editor/CHANGELOG.md b/packages/js/email-editor/CHANGELOG.md
index 1e2e14b1a55..8a0eb51426c 100644
--- a/packages/js/email-editor/CHANGELOG.md
+++ b/packages/js/email-editor/CHANGELOG.md
@@ -1,12 +1,26 @@
-# Changelog
+# Changelog
This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
-## [2.1.0](https://www.npmjs.com/package/@woocommerce/email-editor/v/2.1.0) - 2026-05-15
+## [2.2.0](https://www.npmjs.com/package/@woocommerce/email-editor/v/2.2.0) - 2026-07-28
+
+- Patch - Fix crash when opening the typography styles panel in the email editor for elements without typography styles defined. [#65613]
+- Patch - Memoize the regularized entity record so the global styles and template selectors return a stable reference, preventing an infinite re-render loop (React error #185) for users who lack the edit_theme_options capability. [#65684]
+- Patch - Restore the "Preview in new tab" unsaved-changes guard and its telemetry event on WordPress 7.1, which dropped the editor-preview-dropdown__button-external class the code matched on. [#66736]
+- Patch - Show full-width blocks as full width in the email editor canvas to match the rendered email. [#66235]
+- Minor - Enable the embed block for supported video providers in the email editor and improve embed rendering in emails. [#66968]
+- Patch - Add void to intentionally-unawaited promises for the new no-floating-promises lint rule [#66795]
+- Patch - Declare webpack as a devDependency so the bundle build works without relying on hoisted packages. [#64861]
+- Patch - Move the CommonJS build to prepack so day-to-day development only builds the ESM output. [#64876]
+- Patch - Move TypeScript type-checking from the build to a new `lint:lang:types` script. Builds now emit types and JS without type-checking. [#65168]
+- Patch - Replaced wireit + tsc package build pipeline with a per-package esbuild script. [#65210]
+- Patch - Update the e2e test path in the writing-e2e-tests doc after the core e2e directory rename. [#65844]
+
+## [2.1.0](https://www.npmjs.com/package/@woocommerce/email-editor/v/2.1.0) - 2026-05-15
- Minor - Add a canvas affordance for editing the email template from email content mode. [#64703]
-## [2.0.0](https://www.npmjs.com/package/@woocommerce/email-editor/v/2.0.0) - 2026-04-29
+## [2.0.0](https://www.npmjs.com/package/@woocommerce/email-editor/v/2.0.0) - 2026-04-29
- Minor - Add full-width alignment support for product image block [#63839]
- Minor - Improve build time for email-editor by using webpack filesystem cache. [#64082]
@@ -15,32 +29,32 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
- Major [ **BREAKING CHANGE** ] - Update `@wordpress/*` dependencies to wp-6.8 minimum. Remove `@types/wordpress__editor` and `@types/wordpress__media-utils` (native types at wp-6.8). [#64114]
- Patch - Monorepo: refresh DependencyExtractionWebpackPlugin for compatibility with filesystem cache, admin build cleanup. [#64111]
-## [1.10.1](https://www.npmjs.com/package/@woocommerce/email-editor/v/1.10.1) - 2026-04-06
+## [1.10.1](https://www.npmjs.com/package/@woocommerce/email-editor/v/1.10.1) - 2026-04-06
- Patch - Disable Real-time Collaboration in the email editor [#63770]
- Patch - Fix template-select modal not appearing on WordPress 7.0 due to hasEdits() returning true on fresh posts [#64026]
- Patch - Fix useSelect instability warning for notices in the email editor [#63943]
- Patch - Replaced patched `@wordpress/data` types with opt-in internal package types. [#63483]
-## [1.10.0](https://www.npmjs.com/package/@woocommerce/email-editor/v/1.10.0) - 2026-03-18
+## [1.10.0](https://www.npmjs.com/package/@woocommerce/email-editor/v/1.10.0) - 2026-03-18
- Minor - Add `woocommerce_email_editor_send_button_disabled` filter to allow overriding the send button disabled state [#63722]
-## [1.9.0](https://www.npmjs.com/package/@woocommerce/email-editor/v/1.9.0) - 2026-03-12
+## [1.9.0](https://www.npmjs.com/package/@woocommerce/email-editor/v/1.9.0) - 2026-03-12
- Minor - Add emailBlocks getter to pattern enhancement for inserting dynamic email content blocks [#63612]
- Minor - Export registerEntityAction, unregisterEntityAction and PostWithPermissions from the email editor package public API. [#63558]
-## [1.8.0](https://www.npmjs.com/package/@woocommerce/email-editor/v/1.8.0) - 2026-03-02
+## [1.8.0](https://www.npmjs.com/package/@woocommerce/email-editor/v/1.8.0) - 2026-03-02
- Minor - Removed custom RichText package, which was needed for WordPress < 6.8 [#63289]
- Minor - Rework snackbar notices by using the `EditorSnackbars` component from `@wordpress/editor` to render notices, removing the `email-editor` context snackbar notices renderer, and adding a `disableSnackbarNotices` setting to the email editor component [#63451]
-## [1.7.1](https://www.npmjs.com/package/@woocommerce/email-editor/v/1.7.1) - 2026-02-20
+## [1.7.1](https://www.npmjs.com/package/@woocommerce/email-editor/v/1.7.1) - 2026-02-20
- Patch - Export EditTemplateModal and SelectTemplateModal from the email editor package for extensibility. [#63374]
-## [1.7.0](https://www.npmjs.com/package/@woocommerce/email-editor/v/1.7.0) - 2026-02-17
+## [1.7.0](https://www.npmjs.com/package/@woocommerce/email-editor/v/1.7.0) - 2026-02-17
- Patch - Add memoization for the getEmailTemplates selector [#63200]
- Patch - Fix blank modal when using swap template action in email editor [#63229]
@@ -48,71 +62,71 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
- Minor - Add EmailActionsFill allowing extenders to add custom email actions to the sidebar [#63269]
- Minor - Move TemplateSelection to EmailActionsFill slot and export TemplateSelection component for extensibility [#63277]
-## [1.6.0](https://www.npmjs.com/package/@woocommerce/email-editor/v/1.6.0) - 2026-02-04
+## [1.6.0](https://www.npmjs.com/package/@woocommerce/email-editor/v/1.6.0) - 2026-02-04
- Minor - Ensure reset template action for email templates [#62984]
- Minor - Add post_id context support and cache invalidation for personalization tags [#63103]
-## [1.5.2](https://www.npmjs.com/package/@woocommerce/email-editor/v/1.5.2) - 2026-01-29
+## [1.5.2](https://www.npmjs.com/package/@woocommerce/email-editor/v/1.5.2) - 2026-01-29
- Patch - Fix infinite loop when selecting a template in the email design selector modal [#63000]
-## [1.5.1](https://www.npmjs.com/package/@woocommerce/email-editor/v/1.5.1) - 2026-01-16
+## [1.5.1](https://www.npmjs.com/package/@woocommerce/email-editor/v/1.5.1) - 2026-01-16
- Patch - Fix buttons block layout controls initialization [#62708]
- Patch - Unify loading indicator with the site editor [#62729]
-## [1.5.0](https://www.npmjs.com/package/@woocommerce/email-editor/v/1.5.0) - 2025-12-15
+## [1.5.0](https://www.npmjs.com/package/@woocommerce/email-editor/v/1.5.0) - 2025-12-15
- Patch - Handle missing layout settings in the editor settings [#61471]
- Patch - Add optional createCoupon URL to EmailEditorUrls type for coupon creation integration
- Patch - Improve UX for tax-inclusive pricing configuration by adding validation notice and clearer setting description when base tax rate is not configured. [#61471]
- Minor - Add category tabs navigation to email template selection modal. The TemplateCategory type is now a string to support dynamic categories loaded from block patterns. [#62441]
-## [1.4.3](https://www.npmjs.com/package/@woocommerce/email-editor/v/1.4.3) - 2025-12-11
+## [1.4.3](https://www.npmjs.com/package/@woocommerce/email-editor/v/1.4.3) - 2025-12-11
- Patch - Compatibility update for Gutenberg 22.0. useEmailCss now returns styles correctly with Gutenberg 22.0+. [#61964]
-## [1.4.2](https://www.npmjs.com/package/@woocommerce/email-editor/v/1.4.2) - 2025-12-04
+## [1.4.2](https://www.npmjs.com/package/@woocommerce/email-editor/v/1.4.2) - 2025-12-04
- Patch - Handle missing layout settings in the editor settings [#62237]
-## [1.4.1](https://www.npmjs.com/package/@woocommerce/email-editor/v/1.4.1) - 2025-11-25
+## [1.4.1](https://www.npmjs.com/package/@woocommerce/email-editor/v/1.4.1) - 2025-11-25
- Patch - Remove unnecessary hook for media library [#62127]
-## [1.4.0](https://www.npmjs.com/package/@woocommerce/email-editor/v/1.4.0) - 2025-11-12
+## [1.4.0](https://www.npmjs.com/package/@woocommerce/email-editor/v/1.4.0) - 2025-11-12
- Patch - Prevent crashes with Gutenberg 22.0 [#61925]
-## [1.3.0](https://www.npmjs.com/package/@woocommerce/email-editor/v/1.3.0) - 2025-11-05
+## [1.3.0](https://www.npmjs.com/package/@woocommerce/email-editor/v/1.3.0) - 2025-11-05
- Minor - Add setEmailPostType action and export email editor hooks and utilities for template previews and styling [#61804]
-## [1.2.1](https://www.npmjs.com/package/@woocommerce/email-editor/v/1.2.1) - 2025-11-04
+## [1.2.1](https://www.npmjs.com/package/@woocommerce/email-editor/v/1.2.1) - 2025-11-04
- Patch - Export the personalization tags RichTextWithButton component and other email editor methods. [#61748]
-## [1.2.0](https://www.npmjs.com/package/@woocommerce/email-editor/v/1.2.0) - 2025-10-31
+## [1.2.0](https://www.npmjs.com/package/@woocommerce/email-editor/v/1.2.0) - 2025-10-31
- Patch - Ensure the Command palette is functional in WordPress 6.9 beta and above. [#61672]
- Minor - Add 'woocommerce-email-editor' plugin area [#61666]
-## [1.1.3](https://www.npmjs.com/package/@woocommerce/email-editor/v/1.1.3) - 2025-10-27
+## [1.1.3](https://www.npmjs.com/package/@woocommerce/email-editor/v/1.1.3) - 2025-10-27
- Patch - Fix for email preview to fit into the container in the preview column [#61442]
- Patch - Refactor personalization tags fetching to use core entities [#61467]
- Patch - Add support for a custom back button component [#61535]
-## [1.1.2](https://www.npmjs.com/package/@woocommerce/email-editor/v/1.1.2) - 2025-10-09
+## [1.1.2](https://www.npmjs.com/package/@woocommerce/email-editor/v/1.1.2) - 2025-10-09
- Patch - Export hook isEmailEditor from the package. [#60941]
-## [1.1.1](https://www.npmjs.com/package/@woocommerce/email-editor/v/1.1.1) - 2025-09-26
+## [1.1.1](https://www.npmjs.com/package/@woocommerce/email-editor/v/1.1.1) - 2025-09-26
- Patch - Allow passing editor configuration to ExperimentalEmailEditor via props [#60974]
-## [1.1.0](https://www.npmjs.com/package/@woocommerce/email-editor/v/1.1.0) - 2025-09-09
+## [1.1.0](https://www.npmjs.com/package/@woocommerce/email-editor/v/1.1.0) - 2025-09-09
- Minor - Export `SendPreviewEmail` component and `createStore` [#60796]
- Minor - Bump jest package dependency to 29.5.x [#60324]
@@ -120,21 +134,21 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
- Minor - Refactor usage of hooks and global Gutenberg functions to support preserving and restoring the original state [#60741]
- Patch - Display warning message when user clicks on "Preview in new tab" without saving the edited changes [#60307]
-## [1.0.4](https://www.npmjs.com/package/@woocommerce/email-editor/v/1.0.4) - 2025-08-21
+## [1.0.4](https://www.npmjs.com/package/@woocommerce/email-editor/v/1.0.4) - 2025-08-21
- Patch - Filter unnecessary stylesheets from Editor iframe [#60354]
- Patch - Fix site logo not rendered properly. In the email editor if the site logo was in a group block the right alignment didn't work. [#60290]
- Patch - Ensure the email editor obtains and utilizes the site theme styles as part of its default values. [#60465]
-## [1.0.3](https://www.npmjs.com/package/@woocommerce/email-editor/v/1.0.3) - 2025-08-11
+## [1.0.3](https://www.npmjs.com/package/@woocommerce/email-editor/v/1.0.3) - 2025-08-11
- Patch - Fixed a possible infinite loading of templates when editing emails. [#60196]
-## [1.0.2](https://www.npmjs.com/package/@woocommerce/email-editor/v/1.0.2) - 2025-08-01
+## [1.0.2](https://www.npmjs.com/package/@woocommerce/email-editor/v/1.0.2) - 2025-08-01
- Patch - Fix backward compatibility when personalization tag post types are not set. [#60134]
-## [1.0.1](https://www.npmjs.com/package/@woocommerce/email-editor/v/1.0.1) - 2025-07-31
+## [1.0.1](https://www.npmjs.com/package/@woocommerce/email-editor/v/1.0.1) - 2025-07-31
- Patch - Email Editor: show “Send” button when editing a new (unsaved) email draft. [#59931]
- Patch - Email Editor: validation now correctly runs when both the email body and its template are modified, preventing silent skips of template-only edits. [#59903]
@@ -146,7 +160,7 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
- Patch - Add filtering personalization tags by the email post type. [#60072]
- Patch - Use ToolsPanel component instead of PanelBody component [#59632]
-## [1.0.0](https://www.npmjs.com/package/@woocommerce/email-editor/v/1.0.0) - 2025-07-09
+## [1.0.0](https://www.npmjs.com/package/@woocommerce/email-editor/v/1.0.0) - 2025-07-09
- Patch - Add fallback for Navigator component to the email editor [#58083]
- Patch - Fix an error with the Email Editor not loading Global Styles for non-admin WordPress users and ensure permissions are correctly checked when required. [#56261]
diff --git a/packages/js/email-editor/changelog/64838-dev-esbuild-package-builds b/packages/js/email-editor/changelog/64838-dev-esbuild-package-builds
deleted file mode 100644
index 53b9c7cd29c..00000000000
--- a/packages/js/email-editor/changelog/64838-dev-esbuild-package-builds
+++ /dev/null
@@ -1,4 +0,0 @@
-Significance: patch
-Type: dev
-
-Replaced wireit + tsc package build pipeline with a per-package esbuild script.
diff --git a/packages/js/email-editor/changelog/consolidate-eslint-core-modules b/packages/js/email-editor/changelog/consolidate-eslint-core-modules
deleted file mode 100644
index 4ce5e15a51f..00000000000
--- a/packages/js/email-editor/changelog/consolidate-eslint-core-modules
+++ /dev/null
@@ -1,3 +0,0 @@
-Significance: patch
-Type: dev
-Comment: Consolidate the shared `import/core-modules` list into `@woocommerce/eslint-config`. Tooling only; no runtime change.
diff --git a/packages/js/email-editor/changelog/dev-64837-type-check-only-on-lint b/packages/js/email-editor/changelog/dev-64837-type-check-only-on-lint
deleted file mode 100644
index efdb3bd771a..00000000000
--- a/packages/js/email-editor/changelog/dev-64837-type-check-only-on-lint
+++ /dev/null
@@ -1,4 +0,0 @@
-Significance: patch
-Type: dev
-
-Move TypeScript type-checking from the build to a new `lint:lang:types` script. Builds now emit types and JS without type-checking.
diff --git a/packages/js/email-editor/changelog/dev-cjs-prepack-only b/packages/js/email-editor/changelog/dev-cjs-prepack-only
deleted file mode 100644
index 0f64fecf28c..00000000000
--- a/packages/js/email-editor/changelog/dev-cjs-prepack-only
+++ /dev/null
@@ -1,4 +0,0 @@
-Significance: patch
-Type: dev
-
-Move the CommonJS build to prepack so day-to-day development only builds the ESM output.
diff --git a/packages/js/email-editor/changelog/dev-eslint-no-floating-promises b/packages/js/email-editor/changelog/dev-eslint-no-floating-promises
deleted file mode 100644
index e1986b60836..00000000000
--- a/packages/js/email-editor/changelog/dev-eslint-no-floating-promises
+++ /dev/null
@@ -1,4 +0,0 @@
-Significance: patch
-Type: dev
-
-Add void to intentionally-unawaited promises for the new no-floating-promises lint rule
diff --git a/packages/js/email-editor/changelog/fix-47831-widget-editor-notice b/packages/js/email-editor/changelog/fix-47831-widget-editor-notice
deleted file mode 100644
index 1a17c425312..00000000000
--- a/packages/js/email-editor/changelog/fix-47831-widget-editor-notice
+++ /dev/null
@@ -1,5 +0,0 @@
-Significance: patch
-Type: fix
-Comment: Remove dependency on @wordpress/editor from useIsEmailEditor()
-
-
diff --git a/packages/js/email-editor/changelog/fix-build-missing-webpack-dep b/packages/js/email-editor/changelog/fix-build-missing-webpack-dep
deleted file mode 100644
index 067c440273e..00000000000
--- a/packages/js/email-editor/changelog/fix-build-missing-webpack-dep
+++ /dev/null
@@ -1,4 +0,0 @@
-Significance: patch
-Type: dev
-
-Declare webpack as a devDependency so the bundle build works without relying on hoisted packages.
diff --git a/packages/js/email-editor/changelog/fix-email-editor-full-width-blocks b/packages/js/email-editor/changelog/fix-email-editor-full-width-blocks
deleted file mode 100644
index aa888ac0437..00000000000
--- a/packages/js/email-editor/changelog/fix-email-editor-full-width-blocks
+++ /dev/null
@@ -1,4 +0,0 @@
-Significance: patch
-Type: fix
-
-Show full-width blocks as full width in the email editor canvas to match the rendered email.
diff --git a/packages/js/email-editor/changelog/fix-preview-in-new-tab-selector-wp-7-1 b/packages/js/email-editor/changelog/fix-preview-in-new-tab-selector-wp-7-1
deleted file mode 100644
index 958d35b15b7..00000000000
--- a/packages/js/email-editor/changelog/fix-preview-in-new-tab-selector-wp-7-1
+++ /dev/null
@@ -1,4 +0,0 @@
-Significance: patch
-Type: fix
-
-Restore the "Preview in new tab" unsaved-changes guard and its telemetry event on WordPress 7.1, which dropped the editor-preview-dropdown__button-external class the code matched on.
diff --git a/packages/js/email-editor/changelog/fix-wooplug-6807-typography-panel-crash b/packages/js/email-editor/changelog/fix-wooplug-6807-typography-panel-crash
deleted file mode 100644
index 50b17212515..00000000000
--- a/packages/js/email-editor/changelog/fix-wooplug-6807-typography-panel-crash
+++ /dev/null
@@ -1,4 +0,0 @@
-Significance: patch
-Type: fix
-
-Fix crash when opening the typography styles panel in the email editor for elements without typography styles defined.
diff --git a/packages/js/email-editor/changelog/fix-wooprd-3501-global-styles-react-error-185 b/packages/js/email-editor/changelog/fix-wooprd-3501-global-styles-react-error-185
deleted file mode 100644
index 0c6d3110cb1..00000000000
--- a/packages/js/email-editor/changelog/fix-wooprd-3501-global-styles-react-error-185
+++ /dev/null
@@ -1,4 +0,0 @@
-Significance: patch
-Type: fix
-
-Memoize the regularized entity record so the global styles and template selectors return a stable reference, preventing an infinite re-render loop (React error #185) for users who lack the edit_theme_options capability.
diff --git a/packages/js/email-editor/changelog/qao-408-rename-e2e-pw-to-e2e b/packages/js/email-editor/changelog/qao-408-rename-e2e-pw-to-e2e
deleted file mode 100644
index 81a193e7c7d..00000000000
--- a/packages/js/email-editor/changelog/qao-408-rename-e2e-pw-to-e2e
+++ /dev/null
@@ -1,4 +0,0 @@
-Significance: patch
-Type: dev
-
-Update the e2e test path in the writing-e2e-tests doc after the core e2e directory rename.
diff --git a/packages/js/email-editor/changelog/wooplug-6181-enable-embed-block b/packages/js/email-editor/changelog/wooplug-6181-enable-embed-block
deleted file mode 100644
index d3a08486fe1..00000000000
--- a/packages/js/email-editor/changelog/wooplug-6181-enable-embed-block
+++ /dev/null
@@ -1,4 +0,0 @@
-Significance: minor
-Type: add
-
-Enable the embed block for supported video providers in the email editor and improve embed rendering in emails.
diff --git a/packages/js/email-editor/changelog/wooplug-6930-adopt-import-order b/packages/js/email-editor/changelog/wooplug-6930-adopt-import-order
deleted file mode 100644
index 6a2c44e8ef9..00000000000
--- a/packages/js/email-editor/changelog/wooplug-6930-adopt-import-order
+++ /dev/null
@@ -1,3 +0,0 @@
-Significance: patch
-Type: dev
-Comment: Remove obsolete @woocommerce/dependency-group eslint-disable directives following the switch to import/order in @woocommerce/eslint-plugin.
diff --git a/packages/js/email-editor/changelog/wooplug-6930-eslint-v10-flat-config b/packages/js/email-editor/changelog/wooplug-6930-eslint-v10-flat-config
deleted file mode 100644
index 46bff620b47..00000000000
--- a/packages/js/email-editor/changelog/wooplug-6930-eslint-v10-flat-config
+++ /dev/null
@@ -1,3 +0,0 @@
-Significance: patch
-Type: dev
-Comment: Migrate to ESLint v10 Flat Config. Tooling only; no runtime change.
diff --git a/packages/js/email-editor/package.json b/packages/js/email-editor/package.json
index d8ed6648337..4a0eaa721a9 100644
--- a/packages/js/email-editor/package.json
+++ b/packages/js/email-editor/package.json
@@ -1,6 +1,6 @@
{
"name": "@woocommerce/email-editor",
- "version": "2.1.0",
+ "version": "2.2.0",
"description": "Gutenberg based email editor that is used in WooCommerce emails.",
"author": "Automattic",
"license": "GPL-2.0-or-later",