From 517cc3209ec6062db49ff0c56c2b453be5a649cf Mon Sep 17 00:00:00 2001 From: Marco Ciampini Date: Mon, 27 Jul 2026 16:26:25 -0400 Subject: [PATCH 1/2] Packages: Update date-fns to 4.4.0 --- package-lock.json | 36 +++++++++++++++++++++++++++++--- packages/components/CHANGELOG.md | 1 + packages/components/package.json | 2 +- packages/dataviews/CHANGELOG.md | 1 + packages/dataviews/package.json | 2 +- packages/editor/CHANGELOG.md | 4 ++++ packages/editor/package.json | 2 +- 7 files changed, 42 insertions(+), 6 deletions(-) diff --git a/package-lock.json b/package-lock.json index 1d24c8fe978b47..b9fcbdeee67628 100644 --- a/package-lock.json +++ b/package-lock.json @@ -44390,7 +44390,7 @@ "clsx": "^2.1.1", "colord": "^2.9.3", "csstype": "^3.2.3", - "date-fns": "^4.1.0", + "date-fns": "^4.4.0", "deepmerge": "^4.3.1", "fast-deep-equal": "^3.1.3", "framer-motion": "^11.15.0", @@ -44449,6 +44449,16 @@ "@emotion/utils": "^1.4.2" } }, + "packages/components/node_modules/date-fns": { + "version": "4.4.0", + "resolved": "https://registry.npmjs.org/date-fns/-/date-fns-4.4.0.tgz", + "integrity": "sha512-+1UMbeh68lH1SegH83CGWwpb6OHHbpSgr3+s5Eww5M4CAgswBpoWS0AjTOfEJ33HiYKz1hdj/KTFprzXHmq/6w==", + "license": "MIT", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/kossnocorp" + } + }, "packages/components/node_modules/framer-motion": { "version": "11.15.0", "resolved": "https://registry.npmjs.org/framer-motion/-/framer-motion-11.15.0.tgz", @@ -45437,7 +45447,7 @@ "@wordpress/warning": "file:../warning", "clsx": "^2.1.1", "colord": "^2.9.3", - "date-fns": "^4.1.0", + "date-fns": "^4.4.0", "deepmerge": "^4.3.1", "fast-deep-equal": "^3.1.3", "remove-accents": "^0.5.0" @@ -45469,6 +45479,16 @@ } } }, + "packages/dataviews/node_modules/date-fns": { + "version": "4.4.0", + "resolved": "https://registry.npmjs.org/date-fns/-/date-fns-4.4.0.tgz", + "integrity": "sha512-+1UMbeh68lH1SegH83CGWwpb6OHHbpSgr3+s5Eww5M4CAgswBpoWS0AjTOfEJ33HiYKz1hdj/KTFprzXHmq/6w==", + "license": "MIT", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/kossnocorp" + } + }, "packages/date": { "name": "@wordpress/date", "version": "5.51.0", @@ -45886,7 +45906,7 @@ "client-zip": "^2.4.5", "clsx": "^2.1.1", "colord": "^2.9.3", - "date-fns": "^4.1.0", + "date-fns": "^4.4.0", "diff": "^8.0.3", "fast-deep-equal": "^3.1.3", "memize": "^2.1.0", @@ -45918,6 +45938,16 @@ } } }, + "packages/editor/node_modules/date-fns": { + "version": "4.4.0", + "resolved": "https://registry.npmjs.org/date-fns/-/date-fns-4.4.0.tgz", + "integrity": "sha512-+1UMbeh68lH1SegH83CGWwpb6OHHbpSgr3+s5Eww5M4CAgswBpoWS0AjTOfEJ33HiYKz1hdj/KTFprzXHmq/6w==", + "license": "MIT", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/kossnocorp" + } + }, "packages/element": { "name": "@wordpress/element", "version": "8.3.0", diff --git a/packages/components/CHANGELOG.md b/packages/components/CHANGELOG.md index 27e8647f26c9ad..362994e034e79f 100644 --- a/packages/components/CHANGELOG.md +++ b/packages/components/CHANGELOG.md @@ -28,6 +28,7 @@ ### Internal +- Update `date-fns` to 4.4.0. - `TextControl`, `ComboboxControl`, `FormTokenField`, `ContentEditableControl`: Replace `--wp-components-color-accent` with `--wp-admin-theme-color` for focus ring color ([#80595](https://github.com/WordPress/gutenberg/pull/80595)). - `ConfirmDialog`: Migrate styles from Emotion to an SCSS Module ([#80394](https://github.com/WordPress/gutenberg/pull/80394)). - `ExternalLink`: Use the shared `outset-ring__focus` mixin for the focus ring ([#80573](https://github.com/WordPress/gutenberg/pull/80573)). diff --git a/packages/components/package.json b/packages/components/package.json index 015f3033620e5c..32306932012cd5 100644 --- a/packages/components/package.json +++ b/packages/components/package.json @@ -86,7 +86,7 @@ "clsx": "^2.1.1", "colord": "^2.9.3", "csstype": "^3.2.3", - "date-fns": "^4.1.0", + "date-fns": "^4.4.0", "deepmerge": "^4.3.1", "fast-deep-equal": "^3.1.3", "framer-motion": "^11.15.0", diff --git a/packages/dataviews/CHANGELOG.md b/packages/dataviews/CHANGELOG.md index ddd6759fdd1615..7b40c5fd95885a 100644 --- a/packages/dataviews/CHANGELOG.md +++ b/packages/dataviews/CHANGELOG.md @@ -17,6 +17,7 @@ ### Internal +- Update `date-fns` to 4.4.0. - DataViews: Model `useSelectionProps` with orthogonal semantic props (`selectionMode`, `shouldSelectOnClick`, and a caller-supplied `isItemSelectable`) instead of a picker-specific flag, and route the `list` layout's selection through the shared hook. `selectionMode` distinguishes multi-selection from the two single-selection semantics (`'single-required'` keeps an item selected on re-click, `'single-clearable'` allows clearing it), so the `list` layout keeps its always-selected behavior while single-select pickers stay clearable. No behavior change. [#80677](https://github.com/WordPress/gutenberg/pull/80677) - DataForms: Track the `richtext` control's selection with a single React-tree focus boundary (`useFocusOutside`) instead of document-level focus bookkeeping, and drop the field-owned `Popover.Slot` so format popovers use the default Popover container. No behavior change. [#80324](https://github.com/WordPress/gutenberg/pull/80324) - Update `exports` to use subpath patterns instead of deprecated trailing `/` folder mappings ([#80270](https://github.com/WordPress/gutenberg/pull/80270)). diff --git a/packages/dataviews/package.json b/packages/dataviews/package.json index 5d81ba3bf7d715..eafe09860c45e5 100644 --- a/packages/dataviews/package.json +++ b/packages/dataviews/package.json @@ -70,7 +70,7 @@ "@wordpress/warning": "file:../warning", "clsx": "^2.1.1", "colord": "^2.9.3", - "date-fns": "^4.1.0", + "date-fns": "^4.4.0", "deepmerge": "^4.3.1", "fast-deep-equal": "^3.1.3", "remove-accents": "^0.5.0" diff --git a/packages/editor/CHANGELOG.md b/packages/editor/CHANGELOG.md index 6d14d99eaf089a..5bbf4e877ed9f4 100644 --- a/packages/editor/CHANGELOG.md +++ b/packages/editor/CHANGELOG.md @@ -14,6 +14,10 @@ - `mediaUpload`: Add an `isTransportOnly` parameter, set by the `@wordpress/upload-media` queue, which owns progress tracking and save locking for its own items and uses this function only as its server transport. Fixes the progress snackbar showing "1 of 2" for a single HEIC upload in Safari ([#80369](https://github.com/WordPress/gutenberg/issues/80369)). +### Internal + +- Update `date-fns` to 4.4.0. + ## 14.51.0 (2026-07-14) ### New Features diff --git a/packages/editor/package.json b/packages/editor/package.json index 71065a861a76c4..adae8879324113 100644 --- a/packages/editor/package.json +++ b/packages/editor/package.json @@ -108,7 +108,7 @@ "client-zip": "^2.4.5", "clsx": "^2.1.1", "colord": "^2.9.3", - "date-fns": "^4.1.0", + "date-fns": "^4.4.0", "diff": "^8.0.3", "fast-deep-equal": "^3.1.3", "memize": "^2.1.0", From 42e111f2ee2c95fd96ec4588e2c47248e1e48add Mon Sep 17 00:00:00 2001 From: Marco Ciampini Date: Mon, 27 Jul 2026 16:27:23 -0400 Subject: [PATCH 2/2] Packages: Link date-fns changelog entries --- packages/components/CHANGELOG.md | 2 +- packages/dataviews/CHANGELOG.md | 2 +- packages/editor/CHANGELOG.md | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/components/CHANGELOG.md b/packages/components/CHANGELOG.md index 362994e034e79f..4b140d07fdf6e6 100644 --- a/packages/components/CHANGELOG.md +++ b/packages/components/CHANGELOG.md @@ -28,7 +28,7 @@ ### Internal -- Update `date-fns` to 4.4.0. +- Update `date-fns` to 4.4.0 ([#80763](https://github.com/WordPress/gutenberg/pull/80763)). - `TextControl`, `ComboboxControl`, `FormTokenField`, `ContentEditableControl`: Replace `--wp-components-color-accent` with `--wp-admin-theme-color` for focus ring color ([#80595](https://github.com/WordPress/gutenberg/pull/80595)). - `ConfirmDialog`: Migrate styles from Emotion to an SCSS Module ([#80394](https://github.com/WordPress/gutenberg/pull/80394)). - `ExternalLink`: Use the shared `outset-ring__focus` mixin for the focus ring ([#80573](https://github.com/WordPress/gutenberg/pull/80573)). diff --git a/packages/dataviews/CHANGELOG.md b/packages/dataviews/CHANGELOG.md index 7b40c5fd95885a..f8f2cd101f4f58 100644 --- a/packages/dataviews/CHANGELOG.md +++ b/packages/dataviews/CHANGELOG.md @@ -17,7 +17,7 @@ ### Internal -- Update `date-fns` to 4.4.0. +- Update `date-fns` to 4.4.0 ([#80763](https://github.com/WordPress/gutenberg/pull/80763)). - DataViews: Model `useSelectionProps` with orthogonal semantic props (`selectionMode`, `shouldSelectOnClick`, and a caller-supplied `isItemSelectable`) instead of a picker-specific flag, and route the `list` layout's selection through the shared hook. `selectionMode` distinguishes multi-selection from the two single-selection semantics (`'single-required'` keeps an item selected on re-click, `'single-clearable'` allows clearing it), so the `list` layout keeps its always-selected behavior while single-select pickers stay clearable. No behavior change. [#80677](https://github.com/WordPress/gutenberg/pull/80677) - DataForms: Track the `richtext` control's selection with a single React-tree focus boundary (`useFocusOutside`) instead of document-level focus bookkeeping, and drop the field-owned `Popover.Slot` so format popovers use the default Popover container. No behavior change. [#80324](https://github.com/WordPress/gutenberg/pull/80324) - Update `exports` to use subpath patterns instead of deprecated trailing `/` folder mappings ([#80270](https://github.com/WordPress/gutenberg/pull/80270)). diff --git a/packages/editor/CHANGELOG.md b/packages/editor/CHANGELOG.md index 5bbf4e877ed9f4..6ef8e5b8ce9acd 100644 --- a/packages/editor/CHANGELOG.md +++ b/packages/editor/CHANGELOG.md @@ -16,7 +16,7 @@ ### Internal -- Update `date-fns` to 4.4.0. +- Update `date-fns` to 4.4.0 ([#80763](https://github.com/WordPress/gutenberg/pull/80763)). ## 14.51.0 (2026-07-14)