Problem/Motivation

Update typo3/* and laminas/* dependencies for 9.3.x - this will resolve the final dependency that blocks composer install on PHP 8.1

Steps to reproduce

Proposed resolution

composer update "typo3/*" "laminas/*"

Remaining tasks

User interface changes

None

API changes

None

Data model changes

None

Release notes snippet

+--------------------------------------+--------+---------+
| Production Changes                   | From   | To      |
+--------------------------------------+--------+---------+
| laminas/laminas-feed                 | 2.14.1 | 2.15.0  |
| laminas/laminas-zendframework-bridge | 1.4.0  | REMOVED |
| typo3/phar-stream-wrapper            | v3.1.6 | v3.1.7  |
+--------------------------------------+--------+---------+

With the removal of laminas/laminas-zendframework-bridge Drupal core will no longer support the BC layer for Zend classes through this indirect dependency. If you code still uses Zend classes either migrate to the Laminas equivalents or add your own dependency on laminas/laminas-zendframework-bridge.

CommentFileSizeAuthor
#2 3238201-2.patch8.02 KBalexpott
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

alexpott created an issue. See original summary.

alexpott’s picture

Issue summary: View changes
Status: Active » Needs review
Parent issue: » #3220021: [meta] Ensure compatibility of Drupal 9 with PHP 8.1 (as it evolves)
FileSize
8.02 KB

This is fantastic! Finally we don't have laminas/laminas-zendframework-bridge in as a dependency of our dependencies. That means faster autoloading for all as we have way less autoloaders running.

Also...

$ composer why-not php 8.1
There is no installed package depending on "php" in versions not matching 8.1
alexpott’s picture

Issue tags: +PHP 8.1
longwave’s picture

Status: Needs review » Reviewed & tested by the community

Great! Glad to be rid of laminas/laminas-zendframework-bridge - we did the switch from Zend to Laminas in 8.9.x so we don't need the BC layer, all our downstream users should be on Laminas already.

  • catch committed c814f74 on 9.3.x
    Issue #3238201 by alexpott, longwave: Update dependencies for 9.3.x
    
catch’s picture

Status: Reviewed & tested by the community » Fixed
Issue tags: +9.3.0 release notes

Agreed we can drop the zend bridge, pretty sure only one or two modules would have been relying on it when it first went in too. Tagging for release notes so this definitely gets flagged though.

Committed c814f74 and pushed to 9.3.x. Thanks!

alexpott’s picture

Issue summary: View changes

Updated the release note to contain what to do in the very unlikely case that your project depends on Zend classes.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.