Version 3.0.3
Breaking Updates
Moving the project to typescript
- Enable complex typings
- Removes typing issues from the past
New license model
- Free to everything for non-commercial, paid for commercial projects
- Fees will be split with contributors
- Enables faster development cycles
- Keeps the lights on
- Attract talent to collaborate
Callbacks Refactor
"elementselect" => "DS:select",
"elementunselect" => "DS:unselect",
"autoscroll" => "DS:scroll",
"dragstart" => "DS:start",
"dragmove" => "DS:update",
"callback" => "DS:end",
"preelementselect" => "DS:select:pre",
"preelementunselect" => "DS:unselect:pre",
"preautoscroll" => "DS:scroll:pre",
"predragstart" => "DS:start:pre",
"predragmove" => "DS:update:pre",
"precallback" => "DS:end:pre",
- New callbacks:
"DS:added:pre"
"DS:added"
"DS:removed:pre"
"DS:removed"
Box-Dragging as new default
- This is the default expected behaviour, hence if should be the default
Binary files restructure
- Renamed
.es6m
to.esm
because that makes more sense - Release only
/dist
folder for a small package size (previously also packaged the src folder for curious people, BUT they can also just come check out the code on github imo.
Removing self-hosted versions
- This was just bad practice from ancient times
Extras (non-breaking)
- Previous setting
dragAsBlock
is the default behavior. - Add an over-writeable method to filter the elements that are supposed to be dragged
.filterDragElements
Override inspired by #158 - Fix persistance of
removeSelectables
as of 148 note however, that the items are still in the settings, thus will be re-added when manually running.start()
- Add keyboard drop-zoning solving 149
- Fix key stroke bug #181