Skip to content

Commit 5454a90

Browse files
committed
Started working on the initial release announcement
1 parent c7e8f81 commit 5454a90

3 files changed

Lines changed: 119 additions & 0 deletions

File tree

docs/_includes/navigation.html

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,20 @@
2121
<li{% if page.slug == "examples" %} class="active"{% endif %}>
2222
<a href="./examples.html">Examples</a>
2323
</li>
24+
<li{% if page.slug == "options" %} class="active"{% endif %}>
25+
<a href="./options.html">Options</a>
26+
</li>
27+
<li class="dropdown">
28+
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
29+
Announcements
30+
<span class="caret"></span>
31+
</a>
32+
<ul class="dropdown-menu">
33+
<li{% if page.slug == "announcements-4.0" %} class="active"{% endif %}>
34+
<a href="./announcements-4.0.html">Select2 4.0</a>
35+
</li>
36+
</ul>
37+
</li>
2438
<li{% if page.slug == "community" %} class="active"{% endif %}>
2539
<a href="./community.html">Community</a>
2640
</li>

docs/announcements-4.0.html

Lines changed: 94 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,94 @@
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>

docs/options.html

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
---
2+
layout: default
3+
title: Options - Select2
4+
slug: options
5+
---
6+
7+
<div class="container">
8+
<section id="">
9+
10+
</section>
11+
</div>

0 commit comments

Comments
 (0)