
"Twenty years after its introduction, the jQuery team has released version 4.0.0. The first major release in almost 10 years brings significant improvements, modernizations, and breaking changes. Many users can upgrade with minimal changes to their code. Version 4.0.0 is intended to mark a new phase for the JavaScript library. The release follows a long development cycle with several pre-releases. The breaking changes are changes that the team has wanted to implement for years but was unable to do so in patch or minor releases."
"Version 4.0 drops support for Internet Explorer 10 and older. IE 11 will continue to be supported for the time being, but will disappear in jQuery 5.0. The team has opted for a phased approach. Edge Legacy, iOS versions older than the last three, Firefox versions older than the last two (except Firefox ESR), and Android Browser are also no longer supported."
"The library does add support for Trusted Types and Content Security Policy. HTML wrapped in TrustedHTML can now serve as input for jQuery manipulation methods without violating the require-trusted-types-for CSP directive. Most asynchronous script requests now use <script> tags instead of inline scripts to avoid CSP errors. The jQuery source on the main branch has been migrated from AMD to ES modules. This makes the library compatible with modern build tools, development workflows, and browsers."
jQuery 4.0.0 modernizes the library with ES modules, Rollup builds, and improved compatibility with modern tooling and browsers. The release removes long-deprecated and complex legacy APIs and behaviors, including many utility functions. Support for Internet Explorer 10 and older, Edge Legacy, older iOS and Firefox versions, and Android Browser has been dropped; IE11 will be removed in jQuery 5.0. Trusted Types and Content Security Policy are supported, allowing TrustedHTML inputs and using script tags for async requests to avoid CSP errors. An upgrade guide and a jQuery Migrate plugin are available to ease migration and handle breaking changes.
Read at Techzine Global
Unable to calculate read time
Collection
[
|
...
]