news.volyx.in

jQuery 4 (blog.jquery.com)

811 points by OuterVale · 185 days ago · 299 comments on HN

Article summary

The jQuery team has released jQuery 4.0.0, a major update that brings improvements and modernizations to the JavaScript library. This release drops support for Internet Explorer 10 and older, as well as other outdated browsers, and includes breaking changes such as the removal of deprecated APIs and internal-only methods. The update also adds support for Trusted Types and improves compatibility with modern build tools and browsers. An upgrade guide and jQuery Migrate plugin are available to assist with the transition.

Main themes

  • jQuery 4.0 release
  • Browser support
  • Legacy software
  • Upgrade and compatibility
  • Security and maintenance

What commenters say

  • Some users are surprised that jQuery 4.0 still supports Internet Explorer 11, despite its age and planned deprecation in jQuery 5.0.
  • Others argue that supporting older browsers is necessary for backwards compatibility and to accommodate users who are stuck with outdated systems.
  • There is disagreement over whether dropping support for older browsers is a good idea, with some arguing it is necessary for progress and others claiming it will leave some users behind.
  • Some commenters share anecdotes about encountering old software and browsers in various industries and settings, highlighting the challenges of maintaining compatibility.
  • It is suggested that the decision to support IE 11 may be enabling companies to continue using outdated systems, rather than incentivizing them to upgrade.
  • Others point out that mobile devices are upgraded more frequently than desktops, and that iOS 16 is still a relatively modern and secure platform compared to IE 11.
  • There are differing opinions on whether the jQuery team should prioritize supporting older browsers or focus on modernizing the library for newer systems.
  • Some argue that the decision to delay dropping IE 11 support until jQuery 5.0 was likely made to avoid delaying the 4.0 release, and that it may be a pragmatic choice given the library's semantic versioning policy.