Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade jQuery to 3.3.1 #4507

Merged
merged 3 commits into from
Jan 26, 2018
Merged

Upgrade jQuery to 3.3.1 #4507

merged 3 commits into from
Jan 26, 2018

Conversation

edmundoa
Copy link
Contributor

Also bump dependencies relying on jQuery (currently only toastr has a new bugfix version).

As this is a long version jump and there are many changes in jQuery as you can see in the release notes for 3.0, 3.1, 3.2, and 3.3.

Fortunately for us, 3.0 was developed with backwards compatibility in mind, so most of the changes that affect us are deprecations. On the other hand, most of the jQuery code we run is coming through 3rd party plugins, so we may have some problems to get fixes in them.

As recommended, I'm running the web interface with the jQuery Migrate plugin to be able to see deprecations and changes we need to address.

Edmundo Alvarez added 3 commits January 23, 2018 15:38
Also bump dependencies relying on jquery, although currently only toastr
had a new version.
Also try to make code more readable.
@ghost ghost assigned edmundoa Jan 23, 2018
@ghost ghost added the in progress label Jan 23, 2018
@edmundoa
Copy link
Contributor Author

Apart from the changes in the PR, I saw deprecation warnings using the jQuery migrate plugin in toastr, typeahead, and jquery-ui. So far we cannot address those warnings since we are already using the latest version of those libraries.

From my point of view this is ready to be reviewed, I think we should focus our efforts in moving away from the few jQuery plugins we use instead of fixing those deprecations.

@edmundoa edmundoa added this to the 3.0.0 milestone Jan 24, 2018
@kmerz
Copy link
Member

kmerz commented Jan 26, 2018

I like what you did here :)

@kmerz kmerz merged commit 65bb2c8 into master Jan 26, 2018
@kmerz kmerz deleted the upgrade-jquery branch January 26, 2018 08:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants