Make WordPress Core

Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#48884 closed defect (bug) (fixed)

Update WordPress packages with fixes targeted for 5.3.1

Reported by: youknowriad Owned by: SergeyBiryukov
Priority: normal Milestone: 5.3.1
Component: Editor Version: 5.3
Severity: normal Keywords: has-patch commit
Cc: Focuses:

Description

Updated packages:

  • @wordpress/block-directory@1.0.6
  • @wordpress/block-editor@3.2.5
  • @wordpress/block-library@2.9.6
  • @wordpress/core-data@2.7.5
  • @wordpress/edit-post@3.8.6
  • @wordpress/editor@9.7.6
  • @wordpress/format-library@1.9.5

Attachments (2)

update-packages-5.3.1.diff​ (21.9 KB ) - added by youknowriad 7 years ago.
48884-block-directory-1.0.6.diff​ (10.9 KB ) - added by aduth 7 years ago.
Resolve block-directory to 1.0.6

Download all attachments as: .zip

Change History (12)

#1 @youknowriad
7 years ago

#48649 was marked as a duplicate.

#2 @SergeyBiryukov
7 years ago

  • Owner set to SergeyBiryukov
  • Resolution → fixed
  • Status assigned → closed

In 46860:

Block Editor: Bug fixes targeted for WordPress 5.3.1.

The list of included fixes:

Updated packages:

  • @wordpress/block-directory@1.0.6
  • @wordpress/block-editor@3.2.5
  • @wordpress/block-library@2.9.6
  • @wordpress/core-data@2.7.5
  • @wordpress/edit-post@3.8.6
  • @wordpress/editor@9.7.6
  • @wordpress/format-library@1.9.5

Props youknowriad, ellatrix, epiqueras, audrasjb, gziolo, mcsf, kyliesabra.
Fixes #48884.

#3 @SergeyBiryukov
7 years ago

In 46861:

Block Editor: Bug fixes targeted for WordPress 5.3.1.

The list of included fixes:

Updated packages:

  • @wordpress/block-directory@1.0.6
  • @wordpress/block-editor@3.2.5
  • @wordpress/block-library@2.9.6
  • @wordpress/core-data@2.7.5
  • @wordpress/edit-post@3.8.6
  • @wordpress/editor@9.7.6
  • @wordpress/format-library@1.9.5

Props youknowriad, ellatrix, epiqueras, audrasjb, gziolo, mcsf, kyliesabra.
Merges [46860] to the 5.3 branch.
Fixes #48884.

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


7 years ago

#5 @aduth
7 years ago

In Slack, there were ​some errors reported which I believe to be related to this changeset.

In update-packages-5.3.1.diff​, the changes in package-lock.json which resolve @wordpress/block-directory seem unexpected, since there's nothing which depends on block-directory@1.1.0, only at ^1.0.6. I'm not sure why it would suddenly start failing when using the latest version, but I expect it could be related to changes at ​Gutenberg#17576 (cc @gziolo).

In any case, when testing to see whether it helps to restore the resolved @wordpress/block-directory to an expected version (1.0.6), it appears to resolve the errors.

Last edited 7 years ago by aduth (previous) (diff)

#6 @aduth
7 years ago

  • Resolution fixed
  • Status closed → reopened

#7 @garrett-eclipse
7 years ago

  • Keywords commit added

Myself, @azaozz & @audrasjb confirmed via ​Slack the patch applies and fixes the issue.

#8 @SergeyBiryukov
7 years ago

  • Resolution → fixed
  • Status reopened → closed

In 46870:

Block Editor: Resolve @wordpress/block-directory to the expected version, 1.0.6.

Follow-up to [46860].

Props aduth, garrett-eclipse, audrasjb, azaozz.
Fixes #48884.

#9 @SergeyBiryukov
7 years ago

In 46871:

Block Editor: Resolve @wordpress/block-directory to the expected version, 1.0.6.

Follow-up to [46860].

Props aduth, garrett-eclipse, audrasjb, azaozz.
Merges [46870] to the 5.3 branch.
Fixes #48884.

#10 @gziolo
7 years ago

It's weird that @wordpress/block-directory@1.0.6 is not listed in the package.json in the first place. It would prevent this issue to be introduced.

I also think that we should consider using legacy tag for updated packages:
"@wordpress/block-editor": "3.2.5@legacy",
to avoid pulling in more recent packages.

Note: See TracTickets for help on using tickets.