All notable changes to eloquent-sortable
will be documented in this file
- add support for Laravel 5.7
- add support for L5.6
- drop support for anything lower that L5.5
- fix deps
- add compatibility with Laravel 5.5
- add
buildSortQuery()
- release without changes. Made to kickstart Packagist.
- add compatibility with Laravel 5.4
- added support for
SoftDeletes
- removed the need for a service provider
- some cleanup
- added support for collections passed to
setNewOrder
- added
moveToStart
,moveToEnd
andswapOrder
- Fixed a bug in
moveOrderUp
(see #13)
- Added
moveOrderUp
- andmoveOrderDown
-methods
- Fixed typehinting on scope
- SortableInterface is now Sortable
- Sortable is now SortableTrait
- getHighestOrderNumber() now retrieves the highest existing order number (not a new one)
- setHighestOrderNumber() no longer requires a Sortable object parameter
- sort_when_creating option
- Added shouldSortWhenCreating function
- Added test coverage
- Removed typehinting on scope in interface.
- Removed typehinting on scope
- Added an argument to
setNewOrder
to specify the starting order - Adopted psr-2 and psr-4