Skip to content

[QUEST] Remove jQuery #17476

Closed
Closed

Description

@simonihmig

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

@ember/jquery

ember-cli

@ember/test-helpers

ember-cli-babel

ember-data

ember-fetch

  • Provide a replacement API for jQuery's prefilter

Website

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.

Activity

  1. rwjblue commented on Jan 12, 2019

    @rwjblue
    Member

    Thanks for putting the meta issue together @simonihmig!

  2. simonihmig commented on Jan 14, 2019

    @simonihmig
    ContributorAuthor

    @chriskrycho you mentioned in Discord that you could take over the ember-fetch/prefilter part. Is this still the case, can I assign you to this task? 👆

  3. chriskrycho commented on Jan 14, 2019

    @chriskrycho
    Contributor

    Depends on when we want it done by. I'm starting a new job two weeks from today (very much still in Ember land), so I'm in wrapping-up-all-the-things mode now and will be in starting-all-the-things mode for the first couple weeks after that. I'm happy to do it, but given all fo that it'll probably be the second or third week of February before it's viable.

  4. bobisjan commented on Jan 15, 2019

    @bobisjan
    Contributor

    Thanks for this issue 👏!

    I have a question if FastBoot should be included in this quest with deprecating and removing

  5. rwjblue commented on Jan 23, 2019

    @rwjblue
    Member

    @simonihmig - We need to add svelte support to the deprecations added in #17489 and #17488. The basic process is:

    • add an entry in packages/@ember/deprecated-features/index.ts
    • import that constant and use it to wrap all deprecated code paths in an if (I think this actually means all code that would be using the preexisting jQueryDisabled flag also gets the new guard)

    Some recent examples:

  6. dcyriller commented on Feb 1, 2019

    @dcyriller
    Contributor

    @simonihmig you may want to add a lock on the item: "Update app blueprint"

  7. simonihmig commented on Feb 1, 2019

    @simonihmig
    ContributorAuthor

    @dcyriller cool, done! 👍

    I am just thinking, switching the app blueprints to remove jQuery by default is certainly blocked by the outstanding ember-data issue. If that is not resolved by the time Ember 3.9 lands, we should probably do an intermediate step and update the blueprints to just bump the @ember/jquery version to 0.6.0, so an ember new app does not see any deprecations. And then switch to no jQuery mode as soon as ember-data is ready. @rwjblue agree?

  8. dcyriller commented on Feb 2, 2019

    @dcyriller
    Contributor

    @simonihmig understood! By chance, ember-cli/ember-cli#8396 would implement this intermediate step.

  9. rwjblue commented on Feb 2, 2019

    @rwjblue
    Member

    @simonihmig agree, I think that’s being done in ember-cli/ember-cli#8396

  10. simonihmig commented on Feb 12, 2019

    @simonihmig
    ContributorAuthor

    Closing this in favor of emberjs/rfc-tracking#3!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions