Releases: arendjr/selectivity
Selectivity 3.1.0
Selectivity 3.1.0 is a minor release containing one minor addition, some bugfixes and a change for forward compatibility with React 17.
CHANGELOG since v3.0.6:
- Feature: Add
data
property tochange
events. - Don't crash when some, but not all, result items have children (#227, thanks to @watsab).
- Trim template results to avoid runtime errors (#210, thanks to @darekzak).
- Fix clear button if item text is too long (#211, thanks to @dmarchuk).
- React: Don't use
componentWillReceiveProps()
for forward compatibility with React 17.
Selectivity 3.0.6
Selectivity 3.0.6 is a maintenance release containing two bugfixes.
CHANGELOG since v3.0.5:
- Fix updating event listeners after initial render in React API.
- Rerender single-value inputs when their enabled state changes.
Selectivity 3.0.5
Selectivity 3.0.5 is a maintenance release containing a couple of bugfixes.
CHANGELOG since v3.0.4:
- Fix issue where dropdown is hard to close on Firefox (#194, thanks to @dmarchuk).
- Filter selected children from results (#201, thanks to @ne0guille).
- Move submenu up if otherwise it would fall below the fold of the page.
Selectivity 3.0.4
Selectivity 3.0.4 is a maintenance release that updates the React API to fix some deprecation warnings, includes a small improvement to HTML5 validation support and fixes a few bugs.
CHANGELOG since v3.0.3:
- Improved compatibility with React 15.5 (no more deprecation warnings).
- Improved HTML5 validation support (#188, thanks to @r4z3c).
- Fix #180: Existing selection highlighted by default on multi-value search results (thanks to
@ahamid). - Fix #177: Don't close dropdown when clicking scrollbar (thanks to @JEkedorff).
Selectivity 3.0.3
Selectivity 3.0.3 is a maintenance release that fixes the global exports in the non-minified React and vanilla builds and contains one bugfix:
CHANGELOG since v3.0.2:
- Fix issue when a single-value Selectivity input is reset to null through the React API.
Selectivity 3.0.2
Selectivity 3.0.2 is a maintenance release that fixes the NPM build and contains one bugfix:
CHANGELOG since v3.0.1:
- Fix #161: React API: Value should be re-set when the items change.
Selectivity 3.0.1
Selectivity 3.0.1 is a maintenance release that improves compatibility with React 15.4 and Yarn and fixes a few bugs.
CHANGELOG since v3.0.0:
Selectivity 3.0
Selectivity 3.0 is a major revamp since version 2.1. Up till version 2.1, Selectivity was available only as a jQuery (or Zepto) plugin, whereas in the new version jQuery has become a fully optional dependency. This means you can now use Selectivity without any external dependencies. Or, if you prefer, you can use the new official React API. Lots of minor features were added as well, and of course some bugs have been fixed. Read below for a more detailed changes...
CHANGELOG since 2.1:
- Made jQuery dependency fully optional.
- As a result, all callbacks that received jQuery containers as argument(s) now receive plain DOM nodes instead.
- Added optional React API.
- Fix #128: Added NPM package.
- Added options:
shouldOpenSubmenu()
: Callback that determines whether a submenu should be opened.selectable
: Allows to make items unselectable without having to disable them. This is mainly useful for items that trigger submenus.
- Removed Bower and Component support.
- Moved option validation into its own plugin.
- Introduced the
"selectivity-change"
event. It's exactly the same as the"change"
event (which is still supported as well) from version 2, but with the added benefit it cannot be confused with"change"
events that bubble from internal<input>
elements. The React API'sonChange
property uses the new event. - Rewrote the AJAX plugin:
- It now relies on the
fetch()
method for performing AJAX requests. This method is only available on modern browsers, so you'll need a polyfill if you want to use this with old browsers, unless you're using a jQuery build in which case thejquery/ajax
plugin can provide a shim based on$.ajax()
(requires jQuery 3.0 or higher). - Please check the documentation for the new options that can be passed.
- It now relies on the
- Renamed the option
suppressMouseWheelSelector
to justsuppressWheelSelector
. - Renamed the
Selectivity.InputTypes
map toSelectivity.Inputs
. - Removed dist directory from the repository.
- Improved submenu positioning by automatically opening them on the left-hand side if there's insufficient space on the right side.
- Improve searching behavior with multiple submenus open.
- Fix #107: Remove the dropdown after timeout to fix "hover" behavior.
- Fix #136: Update original
<select>
element on "change" instead of "selectivity-selected". - Fix: When a Selectivity instance is clicked but its dropdown should not open, at least it should be focused.
- Fix #144: Properly handle dynamically changing readOnly option.
- Fix #145: Make sure size detection works outside the DOM (thanks to @Rkokie). Also the ".selectivity-width-detector" element is no longer needed.
- Fix #146: Selectivity created from
<select>
element now uses "s9y_" prefix for its ID (thanks to @dr-itz). - Fix: Provide correct offset in pagination when results are filtered.
Selectivity 3.0.0-rc1
- Made jQuery dependency fully optional.
- As a result, all callbacks that received jQuery containers as argument(s) now receive plain DOM
nodes instead.
- As a result, all callbacks that received jQuery containers as argument(s) now receive plain DOM
- Added optional React API.
- Fix #128: Added NPM package.
- Added options:
shouldOpenSubmenu()
- Callback that determines whether a submenu should be opened.selectable
- Allows to make items unselectable without having to disable them. This is mainly
useful for items that trigger submenus.
- Removed Bower and Component support.
- Moved option validation into its own plugin.
- Rewrote the AJAX plugin:
- It now relies on the
fetch()
method for performing AJAX requests. This method is only
available on modern browsers, so you'll need a polyfill if you want to use this with old
browsers, unless you're using a jQuery build in which case thejquery/ajax
plugin can provide
a shim based on$.ajax()
(requires jQuery 3.0 or higher). - Please check the documentation for the new options that can be passed.
- It now relies on the
- Renamed the option
suppressMouseWheelSelector
to justsuppressWheelSelector
. - Renamed the
Selectivity.InputTypes
map toSelectivity.Inputs
. - Removed dist directory from the repository.
- Improved submenu positioning by automatically opening them on the left-hand side if there's
insufficient space on the right side. - Improve searching behavior with multiple submenus open.
- Fix #107: Remove the dropdown after timeout to fix "hover" behavior.
- Fix #136: Update original
<select>
element on "change" instead of "selectivity-selected". - Fix: When a Selectivity instance is clicked but its dropdown should not open, at least it should
be focused. - Fix #144: Properly handle dynamically changing readOnly option.
- Fix #145: Make sure size detection works outside the DOM (thanks to @Rkokie). Also the
".selectivity-width-detector" element is no longer needed. - Fix #146: Selectivity created from
<select>
element now uses "s9y_" prefix for its ID (thanks to
@dr-itz). - Fix: Provide correct offset in pagination when results are filtered.
Selectivity 3.0.0-beta1
- Made jQuery dependency fully optional.
- As a result, all callbacks that received jQuery containers as argument(s) now receive plain DOM
nodes instead.
- As a result, all callbacks that received jQuery containers as argument(s) now receive plain DOM
- Added optional React API.
- Fix #128: Added NPM package.
- Added options:
shouldOpenSubmenu()
- Callback that determines whether a submenu should be opened.selectable
- Allows to make items unselectable without having to disable them. This is mainly
useful for items that trigger submenus.
- Removed Bower and Component support.
- Moved option validation into its own plugin.
- Rewrote the AJAX plugin:
- It now relies on the
fetch()
method for performing AJAX requests. This method is only
available on modern browsers, so you'll need a polyfill if you want to use this with old
browsers, unless you're using a jQuery build in which case thejquery/ajax
plugin can provide
a shim based on$.ajax()
(requires jQuery 3.0 or higher). - Please check the documentation for the new options that can be passed.
- It now relies on the
- Renamed the option
suppressMouseWheelSelector
to justsuppressWheelSelector
. - Renamed the
Selectivity.InputTypes
map toSelectivity.Inputs
. - Removed dist directory from the repository.
- Improved submenu positioning by automatically opening them on the left-hand side if there's
insufficient space on the right side. - Improve searching behavior with multiple submenus open.
- Fix #107: Remove the dropdown after timeout to fix "hover" behavior.
- Fix #136: Update original
<select>
element on "change" instead of "selectivity-selected". - Fix: When a Selectivity instance is clicked but its dropdown should not open, at least it should
be focused.