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

Release Select2 4.0.6 #5488

Merged
merged 84 commits into from Apr 28, 2019
Merged

Release Select2 4.0.6 #5488

merged 84 commits into from Apr 28, 2019

Commits on May 5, 2016

  1. Fixed bug #4014

    Nadim Afana committed May 5, 2016
    Copy the full SHA
    54e126a View commit details
    Browse the repository at this point in the history

Commits on May 6, 2016

  1. Updated inputData.js

    Nadim Afana committed May 6, 2016
    Copy the full SHA
    7629826 View commit details
    Browse the repository at this point in the history
  2. Reverted a line in base.js regarding tab index.

    Nadim Afana committed May 6, 2016
    Copy the full SHA
    95b1f8b View commit details
    Browse the repository at this point in the history
  3. 4
    Copy the full SHA
    a1dc7f2 View commit details
    Browse the repository at this point in the history
  4. Fixed indentation.

    Nadim Afana committed May 6, 2016
    Copy the full SHA
    6e96571 View commit details
    Browse the repository at this point in the history
  5. Fixed more indentation issues.

    Nadim Afana committed May 6, 2016
    Copy the full SHA
    16e2631 View commit details
    Browse the repository at this point in the history
  6. Fixed EOL to Unix format.

    Nadim Afana committed May 6, 2016
    Copy the full SHA
    fba261c View commit details
    Browse the repository at this point in the history

Commits on May 9, 2016

  1. Added an integration test to ensure issue does not come back in the f…

    …uture.
    Nadim Afana committed May 9, 2016
    Copy the full SHA
    5fd270c View commit details
    Browse the repository at this point in the history
  2. Fixed jshint warnings

    Nadim Afana committed May 9, 2016
    Copy the full SHA
    8663d1b View commit details
    Browse the repository at this point in the history
  3. Fixed line is too long warning for jquery-calls.js

    Nadim Afana committed May 9, 2016
    Copy the full SHA
    b6f0f3a View commit details
    Browse the repository at this point in the history

Commits on Oct 25, 2017

  1. Fix for issue #4632

    julianyus committed Oct 25, 2017
    Copy the full SHA
    b11d6e2 View commit details
    Browse the repository at this point in the history
  2. bump for 4.0.5-rc.0

    alexweissman committed Oct 25, 2017
    Copy the full SHA
    dac0433 View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    58d9836 View commit details
    Browse the repository at this point in the history
  4. Copy the full SHA
    7d41ea1 View commit details
    Browse the repository at this point in the history

