jquery-migrate icon indicating copy to clipboard operation
jquery-migrate copied to clipboard

A development tool to help migrate away from APIs and features that have been or will be removed from jQuery core

Results 31 jquery-migrate issues
Sort by recently updated
recently updated
newest added

~~NOTE: Wait for https://github.com/jquery/jquery/pull/5564 to land before merging this PR.~~ Migrate the jQuery Core CONTRIBUTING.md, applying Migrate-specific changes. Fixes gh-486 Fixes gh-492 Ref jquery/jquery#5564

Needs review

Also: 1. Create the selector module in Migrate. 2. Migrate some selector patches from `core` to `selector`. Fixes gh-544

Needs review

Ref https://github.com/jquery/jquery/pull/5137

Has Pull Request

Since 4.0, `.data()` no longer inherits from Object.prototype; the same applies to the `events` object from the private data store. We should not restore the old behavior as that will...

See #474. `jQuery.UNSAFE_restoreLegacyHtmlPrefilter` is a deprecated API; the replacement is: ```js jQuery.migrateEnablePatches( "self-closed-tags" ) ```

So far, the patch was only warning about the automatic promotion, but it wasn't filling the behavior back to jQuery 4+. This has been fixed.

Needs review

The API has been replaced by `jQuery.Deferred.getErrorHook`; the legacy name will be removed in jQuery 4.0.0. Fixes gh-483

Needs review

See https://github.com/jquery/jquery/wiki/jQuery-4-exports-explainer The Migrate setup would likely be simpler, maybe we can avoid the factory mode, there's no slim mode, etc., but some of that would still translate back here.

TODO before landing this: - [ ] Swap the Core blog post link for the RC 1 one - [ ] Run `npm install` and commit `package-lock.json` changes after Core...

Needs review
Discuss in Meeting
4.x-only