Make WordPress Core

Opened 2 years ago

Closed 2 years ago

Last modified 2 years ago

#55181 closed task (blessed) (fixed)

Update Random_Compat to 2.0.21

Reported by: jrf's profile jrf Owned by: hellofromtonya's profile hellofromTonya
Milestone: 6.0 Priority: normal
Severity: normal Version: 6.0
Component: External Libraries Keywords: needs-patch php81 add-to-field-guide
Focuses: Cc:

Description

Random_Compat 2.0.21 has just been released and by the looks of it, WP is actually quite a bit behind (2.0.11) with the last update of the library having been done in 2017.

Then again, the changes in the interim versions have been minimal and of little consequence for the functionality of the library, save for two Windows specific fixes and improved type safety, which in light of PHP 8.1 is a good thing.

Either way, I'd recommend for the version included with WP to be updated.

Full details:

I've reviewed the diff and have not found anything which concerns me in it. It should be safe to do this update at the earliest convenience.

Previously: #42439

Change History (5)

#1 @hellofromTonya
2 years ago

  • Owner set to hellofromTonya
  • Status changed from new to assigned

#2 @SergeyBiryukov
2 years ago

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

In 52742:

External Libraries: Update random_compat to version 2.0.21.

The latest release includes improved compatibility with PHP 8.1, as well as some bug fixes for Windows platforms.

Release notes:
https://github.com/paragonie/random_compat/releases/tag/v2.0.21

For a full list of changes in this update, see the random_compat GitHub:
https://github.com/paragonie/random_compat/compare/v2.0.11...v2.0.21

Follow-up to [42130].

Props jrf, paragoninitiativeenterprises.
Fixes #55181.

#3 @jrf
2 years ago

Now this is what I call teamwork - from opening the ticket to commit in 20 minutes flat ;-)

#4 @milana_cap
2 years ago

  • Keywords needs-dev-note added

Marking for dev note but really needs only mentioning in Field guide.

#5 @milana_cap
2 years ago

  • Keywords add-to-field-guide added; needs-dev-note removed
Note: See TracTickets for help on using tickets.