- Resolves issue with GH Pages not loading sliders properly.
- Bootstrap 4 Compatibility: We are now compatible with Bootstrap 4! Major thanks goes to Jeffrey Espiritu and David Lesieur for leading this effort!
- Starting with this major release, all new changes will only be compatible with Bootstrap 4. We will not support backwards compatibility with older versions of Bootstrap!
- We (the maintainers) will no longer support the 10.x and older versions of this plugin!
- However we will still accept bug fix pull requests for the
10.x
version. If you want to make a pull request against this version, please branch off thebs3
branch of our repository and create your pull requests against that branch.
- Bug Fix: Fixes bridget bug with empty jquery object. See here for further details. Thanks to ollycross
- Bug Fix: Fixes slider for touch-enabled devices. See here for further details.
- Build Deployment: Added
build-preview.sh
script for deploying API examples page for the purpose of testing aforementioned bug fix for touch-enabled devices.
- New Feature: Add new feature to persist the value after a refresh. See Example 26 for a demonstration. See here for further details.
- Bug Fix: Fix unit tests to execute event callbacks asynchronously. See here for further details.
- Documentation: Add link to Angular Bootstrap-Slider project. Commit.
- New Feature: Add lock to ticks feature. See Example 25 for a demonstration. See here for further details. Thanks to Heidar.
- Bug Fix: Fix mouseup event should trigger 'change' event. See here for further details. Thanks to Michael Kriese.
- Update Copyright: Update Copyright year references to 2019. See here for further details.
- Bug Fix: Fix 'change' event should trigger when either values change for range sliders. See here for further details. Thanks to pimlie.
- Bug Fix: Remove unnecessary call to
parseFloat()
. See here for further details. - Bug Fix: Fix namespace handling. See here for further details.
- Bug Fix: Fix tooltip when option is set to 'always'. See here for further details
- Bug Fix: Fixes Issue #884: Hovering over ticks displays the tick index. See here for further details
- Minor API Update: Update behaviour so that min/max tick values do not overwrite min/max settings. See here for further details.
- Bug Fix: Remove unnecessary function calls. See here for further details.
- Bug Fix: Fix calculation of percentage values. See here for further details.
- Bug Fix: Recalculate the percentage on
mouseup
event. See here for further details. Thanks to purpose233.
- Bug Fix: Fix range slider values for
sliderStart
event. See here for further details. - Bug Fix: Properly check if slider values have changed. See here for further details.
- Bug Fix: Correctly unset
aria-valuetext
attribute. See here for further details. - Bug Fix: Fix Public Method unit test. See here for further details. Thanks to Xiaochen Wang.
- Documentation Update: Add a table of links for the Bootstrap-Slider API examples. See here for further details. Thanks to Susan Truong.
- Bug Fix: Add
_copyState()
function to create a temporary copy of slider state. See here for further details.
- Bug Fix: Allow range slider to snap to ticks within bounds. See here for further details. Thanks to Michael Kriese.
- Bug Fix: Check if
getComputedStyle()
returnsnull
. Addresses issue with Firefox browsers running version < 62. See here for further details. Thanks to Tyler Wilding.
- New Feature: Add selection CSS classes to tick labels. See here for further details. Thanks to Doug Lee.
- Bug Fix: Remove duplicate call to
relayout()
in_layout()
function. See here for further details. - Documentation Fix: Fix a typo in Example 14 on the API examples page. See here for further details.
- Documentation Fix: Fix a typo in Example 1 on the API examples page. See here for further details.
- Bug Fix Fixes an issue where sliding a min handle over the max handle causes a strange skip in the values. See here for further details. Thanks Jeffrey Espiritu.
- Documentation Fix Fix a typo to show tick position example correctly See here for further details. Thanks Jeffrey Espiritu.
- Bug Fix Hovering next to slider does not show the tooltip. See here for further details. Thanks to Alexa Schlegel.
- New Feature Show pointer cursor on slider ticks. See here for further details. Thanks to Erik Demaine.
- Bug Fix Allow any value on logarithmic scale. See here for further details. Fixes this bug. Thanks to James Mason.
- Documentation Fix: Adds note about lack of current Bootstrap 4 compatability. See here for further details. Thanks to Anders Olsson.
- Documentation Fix: Increases clarity around when alternate namespace is bound. See here for further details. Thanks to putrefactio.
- New Feature Show pointer cursor on slider handle. See here for further details. Thanks to David Lesieur.
- Bug Fix Fixes an issue when determining mouse coords when pageXOffset >= 0 . See here for further details. Fixes this bug. Thanks to x-yuri.
- Bug Fix Fixing an issue where DOM elements were being selected on slide in FF and IE. See here for further details. Fixes this bug. Thanks to Andreas Wulf.
- Bug Fix Refactoring tooltip CSS to use
transform
for positioning. See here for further details. Fixes this bug. Thanks to wismill.
- Build pipeline change Refactoring bootstrap files to come from
node_modules
instead ofdependencies
directory so latest changes are reflected. See here for further details. Thanks to Sebastiaan ten Pas.
- Bug Fix LESS/CSS: Bug fix for mixin. See here for further details. Thanks to Arman Poghosyan.
- New Feature LESS/CSS: refactor colors into variables file. See here for further details. Thanks to Joseph Marikle.
- Bug Fix Addresses issue where the max value calculation was wrong due to the cutoff when the
max
option value was not a multiple of thestep
option value. See here for further details. Thanks to Thomas Haitzer.
- New Feature: Ability to add a custom class to the ranges of a slider with the
rangeHightlights
option specified. See the PR for further details.. Thanks to jccode.
- Updates grunt dependency from version
0.4.4
to^0.4.5
.
- Bug Fix Resolves PhantomJS error that was occurring while running the unit test suite. See here for further details.
- Tooling Update Updates unit test suite to Jasmine 2.x.x by updating the grunt-contrib-jasmine dependency from version
0.5.2
to1.0.3
.
- Bug Fix Resolves accesibility issue in range sliders. See here for further details. Thanks to Jerry (jerrylow).
- Adds in CodeClimate integration. Thanks to Scott Larkin.
- Examples Page: Fixes code snippet for Example 6. Thanks to Sergey Mezentsev.
- Bug Fix Resolves "'slider' of undefined" error. See here for further details. Thanks to Guto Sanches.
- Examples Page: Adds syntax highlighting to code snippets on Examples page
- Examples Page: Adds anchor tags to each example. For example, navigating to http://seiyria.com/bootstrap-slider/#example-10 will now load the page at Example #10.
- Examples Page: Fixed code snippet in Example #14 based on feedback from this comment.
- Performance Enhancement Use passive event listeners for touch-enabled devices. See here for further details. Thanks to Chris Hallberg.
- Add an explicit
grunt lint
command to run Lint check on all source files and execute it in the NPMpretest
script.
- Updating current year references in license from 2016 -> 2017.
- Adds in linting for SASS and LESS files in order to catch common syntax errors at CI step versus compile time.
- Bug Fix: Resolve issue with SASS file compilation. See here for further details. Thanks to Schepotin for reporting.
- New Feature: Adds ability to set direction (using HTML5
dir
attribute). See here for further details. Thanks to Denis Chenu.
- Bug Fix: Fixes issue where dragging slider handle outside of modal and releasing cursor would close the modal. See original issue for further details. Thanks to ZeVS777.
- Bug Fix: Fixes typo from previous update to SCSS rules. Thanks to Julien Bachmann.
- Bug Fix: Fixes SCSS rules. See original issue for further details. Thanks to Julien Bachmann.
- Bug Fix: Removes
'none'
classes after selection change. See here for further details. Thanks to John Clarke.
- New Feature: Adds
aria-valuetext
attribute to each slider handle element, which is set to be the current formatted value of the slider (based on theformatter
option). See here for further details. Thanks to mediaformat.
- Documentation Fix: Fixing an inconsistency with the licensing information in our source files. See here for further details. Thanks to Tom Yue for identifying this issue.
- New Feature: Adds the ability to set the slider value using stringified numbers. See here for further details. Thanks to Ryan Bruns
- Bug Fix: Fixes reported bug where a slider was unable to be destroyed and re-created if there were event listeners bound to it. See here for further details.
- New Feature: Adds the ability to enable/disable tooltips when hovering over ticks via the
ticks_tooltip
option. See here for further details. Thanks to Ryan Bruns
- Bug Fix: Resolves issue where range highlights were not being applied properly for reversed sliders. See here for further details. Thanks to Bernard Gorman
- New Feature: Adding the ability to target certain ranges of the slider track via CSS in order to highlight them. See here for further details. Thanks to lipoczkit
- Bug Fix: Checks for
window
object before attempting to attachconsole
polyfills. Resolves this issue
- Accidental publish
- Bug Fix: Adds
.npmignore
file to repository. Resolves this issue
- New Feature: Always binding to the
$.fn.bootstrapSlider
namespace and printing a console warning when the$.fn.slider
namespace is already bound. Idea came from discussion in this issue
- New Feature: Wraps all of the ticks within a single container element with the class
.slider-tick-container
as opposed to being within the.slider-track
element. This enables individual ticks to be more easily targeted with CSS selectors such asnth-of-type(n)
. Idea came from discussion in this issue
- Revert: Reverting bug fix made in
7.0.4 - 7.0.5
because it breaks UMD module definition and r.js build tool as reported in this issue. Updated README to address how to stub out optional JQuery dependency for Webpack builds.
- New Feature: Allow LESS/SASS variables to be overridden, but fall back to defaults if needed. See here for further details. Thanks to Jonathan Rehm (jkrehm)
- Bug Fix: Changes webpack AMD build error on define() for optional jQuery dependency to be a warning, which allows webpack builds to be completed. See here for further details. Thanks to Tomi Saarinen (TomiS)
- Bug Fix: Fixes overlap issue with range slider. See here for further details. Thanks to Jerry (jerrylow)
- Breaking Change: Restructured and refactored SASS source files to eliminate compass dependency and be more organized. Thanks to Jacob van Mourik (jcbvm)
- Bug Fix: Fixes issue where slider accidently scrolls when user taps on mobile device. Thanks to Jerry (jerrylow)
- Bug Fix: Call resize() before layout() within relayout() method, which enables intially hidden sliders to be revealed and behave appropriately. Thanks to Peter (MaZderMind)
- Bug Fix: Fixed horizontal centering issue with labels. Thanks to Josh Guffey
- New Feature: Auto-registering/intializing slider via
data-provide="slider"
attribute. Thanks to MaZderMind - Adding Github Templates for Issues, Pull Requests, and Contributions
- Bug Fix: Attempted Bug fix from 6.0.11 was refined to ensure so side effects.
- Bug Fix: _setText() defaults to
.textContent
vs.innerHTML
. Thanks to gio-js
- Reverted Bug fix from prior release
- Bug fix: Slider was not scrolling properly when nested inside of scrollable container. Thanks to serbiant
- Bug fix: Race condition in
setValue()
where slider value was being set afterchange
andslide
events were being triggered. Thanks to glaszig
- Bug fix: When
tooltip_position
option is set to"bottom"
on a slider with multiple split handles, position both tooltips below the slider. Thanks to Martin Hesslund
- bower.json: changing "main" to reference /dist/bootstrap-slider.js
- package.json: changing "main" to point at proper file path
- Moving all source code to
/src
directory - Transpiling JS with Babel
- Adding
Other Guidelines
section to CONTRIBUTING.MD - Updating README with Grunt CLI tasks
- Update postpublish script to reference transpiled code
- Freezing dependency versions (this allows us to ensure the module and grunt tasks always have consistent/repeatable behavior)
- Adding an
.nvmrc
file for Node 5.x.x. This version of node comes with NPM 3.x.x, which creates a flat dependency tree fornode_modules
, which basically eliminates the need for bower as our client-side deps management solution
- Restoring bootstrap depedency to bower.json file (Fixes issue with
grunt prod
task)
- Bug fix: Ticks now reposition themselves during window resize - Thanks to Zachary Siswick