Skip to content
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

Process NEXT_MAJOR hints for "Add pre batch action event" #7620

Conversation

7ochem
Copy link
Contributor

@7ochem 7ochem commented Nov 25, 2021

Subject

A pre batch action event was added to 4.x through #7579. This PR processes all the NEXT_MAJOR comments for 5.x for this specific feature.

I am targeting this branch, because this has been implemented in a backwards compatible manner in 4.x and has been forward merged into 5.x. This PR changes that backwards compatibility into a BC break: Introducing the new preBatchAction() method in the AdminExtensionInterface.

Changelog

### Changed
- Introducing the new `preBatchAction()` method in the AdminExtensionInterface.

To do

VincentLanglet
VincentLanglet previously approved these changes Nov 26, 2021
@jordisala1991
Copy link
Member

You should add this to the upgrade 5.0 file instead of the changelog. Maybe the file is not even created, take a look at how we did for 4.0

A pre batch action event was added to 4.x through sonata-project#7579. This
processes all the NEXT_MAJOR comments for 5.x for this specific
feature
@7ochem 7ochem force-pushed the process-next-major-hints-for-pre-batch-action-event branch from 62abb28 to f1390f8 Compare November 26, 2021 09:47
@7ochem
Copy link
Contributor Author

7ochem commented Nov 26, 2021

You should add this to the upgrade 5.0 file instead of the changelog. Maybe the file is not even created, take a look at how we did for 4.0

I've added the UPGRADE-5.0 guide in #7621 and appended a section about this change in this PR.

I think the changelog should also contain a line about this change because it actually introduces the new/real method instead of just having an annotation.

@VincentLanglet VincentLanglet requested a review from a team November 26, 2021 09:58
@VincentLanglet VincentLanglet merged commit 29b6811 into sonata-project:5.x Nov 26, 2021
@7ochem 7ochem deleted the process-next-major-hints-for-pre-batch-action-event branch November 26, 2021 13:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants