Make WordPress Core

Opened 6 weeks ago

Closed 5 weeks ago

#66037 closed defect (bug) (fixed)

Update packages for 7.1.1

Reported by: andraganescu Owned by: adamsilverstein
Priority: normal Milestone: 7.1.1
Component: Editor Version: 7.1
Severity: normal Keywords: has-patch dev-reviewed
Cc: Focuses:

Description

Update the gutenberg packages to include changes made to wp/7.1 branch

Change History (12)

#1 @wildworks
6 weeks ago

  • Milestone Awaiting Review → 7.1.1

This ticket was mentioned in ​Slack in #core by adrianduffell. ​View the logs.


6 weeks ago

#3 @adamsilverstein
6 weeks ago

  • Owner set to adamsilverstein
  • Status new → assigned

This ticket was mentioned in ​PR #13422 on ​WordPress/wordpress-develop by ​@andraganescu.


6 weeks ago
#4

  • Keywords has-patch added

## What

Gutenberg package update for WordPress 7.1.1: bumps the pinned Gutenberg hash from 943e0d8 to 8ae0957cfa0b3e5c270e75656a55591debc6def0 and regenerates the script loader manifests.

[!IMPORTANT]
Dry run — do not commit as-is. The new pin is the *head* of the still-open cherry-pick PR WordPress/gutenberg#82383 (cherry-pick-wp-7.1.1 branch), not wp/7.1 itself. That PR will be merged with "Rebase and merge", which rewrites the commit hashes, so after it lands this PR must be re-pinned to the resulting wp/7.1 tip (the build content is identical, so only package.json changes on re-pin; the regenerated manifests should be unchanged). The GHCR build artifact for this pin exists and its SHA-256 was verified during the build.

Full diff of the Gutenberg changes: ​https://github.com/WordPress/gutenberg/compare/943e0d825bb66ba582e9a10d32743cbb136de460...8ae0957cfa0b3e5c270e75656a55591debc6def0

## Gutenberg PRs included

  • WordPress/gutenberg#82183 — useViewConfig: don't request the view config twice (already on wp/7.1 since the last pin)
  • WordPress/gutenberg#81770 — Block Editor: Add translator context to pseudo-state labels
  • WordPress/gutenberg#81813 — Post Editor: Fix 403 on /wp/v2/settings at boot for users without manage_options cap
  • WordPress/gutenberg#82046 — Media: Refuse a multi-file drop on a placeholder that takes one file
  • WordPress/gutenberg#82011 — List: outdent an empty middle item without adding an item
  • WordPress/gutenberg#81782 — Accordion Panel: Reset padding-block when panel is hidden
  • WordPress/gutenberg#81964 — List View: Don't focus the last Table cell on keyboard activation
  • WordPress/gutenberg#81397 — Media: Stop claiming "Upload complete" when upload failed
  • WordPress/gutenberg#81884 — Media: keep indexed PNG sub-sizes indexed
  • WordPress/gutenberg#82316 — Image block cropping: Sync image size and link destination settings
  • WordPress/gutenberg#82318 — Gallery block: Fix 'Crop images to fit' broken in editor
  • WordPress/gutenberg#82254 — Pages: require authentication and a capability to render generated standalone pages
  • WordPress/gutenberg#82353 — Media Utils: Preserve arrays in multipart form data
  • WordPress/gutenberg#82478 — wp-env: Fix Docker build errors with Debian Bullseye repositories (CI-only)
  • WordPress/gutenberg#82465 — Query Loop: Fall back to post when the query has no postType
  • WordPress/gutenberg#81908 — Block Supports: Bail early in state styles when a block has no style attribute
  • WordPress/gutenberg#82335 — Fix: Restore layout styles for block style variations

## Related core patches

Two of the included PRs carry PHP changes that do not travel through the package build:

🤖 Generated with ​Claude Code

​https://claude.ai/code/session_01DP49q1JdSxUhzFFE7ga2DS

This ticket was mentioned in ​Slack in #core by adamsilverstein. ​View the logs.


6 weeks ago

This ticket was mentioned in ​Slack in #core by adrianduffell. ​View the logs.


5 weeks ago

#7 @adamsilverstein
5 weeks ago

I have updated the pinned hash with the head of the cherry pick pr (and run the gutenberg download command). Appreciate a review of the result.

​@wildworks commented on ​PR #13422:


5 weeks ago
#8

This looks good. I would like to check it again after ​https://github.com/WordPress/gutenberg/pull/82383 is merged and the commit hash is updated.

#9 @andraganescu
5 weeks ago

Howdy @adamsilverstein @wildworks

​https://github.com/WordPress/gutenberg/pull/82383

is merged, and all the PHP changes are committed

​https://patch-diff.githubusercontent.com/raw/WordPress/wordpress-develop/pull/13422.diff

has the patch for everything Gutenberg non PHP after the pin to the tip of gutenberg wp/7.1 and the cli execution for gutenberg:download.

Last edited 5 weeks ago by andraganescu (previous) (diff)

#10 @jorbin
5 weeks ago

  • Keywords dev-reviewed added

This ticket was mentioned in ​Slack in #core by adamsilverstein. ​View the logs.


5 weeks ago

#12 @adamsilverstein
5 weeks ago

  • Resolution → fixed
  • Status assigned → closed

In 63587:

General: Bump the pinned hash for Gutenberg to dd294ab.

This updates the pinned commit hash of the Gutenberg repository from 943e0d825bb66ba582e9a10d32743cbb136de460 to dd294ab86ceaf9f3d7d42a09b78f399238ce8826 and merges cherry-picked changes to the wp/7.1 branch into the 7.1.1 release. Only the editor and upload-media package hashes changed in the regenerated manifest.

A full list of changes included in this commit can be found on GitHub:
​https://github.com/WordPress/gutenberg/compare/943e0d825bb66ba582e9a10d32743cbb136de460...dd294ab86ceaf9f3d7d42a09b78f399238ce8826

The following commits are included:

The PHP changes carried by three of those pull requests do not travel through the package build and are already on the branch.

Follow-up to [63319], [63489], [63547], [63572].
Reviewed by jorbin.

Props andraganescu, wildworks.
Fixes #66037.

Note: See TracTickets for help on using tickets.