Composer Dependency Changed bug PR-5.3-dev Failure

User tests: Successful: 0 Unsuccessful: 0

avatar Hackwar
Hackwar
22 Dec 2024

Partial Pull Request for Issue #44504. (DO NOT CLOSE ORIGINAL ISSUE)

Summary of Changes

wamania/php-stemmer depended on voku/portable-utf8 which seems to have been abandoned and also is a gigantic library. Coincidentally, our joomla/string package has all necessary features for the stemmer, so wamania accepted a PR to switch to our library instead. This PR updates our dependency to version 4.0. Since we unfortunately still have the hard requirement for voku/portable-utf8 in our composer.json, this doesn't change anything in codesize, but it does help with the notices being thrown in PHP 8.4.

Testing Instructions

Codereview.

Link to documentations

Please select:

  • Documentation link for docs.joomla.org:

  • No documentation changes for docs.joomla.org needed

  • Pull Request link for manual.joomla.org:

  • No documentation changes for manual.joomla.org needed

avatar Hackwar Hackwar - open - 22 Dec 2024
avatar Hackwar Hackwar - change - 22 Dec 2024
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 22 Dec 2024
Category External Library Composer Change
avatar Hackwar Hackwar - change - 22 Dec 2024
Labels Added: Composer Dependency Changed bug PR-5.3-dev
26bb4b3 22 Dec 2024 avatar Hackwar fixes
avatar rdeutz
rdeutz - comment - 10 Jan 2025

This was discussed in the maintainer meeting and is implementing the change we discussed.

avatar Hackwar
Hackwar - comment - 25 Jan 2025

Conflict has been fixed.

avatar laoneo laoneo - change - 27 Jan 2025
Status Pending Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2025-01-27 06:41:49
Closed_By laoneo
avatar laoneo laoneo - close - 27 Jan 2025
avatar laoneo laoneo - merge - 27 Jan 2025
avatar laoneo
laoneo - comment - 27 Jan 2025

Thanks!

avatar laoneo
laoneo - comment - 27 Jan 2025

Can you document this in the manual. @HLeithner can tell you exactly in which document.

avatar Hackwar
Hackwar - comment - 27 Jan 2025

What do we need to document here? There is no difference between the old and new version from our perspective, since we are still shipping with the utf8 library and the only difference between the stemmer version 3 and 4 is, that 4 uses our Joomla String framework class. I don't see what benefit an entry for this in the manual would have.

avatar HLeithner
HLeithner - comment - 27 Jan 2025

It might be useful to document all updates on direct dependencies.

avatar laoneo
laoneo - comment - 27 Jan 2025

Agree here with Harald, we should at least document the major dependency upgrades.

Add a Comment

Login with GitHub to post a comment