Skip to content

[2.7] Validator API: 2.4 version is gone, configuring API version is deprecated #4804

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

Closed
weaverryan opened this issue Jan 9, 2015 · 7 comments
Labels
actionable Clear and specific issues ready for anyone to take them. Validator Waiting feedback
Milestone

Comments

@weaverryan
Copy link
Member

See symfony/symfony#13338 (and there will be other work later, potentially to simplify further: symfony/symfony#13338 (comment)).

At the very least, I believe in 2.7, 2.5-bc will be available to all users, since the PHP minimum version has been bumped.

@xabbuh
Copy link
Member

xabbuh commented Jan 10, 2015

part of this will be covered with #4807

@wouterj wouterj added actionable Clear and specific issues ready for anyone to take them. Validator labels May 3, 2015
@wouterj
Copy link
Member

wouterj commented May 3, 2015

Ref #4094

@weaverryan
Copy link
Member Author

See symfony/symfony#14016. The 2.4 validator API is removed in 2.7 AND the 2.5-bc mode (and the whole configurability of the API version) was deprecated.

@weaverryan weaverryan added this to the 2.7 milestone May 23, 2015
@weaverryan weaverryan changed the title [2.7] Validator API changes [2.7] Validator API: 2.4 version is gone, configuring API version is deprecated May 23, 2015
@stof
Copy link
Member

stof commented Jun 6, 2015

Actually, the 2.5-BC mode is the only way in 2.7 (i.e. having the new API and the BC layer available at the same time). The only reason for the 2.5-BC vs 2.5 (which is actually the 3.0 API) madness was because we wanted to avoid bumping the requirement to 5.3.9 in 2.5 (which actually was a mistake IMO)

@weaverryan
Copy link
Member Author

@stof it certainly caused a lot of confusion :).

So now in 2.7, it functions like every other feature: it has a new way, and the old way exists, but is deprecated. Very simple.

@javiereguiluz
Copy link
Member

I'm confused: is there anything left to do in the validator docs? Thanks!

@javiereguiluz
Copy link
Member

I'm closing this as no longer relevant ... but if I'm wrong, please reopen ir. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
actionable Clear and specific issues ready for anyone to take them. Validator Waiting feedback
Projects
None yet
Development

No branches or pull requests

5 participants