Update wordpress monorepo (major)
This MR contains the following updates:
Package | Type | Update | Change |
---|---|---|---|
@wordpress/eslint-plugin | devDependencies | major | ^9.0.6 -> 12.0.0 |
@wordpress/stylelint-config | devDependencies | major | ^19.0.5 -> 20.0.2 |
Release Notes
WordPress/gutenberg (@wordpress/eslint-plugin)
v12.0.0
Breaking Changes
- Revert the removal of the automatic environment detection of
test-unit
andtest-e2e
for therecommended
preset. However, They will still be disabled if@playwright/test
is installed in the project.
v11.1.0
Enhancements
- Admin panel available as PWA. (33102, 33310)
- Block Breadcrumbs: Small chevron icon for breadcrumb separators. (33042)
- Block Library:
- Design Tools, Border:
- Link Editing: Add Unlink button to LinkControl popover. (32541)
- List View: Enable drag and drop in List View. (33320)
- Widget Editor: Adds auxiliary class names for editor styles. (33388)
- General UI:
New APIs
- REST API: Block editor settings endpoint. (33128)
- UI Components: Add a SearchControl component and reuse across the UI. (32935)
Performance
Accessibility
- Improve high contrast mode rendering of icon buttons. (33062)
Bug Fixes
- Block Breadcrumbs: Fix breadcrumbs html structure and React warnings. (33159)
- Block Editor:
- Block Library:
- Buttons Block: Remove green background color in button preview. (33116)
- Embed Block: Include missing attributes when upgrading embed block. (33235)
- Image Block:
- Query Loop Block:
- Search Block:
- Site Title: Decode entities in site title. (33323)
- Home Link: Remove padding. (33461)
- Post Except: Fix
excerpt_more
filter conflict and removewordCount
attribute. (33366)
- Design Tools:
- Color: Prevent color panel from showing as empty. (33369)
- Duotone:
- Theme.json
- Rich text:
- Site Editor: Close navigation sidebar when all posts clicked. (33393)
- Slash Inserter: Fix slash command focus style. (33084)
- Widgets Editor:
- Writing flow:
- Components:
- Editor: Extract snackbars into a separate component. (33355)
Experiments
- Component System:
- Navigation Block:
- Add Color Options for Submenus. (31149)
- Change Navigation block markup on front end only. (30551)
- Improve handling of open overlay. (32886)
- Menu item placeholder inheritance. (32512)
- Pass block attributes with rendering with location. (33043)
- Refactor of navigation block rendering using location attribute. (33244)
- Global Styles:
Documentation
- Admin PWA: Make readme private. (33216)
- Handbook:
- Block API:
- Block Editor API: Changes to support multiple admin screens in WP 5.8. (33262)
- Custom Block Editor: Fixed bad image syntax and bold text. (32897)
- Fix API documentation for data reference guides. (33384)
- Plugin Release: Update Gutenberg release documentation to clarify release post workflow. (33328)
-
theme.json
: - Use markdown headings instead of links for API declarations. (33381)
- Update documentation for link color in WordPress 5.8. (33162)
- Packages:
Code Quality
- Avoid calling
gutenberg_
functions within code shipped through WordPress Core. (33331) - Block Editor:
- Block Library:
- Components:
- BlockNavigation: Restructure the BlockNavigation component. (31892)
- Box Control: Rename VerticalHorizontalInputControls to AxialInputControls. (33016)
- GradientPicker: Stabilises GradientPicker and CustomGradientPicker components. (31440)
- Toolbar: Enforce
isAlternate
onToolbarDropdownMenu
. (33129) - ZStack: Remove
@emotion/css
from ZStack. (33053)
- Packages: Hoist dependencies for WordPress packages. (33387)
- Plugin: Remove deprecated APIs that are no longer supported in version 11.0. (33258)
Tools
- Testing:
- Add basic Site Title block coverage. (32868)
- Add some functionality to
createUser
anddeleteUser
. (33067) - Enable previously skipped widgets tests. (33121)
- Skipping more end-to-end tests. (33353)
- Skip unstable end-to-end tests. (33352)
- Switch to new puppeteer APIs for emulating conditions. (33410)
- Update end-to-end tests to use new puppeteer drag and drop api. (33386)
- Dependencies:
- NPM Packages: Introduce release types to npm publishing script. (33329)
- Plugin: Introduce
tools
folder with configuration files. (33281) - Workflows:
v11.0.1
v11.0.0
Breaking Changes
- The integration with Prettier is now optional and gets activated when the
prettier
package is installed in the project (#39244).
Bug Fix
- Replaced no-shadow eslint rule with @typescript-eslint/no-shadow (#38665).
Breaking Changes
- Remove automatic environment detection of
test-unit
andtest-e2e
for therecommended
preset. It's now recommended to opt-in to specific preset explicitly.
v10.0.2
Bug Fixes
- Fix white screen on RTL languages. (29256)
- Fix Button block borders for the solid style variation.
v10.0.1
Bug Fixes
- CSS-in-JS: Fix inline comment for select-dropdown (external module)
v10.0.0
Breaking Changes
- The peer dependency constraint for ESLint has been updated from
^6 || ^7
to^8
. - The bundled
@typescript-eslint/eslint-plugin
dependency has been updated from requiring^4.31.0
to requiring^5.3.0
(#36283). - The bundled
@typescript-eslint/parser
dependency has been updated from requiring^4.31.0
to requiring^5.3.0
(#36283). - The bundled
eslint-config-prettier
dependency has been updated from requiring^7.1.0
to requiring^8.3.0
(#36283). - The bundled
eslint-plugin-jest
dependency has been updated from requiring^24.1.3
to requiring^25.2.3
(#36283). - The bundled
eslint-plugin-jsdoc
dependency has been updated from requiring^36.0.8
to requiring^37.0.3
(#36283). - The bundled
globals
dependency has been updated from requiring^12.0.0
to requiring^13.12.0
(#36283). - The
gutenberg-phase
rule has been deprecated and replaced by theis-gutenberg-plugin
rule. (#38202)
Enhancement
- Omit verification for WordPress dependencies in the import statements since they get externalized when used with WordPress (#37639).
Bug Fix
- Fix Babel config resolution when a custom ESLint config present (#37406). Warning: it won't recognize the
babel.config.json
file present in the project until the upstream bug incosmiconfig
is fixed.
WordPress/gutenberg (@wordpress/stylelint-config)
v20.0.2
v20.0.1
v20.0.0
Breaking Change
- Increased minimum peer dependency of
stylelint
to14.2.0
(#38091). See official migration guide to v14 for details.
Configuration
-
If you want to rebase/retry this MR, click this checkbox.
This MR has been generated by Renovate Bot.