Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependency @wordpress/block-editor to v4.4.0 #5175

Conversation

renovate-bot
Copy link
Contributor

@renovate-bot renovate-bot commented Aug 6, 2020

This PR contains the following updates:

Package Type Update Change
@wordpress/block-editor devDependencies minor 4.1.0 -> 4.4.0

Release Notes

WordPress/gutenberg

v4.4.0

Compare Source

Changelog

  • Improves discoverability of permalinks by adding permalink panel to the document sidebar.
  • Improves margins, column child block, and mobile display of columns.
  • Allow for programmatically removing editor document panels.
  • Replaces the uploading indicator of images and galleries with a spinner and faded out image.
  • Toolbar for floats was a little offset beyond the mobile breakpoint, now fixed.
  • Text and code editing blocks did not have width set, now set to fill the space.
  • Correctly align URL input autocomplete.
  • Improve animations: new, consistent naming convention, adds editor prefix, and moves keyframe animations (which don’t work well with mixins) into the edit post style.
  • Hover styles were showing on mobile, where hover is not available – now disabled.
  • Click and drag was incorrectly triggering a selection event in the block list under the popover, resulting in the popover dismissing. This was causing blocks to be selected when trying to set links to open in a new tab, for example. Fixed by preventing the mouse down event from propagating.
  • Adds some padding to the block inserter so that it never overlaps text in nested contexts or mobile views.
  • Better handle images larger than the editor by allowing a 2.5x buffer. Allows images inserted in TwentyNineteen and other themes that have a wider than 580px editor width, to look as expected, but prevents infinite resizing of images.
  • Stop mousedown event propagating through the toolbar, fixing problem of unexpectedly selecting blocks.
  • Improve the way that long words are broken on multiple lines, using word-break: keep-all;
  • Preserve the ratio of video backgrounds in cover blocks, videos may be cropped to fit but will keep their original ratio.
  • It was not possible to scroll a long menu on first load of Gutenberg, fixed by removing sticky-menu.
  • Properly check for allowed types of Media in Media Placeholder components.
  • “Resolve” and “Convert to HTML” buttons were not clickable (regression), now resolved.
  • Exclude HTML editing from Columns and Column blocks.
  • Better handle links without href, which were showing as undefined.
  • Renders block appender after the template is processed, to prevent incorrectly inserting new paragraphs.
  • Parent pages were being lost when draft pages were autosaved, fixed by removing parent pages from autosave requests and refactoring to stop using “parent” as the path argument name.
  • Adding line breaks in formatted content in quote blocks were not working correctly, fixed by persisting formats when new lines are added.
  • Prevent users in the contributor role from using blocks that require upload privileges.
  • Fix block selection in removing blocks, correct typo in comparison.
  • Japanese text (double byte characters) was not usable in the list block, fixed by changing handling of composition events.
  • Better handles different text encodings (e.g. emoji) within a block in block validation.
  • Use a query argument instead of data to prevent error being thrown on post refresh.
  • Keyboard navigation was not working as expected in Firefox, added extra key binding.
  • Adds missing alt values to images when editing.
  • Better communicate block nesting level by using unordered lists.
  • Fix sidebar icons being incorrectly announced in NVDA by adding a span with aria-hidden=”true”.
  • Fixes block toolbar aria label to announce “block tools toolbar” rather than “block toolbar (a11y).
  • Adjusts focus on media and text blocks to select the overall block, not the child paragraph block.
  • Refactors i18n module to replaces Jed with Tannin for significant performance improvements.
  • Replace getSelectedBlock and getMultiSelectedBlocks with more performant getSelectedBlockClientId and a getBlocks selectors in copy handler.
  • Replace getBlock selector in favor of the more performant getBlockName.
  • Replace getSelectedBlock with more performant getSelectedBlockClientId and new isBlockValid selectors in the BlockToolbar.
  • Replace getSelectedBlock with more performant getSelectedBlockClientId and new isBlockValid selectors in the Block Inspector.
  • Replaces getInserterItems with a new hasInserterItems selector which is more performant, and makes some adjustments to memorization.
  • Avoid using the getSelectedBlock selector in autocompleters.
  • Remove use of getBlock selector in the DefaultBlockAppender and EditorKeyboardShortcuts components.
  • Move undo handling out of TinyMCE and into the RichText component.
  • is_gutenberg_page incorrectly assumes get_current_screen exists, add check.
  • Brings code inline with CSS standards by switching font weight to numeric values.
  • Wrapped component would not the most up-to-date store values if it incurred a store state change during its own mount (e.g. dispatching during its own constructor), resolved by rerunning selection.
  • Display an error message if Javascript is disabled.
  • Update to React 16.6.3.
  • Adds missing components dependency for RichText.
  • Refactors list block to remove previously exposed RichText/TinyMCE logic.
  • Removes focusOnMount prop from NavigableToolbar components, which was generating a warning.
  • Refactor checks for upload permissions, removing unnecessary checks for store permissions.
  • Use the large image size when inserting images in both galleries and image blocks.
  • Fixes dependency of wp-polyfill which needs to be registered before React and React-Dom when plugins (like Yoast) rely on Gutenberg’s React.
  • Mark onSplit as unstable as it is pending refactor.
  • Remove 4.4 deprecated features.
  • Fix SCSS syntax error.
  • Remove export of previously removed function.
  • Add an E2E test for unsupported blocks.
  • Refactor E2E utility functions.
  • Formatting updates to copy guidelines.
  • Makes headings consistent in the dropdown documentation.
  • Removes outdated documentation referring to function support in registerBlockType.
  • Fixes some typos and line breaks in block design documentation.
  • Fixes some typos and improves readability of README.
  • Adds toolbar to the editing block, and edit button.
  • Passes the isSelected prop down to the implementation of RichText components to make them respond properly to focus changes.

