Skip to content

build(deps-dev): Bump @wordpress/dependency-extraction-webpack-plugin from 6.43.0 to 6.56.0 - #739

Merged
dcalhoun merged 1 commit into
trunkfrom
dependabot/npm_and_yarn/wordpress/dependency-extraction-webpack-plugin-6.56.0
Oct 1, 2026
Merged

dcalhoun merged 1 commit into
trunkfrom
dependabot/npm_and_yarn/wordpress/dependency-extraction-webpack-plugin-6.56.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Sep 26, 2026 •

Copy link
Copy Markdown
Contributor

Bumps @wordpress/dependency-extraction-webpack-plugin from 6.43.0 to 6.56.0.

Changelog

Sourced from @​wordpress/dependency-extraction-webpack-plugin's changelog.

6.56.0 (2026-09-23)

Enhancements

  • Add @wordpress/global-styles-engine and @wordpress/global-styles-ui as bundled packages, so consumer builds bundle them instead of externalizing them to the nonexistent wp-global-styles-engine and wp-global-styles-ui scripts (#82589).
  • Pretty-print generated asset files with line breaks and indentation (#79650).

6.55.0 (2026-09-10)

6.54.0 (2026-08-26)

6.53.0 (2026-08-12)

Enhancements

  • Add @wordpress/kebab-case as a bundled package, so consumer builds bundle it instead of externalizing it to a nonexistent wp-kebab-case script (#81294).

6.52.0 (2026-07-29)

Bug Fixes

  • Include extracted styles (e.g. the style.css cache group output) in the version hash of the entry point's asset file, so that style-only changes produce a new version (#80601).

6.51.0 (2026-07-14)

Bug Fixes

  • Extract dynamically imported external modules that webpack code-splits into their own async chunk in the module build (#79633).

6.50.0 (2026-07-01)

6.49.0 (2026-06-24)

6.48.1 (2026-06-16)

6.48.0 (2026-06-10)

6.47.0 (2026-05-27)

6.46.0 (2026-05-14)

6.45.0 (2026-04-29)

6.44.0 (2026-04-15)

Commits
  • 56d8058 chore(release): publish
  • 9ff3f0e Update changelog files
  • f905a64 Merge changes published in the Gutenberg plugin "release/24.1" branch
  • 485f42a chore(release): publish
  • c89dd70 Update changelog files
  • a55a0d7 Merge changes published in the Gutenberg plugin "release/24.0" branch
  • d06b010 chore(release): publish (#82084)
  • 0790fa5 Update changelog files
  • 098e3ba Merge changes published in the Gutenberg plugin "release/23.9" branch
  • 989764d chore(release): publish
  • Additional commits viewable in compare view

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Sep 26, 2026
@github-actions github-actions Bot added the [Type] Build Tooling Issues or PRs related to build tooling label Sep 26, 2026
@wpmobilebot

wpmobilebot commented Sep 26, 2026 •

Copy link
Copy Markdown

XCFramework Build

This PR's XCFramework is available for testing. Add the following to your Package.swift:

.package(url: "https://github.com/wordpress-mobile/GutenbergKit", branch: "pr-build/739")

Built from c13477c

@dcalhoun dcalhoun self-assigned this Sep 28, 2026
@dcalhoun

Copy link
Copy Markdown
Member

Need to check how new module externalization impacts this project, if we need to remove some from the wordpress-globals file.

@dcalhoun

Copy link
Copy Markdown
Member

@dependabot rebase

@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/wordpress/dependency-extraction-webpack-plugin-6.56.0 branch from 31cd223 to 08e363d Compare September 30, 2026 20:35
Bumps [@wordpress/dependency-extraction-webpack-plugin](https://github.com/WordPress/gutenberg/tree/HEAD/packages/dependency-extraction-webpack-plugin) from 6.43.0 to 6.56.0.
- [Release notes](https://github.com/WordPress/gutenberg/releases)
- [Changelog](https://github.com/WordPress/gutenberg/blob/trunk/packages/dependency-extraction-webpack-plugin/CHANGELOG.md)
- [Commits](https://github.com/WordPress/gutenberg/commits/@wordpress/dependency-extraction-webpack-plugin@6.56.0/packages/dependency-extraction-webpack-plugin)

---
updated-dependencies:
- dependency-name: "@wordpress/dependency-extraction-webpack-plugin"
  dependency-version: 6.56.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/wordpress/dependency-extraction-webpack-plugin-6.56.0 branch from 08e363d to c13477c Compare October 1, 2026 10:44
@dcalhoun
dcalhoun merged commit a496d05 into trunk Oct 1, 2026
26 checks passed
@dcalhoun
dcalhoun deleted the dependabot/npm_and_yarn/wordpress/dependency-extraction-webpack-plugin-6.56.0 branch October 1, 2026 10:54
dcalhoun added a commit that referenced this pull request Oct 1, 2026
Core registers no icons or global-styles-engine scripts, and plugin
tooling bundles both, so nothing reads them; since #739 our own imports
bundle them too. Core's format-library global is undefined because the
package exports nothing.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Mp7HPYAD9KtkU4Dh994Pfm
dcalhoun added a commit that referenced this pull request Oct 1, 2026
Core registers no icons or global-styles-engine scripts, and plugin
tooling bundles both, so nothing reads them; since #739 our own imports
bundle them too.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Mp7HPYAD9KtkU4Dh994Pfm
dcalhoun added a commit that referenced this pull request Oct 1, 2026
Core registers no icons or global-styles-engine scripts, and plugin
tooling bundles both, so nothing reads them; since #739 our own imports
bundle them too.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Mp7HPYAD9KtkU4Dh994Pfm
dcalhoun added a commit that referenced this pull request Oct 2, 2026
* build: add four core script packages as direct dependencies

They were only reachable transitively, but the editor will import them to
expose them on window.wp.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Mp7HPYAD9KtkU4Dh994Pfm

* fix: flag window.wp namespace globals __esModule like core

Core builds each namespace global with esbuild's __toCommonJS, which plugin
bundlers read to resolve a default import to `default`. Without the flag,
a plugin's default import received the whole namespace.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Mp7HPYAD9KtkU4Dh994Pfm

* fix: expose four core script packages on window.wp

WordPress registers wp-block-serialization-default-parser, wp-redux-routine,
wp-sync and wp-upload-media, so plugins may import them as window.wp
externals. They were undefined in the editor, and the store-holding
packages must be the editor's own instance.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Mp7HPYAD9KtkU4Dh994Pfm

* fix: match core's shape for three window.wp globals

Core exposes the default export for packages flagged wpScriptDefaultExport,
which includes server-side-render and shortcode but not is-shallow-equal.
A plugin's ServerSideRender default import received the namespace, and
named is-shallow-equal imports were undefined.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Mp7HPYAD9KtkU4Dh994Pfm

* fix: drop the icons and globalStylesEngine globals

Core registers no icons or global-styles-engine scripts, and plugin
tooling bundles both, so nothing reads them; since #739 our own imports
bundle them too.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Mp7HPYAD9KtkU4Dh994Pfm

* fix: expose formatLibrary as undefined like core

Core's format-library script exports nothing, so its global is
undefined. The side-effect import stays, as it registers the formats.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Mp7HPYAD9KtkU4Dh994Pfm

* refactor: remove the dead format-library import

The wordPressExternals transform strips side-effect @WordPress imports
outside wordpress-globals.js, so this import never ran; the one in
wordpress-globals.js registers the formats.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Mp7HPYAD9KtkU4Dh994Pfm

* fix: define WP Admin's screen globals before plugins load

admin-header.php sets ajaxurl, pagenow, typenow, adminpage, the number
separators and isRtl before any script runs. Plugins read them while
loading, but GBK lacked most and set ajaxurl only after plugins loaded.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Mp7HPYAD9KtkU4Dh994Pfm

* fix: expose ReactJSXRuntime without the interop default

Core exposes react/jsx-runtime's CommonJS exports; the namespace import
added a `default` key that core's global lacks.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Mp7HPYAD9KtkU4Dh994Pfm

* refactor: reuse the resolved text direction for isRtl

configureLocale() returns the direction so callers don't derive it a
second time; isRtl now uses it instead of re-checking the locale.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix: authenticate AJAX before plugins load

ajaxurl is now defined while plugins load, so their load-time requests
reached admin-ajax.php without the Authorization header. The media
aliases stay after plugin loading so a plugin replacing wp.media can't
discard them.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* revert: authenticate AJAX before plugins load

This reverts commit f02272e.

Registering the auth prefilter first let plugin prefilters run after it,
replacing beforeSend or rewriting the URL after the origin check. Trunk's
order runs it after load-time prefilters; load-time AJAX is rare, and
admin-ajax ignores the header unless a handler opts in.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Mp7HPYAD9KtkU4Dh994Pfm

* fix: omit WP Admin's number separator globals

Core derives thousandsSeparator and decimalPoint from its own translations,
which Intl doesn't reproduce: values differ for many locales and across
WebView ICU versions. They serve admin list screens the editor lacks, and
plugins rarely read them.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Mp7HPYAD9KtkU4Dh994Pfm

* fix: recheck the AJAX auth origin when the request is sent

The prefilter checked the origin before later prefilters ran, so one
rewriting the URL off the site would still send the token there. The
wrapper also called the original beforeSend without its settings, its
context, or its return value, so a `false` return didn't cancel.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Mp7HPYAD9KtkU4Dh994Pfm

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code [Type] Build Tooling Issues or PRs related to build tooling

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants