Skip to content

[Form] Remove BC layer from ResizeFormListener #60952

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

Open
wants to merge 4 commits into
base: 8.0
Choose a base branch
from

Conversation

OskarStark
Copy link
Contributor

Q A
Branch? 8.0
Bug fix? no
New feature? no
Deprecations? no
Issues --
License MIT

@carsonbot carsonbot added this to the 8.0 milestone Jun 29, 2025
@OskarStark OskarStark force-pushed the remove-resizeformlistener-bc-layer branch from 54b564b to 237d06d Compare June 30, 2025 06:43
Copy link
Member

@xabbuh xabbuh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The testPreSetDataResizesForm() test also needs to be removed (I wonder why the tests don't fail)

@OskarStark
Copy link
Contributor Author

The testPreSetDataResizesForm() test also needs to be removed (I wonder why the tests don't fail)

Done

@OskarStark OskarStark force-pushed the remove-resizeformlistener-bc-layer branch from 237d06d to 45281ac Compare June 30, 2025 07:02
@xabbuh
Copy link
Member

xabbuh commented Jun 30, 2025

The "Verify Packages" failure also looks related. :)

@OskarStark OskarStark force-pushed the remove-resizeformlistener-bc-layer branch from 45281ac to f8ddd36 Compare June 30, 2025 07:43
@OskarStark
Copy link
Contributor Author

The "Verify Packages" failure also looks related. :)

Indeed, done, thanks

- Remove deprecated preSetData() method
- Remove BC properties overridden and usePreSetData
- Update postSetData() to only accept PostSetDataEvent parameter
- Fix tests to use PostSetDataEvent instead of FormEvent
- Remove tests for deprecated preSetData method (testPreSetDataResizesForm, testPreSetDataRequiresArrayOrTraversable, testPreSetDataDealsWithNullData)
- Remove symfony/deprecation-contracts dependency as it's no longer needed
- Add CHANGELOG and UPGRADE-8.0.md entries
@OskarStark OskarStark force-pushed the remove-resizeformlistener-bc-layer branch from f8ddd36 to 4afda18 Compare July 1, 2025 09:11
@OskarStark
Copy link
Contributor Author

Rebased

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants