Releases: dmarkow/ecto_ranked
Releases · dmarkow/ecto_ranked
v0.6.0
- Parse strings for position numbers, e.g. treating "12" the same as 12
v0.5.0
- When an item is about to be inserted in the only position in a gap (which would leave no gap), the list is rebalanced first, allowing for several appended items before another rebalancing.
v0.4.2
Fix arithmetic error when repositioning the only item in a scope by integer
v0.4.1
Fix a quoted keyword compilation warning
v0.3.0
- Add ability for legacy records (null ranked) to generate ranks (thanks @densefog!)
v0.2.0
- Add a
:prefix
option to set_rank
that will be passed down to all Ecto queries
v0.1.6
- Fix checking of changes to scope fields when multiple scopes are used
v0.1.1
- Add more documentation
- Allow atoms for positioning (
:up
, :down
, :first
, :last
)
v0.1.0
This first stable release should be functionally equivalent to Rails' ranked-model gem.
v0.1.0-alpha.1
This package is in its early stages and is barely functional. It's hard coded to use :rank and :position fields and only supports passing numbers for :position.