select2 v4.1.0-beta.0 Release Notes

Release Date: 2020-04-20 // over 4 years ago
  • ๐Ÿ’ฅ 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/matcher module
    • โœ‚ Removed undocumented CSS-related options (#5815)
      • Removed dropdownCss option
      • Removed adaptDropdownCss option
      • Removed containerCss option
      • Removed adaptContainerCss option
    • The containerCssClass option has been renamed to selectionCssClass (#5815)

    ๐Ÿ†• New features / improvements

    • ๐Ÿ— dropdownCssClass and selectionCssClass are now available in all builds of Select2 (#5815)
    • Calls to get the currently selected options are now considerably faster on large datasets (#5775)

    ๐ŸŒ Translations

    • โž• Add Esperanto translation (eo) (#5823)
    • โž• Add Punjabi translations (pa) (#5831)

    Miscellaneous

    • ๐Ÿ— The amdLanguageBase option 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!