-
Notifications
You must be signed in to change notification settings - Fork 476
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
Warn about jQuery.nodeName removal #246
Comments
This can't be implemented until core refactors to eliminate internal calls to jQuery.nodeName. Otherwise it will throw warnings even if there are no uses in user code. |
Internal callers have been fixed in jquery/jquery@ac9e301 and released in 3.2.0. |
Right but in general we have said that jQuery Migrate 3.x works with jQuery 3.x. If you used an older jQuery than 3.2 it would be throwing warnings frequently. Is that considered okay? In the past we tried to avoid that. |
It also complicates our test matrix since we couldn't test Migrate 3.2 with a jQuery older than 3.2 and assert no warnings. |
@dmethvin I agree 3.x/3.x compat should be kept. It's our responsibility to keep that flexibility supported to reduce user confusion and upgrade smoothness. If we do want to add the warnings before Migrate 4, it would have to involve a version check. Personally, I the complexity of a version check is worth it. The earlier the better. It would give platforms like WordPress and MediaWiki the opportunity to warn about these methods much earlier to end-users; instead of only after jQuery 4 is released. The more users we (indirectly) enable to comfortably migrate early, the better our position is to change things in the jQuery 4 API for the benefit of everyone. ⇒ Continuing at #254 |
See jquery/jquery#3475. To be removed in 4.0.
The text was updated successfully, but these errors were encountered: