- 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 (MR) 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 or merging the MR, will allow the Project Update Bot โ to post additional Drupal 11 compatibility fixes as they become available in Drupal Rector.
Debug information
Bot run #11-217342These packages were used to generate the fixes:
- drupal/upgrade_status: 4.3.4
- mglaman/phpstan-drupal: 1.2.11
- palantirnet/drupal-rector: 0.20.3
- Status changed to RTBC
5 months ago 6:16pm 13 August 2024 - First commit to issue fork.
- ๐ฆ๐บAustralia acbramley
Opened https://git.drupalcode.org/project/views_data_export/-/merge_requests/45 and resolved issues with tests.
- ๐ฆ๐บAustralia acbramley
acbramley โ changed the visibility of the branch project-update-bot-only to hidden.
- ๐บ๐ธUnited States emptyvoid
The patch does not appear to address all of the issues identified in the code audit.
[notice] Processing /srv/drupal/hudoig-d10/dev/code/hudoigd10/docroot/modules/contrib/views_data_export. ================================================================================ Views Data Export, 8.x-1.4 Scanned on Mon, 09/16/2024 - 13:38 FILE: modules/contrib/views_data_export/src/Plugin/views/display/DataExport.php STATUS LINE MESSAGE -------------------------------------------------------------------------------- Ignore 749 Fetching deprecated class constant EXISTS_REPLACE of interface Drupal\Core\File\FileSystemInterface. Deprecated in drupal:10.3.0 and is removed from drupal:12.0.0. Use Drupal\Core\File\FileExists::Replace instead. -------------------------------------------------------------------------------- FILE: /srv/drupal/hudoig-d10/dev/code/hudoigd10/vendor/symfony/deprecation-contracts/f unction.php STATUS LINE MESSAGE -------------------------------------------------------------------------------- Check manually 25 Since twig/twig 3.12: Getting node "filter" on a "Twig\Node\Expression\FilterExpression" class is deprecated. -------------------------------------------------------------------------------- Check manually 25 Since twig/twig 3.12: Getting node "filter" on a "Twig\Node\Expression\FilterExpression" class is deprecated. -------------------------------------------------------------------------------- Check manually 25 Since twig/twig 3.12: Getting node "filter" on a "Twig\Node\Expression\FilterExpression" class is deprecated. -------------------------------------------------------------------------------- Check manually 25 Since twig/twig 3.12: Getting node "filter" on a "Twig\Node\Expression\FilterExpression" class is deprecated. -------------------------------------------------------------------------------- Check manually 25 Since twig/twig 3.12: Getting node "filter" on a "Twig\Node\Expression\FilterExpression" class is deprecated. -------------------------------------------------------------------------------- Check manually 25 Since twig/twig 3.12: Not passing an instance of "TwigFunction" when creating a "render_var" function of type "Twig\Node\Expression\FunctionExpression" is deprecated. -------------------------------------------------------------------------------- FILE: modules/contrib/views_data_export/views_data_export.info.yml STATUS LINE MESSAGE -------------------------------------------------------------------------------- Check manually 5 Value of core_version_requirement: ^9 || ^10 is not compatible with the next major version of Drupal core. See https://drupal.org/node/3070687. --------------------------------------------------------------------------------
- ๐บ๐ธUnited States emptyvoid
Created patch properly addressing all incompatible classes and functions.
Now Drupal 11 compliant.Tested in existing build and export functions as designed on D10 and D11.
- ๐ฆ๐บAustralia acbramley
Fixed in the MR, patches are dead so push fixes to the MR instead.
- ๐ซ๐ทFrance mably
Successfully tested on Drupal 11 PHP 8.3.
I think it's ready for a 2.x release...
This is an automated patch generated using Upgrade Status and Drupal Rector. Please see the issue summary for more details. A merge request (MR) 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 or merging the MR, will allow the Project Update Bot โ to post additional Drupal 11 compatibility fixes as they become available in Drupal Rector.
Debug information
Bot run #11-321467These packages were used to generate the fixes:
- drupal/upgrade_status: 4.3.6
- mglaman/phpstan-drupal: 1.3.1
- palantirnet/drupal-rector: 0.20.3
This is an automated patch generated using Upgrade Status and Drupal Rector. Please see the issue summary for more details. A merge request (MR) 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 or merging the MR, will allow the Project Update Bot โ to post additional Drupal 11 compatibility fixes as they become available in Drupal Rector.
Debug information
Bot run #11-321467These packages were used to generate the fixes:
- drupal/upgrade_status: 4.3.6
- mglaman/phpstan-drupal: 1.3.1
- palantirnet/drupal-rector: 0.20.3
- ๐ฆ๐นAustria maxilein
Upgrade_status also reports this:
File name Line Error
web/modules/contrib/views_data_export/src/Plugin/views/display/DataExport.php 838 Call to deprecated method setCellValueByColumnAndRow() of class PhpOffice\PhpSpreadsheet\Worksheet\Worksheet: 1.23.0 Use the setCellValue() method with a cell address such as 'C5' instead;, or passing in an array of [$columnIndex, $row] (e.g. [3, 5]), or a CellAddress object. - ๐บ๐ธUnited States BenStallings
Thanks, @maxilein, MR!45 now incorporates that change.
- First commit to issue fork.
- ๐ฌ๐งUnited Kingdom steven jones
Which merge request do we want to merge here?
- ๐บ๐ธUnited States BenStallings
@steven jones MR!53 does not incorporate the fix on MR!45. MR!45 is the one we should consider for merge.
- ๐ฌ๐งUnited Kingdom steven jones
Great.
Looking at the pipelines on your MR...they are failing because of trying to install with Drupal 11 at the moment.
Ideally we'd have a pipeline for each of our core versions we support, if d.o supports doing such a thing, anyone know?
- ๐ฌ๐งUnited Kingdom steven jones
I've added the automated test for Drupal 10, and now we can see that the Drupal 11 tests are failing because there's not a version of https://www.drupal.org/project/xls_serialization โ that's compatible with Drupal 11 yet.
- ๐ฎ๐ณIndia rahul1707
rahul17 โ made their first commit to this issueโs fork.
- ๐ฎ๐ณIndia rahul1707
I have committed deprecation fixes in MR !53 and also verified functionality in Drupal 10.3 and Drupal 11. Found no error in upgrade status as well. Also verified PHP 8.3 compatibility. Everything looks good to me.
Changing status to needs review. Kindly review and merge changes.
- ๐ฌ๐งUnited Kingdom steven jones
Thanks everyone for pushing this one along. @mably are you able to make a new release of Excel Serialization โ module? Then we won't need the awkward workarounds to get the testing to pass.
- ๐ง๐ฌBulgaria pfrenssen Sofia
Excel Serialization is now D11 compatible, ๐ Drupal 11 compatability Active got committed!
- ๐ซ๐ทFrance mably
xls_serialization 8.x-1.6, compatible with Drupal 11, has been released!
https://www.drupal.org/project/xls_serialization/releases/8.x-1.6 โ
- ๐ฌ๐งUnited Kingdom steven jones
steven jones โ changed the visibility of the branch 3459698-d11_ready to hidden.
-
steven jones โ
committed dbc02086 on 8.x-1.x authored by
acbramley โ
Issue #3459698 by project update bot, steven jones, acbramley,...
-
steven jones โ
committed dbc02086 on 8.x-1.x authored by
acbramley โ
- ๐ฌ๐งUnited Kingdom steven jones
Thanks for everyone's patience here.
Leaving this issue open so we benefit from further input from @Project Update Bot
- ๐ฌ๐งUnited Kingdom steven jones
Ah shoot.
8.x-1.5rc1
isn't compatible with Drupal 9 eh? Because we're using the newFileExists
class.Boo. I'll cut a
8.x-2.0
asap. - ๐ฆ๐บAustralia mstrelan
You don't need a new major to drop D9 support. But if you decide to do that anyway you might like to take the chance to move to semver and cut 2.0.0
If you want D9 users to be happy ideally you should release 8.x-1.6 that rolls back the breaking change and restore it in 8.x-1.7 with a constraint on D10+. That will give the smoothest update path for all users.
- Merge request !56Issue #3459698 by steven jones: Add a BC layer for Drupal 10.2 and below. โ (Merged) created by steven jones
- Assigned to steven jones
- Status changed to Needs work
2 months ago 12:39pm 22 November 2024 - ๐ฌ๐งUnited Kingdom steven jones
It's not compatible with Drupal 10.2 either, let's get a simple BC layer in.
-
steven jones โ
committed 5295b828 on 8.x-1.x
Issue #3459698 by project update bot, steven jones, acbramley,...
-
steven jones โ
committed 5295b828 on 8.x-1.x
- ๐ฌ๐งUnited Kingdom steven jones
Merged that BC layer in too.
Leaving this issue open so we benefit from further input from @Project Update Bot
- ๐ฌ๐งUnited Kingdom steven jones
Cut a full release: https://www.drupal.org/project/views_data_export/releases/8.x-1.5 โ
-
steven jones โ
committed 5295b828 on 8.x-2.x
Issue #3459698 by project update bot, steven jones, acbramley,...
-
steven jones โ
committed 5295b828 on 8.x-2.x
-
steven jones โ
committed dbc02086 on 8.x-2.x authored by
acbramley โ
Issue #3459698 by project update bot, steven jones, acbramley,...
-
steven jones โ
committed dbc02086 on 8.x-2.x authored by
acbramley โ