sonata-project / SonataCoreBundle

[deprecated] SonataCoreBundle
MIT License
318 stars 138 forks source link

Migrate CoreBundle to extensions #741

Closed wbloszyk closed 4 years ago

wbloszyk commented 4 years ago

Feature Request

We must consider dropping the CoreBundle in two ways.

In sonata-project bundles

Some CoreBundle classes extends -extensions classes. We can not change CoreBundle to -extensions in sonata-project bundles. We should change extends to class_alias. This will allow change API and drop CoreBundle in sonata-project bundles.

Issue for that is here https://github.com/sonata-project/dev-kit/issues/697

In users projects

User must get information about deprecated in IDE. We must deprecated all CoreBundle classes. Some feature like FormHelper must be drop too becouse form type mapping is not support from 3.0 ?? We should also add "Bridge" to Form and Twig. This will allow resolve release problem. We will release CoreBundle, FormBundle and TwigBundle in one package:

 "sonata-project/core-bundle ":  "3.19"

and this package will be equal to next release:

 "sonata-project/core-bundle ":  "3.20",
 "sonata-project/form-extensions": "0.1",
 "sonata-project/twig-extensions": "0.1"

I prepare v3.19 in 5 RPs:

CoreBundle v3.20:

wbloszyk commented 4 years ago

I finish this issue. RTM.

jordisala1991 commented 4 years ago

This one can be closed right? we can continue on the dev kit issue