Webflow sites will be published using jQuery version 3.3.1 starting in March 2018

Starting on March 1st, 2018, newly published Webflow sites will include the latest version of jQuery (v3.3.1). Previously, Webflow sites were published using jQuery v2.2.0.

In most cases, this change will not have any effect on published Webflow sites. However, if you have made use of custom jQuery code and or jQuery plugins within your published sites, then you could potentially notice an issue. But not to worry. The jQuery team has made upgrading from 2.x to 3.x painless when using the jQuery Migrate 3.x plugin. After March 1st, by including the migrate plugin in the Custom Code, Footer Code input for a site the browser console will notify you of any issues.

Adding the migrate plugin will get you special migration logging messages in the console, informing you of issues that might occur when moving from 2.x to 3.x. You have it correctly installed when you see the following notice in the console:

Additional details about moving from jQuery 2.x. to 3.x. can be found in the official, “jQuery Core 3.0 Upgrade Guide”.

Now, if this does affect you, and you are feeling like we moved your cheese and well all you want is your cheese back in the same place? Well, we understand and have an escape hatch for you. After March 1st if you’d like to remain using jQuery v2.2.0 (recent is v2.2.3) you can override our newer version of jQuery by adding v2.2.0 back to your site.

Simply place the following <script ...></script> in the Custom Code, Footer Code input box found in the site settings.

<script src="https://code.jquery.com/jquery-2.2.0.min.js" integrity="sha256-ihAoc6M/JPfrIiIeayPE9xjin4UWjsx2mjW/rtmxLM4=" crossorigin="anonymous"></script>

By doing this you will have overwritten the new version of jQuery we’re updating on March 1st and will have returned to the former versioned used by Webflow. Note that doing this before March 1st isn’t necessary.

13 Likes

Bumping this thread so people are aware of this update that will be happening tomorrow :smiley:

6 Likes

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.