Skip to content

All: Mark ajax event shorthands as deprecated in 3.5, not 3.3 #1268

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

Merged
merged 1 commit into from
Mar 3, 2025

Conversation

mgol
Copy link
Member

@mgol mgol commented Feb 16, 2025

jQuery 3.3.0 deprecated regular event shorthands:
https://blog.jquery.com/2018/01/19/jquery-3-3-0-a-fragrant-bouquet-of-deprecations-and-is-that-a-new-feature/ The AJAX ones only got deprecated in 3.5:
https://blog.jquery.com/2020/04/10/jquery-3-5-0-released/

Interstingly, the AJAX shorthands were already added to the deprecated/deprecated-3.5 category, only the deprecated attribute was set incorrectly.

jQuery 3.3.0 deprecated regular event shorthands:
https://blog.jquery.com/2018/01/19/jquery-3-3-0-a-fragrant-bouquet-of-deprecations-and-is-that-a-new-feature/
The AJAX ones only got deprecated in 3.5:
https://blog.jquery.com/2020/04/10/jquery-3-5-0-released/

Interstingly, the AJAX shorthands were already added to the
`deprecated/deprecated-3.5` category, only the `deprecated` attribute was set
incorrectly.
@mgol mgol self-assigned this Feb 16, 2025
@mgol mgol removed the Needs review label Mar 3, 2025
@mgol mgol merged commit 635f5ff into jquery:main Mar 3, 2025
3 checks passed
@mgol mgol deleted the ajax-events-deprecation branch March 3, 2025 17:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants