jquery / jquery/api.jquery.com

3.0 Deprecations and removals

Open
#970 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
HTML
Stars
325
Forks
260
PR merge metrics
No merged PRs in 30d

Description

I'll list them all here including ones we've already completed or may not need to address, just to make sure none slip through the cracks. Per https://jquery.com/upgrade-guide/3.0/ we have these:

Deprecated
  • jQuery.fx.interval (PR #969)
  • .toggleClass() and .toggleClass(Boolean)
  • jQuery.unique renamed to jQuery.uniqueSort
  • jQuery.parseJSON
  • .ready() signatures other than jQuery( fn )
  • easing parameters (issue #766)
  • .bind() and .delegate() (PR #948)
  • jQuery.expr[":"] and jQuery.expr.filters (issue #1224)
Removed
  • jQuery().context and .selector (needs change to text, see #1030)
  • .andSelf()
  • jqXHR.success, .error, and .complete (there's proper text at https://api.jquery.com/jQuery.ajax/#jqXHR)
  • $(document).on("ready", fn) (never documented?)
  • .load(), .unload(), and .error() (tweaked in #1223 to separate event descriptions from shorthand pages)
  • event.pageX and event.pageY normalization (not sure we need changes)
Features
  • jQuery.escapeSelector
  • jQuery.ready promise-consumable (issue #205, PR #983 (was: #530))
  • jQuery.Deferred Promises/A+ compat
  • jQuery.when() consumes thenables (issue #921)
  • .animate() uses requestAnimationFrame
  • settings argument signature for jQuery.get() and .post() (showing 1.12?)
  • SVG support for .addClass(), .removeClass(), and .toggleClass() (showing 1.12?)

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Review the unchecked entries against the jQuery 3.0 upgrade guide, especially jQuery.expr[":"] and jQuery.expr.filters, Deferred Promises/A+ compatibility, jQuery.when() thenables, and requestAnimationFrame animation. Use the linked issues and existing checklist entries to determine the remaining documentation changes; done means every applicable item is resolved or explicitly accounted for.

Written by the indexing model from the issue text.

Assessment

Tech stack
jquery
Domain
documentation
Issue type
Documentation
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.