Best WordPress Hosting
 

Requests library upgraded to 2.0.5 in WordPress 6.2

via make.wordpress.org => original post link

Trac ticket #54504 was created to upgrade the Requests library to 2.0.0. Requests 2.0.0 was a major release and contains breaking changes. Additional upgrades to 2.0.5 were completed during this process. View the upgrade guide.

Namespacing introduced

Requests 2.0.0 introduces namespacing (PSR-4) for all Requests code. A full backward compatibility layer is included and old PSR-0 class names are still supported. However, using the old PSR-0 class names will generate a deprecation notice.