Skip to content

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

Merged
mgol merged 1 commit into
jquery:mainfrom
mgol:ajax-events-deprecation
Mar 3, 2025
Merged

All: Mark ajax event shorthands as deprecated in 3.5, not 3.3#1268
mgol merged 1 commit into
jquery:mainfrom
mgol:ajax-events-deprecation

Conversation

@mgol
Copy link
Copy Markdown
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
@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