
Inventory plugins, browser requirements and user journeys before choosing a maintenance upgrade or incremental removal.
Find out what actually needs jQuery
On 17 November 2026, jQuery shipped 4.1.0 alongside 3.8.0. The two releases create a practical decision for sites that still depend on the library. Both releases include a selector security fix. The project says future 3.x updates will be limited to critical security fixes and critical bug fixes. That makes a 3.x update a way to buy time while you test 4.x or remove individual dependencies.
Inventory the code you own, the plugins and CMS themes that assume a global jQuery instance, and the pages that load them. A handful of event handlers and a payment form with an old validation plugin call for different plans. Observe what loads on checkout and other authenticated or conditional routes as well as the home page.
Choose the smallest change that buys something
Suppose a site uses jQuery in a menu and a date-picker plugin. Replacing the menu handler can be a small change if the behavior is clear. Retiring the date picker may also require keyboard navigation, focus handling, locale rules and form integration. Treat that as replacement work with its own acceptance criteria.
If a plugin blocks the major upgrade, check whether updating it is enough and whether any required browsers constrain the choice. Compare that work with taking the maintenance update on the 3.x line while removing the cheaper call sites. The jQuery 4.0 migration guide covers major-version changes that a team coming from 3.x needs to consider.
Check the journeys before deleting the script
Try the menu on keyboard and touch, and confirm focus returns to the opener after closing. For the date picker, check manual input, errors, and submission after a date is cleared. If a page adds form elements after load, exercise those elements too. Delegated handlers and plugin initialization can behave differently when markup arrives later.
Remove the dependency page by page if your template and bundler allow it. Check the network and console on the updated pages, then repeat the actual user journey. A clean console by itself says little about a handler that never ran.
Use the inventory to decide
The menu and date picker are hypothetical. Browser coverage and plugin compatibility depend on the versions, templates and journeys your site actually ships.
I recommend upgrading when the remaining dependencies have usable supported versions and removing jQuery where the replacement has a clear behavioral check. If a critical plugin remains the blocker, give its replacement its own scope and rollout.