v4.3.7

Compare Source

v4.3.6

Compare Source

v4.3.5

Compare Source

v4.3.4

Compare Source

v4.3.3

Compare Source

v4.3.2

Compare Source

v4.3.1

Compare Source

v4.3.0

Compare Source

  • Allow toggling the core custom fields meta box.
  • Introduce Annotations API across Block and Formatting.
  • Allow using a YouTube URL (or other sources) in the Video block and transparently convert it to Embed.
  • Allow Alt+F10 keyboard shortcut to navigate to block toolbar regardless of the toolbar visibility (isTyping, etc).
  • Return focus to element that opened the post publish panel after it is closed.
  • Avoid unnecessary re-renders when navigating between blocks.
  • Improve interactions around Columns block.
  • Improve keyboard navigation through the Gallery block.
  • Use full parser in do_blocks with nested block support. This switch will allow dynamic blocks which contain nested blocks inside of them and it will pave the way for a filtering API to structurally process blocks.
  • Refactor contextual toolbar to work better with floats.
  • Auto-refresh Popovers position but only refresh if the anchor position changes.
  • Add min-width to audio block.
  • Avoid auto-saving with empty post content.
  • Display correct Taxonomy labels.
  • Fix incorrect import name.
  • Fix styling issue with checkboxes.
  • Add full set of reusable block post type labels (addresses “no blocks found” state).
  • Fix right to left block alignment.
  • Fix “updating failed” notices showing on long-open tabs.
  • Fix default PHP parser to cast inner blocks as arrays.
  • Fix JS/PHP inconsistencies with empty attributes on parsing.
  • Link to the source image in the media block.
  • Fix select all keyboard shortcut for Safari and Firefox.
  • Create multiple blocks when multiple files are drag and dropped.
  • Fixes potential theme syle.css clash.
  • Makes preview button a link (a11y).
  • Stop re-rendering all blocks on arrow navigation.
  • Add constraint tabbing to post publish panel (a11y).
  • Fix image uploading bug (incorrect JSON in apiFetch).
  • Fix taxonomy visibility for contributors.
  • Adds aria labels to images in gallery blocks during editing (a11y).
  • Formatting fix for blockquotes.
  • Hide custom fields when meta box is disabled.
  • Limits blockquote color auto-selection to solid color blocks for readability.
  • Fixes announcement on multi-selection of blocks (a11y).
  • Display upload errors in the image block.
  • Fixes selection of embed type blocks.
  • Fixes JSON attribute parsing.
  • Fixes post publish focus (a11y).
  • Resolve macOS Firefox / Safari sibling inserter behavior.
  • Fix visibility of sibling inserter on tab focus.
  • Fix issue with pasting from Word where an image would be created instead of text.
  • Fix multi-selection for float elements.
  • Fetch all tag terms, not just first 100.
  • Correctly displays media on the right.
  • Only show named image sizes.
  • Improves handling of paste action.
  • Updates displayed permalink after permalink is edited.
  • Adjust font size for contrast warning (a11y).
  • Better handles formatting – nested and Google Docs.
  • Fixes suggestion list scrolling when using keyboard (a11y).
  • Fixes block and menu navigation a11y.
  • Click to close dropdown popover.
  • Fix save lock control.
  • Timezone handling fix.
  • Improve a11y of empty text blocks.
  • Fix states for publish buttons.
  • Fix backspace behavior.
  • Change aria labels for paragraph blocks (a11y).
  • Add support for prepare RichText tree.
  • With this change we force the browser to treat the textarea for the
  • code editor as auto when handling direction for its display to preserve the ability to interact with the block delimiters.
  • Rename parentClientId to rootClientId.
  • Remove deprecated findDOMNode call from Tooltip component.
  • Remove unused ref assignment to RichText.
  • Remove redundant onClickOutside handler from Dropdown.
  • Refactor block state.
  • Remove Cloudflare warning for blocked API calls.
  • Remove _wpGutenbergCodeEditorSettings (dead code).
  • Adds periods to block a11y descriptions.
  • Refactor embed block.
  • Handle metabox warning exceptions.
  • Refactor RichText to update formatting bar on format availability changes.
  • Rename wp-polyfill-ecmascript.
  • Update translator comments for quote and pullquote.
  • Remove findDOMNode useage from NavigableToolbar.
  • Changes handling of dates to properly handling scheduling.
  • Remove findDomNode from withHoverAreas.
  • Fixes missing translator comments.
  • Refactor to import Format API components.
  • Refactor of change detection: initial edits.
  • Adds better translation comments to “resolve” and “resolve block”.
  • Adds option for blocks with child blocks to change selection behavior.
  • Allows blocks to disable being converted to reusable blocks.
  • Improve undo/redo states.
  • Updates parsing to better handle nested content.
  • Remove undefined className argument from save().
  • Use different tooltips for different alignment buttons.
  • Improve performance and handling of autosave.
  • Improve gallery upload for multiple images: load one by one.
  • Adds context variable to RichText component.
  • Avoid calling missing get_current_screen function.
  • Make cssnano remove all style comments.
  • Refactor normalizeBlockType.
  • Shows icon in block toolbar.
  • Makes kitchensink button removable from plugins.
  • Fix popover sizing on screen change (autorefresh)
  • Improvement to Columns block.
  • Update block description for consistency.
  • Refactor block styles registration.
  • Use apostrophe instead of single-quote character in strings.
  • Add transformations between video and media and text block.
  • Version update for NPM packages.
  • Update Lerna to latest version.
  • Validates link format in RichText.
  • Refactor contextual toolbar to work better with floats.
  • Move wp-polyfill-ecmascript override to scripts registration.
  • Improves consistency of parser tests.
  • Remove code coverage.
  • Adds mocking helpers for E2E tests.
  • Runs E2E tests with the user in author role.
  • Adds tests for Format API.
  • Adds E2E test for rapid enter presses.
  • Fix typo in documentation.
  • Fix typos in block API documentation.
  • Improved documentation and examples for withFilters.
  • Fix some broken links in documentation.
  • Fix typo and quote consistency.
  • Remove duplicated word.
  • Adds custom block icon instructions.
  • Update documentation on keyboard shortcuts.
  • Updates isSelectionEnabledDocumentation.
  • Update FontSizePicker component documentation.
  • Export switchToBlockType function.
  • Remove mobile RN test suite (temporary measure).
  • Improve styling of next page block.
  • Removes fixed cover on iOS (unsupported in mobile Safari).
  • Adds support for native media picker.
  • Remove onChange delay.
  • Exposes slot/fill pattern to mobile.
  • Expose @​wordpress/editor to mobile.
  • Refreshes native post block merge.
  • Properly handle cancel on the media picker.

