7.9 KiB
7.9 KiB
Changelog
14.2.0 (2020-03-27)
- Added: Slider api as event parameter (#1058);
- Added: Allow multiple classes in
cssClassesoption (#1054); - Fixed: Slider not working within shadow DOM (#1060);
- Fixed: Last pip not rendered if it is also the first and at the slider edge (#1063);
14.1.1 (2019-12-15)
- Fixed: Text direction is not correctly determined when the slider is not in the DOM (#1038);
14.1.0 (2019-12-04)
- Fixed: Styling requires a root
htmlnode, so noUiSlider can't be used in shadow dom (#1035); - Added: Support for PageUp/PageDown and Home/End keys in keyboard support (#1036);
14.0.3 (2019-10-10)
- Fixed: Initialising handle values near the slider edge does not always respect
margin(#1009);
14.0.2 (2019-06-28)
- Fixed: Keyboard interaction uses formatter when it does not need to (#1000);
14.0.1 (2019-06-21)
14.0.0 (2019-06-20)
- Fixed:
change&slideevents should fire on keyboard control (#994); - Fixed:
.noUi-originoverflows document on vertical sliders (#987); - Fixed: Clicking to right of handle doesn't move it when it's at the same point as another (#965);
- Added: Additional documentation on number formatting (#978, #985);
13.1.5 (2019-04-24)
- Fixed: Full-range padding (#880);
13.1.4 (2019-03-20)
- Fixed: Keyboard interaction does not work with
snapoption (#961);
13.1.3 (2019-03-15)
- Fixed: Keyboard interaction allows handles to "push" other handles (#960);
- Fixed: Update event fires for all handles during keyboard interaction (#960);
13.1.2 (2019-03-13)
- Fixed: Handle disappears in Safari on tap (#927);
- Fixed: Disabled slider still accepts keyboard interaction (#953);
13.1.1 (2019-02-14)
- Fixed: Slider hang when using a zero-length range (#948);
13.1.0 (2019-02-08)
- Fixed: Updating
pipsusingupdateOptions(#933); - Added: Updating
tooltipsusingupdateOptions(#946);
13.0.0 (2019-02-06)
noUiSlider 13 does not include any breaking API changes.
Keyboard support is now built-in, so any custom implementations should be removed when upgrading.
Alternatively, built-in keyboard support can be disabled using keyboardSupport: false.
- Added: Built-in keyboard support (#724);
- Added:
.noUi-touch-areaelement (#924); - Fixed: Dragging a range does not check for handle disabled state (#938);
- Fixed: Incorrect CSS transform in pips (#931);
12.1.0 (2018-10-25)
- Added:
unconstrainedbehaviour (#747, #815, #913); - Added:
setHandleAPI (#917); - Changed: point to
nouislider.jsinpackage.json.main(#921);
12.0.0 (2018-09-14)
- Change: License changed to MIT;
- Change: Build process is now based on NPM scripts, phasing out the Grunt task runner.
- Fixed: Aria values are now as per spec (#889);
- Change: Pips formatting are now written as HTML (#875);
- Change: The
filteroption is now called for all pips (#754); - Added: The
filteroption can now return-1to hide a pip (#754); - Added:
keyboardSupportoption (#867, #895); - Added:
documentElementoption (#821);
11.1.0 (2018-04-02)
- Change:
nulloptions are now handled consistently (#856); - Fixed: Missing transform origin in IE9 (#870);
- Fixed:
paddingon one side of the slider could not exceed50%(#865);
11.0.3 (2018-01-21)
Refactor of source code. There are no meaningful changes in the distributed files;
11.0.2 (2018-01-20)
- Fixed: Slider ignores clicks on
.noUi-targetoutside of.noUi-base(#842); - Fixed:
.noUi-originmoving out of the page causes horizontal scrolling (#852); - Fixed: Relative
.noUi-handlehas unintended margin (#854);
11.0.0 (2018-01-12)
noUiSlider 11 does not include any breaking API changes. Unless major changes were made to the stylesheet or you specifically depend on the handle/connect order in the DOM, there should be no issues upgrading.
- Change: Use CSS transforms for handle movement, resulting in a massive performance improvement (#718);
- Change: Support multitouch by default;
- Change: Handle stacking is now on
.noUi-origininstead of.noUi-handle; - Added: A
.noUi-connectselement holding all.noUi-connectelements; - Added:
[data-value]property for.noUi-valuein pips (#733); - Added:
paddingoption can now take an array for different padding values at both sides of a slider (#822); - Removed:
useRequestAnimationFrameoption. No longer needed with CSS transforms; - Removed:
multitouchoption. Now enabled by default; - Fixed: Slider could ignore end events it should handle (#704, #805, #834);
- Fixed: Stop depending on array type (#801);
- Fixed:
setmethod might bypass margin option (#823); - Fixed: Alignment of pips for RTL sliders (#795);
- Fixed: Several issues regarding pips (#812, #826, #832);
10.1.0 (2017-07-26)
- Added:
multitouchoption (#793);
10.0.0 (2017-05-28)
- Change: Change event listeners to be passive (#785);
- Fixed: Pips are now updated when calling
updateOptions(#669); - Fixed: Content Security Policy issue with pips;
- Added:
removePipsmethod; - Added: aria support (#685);
- Added:
ariaFormatoption (controlsaria-valuetext); - Fixed: throw a better error when mistakenly trying to initialize noUiSlider with
null(#658); - Fixed: Made order of events consistent and documented it (#775);
- Fixed: Border radius of connect bar, white space wrapping of tooltips (#773, #774);
- Fixed: Slider now uses
ownerDocumentinstead ofdocument(#767);
9.2.0 (2017-01-17)
- Added: Version number to exceptions;
- Added:
noUiSlider.versionholds current version number; - Added: Throw exception on invalid
pipsconfiguration (#721); - Added: Merged pull request that uses less preprocessor to generate CSS (#735);
9.1.0 (2016-12-10)
- Fixed: Slider not properly handling multitouch (#700, #704);
- Fixed: Removed a querySelector for the currently active handle (#720);
- Fixed: Removed iOS/webkit flashes on tap;
- Fixed: Incorrect error when using margin/limit with a step smaller than 0 (#736);
- Fixed: Drag option using incorrect cursor arrows (#681);
- Added: New
paddingoption (#711); - Added: Re-introduced
.noUi-handle-lowerand.noUi-handle-upperclasses removed in 9.0.0; - Added: Compatibility for legacy
connectoptions removed in 9.0.0;
9.0.0 (2016-09-26)
- Added: Support for more than 2 handles;
- Added:
formatoption can be updated (#641); - Added:
resetmethod the return slider to start values (#673); - Change:
connectoption is now implemented as a separate node; - Change: all event arguments, including the handle number, are now in slider order;
- Change:
updateOptionsnow modifies the original options object. The reference inslider.noUiSlider.optionsremains up to date (#678); - Change: more events fire when using various
behaviouroptions (#664); - Change: on
rtlsliders, handles are now visually positioned from the slidersright/bottomedge; - Change: events for
rtlsliders now fire in the same order as forltrsliders (with incremental handleNumbers); - Change: internal
Spectrumcomponent is no longerdirectionaware; - Change:
limitandmarginmust be divisible bystep(if set); - Removed:
.noUi-stackingclass. Handles now stack themselves; Removed(returned in 9.1.0):.noUi-handle-lowerand.noUi-handle-upperclasses;- Removed:
.noUi-background. Use.noUi-targetinstead; Removed(backward compatibility in 9.1.0):connect: 'lower'andconnect: 'upper'. These settings are replaced byconnect: [true, false];- Fixed: default tooltip color (#687);
- Fixed:
marginandlimitcalculated improperly after callingupdateOptionswith a newrangeoption; - Fixed:
rangeoption was required in update, even when not updating it (#682); - Fixed: Cursor styling is now consistent for disabled handles and sliders (#644);
- Fixed: Sliders now ignore touches when the screen is touched multiple times (#649, #663, #668);