|
| 1 | +--- |
| 2 | +layout: default |
| 3 | +title: Select2 4.0.0 Released |
| 4 | +slug: announcements-4.0 |
| 5 | +--- |
| 6 | + |
| 7 | +<div class="container"> |
| 8 | + <section id="pre-release"> |
| 9 | + <h2>Pre-release notes</h2> |
| 10 | + |
| 11 | + <p> |
| 12 | + The 4.0 release is ready for early adopters interested in testing it out. |
| 13 | + You can use the development version, available on GitHub, by getting the |
| 14 | + source code available in the <code>select2-ng</code> branch. The source |
| 15 | + code can be |
| 16 | + <a href="https://github.com/ivaynberg/select2/archive/select2-ng.zip"> |
| 17 | + downloaded as a <code>zip</code> archive |
| 18 | + </a> as well. |
| 19 | + </p> |
| 20 | + </section> |
| 21 | + |
| 22 | + <section id="release"> |
| 23 | + <h1>Select2 4.0.0</h1> |
| 24 | + |
| 25 | + <p> |
| 26 | + The 4.0 release of Select2 is the result of three years of working on the |
| 27 | + code base and watching where it needs to go. At the core, it is a full |
| 28 | + rewrite that addresses many of the extensibility and usability problems |
| 29 | + that could not be addressed in previous versions. |
| 30 | + </p> |
| 31 | + |
| 32 | + <p> |
| 33 | + This release contains many breaking changes, but easy-upgrade pathes have |
| 34 | + been created as well as helper modules that will allow for backwards |
| 35 | + compatibility to be maintained with past versions of Select2. Upgrading |
| 36 | + <em>will</em> require you to read the release notes carefully, but the |
| 37 | + migration path should be relatively straightforward. You can find more |
| 38 | + information on the modules that have been created to make upgrading easier |
| 39 | + by <a href="compat.html">looking at the compatibility guide</a> for older |
| 40 | + Select2 versions. |
| 41 | + </p> |
| 42 | + |
| 43 | + <p> |
| 44 | + Below is an in-depth review of what is new in Select2, as well as some of |
| 45 | + the major changes that have been made. |
| 46 | + </p> |
| 47 | + </section> |
| 48 | + |
| 49 | + <section id="plugins"> |
| 50 | + <h2>Plugins</h2> |
| 51 | + |
| 52 | + <p> |
| 53 | + Select2 now provides interfaces that allow for it to be easily extended, |
| 54 | + allowing for anyone to create a plugin that changes the way Select2 works. |
| 55 | + This is the result of Select2 being broken into four distinct sections, |
| 56 | + each of which can be extended and used together to create your unique |
| 57 | + Select2. |
| 58 | + </p> |
| 59 | + |
| 60 | + <h3> |
| 61 | + Container (selection) |
| 62 | + </h3> |
| 63 | + |
| 64 | + <p> |
| 65 | + This includes the primary container that users interact with to open the |
| 66 | + dropdown. |
| 67 | + </p> |
| 68 | + |
| 69 | + <h3> |
| 70 | + Dropdown |
| 71 | + </h3> |
| 72 | + |
| 73 | + <p> |
| 74 | + This includes the dropdown that is opened when the container is clicked. |
| 75 | + This also includes the results list, which is a separate component. |
| 76 | + </p> |
| 77 | + |
| 78 | + <h3> |
| 79 | + Results |
| 80 | + </h3> |
| 81 | + |
| 82 | + <p> |
| 83 | + This includes the list of possible options that can be selected. |
| 84 | + </p> |
| 85 | + |
| 86 | + <h3> |
| 87 | + Data set |
| 88 | + </h3> |
| 89 | + |
| 90 | + <p> |
| 91 | + This is how the options are calculated. |
| 92 | + </p> |
| 93 | + </section> |
| 94 | +</div> |
0 commit comments