> There are some changes needed. I'm thinking about creating separate issue for each one because some are indeed issue which are not detected with jQuery2.
If some of this issues are bugs and should be backported to older versions I think we must create a separate issue and fix the issue for released versions.
Here is review36011002 which should allow to use jQuery3.
There are some changes needed. I'm thinking about creating separate issue for each one because some are indeed issue which are not detected with jQuery2.
jQuery 2.x is no more supported now. I could not find the announce but it is stated on the website: https://jquery.com/
I also found that latest Bootstrap v3 release have been fixed to work with jQuery 3.x
So I guess it is time to upgrade.
Even if bootstrap-3.3.7 works with jQuery-3, it does not mean that sao will work with jQuery-3. I strongly discourage to package sao with dependencies that does not respect the declaration. In such case, we will have to reject any issue submitted which uses the wrong dependencies.
Hi Sergi, thanks a lot for having a look at it!
> Sergi Almacellas Abellana <email@example.com> added the comment:
> I just give a quick test on the jQuery migrate plugin and jQuery3. After
> loading the login page I get the following error on the console:
> lower than version 3
> So current bootstrap version is not compatible with jQuery3 and for what I
> see in  bootstrap won't support jQuery3 until version 4, so we must
> migrate the botstrap library to version4 which is still in alpha 
I followed up on Debian and was told, that bootstrap 3.3.7 (which is for some days in testing ) supports jquery3.
As the versioned dependencies just were changed in sao trunk to disregard minor versions, bootstrap should upgrade anyway to at least that version. Could you perhaps run your quick test with upgraded bootstrap again?
I just give a quick test on the jQuery migrate plugin and jQuery3. After loading the login page I get the following error on the console:
So current bootstrap version is not compatible with jQuery3 and for what I see in  bootstrap won't support jQuery3 until version 4, so we must migrate the botstrap library to version4 which is still in alpha 
So for me, we should not do anything until all the libraries have stable support of jQuery3.
* Cédric Krier: " [issue5925] Please update sao to work with jquery3" (Wed, 02
Nov 2016 13:48:33 +0100):
> Cédric Krier <firstname.lastname@example.org> added the comment:
> Ask Debian to support multiple versions of library. This is crazy for a
> distribution to require softwares to migrate to a new major library in few
Debian has limited resources and the support of multiple versions of jquery so
far seems not to be an option.
NB: Debian tries to support releases security-wise for at least 5 years ,
which is quite a challenging task.
Reading the relevant threads gives me the impression, that there could be evtl.
quite few changes to be done in sao. At least it seems that the removed APIs
are deprecated since quite a long time. So it would rather be a move to a
more sane code...
> jQuery 3.x is supposed to be mostly backwards compatible with 1.x,
> however there a few breaking changes such as removal of APIs that were
> already marked as deprecated in 1.x, and change of behaviour on edge
> jQuery 3.0 was release back in June, so in principle affected upstreams
> had at least a few months to deal with any fallout. If that's not the
> case, you can refer upstream to this upgrade guide, which documents the
and from :
> Despite the 3.0 version number, we anticipate that these releases shouldn’t
> be too much trouble when it comes to upgrading existing code. Yes, there are
> a few “breaking changes” that justified the major version bump, but we’re
> hopeful the breakage doesn’t actually affect that many people.
> To assist with upgrading, we have a brand new 3.0 Upgrade Guide. And the
> jQuery Migrate 3.0 plugin will help you to identify compatibility issues in
> your code. Your feedback on the changes will help us greatly, so please try
> it out on your existing code and plugins!
Gilgenmatten 10 A
UStIdNr: DE 142009020
PGP/GnuPG key availabable from any keyserver, ID: 0xD6D09BE48405BBF6
AC29 7E5C 46B9 D0B6 1C71 7681 D6D0 9BE4 8405 BBF6