-
-
Notifications
You must be signed in to change notification settings - Fork 269
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
Upgrade to ServiceManager 4 #834
Comments
This and #833 are on hold pending laminas-cache 4.0.0 |
https://github.com/laminas/laminas-cache-storage-adapter-redis/blob/3.1.x/composer.json#L12 There is a release for the redis adapter but not on the filesystem and memory adapters that DoctrineModule uses. This major relesae is delayed until we can get a working Here's how that looks today: https://github.com/TomHAnderson/DoctrineModule/blob/feature/composer-versions/composer.json |
Id recommend not requiring explicit adapters, but only laminas-cache. recent major does not require an Adapter anymore. let projects decide which adapters they need. There will be support in those adapters at some time but that should not affect this repo imho |
The approach I'd like to take for a new major release is modifying the application rather than rewriting it. I appreciate the ideas for cache adapters. But there are more places in Laminas that don't support one another.
These are just two examples. You can see the whole list by removing the cache adapters from the composer.json and trying to update vendors. @boesing what approach would you recommend? I want this library to stay true to Laminas but Laminas is a slow-moving framework that doesn't keep up with itself. |
Laminas is slow moving as there was a lack of contributions. If u have a need for these libraries to support SM v4, you could start with contributing that migration. Frameworks live from contributions. Regarding As far as I can see, neither internationalization nor session stuff is frequently used in mezzio and since laminas-mvc will get abandoned in a foreseeable future, I doubt that these components will get bumped to SM v4 at all. The doctrine module depends on A few suggestions from my side:
This is just an idea on how I'd try to tackle this problem. From my perspective, this component should totally focus on providing easy implementation of doctrine into a project.
Having more specialized features such as I am not available for further discussion as I do start new job with symfony and thus do not have a need for this. Just wanted to give some ideas while my knowledge is still "fresh" (as stated, I used to use this component). Thus said, I wish u all the best. In case you need some more assistance, etc. - feel free to head out in laminas slack or on github (issues are always welcome). |
Validator is now stopping a clean composer.json. https://github.com/laminas/laminas-validator/milestone/5 is in active development. |
Hello @boesing can you elaborate or point to a source for the abandoning of laminas-mvc? |
Not exactly as it is not 100% decided right now. but I recommend following TSC meetings in laminas slack for upcoming decisions. |
Hi, @boesing Don't get me wrong, I know the amount of work involved for laminas-mvc. However, for many of us (I am around since ZF 0.2) it would be a huge hassle to find out suddenly not just that they cant upgrade to SM 4 (quite important upgrade) but also that laminas-mvc is gonna be abandoned. Basically the migration out of laminas-mvc needs to be hurried a lot if this decision is made before SM4 upgrade. Better so we know it after 4.x is released. Not upgrading will hold off a lot of other packages to older versions. |
Thanks @boesing . That is very sad to hear, because I quite like laminas-mvc and how its working. Sadly if it gets abandoned we have to migrate away from it. |
@cbichis @MatthiasKuehneEllerhold
This means: Nothing has been decided yet! |
By the way, I have a few suggestions that go in a different direction: 1. Kill the dependency on module managerThe direct dependency on the module manager can be killed because the interface does not necessarily have to be used: Lines 7 to 12 in ece0803
2. Kill the dependency on service managerThe direct dependency on the service manager can be killed because the interfaces for the factories do not necessarily have to be used. 3. Kill the dependency on laminas-mvcUse laminas-cli to create the Doctrine CLI support and laminas-mvc is no longer needed as a direct dependency. A config provider class is already available so that support for Mezzio is provided. However, the MVC components must still be installed. If these dependencies are removed, the full functionality for laminas-mvc is still retained. (Please correct me if I have overlooked something.) |
There are strong ties to laminas form. We will require a new release: https://github.com/laminas/laminas-form/milestone/16 |
Before laminas-form can be update, the following components must be reworked:
See also: laminas/laminas-servicemanager#216 Help is welcome at any time! 😃 👍🏻 |
@TomHAnderson this milestone was closed. |
No description provided.
The text was updated successfully, but these errors were encountered: