From 63cbc80febbecdcaff701f26ccd6a9b078be277e Mon Sep 17 00:00:00 2001 From: Dan Gealow Date: Wed, 9 Oct 2024 19:24:07 -0400 Subject: [PATCH] Add entry to CHANGELOG.md --- CHANGELOG.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5f705493c..25305fc2d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,21 @@ +## v0.16.0 [In development] + +### Breaking changes + +- `clearOptions()` now, by default, removes currently-selected items in addition to deselecting them, + as it did prior to selectize v0.12.5. + - This behavior is controlled by a new parameter `removeCurrentItems`, default `true`. + - If `removeCurrentItems` is set `false`, the function will instead leave currently-selected items + available *and selected*, as was the case from selectize v0.12.5, until v0.13.1 introduced + [#2146](https://github.com/selectize/selectize.js/issues/2146) (which this change fixes). + - For consistency, `silent` also has a (backwards-compatible) default value of `false` now. + - Thus, the full signature is now `clearOptions(silent = false, removeCurrentItems = true)` + + _@dvg-p4_ + ## v0.15.1 ยท 17 11 2022 - New feature: dynamically add option groups