Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: timmywil/jquery-migrate
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: main
Choose a base ref
...
head repository: jquery/jquery-migrate
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: main
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 12 commits
  • 43 files changed
  • 3 contributors

Commits on Feb 18, 2025

  1. Build: upgrade dependencies, including jtr@0.2.5

    - updated sinon to the latest version that supports IE11
    - updated eslint to latest 8.x
    - updated uglify-js to latest and added `ie` argument to `minify()`
    
    Closes jquerygh-563
    timmywil authored Feb 18, 2025
    Configuration menu
    Copy the full SHA
    272fb66 View commit details
    Browse the repository at this point in the history

Commits on Mar 2, 2025

  1. Build: Bump the github-actions group with 2 updates

    Bumps the github-actions group with 2 updates: [actions/cache](https://github.com/actions/cache) and [github/codeql-action](https://github.com/github/codeql-action).
    
    Closes jquerygh-565
    
    Updates `actions/cache` from 4.2.0 to 4.2.2
    - [Release notes](https://github.com/actions/cache/releases)
    - [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
    - [Commits](actions/cache@1bd1e32...d4323d4)
    
    Updates `github/codeql-action` from 3.28.8 to 3.28.10
    - [Release notes](https://github.com/github/codeql-action/releases)
    - [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
    - [Commits](github/codeql-action@dd74661...b56ba49)
    
    ---
    updated-dependencies:
    - dependency-name: actions/cache
      dependency-type: direct:production
      update-type: version-update:semver-patch
      dependency-group: github-actions
    - dependency-name: github/codeql-action
      dependency-type: direct:production
      update-type: version-update:semver-patch
      dependency-group: github-actions
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Mar 2, 2025
    Configuration menu
    Copy the full SHA
    b276616 View commit details
    Browse the repository at this point in the history

Commits on Mar 3, 2025

  1. Configuration menu
    Copy the full SHA
    868e11d View commit details
    Browse the repository at this point in the history

Commits on Apr 1, 2025

  1. Build: Bump the github-actions group with 3 updates

    Bumps the github-actions group with 3 updates: [actions/setup-node](https://github.com/actions/setup-node), [actions/cache](https://github.com/actions/cache) and [github/codeql-action](https://github.com/github/codeql-action).
    
    Closes jquerygh-567
    
    Updates `actions/setup-node` from 4.2.0 to 4.3.0
    - [Release notes](https://github.com/actions/setup-node/releases)
    - [Commits](actions/setup-node@1d0ff46...cdca736)
    
    Updates `actions/cache` from 4.2.2 to 4.2.3
    - [Release notes](https://github.com/actions/cache/releases)
    - [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
    - [Commits](actions/cache@d4323d4...5a3ec84)
    
    Updates `github/codeql-action` from 3.28.10 to 3.28.13
    - [Release notes](https://github.com/github/codeql-action/releases)
    - [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
    - [Commits](github/codeql-action@b56ba49...1b549b9)
    
    ---
    updated-dependencies:
    - dependency-name: actions/setup-node
      dependency-version: 4.3.0
      dependency-type: direct:production
      update-type: version-update:semver-minor
      dependency-group: github-actions
    - dependency-name: actions/cache
      dependency-version: 4.2.3
      dependency-type: direct:production
      update-type: version-update:semver-patch
      dependency-group: github-actions
    - dependency-name: github/codeql-action
      dependency-version: 3.28.13
      dependency-type: direct:production
      update-type: version-update:semver-patch
      dependency-group: github-actions
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Apr 1, 2025
    Configuration menu
    Copy the full SHA
    e18ffd0 View commit details
    Browse the repository at this point in the history

Commits on Apr 14, 2025

  1. Core: Provide a package.json exports setup inspired by jQuery Core

    The Migrate setup is simpler than Core as it doesn't have the slim or factory
    versions, but the core ideas are similar.
    
    Fixes jquerygh-524
    Closes jquerygh-566
    Ref jquery/jquery#5255
    Ref jquery/jquery#5429
    mgol authored Apr 14, 2025
    Configuration menu
    Copy the full SHA
    94ab4c5 View commit details
    Browse the repository at this point in the history
  2. Core: Make migrateWarnProp/etc. not return props for disabled patches

    Changes:
    1. Make `migrateWarnProp` / `migratePatchAndWarnFunc` and other similar
       functions not return the APIs when patches are disabled. Previously,
       `migrateWarnProp` would only stop printing warnings but the API would still
       be patched, while `migratePatchAndWarnFunc` would return a noop function
       instead of `undefined`.
    2. Don't warn just on access of `jQuery.fn.push`, etc., but when it's called.
    3. Rename some internal methods.
    
    Closes jquerygh-571
    mgol authored Apr 14, 2025
    Configuration menu
    Copy the full SHA
    0ea1015 View commit details
    Browse the repository at this point in the history

Commits on Apr 28, 2025

  1. Build: Make browser tests correctly run on multiple jQuery versions

    There was a typo in `jtr-local.yml`, making the runs using it load with a huge
    query string containing all the jQuery versions listed joined.
    
    Also, only IE and Safari runs even tried to use this config - the default run
    was not even reading the BROWSERS env variable.
    
    This all meant only one jQuery version was actually tested.
    
    Closes jquerygh-575
    Ref jquerygh-576
    mgol authored Apr 28, 2025
    Configuration menu
    Copy the full SHA
    99dbd0e View commit details
    Browse the repository at this point in the history
  2. Deferred: Don't warn on setting getStackHook to the getErrorHook value

    Don't warn if `jQuery.Deferred.getStackHook` is set to the value of
    `jQuery.Deferred.getErrorHook`. This is to facilitate plugins supporting both
    jQuery <3.7 and older without triggering Migrate warnings and without requiring
    complex logic parsing `jQuery.fn.jquery`.
    
    Closes jquerygh-577
    Ref jquerygh-578
    mgol authored Apr 28, 2025
    Configuration menu
    Copy the full SHA
    94fbdb3 View commit details
    Browse the repository at this point in the history

Commits on May 4, 2025

  1. Build: Bump the github-actions group with 2 updates

    Bumps the github-actions group with 2 updates: [actions/setup-node](https://github.com/actions/setup-node) and [github/codeql-action](https://github.com/github/codeql-action).
    
    Closes jquerygh-580
    
    Updates `actions/setup-node` from 4.3.0 to 4.4.0
    - [Release notes](https://github.com/actions/setup-node/releases)
    - [Commits](actions/setup-node@cdca736...49933ea)
    
    Updates `github/codeql-action` from 3.28.13 to 3.28.16
    - [Release notes](https://github.com/github/codeql-action/releases)
    - [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
    - [Commits](github/codeql-action@1b549b9...28deaed)
    
    ---
    updated-dependencies:
    - dependency-name: actions/setup-node
      dependency-version: 4.4.0
      dependency-type: direct:production
      update-type: version-update:semver-minor
      dependency-group: github-actions
    - dependency-name: github/codeql-action
      dependency-version: 3.28.16
      dependency-type: direct:production
      update-type: version-update:semver-patch
      dependency-group: github-actions
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored May 4, 2025
    Configuration menu
    Copy the full SHA
    ed1ae5f View commit details
    Browse the repository at this point in the history

Commits on May 5, 2025

  1. Data: Patch $._data as well

    Also, extract the util to patch a prototype as we'll need it in the event
    module as well.
    
    Closes jquerygh-569
    Ref jquerygh-570
    mgol authored May 5, 2025
    Configuration menu
    Copy the full SHA
    b1c0d14 View commit details
    Browse the repository at this point in the history

Commits on May 12, 2025

  1. Event: Patch jQuery.event.global

    The API has been write-only since 1.9.0 and is going to be removed
    in jQuery 4.0.0.
    
    Also:
    * make it more explicit why certain patches are tested in the context of
      `jQuery.migrateDisablePatches` & related APIs
    * fix an erroneous future tense in a few warnings
    
    Closes jquerygh-574
    mgol authored May 12, 2025
    Configuration menu
    Copy the full SHA
    b1e0990 View commit details
    Browse the repository at this point in the history
  2. Event: Patch jQuery.event.special's prototype

    Allow to use common `Object.prototype` properties on `jQuery.event.special` but
    warn as well.
    
    Closes jquerygh-573
    Fixes jquerygh-542
    mgol authored May 12, 2025
    Configuration menu
    Copy the full SHA
    8f5205e View commit details
    Browse the repository at this point in the history
Loading