v4.2.0

Compare Source

Changelog (in addition to the changelog of 4.2.0 rc 1)

  • RichText: fix buggy enter/delete behaviour (Extra br elements)
  • Fix showing categories for contributors
  • Improvements to the Format API

Renovate configuration

📅 Schedule: 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.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by WhiteSource Renovate. View repository job log here.

@google-cla google-cla bot added the cla: yes Signed the Google CLA label Aug 6, 2020
@renovate-bot renovate-bot force-pushed the renovate/wordpress-block-editor-4.x branch from 8f25839 to 13004b8 Compare August 10, 2020 12:31
@renovate-bot renovate-bot changed the title Update dependency @wordpress/block-editor to v4.3.5 Update dependency @wordpress/block-editor to v4.3.6 Aug 10, 2020
@renovate-bot renovate-bot force-pushed the renovate/wordpress-block-editor-4.x branch from 13004b8 to f6b1d4c Compare August 26, 2020 17:35
@renovate-bot renovate-bot changed the title Update dependency @wordpress/block-editor to v4.3.6 Update dependency @wordpress/block-editor to v4.3.7 Aug 26, 2020
@renovate-bot renovate-bot force-pushed the renovate/wordpress-block-editor-4.x branch from f6b1d4c to f55c8cd Compare September 3, 2020 09:01
@renovate-bot renovate-bot changed the title Update dependency @wordpress/block-editor to v4.3.7 Update dependency @wordpress/block-editor to v4.4.0 Sep 3, 2020
@westonruter westonruter added the dependencies Pull requests that update a dependency file label Sep 3, 2020
@westonruter westonruter added this to the v2.1 milestone Sep 3, 2020
@renovate-bot renovate-bot force-pushed the renovate/wordpress-block-editor-4.x branch from f55c8cd to d5f5139 Compare September 3, 2020 19:10
@renovate-bot renovate-bot force-pushed the renovate/wordpress-block-editor-4.x branch from d5f5139 to 8da94ad Compare September 10, 2020 00:22
@westonruter westonruter merged commit 6eeb552 into ampproject:develop Sep 10, 2020
@renovate-bot renovate-bot deleted the renovate/wordpress-block-editor-4.x branch September 10, 2020 03:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes Signed the Google CLA dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants