Breaking changes
- The minimum jQuery version supported is the latest version in the 1.x, 2.x, and 3.x series (#5225)
- Removed support for legacy Internet Explorer (versions older than IE 11) (#5834)
- Removed modules deprecated in 4.0.0 (#5815)
- Removed legacy support for
<input />tags - Removed legacy support for
initSelection - Removed legacy support for
query - Removed old
select2/compat/matchermodule
- Removed legacy support for
- Removed undocumented CSS-related options (#5815)
- Removed
dropdownCssoption - Removed
adaptDropdownCssoption - Removed
containerCssoption - Removed
adaptContainerCssoption
- Removed
- The
containerCssClassoption has been renamed toselectionCssClass(#5815)
New features / improvements
dropdownCssClassandselectionCssClassare now available in all builds of Select2 (#5815)- Calls to get the currently selected options are now considerably faster on large datasets (#5775)
Translations
Miscellaneous
- The
amdLanguageBaseoption no longer has an effect because the full build does not include any dynamically loaded modules (#5815)
Select2 is a looking for sponsors to keep development active. Interested in seeing Select2 continue to be developed? Sponsor @kevin-brown (and by extension, Select2) on GitHub Sponsors or sponsor Select2 on Open Collective!