-
-
Notifications
You must be signed in to change notification settings - Fork 42
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
DEPRECATE REST APIs #1465
Comments
Which APIs do you mean? REST? |
👍
👎 This will bring other problems. If you just require Might relate to this issue: #537 |
api-bundle will be in sugesstion section for each bundle where it is possible to use with conflict to set minimum api-bundle version.
Simmilar but here dependencies are diffrence third part bundles. in admin dependencies are one ower bundle. |
With @jordisala1991, we're currently discussing a lot about the Media bundle which has Rest API, and the issue with the duplicate code in datagridBundle and adminBundle. In the media bundle
If we split this, we have to
It requires some work but would be a nice way to stop using datagridBundle in our admin-related bundles. |
The new strategy is to deprecate the REST API sonata-project/SonataMediaBundle@e985c2c We should list them all |
Updated. |
I remove ecommerce an NewsBundle, since they are abandoned and will not get major releases. |
Deprecating/Removing the REST Api will allow to remove the datagrid-bundle dependency for the next majors. |
SonataNotification and SonataUser is not yet abandoned, so we should still deprecate the rest API |
We font wanna release these bundles in Sonata 4, so it is no reason to deprecate ReST API for them. They will be deprecated as whole bundle. |
SonataNotification is not related to SonataAdmin, and a major could be created if needed if it helps people to migrate, dunno. Maybe they will be deprecated/abandoned, but currently there are not. |
As far, UserBundle and Notification are not abandoned so we should still deprecate the rest API. |
And as mention in #1714 (comment) We should deprecate the API-Rest, all the method getPager and all the PageableManager extension. |
Do you think it is needed to deprecate NotificationBundle API? It will be deprecated when pagerbundle drops its usage (and it is required for next major) Otherwise we can close this issue, the rest of the api are deprecated and removed. |
Let's close it then. |
There is sonata-project/SonataPageBundle#1238 to remove NotificationBundle from PageBundle |
Now we have a lot of problems with keeps APIs like:
My solution is move APIs to seperate bundle or bundles. This will move all dependencies require to REST API to seperate bundle and allow us ignire it in 4.0 milestones.
For example:
IMO we should do it in one bundle
sonata-project/api-bundle
.WDYT? @sonata-project/contributors
TODO:
Deprecate REST API in stable branch:
Remove REST API in unstable branch:
Bundles that we will not be deprecating the api (abandoned)
The text was updated successfully, but these errors were encountered: