Select2: jQuery deprecation

Created on 19 Feb 2018  路  3Comments  路  Source: select2/select2

Hi

jQuery are deprecating a couple of functions currently used in select2: (.camelCase and .isFunction) as noted here: [http://blog.jquery.com/2018/01/19/jquery-3-3-0-a-fragrant-bouquet-of-deprecations-and-is-that-a-new-feature/].
Is this something to worry about?

stale

All 3 comments

For the context, it happens when using jQuery 3.x and use the jquery-migrate.js plugin to know the breaking changes.

When using Select2 and jQuery 3.x, the jquery migration plugin give us some more deprecations warnings, such as:

captura de pantalla 2018-08-30 a las 12 29 57

Acording to the documentation:

Items listed as deprecated and removed must be changed before the code will work properly without the Migrate plugin. Items listed as only deprecated are still supported by the current version but no longer considered a good practice

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Hopefully the @stale bot will re-open this issue? It is quite an annoyance when trying to bring a project up to jQuery 3.4 compatibility using the jQuery Migrate tool.

Was this page helpful?
0 / 5 - 0 ratings