Repository navigation
Conversation
|
Are you an Automattician? Please test your changes on all WordPress.com environments to help mitigate accidental explosions.
Interested in more tips and information?
|
Code Coverage SummaryCannot generate coverage summary while tests are failing. 🤐 Please fix the tests, or re-run the Code coverage job if it was something being flaky. |
bf8c823 to
f4f32a7
Compare
|
Dug into failing CI jobs, every failing suite dies at import time with The cause is Two things I tried:
#50509 actually fixes this for free, since it moves private-apis to 1.52.0 anyway. |
|
Looks like this now needs the same pnpmfile hack fix as is in #51303. |
|
Typescript seems unhappy now, and Storybook has errors about "Cannot unlock an object that was not locked before" from |
We pin |
|
Now the build fails |
Edited/Blocked NotificationRenovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR. You can manually request rebase by checking the rebase/retry box above. |
|
This round and the bundled The failures here are all one split: the bundled group is still on its Bumping #51701 has the mirror problem (its The combined tree is green locally: typecheck, Storybook, and jest for premium-analytics, forms, publicize, and seo. One thing worth knowing for the lockfile here, @manzoorwanijk: the Regenerating with |
Autoclosing SkippedThis PR has been flagged for autoclosing. However, it is being skipped due to the branch being already modified. Please close/delete it manually or report a bug if you think this is in error. |
This PR contains the following updates:
7.51.0→7.54.05.51.0→5.54.011.0.0→13.0.04.51.0→4.54.016.0.0→17.0.010.2.0→10.5.05.51.0→5.54.015.24.0→15.27.06.51.0→6.54.01.51.0→1.54.037.0.0→40.0.07.51.0→7.54.04.51.0→4.54.05.51.0→5.54.06.53.0→6.54.04.51.0→4.54.04.51.0→4.54.01.51.0→1.54.08.51.0→8.54.014.51.0→14.54.08.3.0→8.6.08.2.0→8.6.03.51.0→3.54.025.7.0→25.10.05.51.0→5.54.04.51.0→4.54.04.51.0→4.54.06.24.0→6.27.06.51.0→6.54.08.51.0→9.2.04.51.0→4.54.01.17.0→1.20.05.51.0→5.54.07.51.0→7.54.04.51.0→4.54.04.51.0→4.54.01.53.0→1.54.06.27.0→6.30.024.0.0→24.3.01.51.0→1.54.03.51.0→3.54.04.51.0→4.54.06.51.0→6.54.04.51.0→4.54.04.51.0→4.54.0Release Notes
WordPress/gutenberg (@wordpress/api-fetch)
v7.54.0Compare Source
Internal
v7.53.0Compare Source
v7.52.0Compare Source
WordPress/gutenberg (@wordpress/babel-plugin-import-jsx-pragma)
v5.54.0Compare Source
v5.53.0Compare Source
v5.52.0Compare Source
WordPress/gutenberg (@wordpress/base-styles)
v13.0.0Compare Source
Breaking Changes
input-style__focusmixin. Useoutset-ring__focusinstead (#81357).Enhancements
input-control: Useoutset-ring__focusfor focus styling, WPDS tokens for border styling, and a hover border treatment aligned with@wordpress/ui. If you also define custom:focusbox-shadow styles on the same selector, remove them to avoid duplicate focus rings (#81357).outset-ring__focus: Use a--focus-colorfallback in the outline instead of declaring the custom property locally, so ancestor overrides apply correctly (#81242).v12.1.0Compare Source
v12.0.0Compare Source
Breaking Changes
$accent-colorparameter frominput-controlandinput-style__focus. Focus styling now uses--wp-admin-theme-colorinternally (#80595).Enhancements
outset-ring__focus: Allow overriding the focus ring color via the--focus-colorcustom property (#80587).Bug Fixes
Internal
exportsto use subpath patterns instead of deprecated trailing/folder mappings (#80270).WordPress/gutenberg (@wordpress/blob)
v4.54.0Compare Source
Internal
v4.53.0Compare Source
v4.52.0Compare Source
WordPress/gutenberg (@wordpress/block-editor)
v17.0.0Compare Source
Breaking Changes
src/default-editor-styles.scss. Consumers importing it should supply their own (#81793).New Features
Enhancements
BlockStyles: UseButtonfrom@wordpress/ui, truncate long labels after three lines, and navigate the variations as a radio group (#40331).Tabs(#81807).PublishDateTimePicker: Add ashowPopoverHeaderprop so the picker can be rendered inline, without the popover title and close button. Rename the header's reset action from "Now" to "Reset", which reads as an action rather than a status (#81806).Bug Fixes
DuotoneControl: Keep the picked preset's identity when applying a duotone to a block. Two presets can hold the same pair of colors, and the applied preset was resolved by matching colors, so the first of any duplicate pair was saved and both appeared selected (#81605).InnerBlocks: Resolve thedefaultof a block'slayoutsupport before providing it to inner blocks. A block that declared its layout only as a support default, such as the Gallery, previously handed its children the raw support config, which has notype, so the children resolved to the flow layout instead. As a result an Image nested in a Gallery offered left/center/right alignment, which the flex layout does not permit (#81606).DimensionsTool: Reflect aspect ratio and scale values that are updated from outside the component, such as by undo orupdateBlockAttributes. The scale control no longer displays a stale value, and an aspect ratio that is written differently to its preset, e.g.1/1rather than1, is displayed as that preset instead of as "Original" (#80747).ListView: Only move focus into the list when the newfocusOnMountprop is set, so that a list mounted as a side effect of a selection no longer pulls focus out of the editor canvas (#81659).RichText: Handle Enter using the current record, so pressing it right after moving the caret splits at the caret's new position instead of the previous one (#81696).useInnerBlocksProps: Resolve the manual grid placement check that disables the standard drop zone against a layout passed through the options, when provided, instead of always using the block edit context layout (#81120).useInsertionPoint: Leave the insertion cue alone when it belongs to the in-between inserter. The cue is shared state and the in-between inserter mounts inside its popover, so the sidebar inserter hiding it tore down the inline inserter that had just been opened (#76241).BorderPanel: Match a chosen drop shadow against the presets from every origin rather than the first origin that defines any, so theme and default presets keep being stored asvar:preset|shadow|<slug>once a custom preset exists (#81346).InserterMenu: Cancel the animation frame that focuses the active tab when the menu unmounts before it runs, so an unmount right after mount no longer throws #81918.Internal
isElementVisiblevia private APIs so@wordpress/editor's collaboration overlay can detect content hidden by a collapsed container (e.g. a closedcore/detailspanel) without duplicating the visibility check (#81322).v16.2.0Compare Source
Internal
@wordpress/kebab-casepackage instead of unlocking thekebabCaseutility from the@wordpress/componentsprivate APIs (#81294).Enhancements
contentrole) and itsmetadatais copied. TheattributesToCopylist of a default block is removed: the copied attributes derive from the block's attribute roles.Enhancements
blockStatesEditingEnablededitor setting, which hides state controls for blocks when set tofalse(#80956, #81058).Performance
hasSelectedInnerBlock: Answer the deep check from a set of the selection's ancestors, built once per selection, instead of walking the parents of every selected block on each call.BlockListBlockasks once per rendered block, so the old cost was the block count multiplied by the selection size (#81210).BlockListBlock: Skip that deep check behindisSelectionWithinCurrentSectionwhen the block is not within a section block, where it was passed anundefinedclient ID that never matches. Together the two changes take selecting all blocks on a 1000 paragraph post from 16.8s to 0.4s (#81210).ListView: Drop theuseBlockDisplayInformationanduseBlockLockcalls from the row, select button and branch components, reading the few fields they were used for from theuseSelecteach component already has. Store subscriptions go from seven to four per rendered row, and from two to one per branch (#81136).ListView: Collapse the placeholder rows that stand in for blocks outside of the render window into a single spacer row per run, instead of rendering a<tr>/<td>pair for every block. On a post with 1000 top-level blocks this removes ~1900 elements (about 60% of the List View's DOM and nearly half of the document's elements), which cuts the style recalculation and layout work done when the List View opens (#80953).hasSelectedInnerBlock: Returnfalseup front when called without a client ID, instead of reading the selection and walking it for a check that can never match. The root client ID ('') is covered by the same bail out, so the shallow check no longer reportstruewhen a top level block is selected, matching the deep check (#81315).Internal
ListView: Reimplement the Firefox description-recomputation workaround inAriaReferencedTextby keying the element on its text, so React replaces it instead of updating the existing text node in place (#80929.Bug Fixes
MediaPlaceholder: Stop the drop zone activating for canvas block-reorder drags. Dragging an inner block within a block that renders a media placeholder (e.g. reordering a Playlist Track) no longer shows a media drop zone and blocks the reorder.isBlockSelected: Returnfalsewhen called without a client ID, instead of matching theundefinedclient ID of an empty selection (#81212).URLInput: Collapse a text selection reaching the start of the field before letting an up arrow press through to the editor, so selecting to the start and pressing up no longer navigates out of the field instead of collapsing the caret (#80780).URLInput: Leave Shift-modified arrow keys to the browser, so extending a selection with Shift+Up or Shift+Down no longer collapses it to the start or end of the field (#80780).RichText: Skip the block input transforms in fields that are not passed anonReplace(#80978).RichText: Ignore pasted files, which carry no text to paste inline (#81010).settings.background.gradientintheme.json(#81056).LinkControl: Restore the preview title underline by slightly increasing the title's line height, which was too tight for the underline to be visible (#81083).URLInput: Skip link search requests while an IME composition is in progress; the search now fires once with the confirmed value oncompositionend(#80602).SpacingSizesControl: Give the control's visible label its own translation context instead of sharing an entry with the side input's aria label, which feeds the same placeholders in the opposite order — a single shared translation could not be correct for both (#81240).v16.1.0Compare Source
Enhancements
core/heading,core/site-title,core/post-title,core/query-title,core/comments-title,core/term-name,core/site-tagline,core/accordion-heading), so inspector controls reflect values set on a specific heading level (styles.elements.h1–h6) in addition to the sharedheadingelement. A block rendered at level 0 (a paragraph) folds no heading element styles;core/accordion-headinghas no level-0 state and takes its level from the parent Accordion's block context (#80495).linkelement (styles.elements.link) for whole-block link blocks — those that render as a link — so their inspector controls reflect inherited link styles, mirroring thebuttonelement treatment forcore/button. Coverscore/read-more,core/loginout,core/post-navigation-link,core/query-pagination-next,core/query-pagination-previous,core/query-pagination-numbers,core/comments-pagination-next,core/comments-pagination-previous,core/comments-pagination-numbers,core/comment-edit-link,core/comment-reply-link, andcore/post-comments-link#80607).Internal
gutenberg-global-styles-inheritance-uiGutenberg experiment, souseResolvedStyleresolves nothing and the block-supports panels render without the inheritance affordances until the experiment is turned on (#80555, #80815).URLInput: Convert the class component to a function component with hooks, replacing thecompose( withSafeTimeout, withSpokenMessages, withInstanceId, withSelect )wrapper. The unusedsetTimeoutprop injected bywithSafeTimeoutis dropped, and the block editor settings are now read on demand rather than subscribed to (#80721).Bug Fixes
window.__clientSideMediaProcessinginstead of the redundantwindow.__heicUploadSupportflag, fixing client-side HEIC conversion in Safari on core WordPress installs (#80452).URLInput: Request suggestions for a value the field is mounted with, instead of waiting for the input to be focused, and stop requesting initial suggestions on mount whendisableSuggestionsis set (#80721).WordPress/gutenberg (@wordpress/block-library)
v10.5.0Compare Source
Enhancements
List: Add wide and full alignment support (#68002).Internal
BlockKeyboardShortcutscomponent that every editor had to render. TheBlockKeyboardShortcutsprivate export has been removed (#81588).ValidatedTextareaControlfrom@wordpress/uiin the LaTeX popover instead of unlockingValidatedTextareaControlfrom the@wordpress/componentsprivate APIs (#81984).Enhancements
Bug Fixes
until-foundso the browser's find-in-page can reach their content, and activate the matching tab when the browser reveals a panel. Panels are also taken out of the tab sequence while hidden, since a panel hidden withuntil-foundkeeps a layout box (#81712).:targetpseudo-class instead of decodingwindow.location.hash, so a hash containing malformed percent-encoding no longer throws aURIErrorwhen a panel is opened (#81780).selectorsmap, so padding set intheme.jsonor Global Styles applies to the toggle button the block writes its own padding to, rather than to the heading wrapper where it could not lower the default (#81976).v10.4.0Compare Source
Internal
@wordpress/kebab-casepackage instead of unlocking thekebabCaseutility from the@wordpress/componentsprivate APIs (#81294).Enhancements
Bug Fixes
footnotespost meta as no footnotes instead of throwing, so the block shows its placeholder rather than the block crash warning (#81201).@arraypress/waveform-playerto^1.26.0, disable automatic initialization, and prevent custom SVG icons from being configured through HTML data attributes.'full'instead ofnullas the featured image size for parallax and repeated backgrounds, so a null array offset is no longer reached on PHP 8.5 (#81444).Internal
withIgnoreIMEEventsfrom@wordpress/keycodesinstead of unlocking it from@wordpress/components(#81343).v10.3.0Compare Source
Enhancements
Bug Fixes
@arraypress/waveform-playerto^1.23.0, which no longer setscrossorigin="anonymous"on its audio element, fixing playback of tracks served without CORS headers such as media offloaded to a CDN (#80533).Internal
memizeto 2.1.1 (#80764).window.__clientSideMediaProcessingfor sideloading status, following the removal of the redundantwindow.__heicUploadSupportflag (#80452).WordPress/gutenberg (@wordpress/block-serialization-default-parser)
v5.54.0Compare Source
v5.53.0Compare Source
v5.52.0Compare Source
WordPress/gutenberg (@wordpress/blocks)
v15.27.0Compare Source
New Features
blocktype block transforms accept ashortcutproperty, declaring a keyboard shortcut that applies the variation or transform to the selected block.Configuration
📅 Schedule: Branch creation - Between 12:00 AM and 02:59 AM, on day 1 of the month ( * 0-2 1 * * ) in timezone UTC, Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR has been generated by Renovate Bot.