BT

jQuery 3.3.1 out, Team Preps for 4.0

| by David Iffland Follow 4 Followers on Jan 31, 2018. Estimated reading time: 1 minute |

jQuery has pushed out version 3.3.1, a new minor version with a new feature and several deprecations in preparation for jQuery 4.0.

In a blog post, jQuery core team lead Timmy Willison says that the focus of jQuery has started to lean towards removing features:

Generally, jQuery is not looking to add anything new. We tend to focus more on what we can remove rather than what we can add.

That being said, version 3.3 does include a single new feature which enables .addClass(), .removeClass(), and .toggleClass() to accept an array of classes. There are also a number of deprecations to prepare developers for removal in jQuery 4.0. Some methods now deprecated include .now, .isWindow, and .camelCase. Willison writes that in jQuery a deprecation does not necessarily mean guaranteed removal:

We do not consider the deprecation of a method to mean that it will be removed; it means that we encourage the use of alternatives.

To clarify, many of the deprecations will be removed, but some will remain indefinitely.

Willison mentions these deprecations in the context of jQuery 4.0, but there is not much information available on this future version. In a GitHub issue, Willison describes some of the goals for jQuery 4.0 include a "complete rewrite using next generation JavaScript" and a new jQuery 4.0 Event Design. There are numerous issues on the GitHub issue tracker labeled 4.0, though many of them are from 2016.

jQuery is still a very popular JavaScript library, yet its use is polarizing. Some say that jQuery is no longer needed and that developers can program for the modern web without it. While true, others, like Remy Sharp, say that jQuery is still relevant and worth learning in today's web:

jQuery is prolific in today's web and there's an extremely high chance that you'll use it in your career. You certainly don't need jQuery today. Nor do you need to learn jQuery. However, jQuery is far from dead, dying, outdated or irrelevant. It serves many developers from many different walks of life.

Rate this Article

Adoption Stage
Style

Hello stranger!

You need to Register an InfoQ account or or login to post comments. But there's so much more behind being registered.

Get the most out of the InfoQ experience.

Tell us what you think

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread
Community comments

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

Discuss

Login to InfoQ to interact with what matters most to you.


Recover your password...

Follow

Follow your favorite topics and editors

Quick overview of most important highlights in the industry and on the site.

Like

More signal, less noise

Build your own feed by choosing topics you want to read about and editors you want to hear from.

Notifications

Stay up-to-date

Set up your notifications and don't miss out on content that matters to you

BT