All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
4.0.0 - 2024-11-15
- Built files are now located in the
/dist
directory - Update your references from:
sortable.min.js
todist/sortable.min.js
sortable.a11y.min.js
todist/sortable.a11y.min.js
- etc.
setTimeout
lets double-click "re-sort" the table only oncesort-start
andsort-end
eventsdist/standalone
folder where all files are inlined, in case you want the functions to be available in the global scope
3.2.3 - 2024-05-08
- Unary(+) instead of
Number
andparseInt
3.2.2 - 2024-02-14
- Correct path for
sass
field inpackage.json
.
3.2.1 - 2024-02-14
- Introduced
style
andsass
fields inpackage.json
to enhance compatibility with modern JavaScript tooling and environments.
3.2.0 - 2024-02-14
- Introduced
main
andmodule
fields inpackage.json
to enhance compatibility with modern JavaScript tooling and environments.
3.1.0 - 2023-11-16
- Using
rollup
instead oftsc
to generate javascript files. src/
folder now included in npm package, so thatenhanceSortableAccessibility
can be used in TypeScript projects.
- Test minified files also.
- Added
focus
eventListener toenhanceSortableAccessibility
, so that thearia-label
is kept up to date.
3.0.0 - 2023-10-17
aria-sort="ascending|descending"
used instead ofclass="dir-d|dir-up"
to keep track of direction.
class="dir-d|dir-up"
removed.
2.4.0 - 2023-10-17
- Simple accessibility introduced with sortable.a11y.js.
enhanceSortableAccessibility
addsaria-label
to the headers of an array of tables.
2.3.2 - 2023-08-22
parseFloat()
turned time values like 12:11:11 and 12:23:56 into 12, sorting them incorrectly. Enter:Number()
! 🦸♂️️
2.3.1 - 2023-08-19
data-sort-alt
anddata-sort
were ignored if empty. No longer! 🦸♂️️
2.3.0 - 2023-08-13
class="n-last"
places empty cells always last, similar to what SQL does with ORDER BY foo NULLS LAST.
2.2.0 - 2023-06-30
th
clicks only triggered inthead
, not intbody
ortfoot
class="no-sort"
is now part of core JavaScript functionality, not CSS only like before
2.1.3 - 2023-03-24
- sortable-base.* back in npm package
2.1.2 - 2023-03-24
- Code quality bump
2.1.1 - 2023-03-24
- Bugfix tiebreaker column = 0
2.1.0 - 2023-03-23
- Tiebreaker/secondary sort
2.0.1 - 2023-03-21
- Bugfix dataset
2.0.0 - 2023-02-24
- IE9 support dropped
1.80.1 - 2023-02-08
- Bugfix
1.80.0 - 2023-02-07
- Typescript in src
1.70 - 2023-02-06
- First release