-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[PropertyInfo] remove deprecations, mark TypeInfo as experimental #54789
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please check the CHANGELOG of the component and the root UPGRADE file, they should have mentions about these also
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1 when the CHANGELOG and UPGRADE files will be up to date.
This PR was merged into the 7.1 branch. Discussion ---------- [TypeInfo] mark classes as experimental | Q | A | ------------- | --- | Branch? | 7.1 | Bug fix? | no | New feature? | no | Deprecations? | no | License | MIT This is following a discussion on slack with authors of the component, I feel that the TypeInfo component should have an experimental phase as we need to prove the component's functionality on software that is built on top of type information extraction. Here's a non-exhaustive list of software using the PropertyInfo Type class (thanks to `@mtarld`): - api-platform/core - nelmio/api-doc-bundle - typo3/cms-extbase - typo3/cms - sonata-project/page-bundle - jolicode/automapper - symfony/ux-live-component These softwares should try their best in testing the new TypeInfo component and report back misfunctionalities and/or DX improvements before we can consider this non-experimental. See also #54789 Commits ------- 28b6495 [TypeInfo] mark classes as experimental
ebd9d07
to
08ac161
Compare
I've done the changes in CHANGELOG and UPGRADE files. |
Thank you @soyuka. |
Thanks @fabpot for the changelog |
…acts (xabbuh) This PR was merged into the 7.1 branch. Discussion ---------- [PropertyInfo] remove no longer needed deprecation contracts | Q | A | ------------- | --- | Branch? | 7.1 | Bug fix? | no | New feature? | no | Deprecations? | no | Issues | | License | MIT the dependency was introduced in #53160, but is no longer required since we reverted the deprecations in #54789 Commits ------- 18296cd remove no longer needed deprecation contracts
Follow-up: #56848 |
… (derrabus) This PR was merged into the 7.1 branch. Discussion ---------- [DoctrineBridge] Undeprecate DoctrineExtractor::getTypes() | Q | A | ------------- | --- | Branch? | 7.1 | Bug fix? | yes | New feature? | no | Deprecations? | no | Issues | N/A | License | MIT The deprecation of the `PropertyTypeExtractorInterface::getTypes()` method was taken back in #54789. As long as the method exists on the interface, we cannot remove any implementations. Thus, I'm undeprecating the implementation in `DoctrineExtractor` as well. Commits ------- eb319a2 Undeprecate DoctrineExtractor::getTypes()
Follows #54788 as we can introduce these deprecation back when we feel the component is stable enough. Software like API Platform that heavily relies on the deprecated functionalities will have a really hard time migrating, we don't want to work more then needed and need to know we won't have to do the same work again in the next years.
This also suggest that PropertyInfo can work with or without the new TypeInfo component while it's being experimental.