Hi all,
I realize the timing of this announcement is a bit unfortunate, but I hope you will bear with me...
First of all, I want to congratulate you all with your first beta release of version 4 of Select2! I've checked out the sources today and it looks like a great improvement over the current production versions. I believe the modularization of Select2 as witnessed with version 4 was long overdue. So long even that just last week I decided to create a new modular, unit tested implementation of Select2 myself: Select3.
As I said, the timing is unfortunate as only today I learned of the existence of Select2 v4. Had I known this last week I'm not sure I would've started work on Select3. I guess nobody is to blame for this but me, and in the worst case I've only wasted my own time, but it does present us with an interesting situation: There are now two independent, modular jQuery selection libraries :)
As it is, I don't regret creating Select3 and I even think it still has some unique selling points that are sufficient for me to keep using it. Of course, I still hope others will share that opinion :)
Here are some advantages of each as I currently see them:
Select2 v4 pros:
- Builds on existing Select2 sources which are widely supported and tested (even though version it is a huge step from version 3 as well)
- Support for hierarchical results
- Support for sorting and reordering selections
- Easier AJAX support
- More options and events implemented
- Supports IE8 and 9
Select3 pros:
- All templates are easily customizable
- Works with Zepto.js and jQuery builds without Sizzle
- Tokenizer support (this is in Select2 v3 as well, but seems removed in v4?)
- Email input type
- More lightweight (smaller file sizes)
Of course, given that Select3 is only one week old, anyone trying it out should still expect some rough edges. Nevertheless, I'm happy with how far it has already come and expect to roll it out on a large production site somewhere in the coming weeks (meaning I think it is in quite good shape already).
For those interested, here is the project page:
https://github.com/arendjr/select3
I hope Select2 and Select3 will happily exist next to each other and hopefully push each other to keep improving.
Cheers!
Arend jr.