Skip to content

Latest commit

 

History

History
304 lines (223 loc) · 23.2 KB

CHANGELOG.md

File metadata and controls

304 lines (223 loc) · 23.2 KB

Change Log

v0.7.5 (2016-06-30)

Full Changelog

Implemented enhancements:

Closed issues:

  • Exception raised when calling destroy "NameError - instance variable @scope_changed not defined:" #206
  • Undefined instance variable @scope_changed since 0.7.3 #199
  • Reordering large lists is slow #198
  • Reparenting child leaves gap in source list in rails 5 #194
  • Support rails 5 ? #186
  • I get a NoMethodError: undefined method `acts_as_list' when trying to include acts_as_list #176
  • Phenomenon of mysterious value of the position is skipped by one #166
  • Model.find being called twice with acts_as_list on destroy #161
  • scope\_changed? problem with acts_as_paranoid #158
  • Inconsistent behaviour between Symbol and Array scopes #155
  • insert_at doesn't seem to be working in ActiveRecord callback (Rails 4.2) #150
  • Project Documentation link redirects to expired domain #149
  • Problem when updating an position of array of AR objects. #137
  • Unexpected behaviour when inserting consecutive items with default positions #124
  • self.reload prone to error #122
  • Rails 3.0.x in_list causes the return of default_scope #120
  • Relationships with dependency:destroy cause ActiveRecord::RecordNotFound #118
  • Using insert_at with values with type String #117
  • Batch setting of position #112
  • position: 0 now makes model pushed to top? #110
  • Create element in default position #103
  • Enhancement: Expose scope object #97
  • Shuffle list #96
  • Creating an item with a nil scope should not add it to the list #92
  • Performance Improvements #88
  • has_many :through or has_many_and_belongs_to_many support #86
  • ActiveRecord dependency causes rake assets:compile to fail without access to a database #84
  • move_higher/move_lower vs move_to_top/move_to_bottom act differently when item is already at top or bottom #77
  • Limiting the list size #61
  • Adding multiple creates strange ordering #55
  • Feature: sort #26

Merged pull requests:

v0.7.4 (2016-04-15)

Full Changelog

Closed issues:

  • Releasing a new gem version #196

Merged pull requests:

v0.7.3 (2016-04-14)

Full Changelog

v0.7.2 (2016-04-01)

Full Changelog

Closed issues:

  • DEPRECATION WARNING: Passing string to define callback on Rails 5 beta 3 #191
  • Why is add\_to\_list\_bottom private? #187
  • Ordering of children when there are two possible parent models. #172
  • Fix the jruby and rbx builds #169
  • Unable to run tests #162
  • shuffle_positions_on_intermediate_items is creating problems #134
  • introduce Changelog file to quickly track changes #68
  • Mongoid support? #52

Merged pull requests:

  • Add filename/line number to class_eval call #193 (hfwang)
  • Use a symbol as a string to define callback #192 (brendon)
  • Pin changelog generator to a working version #190 (fabn)
  • Fix bug, position is recomputed when object saved #188 (chrisortman)
  • Update bundler before running tests, fixes test run on travis #179 (fabn)
  • Changelog generator, closes #68 #177 (fabn)
  • Updating README example #175 (ryanbillings)
  • Adds description about various options available with the acts_as_list method #168 (udit7590)
  • Small changes to DRY up list.rb #163 (Albin-Willman)
  • Only swap changed attributes which are persistable, i.e. are DB columns. #152 (ludwigschubert)

0.7.2 (2015-05-06)

Full Changelog

0.7.1 (2015-05-06)

Full Changelog

Merged pull requests:

0.7.0 (2015-05-01)

Full Changelog

Closed issues:

  • Problem with reordering scoped list items #154
  • Can no longer load acts_as_list in isolation if Rails is installed #145

Merged pull requests:

0.6.0 (2014-12-24)

Full Changelog

Closed issues:

  • Deprecation Warning: sanitize_sql_hash_for_conditions is deprecated and will be removed in Rails 5.0 #143
  • Release a new gem version #136

Merged pull requests:

  • Fix sanitize_sql_hash_for_conditions deprecation warning in Rails 4.2 #140 (eagletmt)
  • Simpler method to find the subclass name #139 (brendon)
  • Rails4 enum column support #130 (arunagw)
  • use eval for determing the self.class.name useful when this is used in an abstract class #123 (flarik)

0.5.0 (2014-10-31)

Full Changelog

Closed issues:

  • I want to have my existing records works like list #133
  • Add Support For Multiple Indexes #127
  • changing parent_id does not update item positions #126
  • How to exclude objects to be positioned? #125
  • Scope for Polymorphic association + ManyToMany #106
  • Bug when use #insert_at on an invalid ActiveRecord object #99
  • has_many :through with acts as list #95
  • Update position when scope changes #19

Merged pull requests:

  • Cast column default value to int before comparing with position column #129 (wioux)
  • Fix travis builds for rbx #128 (meineerde)
  • Use unscoped blocks instead of chaining #121 (brendon)
  • Make acts_as_list more compatible with BINARY column #116 (sikachu)
  • Added help notes on non-association scopes #115 (VorontsovIE)
  • Let AR::Base properly lazy-loaded if Railtie is available #114 (amatsuda)

0.4.0 (2014-02-22)

Full Changelog

Closed issues:

  • insert_at creates gaps #108
  • move_lower and move_higher not working returning nil #57
  • Mass-assignment issue with 0.1.8 #50
  • validates error #49
  • Ability to move multiple at once #40
  • Duplicates created when using accepts_nested_attributes_for #29

Merged pull requests:

0.3.0 (2013-08-02)

Full Changelog

Closed issues:

  • act_as_list didn't install with bundle install #83
  • Cannot update to version 0.1.7 #48
  • when position is null all new items get inserted in position 1 #41

Merged pull requests:

0.2.0 (2013-02-28)

Full Changelog

Merged pull requests:

  • Fix update_all deprecation warnings in Rails 4.0.0.beta1 #73 (soffes)
  • Add quotes to Id in SQL requests #69 (noefroidevaux)
  • Update position when scope changes #67 (philippfranke)
  • add and categorize public instance methods in readme; add misc notes to ... #66 (barelyknown)
  • Updates #bottom_item .find syntax to >= Rails 3 compatible syntax. #65 (tvdeyen)
  • add GitHub Flavored Markdown to README #63 (phlipper)

0.1.9 (2012-12-04)

Full Changelog

Closed issues:

  • Mysql2 error #54
  • Use alternative column name? #53

Merged pull requests:

  • attr-accessible can be damaging, is not always necessary. #60 (graemeworthy)
  • More reliable lower/higher item detection #59 (miks)
  • Instructions for using an array with scope #58 (zukowski)
  • Attr accessible patch, should solve #50 #51 (fabn)
  • support accepts_nested_attributes_for multi-destroy #46 (saberma)

0.1.8 (2012-08-09)

Full Changelog

0.1.7 (2012-08-09)

Full Changelog

Closed issues:

  • Remove use of update_attribute #44
  • Order is reversed when adding multiple rows at once #34

Merged pull requests:

  • Fixed issue with update_positions that wasn't taking 'scope_condition' into account #47 (bastien)
  • Replaced usage of update_attribute with update_attribute! #45 (kevmoo)
  • use self.class.primary_key instead of id in shuffle_positions_on_intermediate_items #42 (servercrunch)
  • initialize gem #39 (megatux)
  • Added ability to set item positions directly (e.g. In a form) #38 (dubroe)
  • Prevent SQL error when position_column is not unique #37 (hinrik)
  • Add installation instructions to README.md #35 (mark-rushakoff)

0.1.6 (2012-04-19)

Full Changelog

Closed issues:

  • eval mistakenly resolved the module path #32
  • Duplicated positions when creating parent and children from scratch in 0.1.5 #31
  • add info about v0.1.5 require Rails 3 #28
  • position not updated with move_higher or move_lover #23

Merged pull requests:

0.1.5 (2012-02-24)

Full Changelog

Closed issues:

  • increment_positions_on_lower_items called twice on insert_at with new item #21
  • Change bundler dependency from ~>1.0.0 to ~>1.0 #20
  • decrement_positions_on_lower_items method #17
  • New gem release #16
  • acts_as_list :scope => "doesnt_seem_to_work" #12
  • don't work perfectly with default_scope #11
  • MySQL: Position column MUST NOT have default #10
  • insert_at fails on postgresql w/ non-null constraint on postion_column #8

Merged pull requests:

  • Efficiency improvement for insert_at when repositioning an existing item #27 (bradediger)
  • Use before validate instead of before create #25 (webervin)
  • Massive test refactorings. #24 (splattael)
  • Silent migrations to reduce test noise. #22 (splattael)
  • Should decrement lower items after the item has been destroyed to avoid unique key conflicts. #18 (aepstein)
  • Fix spelling and grammer #15 (tmiller)
  • store_at_0 should yank item from the list then decrement items to avoid r #14 (aepstein)
  • Support default_scope ordering by calling .unscoped #13 (tanordheim)

0.1.4 (2011-07-27)

Full Changelog

Merged pull requests:

0.1.3 (2011-06-10)

Closed issues:

  • Graph like behaviour #5
  • Updated Gem? #4

Merged pull requests:

  • Converted into a gem... plus some slight refactors #6 (chaffeqa)
  • Fixed test issue for test_injection: expected SQL was reversed. #3 (afriqs)
  • Added an option to set the top of the position #2 (danielcooper)
  • minor change to acts_as_list's callbacks #1 (tiegz)

* This Change Log was automatically generated by github_changelog_generator