jQuery 4 coming to DC (Jira 12, Confluence 11, Bitbucket 11, Bamboo 13, Crowd 8)

New major releases of all Data Center products are in the works: Announcing upcoming major releases for Atlassian Data Center

We are upgrading from jQuery 3 to 4 in Jira 12, Confluence 11, Bitbucket 11, Bamboo 13, and Crowd 8. jQuery migrate will also be removed. Much frontend code depends on jQuery and we expect this will require upgrade work in apps (e.g. P2 plugins) and custom integrations with a frontend.

We consider this a breaking change and thus do not plan to backport to existing LTS releases.

This is to continue to meet customers’ demands for secure & compliant products. We must be proactive in this upgrade because of how much our products and apps depend on it. We had many requests in the past to upgrade from jQuery 2 to 3, especially when there were vulnerabilities found in jQuery.

As we learn more and refine developer tooling to assist with the work, we will update the developer documentation

Many of the changes can be prepared for in a way that’s backwards compatible with v3 so as many (compatible) changes as possible will also be backported to the LTS versions of Jira (11.3), Confluence (10.2), Bamboo (12.1) and to the latest versions of Bitbucket 10 and Crowd 7. The intention is to make it easier to test your app without having to worry about unrelated breaking changes.

Similarly, AUI 10.1 adds support for jQuery 4.

We will continue to provide jQuery web-resources and we ask developers to use them so that if needed we can roll out security patches as quickly as possible.

We are still early on in upgrading the Data Center products themselves. Future EAP versions will come with jQuery 4, but this might not arrive in the first few versions.

We have not currently noticed any JS behaviour nor signature changes that would affect apps. Please let us know if you spot something, and we will document it.

2 Likes

Data Center will never die :face_holding_back_tears:

6 Likes