Skip to content

Commit aefa93e

Browse files
committed
Rewrite changelog entry
1 parent c95a13f commit aefa93e

File tree

1 file changed

+10
-9
lines changed

1 file changed

+10
-9
lines changed

CHANGELOG.md

+10-9
Original file line numberDiff line numberDiff line change
@@ -3,19 +3,20 @@
33
<!-- Feel free to put either your handle and/or full name, according to
44
your privacy needs -->
55

6-
## In development
6+
## v0.16.0 [In development]
77

88
### Breaking changes
99

10-
- `clearOptions()` removes currently-selected items in addition to deselecting them by default, as
11-
it did prior to selectize v0.12.5.
12-
13-
### New features
14-
15-
- `clearOptions()` has a new parameter `removeCurrentItems`, default `true`. If set `false`, it will
16-
leave currently-selected items available *and selected*, as was the case from v0.12.5 to v0.13.0.
10+
- `clearOptions()` now, by default, removes currently-selected items in addition to deselecting them,
11+
as it did prior to selectize v0.12.5.
12+
- This behavior is controlled by a new parameter `removeCurrentItems`, default `true`.
13+
- If `removeCurrentItems` is set `false`, the function will instead leave currently-selected items
14+
available *and selected*, as was the case from selectize v0.12.5, until v0.13.1 introduced
15+
[#2146](https://github.com/selectize/selectize.js/issues/2146) (which this change fixes).
1716
- For consistency, `silent` also has a (backwards-compatible) default value of `false` now.
18-
- The full signature is thus `clearOptions(silent = false, removeCurrentItems = true)`
17+
- Thus, the full signature is now `clearOptions(silent = false, removeCurrentItems = true)`
18+
19+
_@dvg-p4_
1920

2021
## v0.15.1 · 17 11 2022
2122

0 commit comments

Comments
 (0)