Commits on Oct 26, 2017

  1. Copy the full SHA
    ef2ef8b View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    e2c654b View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    1cf42cf View commit details
    Browse the repository at this point in the history
  4. Copy the full SHA
    09688ff View commit details
    Browse the repository at this point in the history
  5. Add ; before beginning of factory wrapper (#5089)

    Adding ending statement at the start of the code as absence of that causes console error while concatenating files.
    alexweissman committed Oct 26, 2017
    Copy the full SHA
    18929d6 View commit details
    Browse the repository at this point in the history
  6. Add style property to package.json (#5019)

    By adding a reference to the main dist CSS, gulp tools such as `sass-module-importer` can automatically import the stylesheet
    soundasleep authored and alexweissman committed Oct 26, 2017
    Copy the full SHA
    43ffaea View commit details
    Browse the repository at this point in the history
  7. Copy the full SHA
    10bda78 View commit details
    Browse the repository at this point in the history
  8. Add dedicated event for clearing

    Closes #4929, #5045.
    gronostajo authored and alexweissman committed Oct 26, 2017
    Copy the full SHA
    04d3a5d View commit details
    Browse the repository at this point in the history
  9. Copy the full SHA
    50bf3cd View commit details
    Browse the repository at this point in the history
  10. Fix AJAX data source error

    Fixes #4355
    
    Verified in Firefox & Chromium
    MichaelMackus authored and alexweissman committed Oct 26, 2017
    Copy the full SHA
    c56c20c View commit details
    Browse the repository at this point in the history
  11. Check for string value

    MichaelMackus authored and alexweissman committed Oct 26, 2017
    Copy the full SHA
    cd08d80 View commit details
    Browse the repository at this point in the history
  12. Copy the full SHA
    3d8864b View commit details
    Browse the repository at this point in the history
  13. Add failing tests

    See #3895
    timothykang authored and alexweissman committed Oct 26, 2017
    Copy the full SHA
    a395ad1 View commit details
    Browse the repository at this point in the history
  14. Use attr instead of prop for select2-selection__rendered title (#…

    …4640)
    
    See #3895, and jQuery docs on `attr`:
    
    > As of jQuery 1.6, the .prop() method provides a way to explicitly retrieve property values, while .attr() retrieves attributes.
    timothykang authored and alexweissman committed Oct 26, 2017
    Copy the full SHA
    6ff1068 View commit details
    Browse the repository at this point in the history
  15. perform deep merge for Defaults.set()

    nobodyman authored and alexweissman committed Oct 26, 2017
    Copy the full SHA
    8398788 View commit details
    Browse the repository at this point in the history
  16. fixing typos in test

    nobodyman authored and alexweissman committed Oct 26, 2017
    Copy the full SHA
    6d35b19 View commit details
    Browse the repository at this point in the history
  17. more typos

    nobodyman authored and alexweissman committed Oct 26, 2017
    Copy the full SHA
    2270afa View commit details
    Browse the repository at this point in the history
  18. Copy the full SHA
    edf1ba1 View commit details
    Browse the repository at this point in the history
  19. Copy the full SHA
    e1cda22 View commit details
    Browse the repository at this point in the history
  20. Copy the full SHA
    01d881c View commit details
    Browse the repository at this point in the history
  21. Copy the full SHA
    254d3ba View commit details
    Browse the repository at this point in the history
  22. Improving .select2-hidden-accessible

    To match last standards, see [CSS hide and seek](http://hugogiraudel.com/2016/10/13/css-hide-and-seek/) for more explanations :)
    
    Also I removed the negative margin because of unwanted effects in some case, as seen on Bootstrap.
    ffoodd authored and alexweissman committed Oct 26, 2017
    Copy the full SHA
    7ca9867 View commit details
    Browse the repository at this point in the history
  23. Copy the full SHA
    05208f9 View commit details
    Browse the repository at this point in the history
  24. Removing the double event binding registration of "selection:update" …

    …within SingleSelection.prototype to prevent multiple calls on the selection event (#4306)
    alexweissman committed Oct 26, 2017
    Copy the full SHA
    2042920 View commit details
    Browse the repository at this point in the history
  25. Copy the full SHA
    16391c3 View commit details
    Browse the repository at this point in the history
  26. Copy the full SHA
    77acc56 View commit details
    Browse the repository at this point in the history
  27. Copy the full SHA
    62c4f63 View commit details
    Browse the repository at this point in the history
  28. Copy the full SHA
    1864a3d View commit details
    Browse the repository at this point in the history
  29. Copy the full SHA
    a48382e View commit details
    Browse the repository at this point in the history
  30. bump for 4.0.6-rc.1

    alexweissman committed Oct 26, 2017
    Copy the full SHA
    d9b8624 View commit details
    Browse the repository at this point in the history

Commits on Oct 27, 2017

  1. Copy the full SHA
    6eee443 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    45ee734 View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    bca6a50 View commit details
    Browse the repository at this point in the history
  4. Copy the full SHA
    14f53e7 View commit details
    Browse the repository at this point in the history

Commits on Nov 5, 2017

  1. Copy the full SHA
    5424333 View commit details
    Browse the repository at this point in the history

Commits on Nov 21, 2017

  1. Exposes select2 instance via .data('select2')

    Nadeem Afana authored and alexweissman committed Nov 21, 2017
    Copy the full SHA
    6d0ecbc View commit details
    Browse the repository at this point in the history

Commits on Nov 22, 2017

  1. Fix french locale

    tchiotludo authored and alexweissman committed Nov 22, 2017
    Copy the full SHA
    0ad18a0 View commit details
    Browse the repository at this point in the history
  2. Remove duplicate CSS selector in classic theme

    Closes #5100
    razh authored and alexweissman committed Nov 22, 2017
    Copy the full SHA
    eeba16b View commit details
    Browse the repository at this point in the history
  3. Create tk.js

    nbayramberdiyev authored and alexweissman committed Nov 22, 2017
    Copy the full SHA
    0087114 View commit details
    Browse the repository at this point in the history
  4. Fix up arrow error when there is no options

    rodrigo.perez authored and alexweissman committed Nov 22, 2017
    1
    Copy the full SHA
    34e8b69 View commit details
    Browse the repository at this point in the history
  5. Copy the full SHA
    c90adc1 View commit details
    Browse the repository at this point in the history

Commits on Feb 11, 2018

  1. Add Albanian localization (#5199)

    * Add Albanian localization
    
    * Fix travis error
    
    * Rename al.js to sq.js
    ebejko authored and kevin-brown committed Feb 11, 2018
    Copy the full SHA
    4346273 View commit details
    Browse the repository at this point in the history
  2. Add georgian (ka) localization (#5179)

    * Add georgian (ka) localization
    
    * Fix jshint warning
    
    * Minor fix
    akalongman authored and kevin-brown committed Feb 11, 2018
    Copy the full SHA
    3fb9e4f View commit details
    Browse the repository at this point in the history

Commits on May 25, 2018

  1. Add Nepali (ne) localization (#5295)

    * Add Nepali (np) localization
    
    * rename np.js to ne.js
    
    Closes #5294
    samundra authored and kevin-brown committed May 25, 2018
    Copy the full SHA
    d1a5715 View commit details
    Browse the repository at this point in the history

Commits on Sep 5, 2018

  1. Add drupal plugin (#5349)

    chrfritsch authored and pedrofurtado committed Sep 5, 2018
    Copy the full SHA
    9e613ff View commit details
    Browse the repository at this point in the history
  2. Fix typos in comments (#5336)

    timgraham authored and pedrofurtado committed Sep 5, 2018
    Copy the full SHA
    ec7c57c View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    7c50570 View commit details
    Browse the repository at this point in the history
  4. Copy the full SHA
    2c61355 View commit details
    Browse the repository at this point in the history
  5. Copy the full SHA
    e67c9aa View commit details
    Browse the repository at this point in the history
  6. Add scrollAfterSelect as a configurable option for multiselect dropdo…

    …wns to allow toggling of highlightFirstItem() behaviour (#5150)
    
    * Add scrollOnSelect as a configurable option
    
    * default scrollOnSelect to true to avoid modifying existing behaviour
    
    * added tests and default option for scrollAfterSelect
    boweihan authored and pedrofurtado committed Sep 5, 2018
    Copy the full SHA
    2b049c0 View commit details
    Browse the repository at this point in the history

Commits on Sep 7, 2018

  1. Copy the full SHA
    e15046e View commit details
    Browse the repository at this point in the history

Commits on Sep 11, 2018

  1. PR for -> autofocus isn't supported #3696 (#5356)

    * Update core.js
    
    * Update core.js
    
    * Update core.js
    pedrofurtado committed Sep 11, 2018
    Copy the full SHA
    2ea1718 View commit details
    Browse the repository at this point in the history
  2. Update base.js (#5357)

    pedrofurtado committed Sep 11, 2018
    Copy the full SHA
    8bc269d View commit details
    Browse the repository at this point in the history
  3. Added the right single quotation mark to diactritics. (#4337)

    It should be simplified to a typewriter apostrophe.
    charettes authored and pedrofurtado committed Sep 11, 2018
    Copy the full SHA
    1764b84 View commit details
    Browse the repository at this point in the history

Commits on Sep 15, 2018

  1. Update defaults.js

    pedrofurtado committed Sep 15, 2018
    Copy the full SHA
    1062187 View commit details
    Browse the repository at this point in the history
  2. Update focusing-tests.js

    pedrofurtado committed Sep 15, 2018
    Copy the full SHA
    c2acb18 View commit details
    Browse the repository at this point in the history
  3. add cdn badges (#5167)

    stephengroat authored and pedrofurtado committed Sep 15, 2018
    Copy the full SHA
    aac9916 View commit details
    Browse the repository at this point in the history
  4. Update focusing-tests.js

    pedrofurtado committed Sep 15, 2018
    Copy the full SHA
    db30f66 View commit details
    Browse the repository at this point in the history
  5. Update base.js

    pedrofurtado committed Sep 15, 2018
    2
    Copy the full SHA
    933189b View commit details
    Browse the repository at this point in the history
  6. #4530 Add tooltip (title) to the 'remove all' 'X' icon. (#5291)

    * #4530 Add tooltip (title) to the 'remove all' 'X' icon.
    
    * #4530 Add tooltip (title) to the 'remove all' 'X' icon.
    
    * #4530 Add tooltip (title) to the 'remove all'
    
    * Revert dist folder.
    
    * add tk.js from pull request.
    nisha-kaushik authored and pedrofurtado committed Sep 15, 2018
    Copy the full SHA
    14a059d View commit details
    Browse the repository at this point in the history

Commits on Mar 13, 2019

  1. Enable the Stale integration

    Right now we have a ton of old, stale tickets and this should allow us to get a hold of the problem and try to get ahead of it.
    kevin-brown committed Mar 13, 2019
    Copy the full SHA
    b3705b1 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    97c5304 View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    9032705 View commit details
    Browse the repository at this point in the history

Commits on Mar 19, 2019

  1. minor fix (greek omega used has no diacritic) (#5464)

    replaced \u03C9 (GREEK SMALL LETTER OMEGA: ω)
    with \u03CE (GREEK SMALL LETTER OMEGA WITH TONOS: ώ)
    tgogos authored and kevin-brown committed Mar 19, 2019
    Copy the full SHA
    5977856 View commit details
    Browse the repository at this point in the history

Commits on Mar 20, 2019

  1. [WIP] Get Grunt consistently working again (#5466)

    Get Grunt consistently working again
    kevin-brown committed Mar 20, 2019
    Copy the full SHA
    9f8b6ff View commit details
    Browse the repository at this point in the history

Commits on Apr 24, 2019

  1. Removed unused files

    * select2.jquery.json - This was previously used by the jQuery Plugin
      Registry which was shut down and put into read-only mode a few
      years ago. Since nobody else appears to use this file, it doesn't
      make sense for us to keep bumping the version in it and keeping it
      up to date.
    * vendor/ - This was needed back when the full version of Select2
      actually bundled its own version of jQuery. Since we never actually
      did this, we no longer need to keep the copy of jQuery around.
    kevin-brown committed Apr 24, 2019
    Copy the full SHA
    b4aa352 View commit details
    Browse the repository at this point in the history

Commits on Apr 28, 2019

  1. Restore compatibility with data-* attributes in jQuery 2.x (#5486)

    * Start running tests against jQuery 2.x
    
    We were only running tests against jQuery 1.x before and they were
    all passing. This was a problem because apparently all of the data-*
    attribute tests fail in jQuery 2.x.  We are now running both the
    integration and unit tests against both jQuery 1.x and jQuery 2.x.
    
    Right now this resulted in a complete duplication of the test files
    because there wasn't an obvious way to run the tests against both
    versions. We're going to look into removing this duplication in the
    future once the current issues are fixed.
    
    We are also going to look into testing against jQuery 3.x in the
    future, since that is also a supported line of jQuery.
    
    * Force the data-* attributes to be parsed
    
    There was a change made that switched us from using `$.data` and
    `$.fn.data` internally to using an internal data store (managed
    through internal utilities). This had the unfortunate side effect
    of breaking the automatic loading of data-* options in versions of
    jQuery other than 1.x, which included anything that would be
    considered modern jQuery. While the change was made and approved
    in good faith, all of the tests passed and the docs pages appeared
    to be working, the tests really failed when running on newer versions
    of jQuery. This was confirmed when we started running automated tests
    against both versions, which confirmed the bug that others have been
    seeing for a while.
    
    The change was made becuase calling `$.fn.data` on an element which
    contains a reference to itself in the internal jQuery data cache
    would cause a stack overflow. This bug was well documented at the
    following GitHub ticket and was resolved by no longer using
    `$.fn.data`: #4014
    
    Unfortunately because `$.fn.data` was no longer being called in a
    way such that all of the data attributes would be dumped out, we
    needed to find a replacement. The substitute that was given in the
    original bug fix worked when the data cache was fully primed, but
    we never primed it anywhere so it actually failed in the general
    case. That meant we needed to find a way to manually prime it,
    which is exactly what this change does.
    
    * Clean up select2/utils
    kevin-brown committed Apr 28, 2019
    Copy the full SHA
    650035c View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    a8ea4cc View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    a2bfa6c View commit details
    Browse the repository at this point in the history
  4. Copy the full SHA
    3e9809d View commit details
    Browse the repository at this point in the history