Make WordPress Core

Opened 6 years ago

Closed 6 years ago

#45814 closed task (blessed) (fixed)

Update the WordPress packages for 5.0.3

Reported by: youknowriad's profile youknowriad Owned by: youknowriad's profile youknowriad
Milestone: 5.0.3 Priority: normal
Severity: normal Version: 5.0.2
Component: Editor Keywords: has-patch
Focuses: Cc:

Description

Here's the full list of the fixes and performance improvements included in this patch

Performance

  • optimizing the addHook function
  • optimizing the viewport state initialization.
  • splitting the state tree for more performant selectors.
  • partial application of runSelector.
  • optimize selector calls.
  • avoid rendering DropZone children if not necessary.
  • avoid initializing variables if not necessary.

Bug Fixes

  • Fix RTL support for the DatePicker component.
  • Change the header level in the BlockCompare component.
  • Show all the taxonomies in the sidebar.
  • Fix the latest posts date className.
  • Fix the “align center” button in Latest Posts block in the backend.
  • Fix block height when DropCap is used.
  • Fix converting caption shortcode with link.
  • Fix edge case in addQueryArgs function.
  • Don’t return the permalink if the CPT is not publicly viewable.
  • Fix error when saving non public CPTs.
  • Properly disable the Publish button when saving is disabled.

Chore

  • Code style fixes and expand the phpcs coverage.

Attachments (2)

package-update-5.0.3.patch (39.6 KB) - added by youknowriad 6 years ago.
45814-trunk.diff (35.5 KB) - added by desrosj 6 years ago.

Download all attachments as: .zip

Change History (14)

#1 @youknowriad
6 years ago

  • Keywords has-patch added

This ticket was mentioned in Slack in #core-editor by youknowriad. View the logs.


6 years ago

#3 @youknowriad
6 years ago

  • Summary changed from Update the WordPress packages for 5.0.2 to Update the WordPress packages for 5.0.3

#4 @gziolo
6 years ago

Code changes look good. In my very shallow testing, everything works properly.

@desrosj
6 years ago

#5 @desrosj
6 years ago

Because trunk is open for business, we should go back to using the traditional flow for committing and backporting (commit to trunk first, then backport the commit).

45814-trunk.diff applies cleanly to trunk for this.

This ticket was mentioned in Slack in #core-editor by desrosj. View the logs.


6 years ago

This ticket was mentioned in Slack in #core by audrasjb. View the logs.


6 years ago

#8 @desrosj
6 years ago

  • Type changed from defect (bug) to task (blessed)

#9 @gziolo
6 years ago

I reviewed and tested patch for trunk. Everything looks good and works as expected. It looks like we should apply new patch also to the 5.0 branch as it contains some coding style fixes for the list of versions of packages in PHP file.

#10 @desrosj
6 years ago

  • Resolution set to fixed
  • Status changed from assigned to closed

In 44389:

Block Editor: Upgrade @WordPress packages to the latest versions.

Updated packages:

  • @wordpress/annotations@1.0.5
  • @wordpress/api-fetch@2.2.7
  • @wordpress/block-library@2.2.12
  • @wordpress/block-serialization-default-parser@2.0.3
  • @wordpress/blocks@6.0.5
  • @wordpress/components@7.0.5
  • @wordpress/core-data@2.0.16
  • @wordpress/data@4.2.0
  • @wordpress/deprecated@2.0.4
  • @wordpress/dom@2.0.8
  • @wordpress/edit-post@3.1.7
  • @wordpress/editor@9.0.7
  • @wordpress/format-library@1.2.10
  • @wordpress/hooks@2.0.4
  • @wordpress/list-reusable-blocks@1.1.18
  • @wordpress/notices@1.1.2
  • @wordpress/nux@3.0.6
  • @wordpress/plugins@2.0.10
  • @wordpress/rich-text@3.0.4
  • @wordpress/url@2.3.3
  • @wordpress/viewport@2.1.0

Props: youknowriad, gziolo, desrosj.

Fixes #45814.

#11 @desrosj
6 years ago

  • Resolution fixed deleted
  • Status changed from closed to reopened

Reopening to backport.

#12 @desrosj
6 years ago

  • Resolution set to fixed
  • Status changed from reopened to closed

In 44390:

Block Editor: Upgrade @WordPress packages to the latest versions.

Updated packages:

  • @wordpress/annotations@1.0.5
  • @wordpress/api-fetch@2.2.7
  • @wordpress/block-library@2.2.12
  • @wordpress/block-serialization-default-parser@2.0.3
  • @wordpress/blocks@6.0.5
  • @wordpress/components@7.0.5
  • @wordpress/core-data@2.0.16
  • @wordpress/data@4.2.0
  • @wordpress/deprecated@2.0.4
  • @wordpress/dom@2.0.8
  • @wordpress/edit-post@3.1.7
  • @wordpress/editor@9.0.7
  • @wordpress/format-library@1.2.10
  • @wordpress/hooks@2.0.4
  • @wordpress/list-reusable-blocks@1.1.18
  • @wordpress/notices@1.1.2
  • @wordpress/nux@3.0.6
  • @wordpress/plugins@2.0.10
  • @wordpress/rich-text@3.0.4
  • @wordpress/url@2.3.3
  • @wordpress/viewport@2.1.0

Props: youknowriad, gziolo, desrosj.

Merges [44389] to the 5.0 branch.
Fixes #45814.

Note: See TracTickets for help on using tickets.