argerim / select2-rails

Integrate Select2 javascript library with Rails asset pipeline
https://github.com/argerim/select2-rails
965 stars 374 forks source link

Update select2 from 4.0.3 -> 4.0.13 #188

Closed pdobb closed 4 years ago

pdobb commented 5 years ago

See https://github.com/select2/select2/blob/develop/CHANGELOG.md#4013 for changes in select2 versions since 4.0.3.

I updated the code with rake update-select2 and selected tag ~4.0.8~ 4.0.13. (Cool feature!)

mattolson commented 5 years ago

🙏

sudoremo commented 5 years ago

Thanks for a merge 🙏

TylerRick commented 5 years ago

Please merge.

:bulb: Never mind. Switching to:

= stylesheet_link_tag 'https://cdn.jsdelivr.net/npm/select2@4.0.7/dist/css/select2.min.css'
= javascript_include_tag 'https://cdn.jsdelivr.net/npm/select2@4.0.3/dist/js/select2.full.min.js'

:smile:

Sprockets asset gems seem like an unsustainable option that will always lag behind official releases...

pdobb commented 5 years ago

Now updated for select2 v4.0.8.

Hm. Just found the update script: rake update-select2. Using this instead now...

If anyone wants to utilize my branch in the mean time: gem "select2-rails", github: "pdobb/select2-rails"

cprodhomme commented 4 years ago

@argerim 🙏

pdobb commented 4 years ago

Looks like select2 is up to 4.0.13 now 🤷🏻‍♂️

pdobb commented 4 years ago

Added a commit to update to select2 v4.0.13 for all to benefit.

OpenCoderX commented 4 years ago

Version 4.0.13 available: https://github.com/argerim/select2-rails/releases/tag/v4.0.13