-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow phpoffice/phpspreadsheet 2.0+ also #4164
base: 3.1
Are you sure you want to change the base?
Allow phpoffice/phpspreadsheet 2.0+ also #4164
Conversation
Yes, there are no major differences between "require": {
"phpoffice/phpspreadsheet": "^2.1.0",
},
"provide": {
"phpoffice/phpspreadsheet": "1.29"
}, Will test this pull request too, but so far it seems good! |
I think I hit one compatibility issue:
|
Is there any update on this @patrickbrouwers? |
No update, as I mentioned in previous PR attempts and questions. This will be done in the 4.0 release which has no eta |
Understood, thanks for the update. :) |
I have same compatibility issue:
|
49252af
to
349afde
Compare
@patrickbrouwers given that there are two reported vulnerabilities with the version being used currently, is it possible to just put in a patch for this package while the rest wait for v4? The cross-site scripting vulnerability is considered moderate Is there some work required to get this fix in? we can help out with that. |
We'll first see if the backport PHPOffice/PhpSpreadsheet#4154 gets merged |
Solution if your pipelines depend on this to be resolved. It seems it will not be done so soon. So just use proper composer.config.audit.ignore like this in your "config": {
"audit": {
"ignore": {
"CVE-2024-45048": "https://github.com/SpartnerNL/Laravel-Excel/pull/4164",
"CVE-2024-45046": "https://github.com/SpartnerNL/Laravel-Excel/pull/4164"
}
}
}, |
Do we have any progress on this? |
Kinda crazy this is ongoing IMO. I had a pretty important app. using this package with two exports. Decided to migrate them to a simple .CSV file. Unfortunately I couldn't get the above |
Our CI/CD was stuck on |
Ignoring the CVEs does not work for me because I have roave/security-advisories in
So far it is working fine, will only switch back to main repo after the CVEs fixed (hope that we do not need to wait for v4 :) |
Because v2 contains breaking changes (https://github.com/PHPOffice/PhpSpreadsheet/blob/master/CHANGELOG.md#breaking-change) that I want to check. Just don't have the time for it right now. |
It's being handled by phpspreadsheet: PHPOffice/PhpSpreadsheet#4154 (comment) Please be patient, it's open source, nobody is paying PhpSpreadsheet to handle this with priority or even having to do the backport. |
Laravel Excel now requires 1.29.1 which has the security fix |
@patrickbrouwers Thank you!!!! |
1️⃣ Why should it be added? What are the benefits of this change?
Newer versions of
phpoffice/phpspreadsheet
(2.x) exist and someone might need to use those2️⃣ Does it contain multiple, unrelated changes? Please separate the PRs out.
No.
3️⃣ Does it include tests, if possible?
Some tests were modified as needed for different behavior on 1.x and 2.x
4️⃣ Any drawbacks? Possible breaking changes?
None detected nor expected.
5️⃣ Mark the following tasks as done:
6️⃣ Thanks for contributing! 🙌