Skip to content

Releases: dmarkow/ecto_ranked

v0.6.0

08 Aug 22:58
Compare
Choose a tag to compare
  • Parse strings for position numbers, e.g. treating "12" the same as 12

v0.5.0

21 Jan 21:21
Compare
Choose a tag to compare
  • 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

02 Apr 16:00
Compare
Choose a tag to compare

Fix arithmetic error when repositioning the only item in a scope by integer

v0.4.1

20 Feb 15:20
Compare
Choose a tag to compare

Fix a quoted keyword compilation warning

v0.3.0

01 Jun 20:13
Compare
Choose a tag to compare
  • Add ability for legacy records (null ranked) to generate ranks (thanks @densefog!)

v0.2.0

09 Mar 14:41
Compare
Choose a tag to compare
  • Add a :prefix option to set_rank that will be passed down to all Ecto queries

v0.1.6

17 Jul 17:15
Compare
Choose a tag to compare
  • Fix checking of changes to scope fields when multiple scopes are used

v0.1.1

15 May 14:08
Compare
Choose a tag to compare
  • Add more documentation
  • Allow atoms for positioning (:up, :down, :first, :last)

v0.1.0

15 May 13:45
Compare
Choose a tag to compare

This first stable release should be functionally equivalent to Rails' ranked-model gem.

v0.1.0-alpha.1

13 May 19:51
Compare
Choose a tag to compare
v0.1.0-alpha.1 Pre-release
Pre-release

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.