Update dependency @wordpress/eslint-plugin to v12.5.0
This MR contains the following updates:
Package | Type | Update | Change |
---|---|---|---|
@wordpress/eslint-plugin | devDependencies | minor | 12.4.0 -> 12.5.0 |
Release Notes
WordPress/gutenberg
v12.5.0
Features
- Allow switching global styles variations. (35619)
- Add: Code editor to edit site. (37765)
- [Post Featured Image]: Show all the controls when inside a Query Loop. (37945)
Enhancements
Block Library
- Add transform between core/site-logo and core/site-title blocks. (37920)
- Allow using a text label instead of an icon on overlay menu toggle button. (36149)
- Post Featured Image: Add size selector. (38044)
- [Query Loop]: Add multiple authors support. (38024)
- [Query Loop]: Add support for custom taxonomies filtering. (38063)
- Comments Query Loop: Add discuss options to the block. (37297)
- Fetch classic Menus and Pages using view (readonly) context. (37884)
- Gallery block: Move add/edit media to block toolbar. (38036)
- Navigation Block : Try not using css variable for block gap support. (37543)
- Paragraph: Try to avoid a trailing word in the description. (37483)
- Rename next and previous to newer an older. (38143)
- Show menus selection in placeholder only if available. (37980)
- Unset inherited backgrounds on Posts Lists. (37941)
- Unset inherited backgrounds on social icons. (37940)
Components
- CustomSelectControl: Add hints example to storybook. (38056)
- ToolsPanel: Add CSS classes to first and last displayed ToolsPanelItems. (37546)
-
Navigator
: Add basic location history. (37416) - Add: Hover and Selected states to the palette editor. (37962)
- Update gray color palette to match base styles. (38109)
Post Editor
- Post Lock Modal: Update avatar size. (38040)
- Post Lock: Adjust avatar design and update message. (37979)
- Block styles: Remove box-sizing rule on Post Editor container to achieve editor/frontend parity. (37902)
Block Editor
- Buttons: Preserve styling from adjacent button blocks when inserting a new button block. (37905)
- Identify the site frontpage in link UI search results. (36493)
- Rich text: Use file on internal dependencies. (38005)
- Transform pasted div tags to p tags. (38042)
Site Editor
- Update template home, front-page, and search template descriptions. (38132)
- Add: Copy all content to edit site. (37781)
Global Styles
- Load the global styles before the theme styles in the editor. (37885)
- Duotone: Allow users to specify custom filters. (38055)
- Enable alpha on Block Inspector Color ToolsPanel. (37731)
Internationalization
- i18n: Create new function
addLocaleData
to merge domain configuration. (37704)
REST API
- [Global Styles]: Add REST API endpoint to fetch variations. (38124)
WP ENV
- wp-env: Add install-path command. (35638)
Bug Fixes
Block Library
- Add classic menus to menu switcher. (38168)
- Always allow accessing edit.php?post_type=wp_navigation page. (38170)
- Fix Post Date block escaping of date HTML. (38023)
- Fix duotone render in non-fse themes. (37954)
- Social Icons: Fix color picker bug when set to Logos Only. (38006)
- Temporarily remove text decoration from Nav block. (37963)
- [Query Loop]: Reorganise inspector controls +
order
selection bug. (37949) - Revert "Late escape RSS block (#37878)". (38117)
- Fix missing default
align-items
when items are oriented vertically inflex
layout. (38069) - Update
micromodal
to 0.4.10 to fix navigation close button. (38032)
Site Editor
- Fix empty gray circle when site has no logo on template list page. (37474)
- Fix hiding the bottom of tablet/mobile preview in Site Editor. (38019)
- Fix resizable box scrollbars in blocks. (38123)
- Override Site Editor URLs to use plugin page. (38232)
- Restore ?styles=open functionality. (38093)
- Site Editor: Fix Inserter classes. (38112)
Block Editor
- Fix pattern preview expanding height and scrollbar issues. (38175)
- Remove warning for enqueued styles in Editor. (37937)
- Fix draft previews. (37952)
- Add context to font style and font weight related translation strings. (37939)
Post Editor
Block Library
- Latest Posts: Fix featured image alignment label position. (38125)
- Remove the aria-label from the site title block. (38432)
Components
- Increase ConfirmDialog overlay's z-index to render above popovers. (37959)
- Label components: Improve consistency by setting to 8px margin-bottom. (37844)
- RangeControl: Fix space between icons and rail. (36935)
-
SelectControl
: Mark thechildren
prop as optional. (37872) -
ToggleGroupControl
: Remove animated backdrop. (38008)
Design Tools
- Fix: Double border on palette editor. (38035)
- Fix: PanelColorSettings renders an empty when a color setting is falsy. (38029)
Accessibility
- Make sure when on last block focus cannot enter the block. (37965)
- Tree Grid: Fix keyboard navigation for expand/collapse table rows in Firefox. (37983)
Data API
- Load the entities list using the view context. (37685)
- Fix inconsistent response when preloading OPTIONS type requests. (38051)
Widgets Editor
- Fix empty secondary sidebar overlapping widget editor content on mobile viewports. (38017)
Developer Tooling
- Docgen/stop crashing on missing return types. (37929)
- Add temporary workaround to fix broken common js import of mini-css-extract-plugin. (38004)
- Fix back button aria name in customizing widgets tests. (38195)
Mobile
- Mobile - Highlight text - Force format for some edge cases. (37915)
- Send non-deprecated language tags from Android in initialProps. (37565)
- Wrap long cell labels on Android. (37993)
Performance
Plugin
- Don't use WP_Query::Get_posts directly. (38104)
Components
- ToolsPanel: Memoize callbacks and context to prevent unnecessary rerenders. (38037)
Documentation
- Add anchors to all terms of the glossary. (38073)
- Add documentation for useBlockEditContext hook. (36299)
- Add note about "local styles" in the glossary. (38083)
- Add some terms related to styles to the glossary. (38076)
- Add theme.json v1 reference and v1 to v2 migration documentation. (37886)
- Block API Reference: Fix 'isSelected' property type. (38161)
- Capitalise the GitHub wordmark correctly in the Wordpress Gutenberg project. (38092)
- Component: Update color-picker documentation. (38010)
- Document that
__experimentalSelector
requires server-side block registration. (37984) - Document the Global Styles Presets. (38129)
- Fix documentation regression. (38235)
- Include partialRight import from lodash in DimensionControl example. (38088)
- Multiple typos fixed. (38071)
- Scripts: Corrected "npm start:Hot" in the README file. (38178)
- Update Block Supports Documentation to better reflect how it works. (37847)
- Update BlockPreview component readme. (38209)
- Update versions for 5.8.2 and 5.8.3. (37924)
- Use consistent punctuation, capitalization in templateParts documentation. (38193)
- [Type] Documentation Updating Faq.md typo. (38154)
Code Quality
- Compose: Rework types of createHigherOrderComponent for closer match to API. (37795)
- Docblock typos. (38067)
- Fix two inline typos. (38048)
- Testing: Upgrade Jest to v27. (33287)
- Add a missing
@since
tag. (38151) - Ignore local environment .tool-versions configuration file. (38013)
- Add allowed-plugins in composer configuration. (38085)
- Site editor - try redirecting to homepage before the react render. (37248)
Block Library
- Allow for HTML in
get_the_title
. (38145) - Fix double escaping in blocks. (37985)
- Late escape Latest Posts block. (37866)
- Late escape Navigation blocks. (37870)
- Late escape Post blocks. (37876)
- Late escape Social block. (37881)
- Late escape comment blocks. (37860)
- Late escape comments link block. (37875)
- Late escape latest comments block. (37865)
- Late escape post author blocks. (37874)
- Late escape site blocks. (37880)
- Spacer: No need to use withDispatch HOC. (38206)
Tools
- Bump dot-prop from 4.2.0 to 4.2.1. (38101)
- Bump ini from 1.3.5 to 1.3.8. (38106)
- Bump tar from 4.4.13 to 4.4.19. (37917)
- Bump tree-kill from 1.2.0 to 1.2.2. (38102)
- Bump trim-off-newlines from 1.0.1 to 1.0.3. (38095)
- Update MiniCSSExtractPlugin to version 2.5.1. (38027)
- Bump follow-redirects from 1.14.1 to 1.14.7. (37957)
- Bump handlebars from 4.7.6 to 4.7.7. (38054)
- Bump path-parse from 1.0.5 to 1.0.7. (37990)
- Bump tmpl from 1.0.4 to 1.0.5. (37916)
- Add '.git-blame-ignore-revs' to the project. (37822)
- Require stylelint v14 for stylelint configuration and scripts. (38091)
- Tested up to WP 5.9. (38162)
Testing
- Fix flaky Nav block user permissions end-to-end test. (38025)
- Fix flaky classic block conversion undo test. (37933)
- Improve flaky draft creation navigation block end-to-end test. (37931)
- Skip flaky nav permissions test until fixed. (38099)
- [docgen] Refactor code to use require() instead of JSON.parse(fs.readFileSync()). (38148)
- end-to-end Tests: Add coverage for reusable blocks save button state regression. (33151)
- Add new Testing Instructions section to MR template. (38147)
The following MRs were merged by first time contrbutors:
- @alanjacobmathew: Updating Faq.md typo. (38154)
- @imangm: RangeControl: Fix space between icons and rail. (36935)
- @jorgecontreras: Fix draft previews. (37952)
- @knilkantha: Scripts: Corrected "npm start:Hot" in the README file. (38178)
Configuration
-
If you want to rebase/retry this MR, click this checkbox.
This MR has been generated by Renovate Bot.