This repository was archived by the owner on May 13, 2022. It is now read-only.
This repository was archived by the owner on May 13, 2022. It is now read-only.
RFC #0386 - Tracking for Remove jQuery by Default #3
Closed
Description
RFC #0386 - Remove jQuery by Default
Champion: @rwjblue
Expand for Instructions
All teams need to consider a merged RFC to plan any required work. Each team should comment on or edit this with links to issues for the work (or a note to the effect of "No work required").
See the README for more information
See #3 for an example
Under each team, for each repo requiring work for the RFC under that team:
### [repo name](repo url)
- [ ] (issue or pr) description, (issue or pr) link
Remove Repos that do not apply, conversely, there will probably be other repos that need work and should be added.
[Filled out from @simonihmig's Quest issue]
Ember.js Team:
ember.js
- add a (universal, non-silenceable) deprecation warning to
Ember.$()
🔒@simonihmig, PR: Add deprecation for Ember.$() ember.js#17489 - add a deprecation warning to
this.$()
in anEmber.Component
🔒@simonihmig, PR: Add deprecation for this.$() in curly components ember.js#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 ember.js#17525
Removal phase (4.0)
- remove deprecated functions
- remove the jQuery specific code paths in the EventDispatcher
@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/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 Team:
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-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 Team:
ember-data
- Make ember-data work with ember-fetch
🔒@tchak PR: [FEAT fetch] use ember-fetch instead of jQuery data#5386 - reworked fetch support in ember-data (avoid dependency on ember-fetch) [BUGFIX release] Remove ember-fetch dependency. data#6077.
- ensure ember-data's CI tests without jQuery Add a CI job for ember-release with jQuery data#5975
ember-fetch
- Provide a replacement API for jQuery's
prefilter
Learning Team:
Website
- Add a deprecation guide
🔒@simonihmig PR: Deprecation guide for jQuery removal ember-learn/deprecation-app#255 - Prepare the Octane edition to teach that jQuery is not part of the default
- Make sure that Super Rentals works without jQuery enabled
- Write a section for the Release Blog Post of Octane (when we change the blueprints)
guides-source
- remove usages of
import $
,this.$()
, and$.ajax
ember.js
- review API documentation for usage of jQuery
ember-data
- review API documentation for usage of jQuery
Steering Committee:
No work expected