-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Closed
Labels
Description
This is an issue to track the progress on implementing the RFC386 to remove jQuery by default.
Work items
Deprecation phase (3.x)
ember.js
- add a (universal, non-silenceable) deprecation warning to
Ember.$()
🔒@simonihmig, PR: Add deprecation for Ember.$() #17489 - add a deprecation warning to
this.$()
in anEmber.Component
🔒@simonihmig, PR: Add deprecation for this.$() in curly components #17488 - make sure user sees deprecation warning of jQuery integration itself, i.e. neither the
jquery-integration
optional feature flag is set to false nor@ember/jquery
has been installed.
🔒@simonihmig, PR: [INTERNAL] Improve jQuery deprecation message ember-cli/ember-cli#8399 - wrap all jQuery related code for svelte
🔒@simonihmig, PR: Add svelte support for jQuery deprecations #17525
@ember/jquery
- Add support for
Component.$()
🔒@simonihmig, WIP PR: Add support for Component.$() as part of RFC386 ember-jquery#27 - Add jQuery-based EventDispatcher replacement
🔒@simonihmig, WIP PR: WIP: Add jQuery-based event dispatcher as part of RFC386 ember-jquery#31 - Make
import $ from 'jquery';
work
🔒@simonihmig, PR: Add jQuery shim as part of RFC386 ember-jquery#33
ember-cli
- Update app blueprint, stage 1: Update
@ember/jquery
to latest version
PR: blueprints: Update dependencies ember-cli/ember-cli#8396 - Update app blueprint, stage 2: remove jQuery
🔒@CyrilleR, PR: Remove jQuery from app blueprint ember-cli/ember-cli#8394
@ember/test-helpers
- Add a deprecation warning to
this.$()
in component integration tests, based onsetupRenderingTest()
🔒@simonihmig, PR: Add deprecation for this.$ in rendering tests ember-test-helpers#543
ember-cli-babel
- Do not transpile
import $ from 'jquery';
toEmber.$
if the right version of@ember/jquery
is present
🔒@simonihmig, PR: Avoid transpiling jquery module to Ember.$ if @ember/jquery is present ember-cli-babel#261
ember-data
- Make ember-data work with ember-fetch
🔒@tchak PR: [FEAT fetch] use ember-fetch instead of jQuery data#5386
ember-fetch
- Provide a replacement API for jQuery's
prefilter
Website
- Add a deprecation guide
🔒@simonihmig PR: Deprecation guide for jQuery removal ember-learn/deprecation-app#255
Removal phase (4.0)
ember.js
- remove deprecated functions
- remove the jQuery specific code paths in the EventDispatcher
Collaboration
If someone wants to start work on a specific item, please post this here so I can update the list.
CvX, dcyriller, SergeAstapov, josemarluedke, hakubo and 5 morePoslinskiNet, josemarluedke, nlfurniss, topaxi and artemgurzhiijosemarluedke, nlfurniss, dcyriller and topaxi