The milestone: https://github.com/haltu/muuri/milestone/2?closed=1
This version is a major refactoring as Hammer.js is fully deprecated and replaced with an internal drag system. The internal system was based heavily on Hammer.js API so it's not that far off functionality-wise and migration from previous version should be pretty easy.
This version also contains a few new features including drag placeholder and improved drag sort heuristics which make the drag sorting a much more nicer experience.
Additionally a lot of minor refactoring and performance/memory optimizations were carried out without any effects to the public API.
New features:
- Hammer.js deprecated in favor of built-in touch/pointer/mouse event delegation system: https://github.com/haltu/muuri#dragcssprops-
- Drag sort heuristics: https://github.com/haltu/muuri#dragsortheuristics-
- Drag placeholder: https://github.com/haltu/muuri#dragplaceholder-
Breaking changes:
dragHammerSettings
->dragCssProps
dragSortInterval
->dragSortHeuristics.sortInterval