xmlblog / acts_as_versioned forked from metaskills/acts_as_versioned

ActiveRecord plugin for versioning your models.

acts_as_versioned / CHANGELOG
100644 131 lines (79 sloc) 4.689 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
 
[master]
 
  *
  
[0.6.5]
  * (22 Jul 2009) Fixed bug where version class would not use the connection of the acts_as_versioned class
    This means you can now use acts_as_versioned with multiple databases and have the version table live
    in the same database as its "parent" [Christian Romney (xmlblog)]
 
[0.6.4]
  * (12 Jun 2009) Merged from technoweenie/master with adaptation to MetaSkills' test format [xmlblog]
1bd3d2 Make sure that without_locking reverts AR::Base.lock_optimistically to its
old value even if the given block raises an exception [Hongli Lai (Phusion)]
 
  * (12 Jun 2009) Merged d7c0da and a42dba from technoweenie/master in one step to ensure each check-in passes all tests [xmlblog]
a42dba Remove the test_version_has_unique_created_at unit test, which is no
longer needed because of commit d7c0da03 [Hongli Lai (Phusion)]
d7c0da Removes created_at and created_on from the default non_versioned_columns [ngocdaothanh]
 
[0.6.3]
  
  * (04 Apr 2009) Remove :dependent => :delete_all options as it is hard to override with
    association_options. [Ken Collins]
 
[0.6.2]
 
  * (08 Feb 2009) Avoid error with model preload by removing create_versioned_table call in AAV call. [Ngoc Dao]
  * (08 Feb 2009) Do not force updated_at [Ngoc Dao]
  * (08 Feb 2009) Change the create_versioned_table class method to ask the connection if table_exists?. Fixes
    a bug that allows adapters that allow user owned prefixes for table names. [Ken Collins]
 
 
[0.6.1]
  
  * (29 Dec 2008) Remove #versions_count really. [Ken Collins]
  * (30 Dec 2008) Add assert_sql support in boot.rb. Also changed core lib to order by the has many versions
    association with the version_column, support with tests. [Ken Collins]
 
[0.6]
  
  * (23 Dec 2008) Clean up old old code and start move towards new gem [Ken Collins]
    * Starting a .gitignore file.
    * Moving to a test/lib based directory structure with a boot and AAV test case based from ActiveRecord's case.
    * Create rake test and test_dbs tasks.
    * Create a gemspec for publishing as a gem.
 
[0.5.2]
 
  * (16 Jun 2008) Backwards Compatibility is overrated (big updates for rails 2.1)
    * Use ActiveRecord 2.1's dirty attribute checking instead [Asa Calow]
    * Remove last traces of #non_versioned_fields
    * Remove AR::Base.find_version and AR::Base.find_versions, rely on AR association proxies and named_scope
    * Remove #versions_count, rely on AR association counter caching.
    * Remove #versioned_attributes, basically the same as AR::Base.versioned_columns
 
  * (5 Oct 2006) Allow customization of #versions association options [Dan Peterson]
 
[0.5.1]
 
  * (8 Aug 2006) Versioned models now belong to the unversioned model. @article_version.article.class => Article [Aslak Hellesoy]
 
[0.5]
 
  * (21 Apr 2006) Added without_locking and without_revision methods.
    Foo.without_revision do
      @foo.update_attributes ...
    end
 
[0.4]
 
  * (28 March 2006) Rename non_versioned_fields to non_versioned_columns (old one is kept for compatibility).
  * (28 March 2006) Made explicit documentation note that string column names are required for non_versioned_columns.
 
[0.3.1]
 
  * (7 Jan 2006) explicitly set :foreign_key option for the versioned model's belongs_to assocation for STI [Caged]
  * (7 Jan 2006) added tests to prove has_many :through joins work
 
[0.3]
 
  * (2 Jan 2006) added ability to share a mixin with versioned class
  * (2 Jan 2006) changed the dynamic version model to MyModel::Version
 
[0.2.4]
 
  * (27 Nov 2005) added note about possible destructive behavior of if_changed? [Michael Schuerig]
 
[0.2.3]
 
  * (12 Nov 2005) fixed bug with old behavior of #blank? [Michael Schuerig]
  * (12 Nov 2005) updated tests to use ActiveRecord Schema
 
[0.2.2]
 
  * (3 Nov 2005) added documentation note to #acts_as_versioned [Martin Jul]
 
[0.2.1]
 
  * (6 Oct 2005) renamed dirty? to changed? to keep it uniform. it was aliased to keep it backwards compatible.
 
[0.2]
 
  * (6 Oct 2005) added find_versions and find_version class methods.
 
  * (6 Oct 2005) removed transaction from create_versioned_table().
    this way you can specify your own transaction around a group of operations.
 
  * (30 Sep 2005) fixed bug where find_versions() would order by 'version' twice. (found by Joe Clark)
 
  * (26 Sep 2005) added :sequence_name option to acts_as_versioned to set the sequence name on the versioned model
 
[0.1.3]
 
  * (18 Sep 2005) First RubyForge release
 
[0.1.2]
 
  * check if module is already included when acts_as_versioned is called
 
[0.1.1]
 
  * Adding tests and rdocs
 
[0.1]
 
  * Initial transfer from Rails ticket: http://dev.rubyonrails.com/ticket/1974