5.1.0
Features
- Add a new Search block.
- Add a new Calendar block.
- Add a new Tag Cloud block.
Enhancements
- Add micro-animations to the editor UI:
- Restore the block movers for the floated blocks.
- Consistency in alignment options between archives and categories blocks.
- Set the minimum size for form fields on mobile.
- Disable the block navigation in the code editor mode.
- Consistency for the modal styles.
- Improve the FormToggle styling when used outside of WordPress context.
- Use the block icons in the media placeholders.
- Fix rounded corners for the block svg icons.
- Improve the CSS specificity of the paragraph block styles.
- Require an initial click on embed previews before being interactive.
- Improve the disabled block switcher styles.
- Do not split paragraph line breaks when transforming multiple paragraphs to a list.
- Enhance the Quote block styling for different text alignments.
- Remove the left padding from the Quote block when it’s centered.
- A11y:
- Improve the permalink field label.
- Improve the region navigation styling.
- Remove the 3 keywords limit for the block registration.
- Add consistent background colors to the hovered menu items.
- Allow the editor notices to push down the content.
- Rename the default block styles.
Bug Fixes
- Fix a number of formatting issues:
- Multiple formats.
- Flashing backgrounds when typing.
- Highlighted format buttons.
- Inline code with backticks.
- Spaces deleted after formats.
- Inline boundaries styling issues.
- Touch Bar format buttons.
- Fix a number of list block writing flow issues:
- Allow line breaks in list items.
- Empty items not being removed.
- Backspace merging list items.
- Selecting formats at the beginning of list items.
- Fix the color picker styling.
- Set default values for the image dimensions inputs.
- Fix sidebar panels spacing.
- Fix wording of the nux tip nudging about the sidebar settings.
- Fix the translator comments pot extraction.
- Fix the plugins icons color overriding.
- Fix conflicting notices styles when using editor styles.
- Fix controls recursion in the redux-routine package.
- Fix the generic embed block when using Giphy as provider.
- Fix the i18n message used in the Gallery block edit button.
- Fix the icon size of the block switcher menu.
- Fix the loading state of the FlatTermSelector (tags selector).
- Fix the embed placeholders styling.
- Fix incorrectly triggered auto-saves for published posts.
- Fix missing classname in the Latest comments block.
- Fix HTML in shortcodes breaking block validation.
- Fix JavaScript errors when typing quickly and creating undo levels.
- Fix issue with mover colors in dark themes.
- Fix internationalisation issue with permalink slugs.
Various
- Implement the inline format boundaries without relying on the DOM.
- Introduce the Registry Selectors in the data module.
- Introduce the Registry Controls in the data module.
- Allow extending the latest posts block query by using get_posts.
- Extend the range of allowed years in the DateTime component.
- Allow null values for the DateTime component.
- Do not render the FontSizePicker if no sizes defined.
- Add className prop support to the UrlInput component.
- Add inline image resizing UI.
Chore
- Update lodash and deasync dependencies.
- Use addQueryArgs consistently to generate WordPress links.
- Remove merged PHP code:
- jQuery to Hooks heartbeat proxyfying.
- References to the classic editor.
- gutenberg_can_edit_post function.
- Disable CSS animations in e2e tests.
- ESLint
- Add a rule to ensure the consistency of the import groups.
- Add a rule to protect against invalid sprintf use.
- Remove obsolete CSS rules.
- Add e2e tests for tags creation.
- Add the feature flags setup.
- Implement block editor styles using a filter.
Documentation
- Add a new tutorial about the editor notices.
- Add JavaScript build tools documentation.
- Enhance the block’s edit/save documentation and code examples.
- Use Title Case consistently.
- Add e2e test utils documentation.
- Small enhancements and typos: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14.
Mobile
- Add bottom sheet settings for the image block:
- Implement the media upload options sheet.
- Implementing Clear All Settings button on Image Settings.
- Avoid hard-coded font family styling for the image blocks.
- Improve the post title component.
- Fix the bottom sheet styling for RTL layouts.
- Support the placeholder prop in the RichText component.