Open betterapp opened 1 year ago
In 3.5 this problem will be fixed. With this version also PHP >= 7.3 is supported again.
hmmm. but I have this problem when try to upgrade to 3.3 also. So 3.3 and 3.4 version does not work on pim < 10 ? We still use pimcore 6.9.
When 3.5 version will be released ? Will this fix be applied only to version 3.5 or 3.4 and 3.3 also ?
I could update to 3.4 but needed to remove composer.lock file.
So 3.3 and 3.4 version does not work on pim < 10 ?
No, it does not work with PHP < 8.0, independent of Pimcore version. So either upgrade PHP, then it should work - or already use 3.5.x-dev. The compatiblity fix will only get applied to 3.5 and up.
3.5 is planned to be released at end of September.
But in what context it does not work with PHP <8 In context of using PHP 8 composer's packages or in context of using specific things from PHP 8 in DataDirector's code ?
It is strange that 3.2 >= PHP 7.3 3.3, 3.4 >= PHP 8.0 3.5 >= PHP 7.3
Data Director code itself is completely compatible with PHP 7. But libraries are not, especially there was a problem with league/flysystem-sftp-v3
. This requires "phpseclib/phpseclib": "^3.0". So in the end there was some conflict with flysystem/flystem
's libraries and the above ones. But my goal is always to support as many PHP / Symfony / Pimcore versions as possible and thus in 3.5 I have implemented SFTP differently.
But when I removed composer.lock and installed DD 3.4 version, composer generated new composer.lock file without any problems so in this case composer could find the right package versions - right ?
Which composer.lock did you remove? The one in vendor/blackbit/data-director should actually not matter.
You should always update Data Director with the --with-dependencies
(or -w
) option:
composer update blackbit/data-director --with-dependencies
This way Composer will try to update also libraries which Data Director depends on and thus find a suitable set of versions. When you deleted your composer.lock in Picmore root folder, you actually did the same but this way you will update ALL libraries (incl. Pimcore, Symfony etc.)
3.5 is planned to be released at end of September.
Will it be released and when ? @BlackbitDevs
Branch 3.5 is now compatible with Pimcore 11. Currently we are testing it and soon it will be released. Of course we would appreciate if you could also test it and maybe report potential issues.
Which tag should I use for testing ?
Currently there is no tagged version. For testing you can use branch 3.5 (= Composer version constraint 3.5.x-dev
). Soon this will get released as 3.5.
When I try to update DD from 3.2 to 3.4 I got such composer issue.
Trying to fix it.