- Issue created by @project update bot
This is an automated patch generated using Upgrade Status and Drupal Rector. Please see the issue summary for more details. A merge request is also openend and updated.
It is important that any automated tests available are run and that you manually test the changes.
Drupal 11 Compatibility
According to the Upgrade Status module → , even with these changes, this module is not yet compatible with Drupal 11.
Currently Drupal Rector, version 0.20.1, cannot fix all Drupal 11 compatibility problems.
Therefore these changes did not update the
info.yml
file for Drupal 11 compatibility.Leaving this issue open, even after committing the current patch, will allow the Project Update Bot → to post additional Drupal 11 compatibility fixes as they become available in Drupal Rector.
Debug info
Bot run #11-120024This patch was created using these packages:
- drupal/upgrade_status: 4.1.0
- mglaman/phpstan-drupal: 1.2.7
- palantirnet/drupal-rector: 0.20.1
This is an automated patch generated using Upgrade Status and Drupal Rector. Please see the issue summary for more details. A merge request is also openend and updated.
It is important that any automated tests available are run and that you manually test the changes.
Drupal 11 Compatibility
According to the Upgrade Status module → these changes make this module compatible with Drupal 11! 🎉
Therefore these changes update theinfo.yml
file for Drupal 11 compatibility.Leaving this issue open, even after committing the current patch, will allow the Project Update Bot → to post additional Drupal 11 compatibility fixes as they become available in Drupal Rector.
Debug info
Bot run #11-120835This patch was created using these packages:
- drupal/upgrade_status: 4.1.0
- mglaman/phpstan-drupal: 1.2.7
- palantirnet/drupal-rector: 0.20.1
- Status changed to RTBC
5 months ago 8:18pm 2 August 2024 - 🇨🇦Canada floydm
This patch seems to be all that is necessary to get barcode working under D11.
There is one test failure, but I see that test failing in D10 too. The error:
Drupal\Tests\barcodes\Functional\BarcodeBlockTest::testBarcodeFormat with data set "PNG display format." ('PNG', '023130', '')
Behat\Mink\Exception\ExpectationException: The string "" was not found anywhere in the HTML response of the current page.Could we get a D11 compatible release soon?
- Status changed to Active
5 months ago 9:26pm 2 August 2024 - 🇺🇸United States tr Cascadia
No, there's more to D11 compatibility than just adding ||^11 to the .info.yml. And it has to be done in a way that doesn't break compatibility with other Drupal core versions.
D11 support will come in the 2.1.x branch. See 📌 Update external barcodes library tecnickcom/tc-lib-barcode Needs review .
I am working on it and have made most of the necessary changes locally, but I haven't pushed them out yet. I have a lot of modules that I maintain that I am upgrading to D11, so it will take a while for me to finish them all.
- 🇨🇦Canada floydm
Just adding ^11 was enough to get it to work for me today in a vanilla D11 install. I tried a handful of barcode formats on a short text field and they worked fine, then I tried running the tests where I got the same failure as I get under D10. Obviously not exhaustive testing, but an option for folks (like me) with simple use cases.
Thanks for your work on the library upgrade.
- Status changed to Closed: outdated
4 months ago 12:28am 24 August 2024 - 🇺🇸United States tr Cascadia
The 2.1.x branch has been passing the D11 and D10 tests since at least 3 August. A 2.1.0 release will be made as soon as ✨ Change the extension from svg to png using |barcode Needs review is finished and after the documentation guide at https://www.drupal.org/docs/extending-drupal/contributed-modules/contrib... → has had a little more work done on it.
Until then, anyone who needs this module for Drupal 11 should use the -dev release for 2.1.0.