From 64460dac2ff6b9e4ed858928184cd119b6958b2b Mon Sep 17 00:00:00 2001 From: Timmy Willison Date: Thu, 11 May 2023 14:32:04 -0400 Subject: [PATCH 01/20] Build: Updating the 3.x-stable version to 3.7.1-pre. --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 517dad7f8f..7483ce02a7 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "jquery", "title": "jQuery", "description": "JavaScript library for DOM operations", - "version": "3.7.0-pre", + "version": "3.7.1-pre", "main": "dist/jquery.js", "homepage": "https://jquery.com", "author": { From b473729d0e6086b00ad72aa1e9f8f1d8ff159669 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Go=C5=82=C4=99biowski-Owczarek?= Date: Mon, 22 May 2023 16:21:35 +0200 Subject: [PATCH 02/20] Build: Test on Node.js 20, stop testing on Node.js 14 & 19 Closes gh-5250 (cherry picked from commit 6616acff0a6c144c3eac3afae8578085bd325834) --- .github/workflows/node.js.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index bd296f1b69..38a81d2afd 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -13,7 +13,7 @@ jobs: matrix: # Node.js 10 is required by jQuery infra # Do not remove 16.x until jsdom tests are re-enabled on newer Node.js versions. - NODE_VERSION: [10.x, 14.x, 16.x, 18.x, 19.x] + NODE_VERSION: [10.x, 16.x, 18.x, 20.x] NPM_SCRIPT: ["test:browserless"] include: - NAME: "Browser tests: full build, Chrome, Firefox & WebKit" From 7287894f1ac2aa25796008f1e39053969690c22f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Go=C5=82=C4=99biowski-Owczarek?= Date: Mon, 22 May 2023 18:23:19 +0200 Subject: [PATCH 03/20] Deprecated: Define `.hover()` using non-deprecated methods Make the deprecated `.hover()` method not rely on other deprecated methods: `.mouseenter()` & `.mouseleave()`. Use `.on()` instead. Closes gh-5251 (cherry picked from commit fd6ffc5eb2c12562f2656d2f33865448420252be) --- src/deprecated/event.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/deprecated/event.js b/src/deprecated/event.js index d46a3b87cd..4c6e60c10d 100644 --- a/src/deprecated/event.js +++ b/src/deprecated/event.js @@ -28,7 +28,9 @@ jQuery.fn.extend( { }, hover: function( fnOver, fnOut ) { - return this.mouseenter( fnOver ).mouseleave( fnOut || fnOver ); + return this + .on( "mouseenter", fnOver ) + .on( "mouseleave", fnOut || fnOver ); } } ); From 992a66538b535d24c9ba46c3a4492665943b40c7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Go=C5=82=C4=99biowski-Owczarek?= Date: Wed, 31 May 2023 18:57:13 +0200 Subject: [PATCH 04/20] Docs: Remove the "Grunt build" section from the PR template Now that unit tests are run on GitHub Actions in all three major engines and for multiple custom jQuery builds, the request for PR authors to run unit tests locally and confirm they pass is needless overhead; let's drop the checkbox. Closes gh-5261 (cherry picked from commit 988a56847de301ce18a653f84b07c5af432a269f) --- .github/PULL_REQUEST_TEMPLATE.md | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index 828672208e..ec0910b10e 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -11,7 +11,6 @@ Mark an `[x]` for completed items, if you're not sure leave them unchecked and w --> * [ ] New tests have been added to show the fix or feature works -* [ ] Grunt build and unit tests pass locally with these changes * [ ] If needed, a docs issue/PR was created at https://github.com/jquery/api.jquery.com