== Changelog ==
= 15.2.4 =
Changelog
Bug Fixes
- [post-excerpt][15.2.3] Fix the “is rest api?” condition in the
post-excerpt
PHP package entry point. (48654)
First time contributors
The following PRs were merged by first time contributors:
Contributors
The following contributors merged PRs in this release:
@fullofcaffeine
= 15.3.0-rc.1 =
Changelog
Enhancements
- Duotone: Use the style engine to generate CSS for Duotone. (48281)
Block Library
- Adds all allowed innerblocks to the inspector animation experiment. (47834)
- Make the Site Logo block placeholder state smaller. (48218)
- ToggleControl: Remove margin overrides and add opt-in prop. (47866)
- [Post Terms]: Add transforms for variations. (48328)
Site Editor
- Refactor the site editor URLs for better backward compatibility. (48063)
- Remove TemplateAreas from template details. (48490)
- Update the edit button. (48584)
Components
- TabPanel: Refactor unit tests in prep for controlled component updates. (48086)
- VizReg end-to-end tests: Programmatically test all combinations of a given list of props/values. (48260)
Design Tools
- Border Panel: Add missing dep for
onBorderChange
callback. (48010)
Block Editor
- Apply keyboard shortcut conversions between paragraphs and headings to all editor instances. (47972)
List View
- Scroll selected block into view when single block selection changes. (46895)
Bug Fixes
- Firefox: Fix input rules (React async state issue). (48210)
- Fix Reset All button in the typography panel of the block inspector. (48123)
- Fix block style preview flickering when a ‘style’ is focused. (48418)
- Fix snapshots for Spacer mobile unit tests. (48406)
- Fix: Add missing code on the fix page list loading PR. (48621)
- Fix: Content only CPT template locking. (48434)
- Fix: Inserter does not appear on sidebar navigation. (48623)
- Fix: Make navigation page list load its items on navigation sidebar. (47853)
- Fix: Multiple overwrites on rest_controller_class for wp_template/wp_template_part. (48078)
- Playwright: Fix request utils for non Docker envs. (48206)
- Remove broken site editor redirect. (48283)
- Try to fix a11y test flakiness. (48236)
- [Private APIs] Only prevent module re-registration if IS_WORDPRESS_CORE. (48352)
- fix: Enable access to block settings within UBE. (48435)
Site Editor
- Fix Site Editor perf tests. (48240)
- Fix routing for Classic themes using block-based template parts. (48343)
- Fix the ‘Browse all’ link in the template details modal. (48301)
- Fix the site editor home page loading when installed in a subdirectory. (48363)
- Fix the tooltip and shortcut for the global save button. (48282)
- Prevent distracting focused back button on site editor load. (48472)
- Sort templates and template parts by slug. (48473)
- Specify focus state color for template navigation button. (48134)
- [Site Editor]: Set
html
block as freeform fallback block. (48129)
Block Library
- Add support for orientation-based block movers to core/social-links. (48452)
- Fix Post Excerpt: Read more link is always on new line in the editor. (47772)
- Fix: OffCanvasEditor does not inserts submenu on collapsed items. (48214)
- List Item: Avoid an error when the ‘onReplace’ prop is undefined. (48639)
- Prevent text decoration from showing up in all blocks. (48117)
- Widget Importer: Don’t render controls when there’s nothing to import. (48396)
- [Query Loop] Fix top border in pattern selection modal. (48303)
Accessibility
- Autocomplete: Duplicate list within iframe for non visual users. (47907)
- Fix site editor switch mode message. (48136)
- Fix the Publish region position and focus style. (48102)
- Focus 1st parent block on block remove, if no previous block is available. (48204)
- List view: Allow selected block to override roving tabindex. (48339)
- Style Book: Allow button text labels for style book icon. (48088)
- Style Book: Focus the Style Book when opened, and enable ESCAPE key to close. (48151)
Global Styles
- Fix for
WP_Theme_JSON_Resolver_Gutenberg::Get_merged_data
. (48644) - Display preset names via the tooltip. (48304)
- Fix typo in valid settings for fluid typography. (48605)
- Prevent the global styles previews thumbnails from resizing on load. (48474)
- Site Tagline: Add example so that it will display in style book. (48300)
Block Editor
- MediaReplaceFlow: Fix styling for LinkControl. (47949)
- [Inserter – Media tab]: Upload Openverse images when inserted. (48501)
Block Validation/Deprecation
- Only add layout classes to inner wrapper if block is a container. (48611)
Testing
- Add typescript-eslint rules with type informations to end-to-end tests. (48267)
Widgets Editor
- Widget Editor: Fix a problem with ‘Move to Widget Area’ button not working. (48233)
Post Editor
- [Editor]: Select blocks in
outline
list. (48118)
Performance
- Autocomplete: Reduce work before finding trigger. (48327)
- Block Editor: Improve empty
getBlockParents()
perf. (48242) - Disable lazy term meta loading render_block_core_template_part. (48000)
- Fix perf regression in duotone hooks. (48401)
- Lodash: Refactor away from
_.merge()
. (48239) - Lodash: Remove from integration tests. (48122)
- Lodash: Remove remaining
_.get()
fromcore-data
. (48310) - Rich text: Only selectively handle keyup/pointerup. (48385)
- Rich text: Remove unnecessary handleSelectionChange call. (48373)
- Rich text: Try removing store change on focus. (48342)
- Writing flow: Avoid recalc style on every selection change. (48409)
Components
- Autocomplete: Avoid calling setState on input. (48565)
- Autocomplete: Don’t change state on every keystroke. (48485)
- Lodash: Refactor context system provider away from
_.merge()
. (48036)
Block Library
- Lodash: Remove
_.merge()
fromgetMappedColumnWidths()
. (48032) - Lodash: Remove some
_.get()
from Gallery block. (48488) - Lodash: Remove some
_.get()
from Image block. (48489)
Post Editor
- Lodash: Remove
_.get()
for post type usages. (48121) - Lodash: Remove remaining
_.get()
fromeditor
. (48314) - Lodash: Remove some
_.get()
from editor. (48104)
Experiments
Block API
- Tag Processor: Add bookmark invalidation logic. (47559)
Documentation
- Clarify backport status of
appearance-tools
theme support. (48622) - Docs: Clarify release process for major WP Beta 1. (48248)
- Docs: Markdown fix for wp_enqueue_script usage. (48212)
- Fix
e2e-test-utils-playwright
‘s jsdoc and types. (48266) - Fix incorrect css property in editor-color-palette documentation. (48333)
- Proactively update versions in WordPress ahead of 6.2. (48145)
- Update curation document to include theme.json filters. (48576)
- Updates to the curating the editor experience to include 6.1 & 6.2 items. (48294)
Code Quality
- Style Engine: Fix wrong property name letterSpacing to lineHeight. (48091)
- ToolsPanel: Remove unnecessary dep from resetAll callback. (48011)
- Update code position for constants and methods in
WP_Theme_JSON_Gutenberg
class. (48631) WP_Theme_JSON_Gutenberg
: Update comments to be aligned with core, so backports are easier. (48624)
Global Styles
- Extract a DimensionsPanel component as a reusable component between Global Styles and Block Inspector. (48070)
- Revert Site Tagline placeholder attribute, move example to block.json. (48383)
Components
- CircularOptionPicker: Refactor to TypeScript. (47937)
ToolsPanel
: Refactor unit tests to TypeScript. (48275)
Block Library
- Classic Block: Replace the deprecated
isPrimary
prop withvariant
. (48230) - Refactor core blocks to use HTML Tag Processor. (43178)
Post Editor
- PageAttributesCheck: Return boolean value directly from the selector. (48336)
Rich Text
- Extract delete handler to hook. (48273)
Data Layer
- Fixed incorrect type annotations in @wordpress/data, part 2. (48221)
Design Tools
- Avatar: Clean up border application in editor. (48024)
Tools
Testing
- Migrate
switch-to-draft
to Playwright. (48120) - Migrate block deletion end-to-end tests to Playwright. (48012)
- Migrate list view end-to-end tests to Playwright. (47919)
- Navigation block: End-to-end code quality fixes. (48071)
- Remove old end-to-end tests for the navigation block. (48126)
- Update assertion Autocomplete end-to-end tests. (48344)
- [Automated Testing]: Fix wrong button fixture. (48305)
Build Tooling
- Add a manual performance job that we can trigger from Github UI. (48302)
- Add command to run performance tests in debug mode. (48614)
- Make the performance tests more stable. (48094)
- SpacingSizesControl: Fix white dot on thumb. (48574)
- Track new front-end metric: LCP-TTFB. (48288)
Various
- Block alignment controls: Don’t remount the block when alignments change. (48209)
- Block editor: Create automatic change higher order reducer. (48312)
- Duotone: Add Global Styles controls for blocks that support duotone. (48255)
- Duotone: Use CSS variables instead of slugs in block attributes. (48426)
- List block: Add Firefox end-to-end tests. (48271)
- Pin
valtio
version. (48237) - Post editor: Revert iframed editor for WP core only. (48076)
- Sync
gutenberg_build_query_vars_from_query_block
with core. (48640) - Update end-to-end test snapshots to Jest 29 default. (48626)
- Update snapshot format to Jest 29 default. (48366)
- Update: Change higher order
with-constraint-tabbing
from.js
to.tsx
. (48162) - Update: Disable layout toolbar controls for content locked blocks. (47939)
- Use Duotone presets in block duotone attributes. (48318)
- react-native-editor: Move parser tests to a test directory. (48615)
- useAsyncList: Flush state updates when processing queue. (48238)
Block Library
- Navigation List View: Add block movers to the more menu. (48099)
- Navigation: Always create a fallback menu. (47684)
- Navigation: Don’t create a fallback navigation menu if there are inner blocks. (48585)
- Navigation: Don’t create duplicate navigation menus. (48599)
- Navigation: Update the dependencies for the useEffect that handles notifications. (48066)
- Navigation: Wrap the dependent functions in useCallback. (48195)
- Page List: Move the modal to its own file. (47922)
- [New Block] Add post time to read block. (43403)
Site Editor
- Change “Browse all templates” to “Manage all templates” in template details popover. (48496)
- Match color of the focus template view with site dark material. (48430)
- Polish add template modal style. (48445)
- Site Editor Sidebar: Add line-height for template/parts name and update width for edit button. (48160)
Accessibility
- Link Control – Add support for text only labels. (47930)
- Make the template customized info accessible. (48159)
Post Editor
- Apply busy status to the publish button in progress and unify button width. (48444)
Components
- Pin
floating-ui/react-dom
version. (48402)
Global Styles
- Remove copy for managing a block’s style variations. (48367)
Reusable Blocks
- Use React 18 rendering for import dropdown. (48244)
Block API
- HTML Tag Processor: Add WP 6.3 compat layer. (47933)
Block Editor
- [Inserter]: Preload media categories empty check – client side. (47503)
First time contributors
The following PRs were merged by first time contributors:
- @abhi3315: Link Control – Add support for text only labels. (47930)
- @hbhalodia: Update: Change higher order
with-constraint-tabbing
from.js
to.tsx
. (48162) - @sboerrigter: Fix incorrect css property in editor-color-palette documentation. (48333)
- @shreyasikhar: Site Editor Sidebar: Add line-height for template/parts name and update width for edit button. (48160)
- @suvrodattamitu: Style Engine: Fix wrong property name letterSpacing to lineHeight. (48091)
- @tomdevisser: Remove copy for managing a block’s style variations. (48367)
Contributors
The following contributors merged PRs in this release:
@aaronrobertshaw @abhi3315 @adamziel @afercia @alexstine @andrewserong @annezazu @brookewp @carolinan @chad1008 @ciampo @dcalhoun @draganescu @ellatrix @fluiddot @geriux @getdave @gvgvgvijayan @gziolo @hbhalodia @jorgefilipecosta @jsnajdr @kevin940726 @MaggieCabrera @Mamaduka @marekdedic @ndiego @ntsekouras @oandregal @ockham @richtabor @sboerrigter @scruffian @shreyasikhar @spacedmonkey @suvrodattamitu @t-hamano @tellthemachines @tomdevisser @tyxla @WunderBart @youknowriad