Skip to content
Newer
Older
100644 271 lines (193 sloc) 10.9 KB
f3936bb @samlown Fixing history
samlown authored
1 # CouchRest Model Change History
2
1ef25c5 @samlown Fixing as_json to always use a simple Hash and remove nils. History u…
samlown authored
3 ## 1.1.0 - 2011-05-XX
4
5 * Minor fixes
6 * #as_json now correctly uses ActiveSupports methods.
7 * nil properties are now no longer sent in the document body.
8 * Rails 3.1 support (Peter Williams)
9 * Initialization blocks when creating new models (Peter Williams)
10 * Removed railties dependency (DAddYE)
fba1e53 @samlown Overriding couchrest's database delete method to ensure design cache …
samlown authored
11 * DesignDoc cache refreshed if a database is deleted.
938bf2c @samlown Fixing dirty tracking on collection_of association type
samlown authored
12 * Fixing dirty tracking on collection_of association.
d56179a @samlown Views for unique validations created on loading, not execution
samlown authored
13 * Uniqueness Validation views created on initialization, not on demand!
1ef25c5 @samlown Fixing as_json to always use a simple Hash and remove nils. History u…
samlown authored
14
15
f3936bb @samlown Fixing history
samlown authored
16 ## 1.1.0.beta5 - 2011-04-30
814e38f @samlown Fixing issues when loading with rails
samlown authored
17
18 * Major changes:
19 * Database auto configuration, with connection options!
e8e1722 @samlown Changing model_type_key one last time to 'type'. General doc refineme…
samlown authored
20 * Changed default CouchRest Model type to 'type' to be more consistent with ActiveRecord's reserverd words we're all used to (sorry for the change again!!)
21
22 * Minor changes
23 * Added filter option to designs (Used with CouchDB _changes feeds)
814e38f @samlown Fixing issues when loading with rails
samlown authored
24
f3936bb @samlown Fixing history
samlown authored
25 ## 1.1.0.beta4
00a4cc7 @samlown Finalizing support for including hash codes in Design documents
samlown authored
26
bc4c871 @samlown Setting default model type name to 'model'
samlown authored
27 * Major changes:
b3e8fba @samlown Refinements to dirty tracking so always enabled unless loading from t…
samlown authored
28 * Fast Dirty Tracking! Many thanks to @sobakasu (Andrew Williams)
bc4c871 @samlown Setting default model type name to 'model'
samlown authored
29 * Default CouchRest Model type field now set to 'model' instead of 'couchrest-type'.
30
00a4cc7 @samlown Finalizing support for including hash codes in Design documents
samlown authored
31 * Minor enhancements:
32 * Adding "couchrest-hash" to Design Docs with aim to improve view update handling.
5805f6e @samlown Refactoring design doc manipulation for a much simpler and more relia…
samlown authored
33 * Major changes to the way design document updates are handled internally.
34 * Added "auto_update_design_doc" configuration option.
2eed358 @samlown Adding support for start and end key swapping with descending
samlown authored
35 * Using #descending on View object will automatically swap startkey with endkey.
00a4cc7 @samlown Finalizing support for including hash codes in Design documents
samlown authored
36
f3936bb @samlown Fixing history
samlown authored
37 ## 1.1.0.beta3
2cc119b @samlown Fixing issues with dirty tracking on nested models and related improv…
samlown authored
38
39 * Removed
40
f3936bb @samlown Fixing history
samlown authored
41 ## 1.1.0.beta2
38257f4 @samlown Time handling improved to ensure UTC always used
samlown authored
42
43 * Minor enhancements:
33b844b @samlown History update
samlown authored
44 * Time handling improved in accordance with CouchRest 1.1.0. Always set to UTC.
760d855 @samlown Fixing and testing proxyable with associations and validation
samlown authored
45 * Refinements to associations and uniqueness validation for proxy (based on issue found by Gleb Kanterov)
1d37f12 @samlown Adding support for scopes on unique validation
samlown authored
46 * Added :allow_nil and :allow_blank options when creating a new view
47 * Unique Validation now supports scopes!
a6becd7 @samlown Fixing issues with Ruby 1.8.7
samlown authored
48 * Added support for #keys with list on Design View.
38257f4 @samlown Time handling improved to ensure UTC always used
samlown authored
49
f3936bb @samlown Fixing history
samlown authored
50 ## 1.1.0.beta
e895988 @samlown Improving documentation, VERSION increase
samlown authored
51
52 * Epic enhancements:
53 * Added "View" object for dynamic view queries
54 * Added easy to use proxy_for and proxied_by class methods for proxying data
1019a44 @samlown Anonymous casted model properties no longer require block parameter
samlown authored
55
56 * Minor enhancements:
57 * A yield parameter in an anonymous casted model property block is no longer required (@samlown)
9e1f428 @samlown Demoting collection support, using latest couchrest, ensuring reduce …
samlown authored
58 * Narrow the rescued exception to avoid catching class evaluation errors that has nothing to to with the association (thanks Simone Carletti)
59 * Fix validate uniqueness test that was never executed (thanks Simone Carletti)
60 * Adds a #reload method to reload document attributes (thanks Simone Carletti)
0e51dcf @samlown Merge branch 'master' of github.com:couchrest/couchrest_model
samlown authored
61 * Numeric types can be casted from strings with leading or trailing whitespace (thanks chrisdurtschi)
9e1f428 @samlown Demoting collection support, using latest couchrest, ensuring reduce …
samlown authored
62 * CollectionProxy no longer provided by default with simple views (pending deprication)
1019a44 @samlown Anonymous casted model properties no longer require block parameter
samlown authored
63
f3936bb @samlown Fixing history
samlown authored
64 ## CouchRest Model 1.0.0
5c21de8 @samlown Fixing find(blank) issue
samlown authored
65
66 * Major enhancements
85cd130 @samlown Adding configuration support and changing 'couchrest-type' key to 'mo…
samlown authored
67 * Support for configuration module and "model_type_key" option for overriding model's type key
1d1d815 @samlown Adding support for mass_assign_any_attribute config option and refact…
samlown authored
68 * Added "mass_assign_any_attribute" configuration option to allow setting anything via the attribute= method.
5c21de8 @samlown Fixing find(blank) issue
samlown authored
69
70 * Minor enhancements
71 * Fixing find("") issue (thanks epochwolf)
9419622 @samlown updating history
samlown authored
72 * Altered protected attributes so that hash provided to #attributes= is not modified
e8d7af9 @samlown Handling cases when , used instead of . more elegantly
samlown authored
73 * Altering typecasting for floats to better handle commas and points
e1d140d @samlown Fixing the database in view bug
samlown authored
74 * Fixing the lame pagination bug where database url (and pass!!) were included in view requests (Thanks James Hayton)
5c21de8 @samlown Fixing find(blank) issue
samlown authored
75
ef6f54d @samlown history update
samlown authored
76 Notes:
77
78 * 2010-10-22 @samlown:
79 * ActiveModel Attribute support was added but has now been removed due to major performance issues.
80 Until these have been resolved (if possible?!) they should not be included. See the
81 'active_model_attrs' if you'd like to test.
82
f3936bb @samlown Fixing history
samlown authored
83 ## CouchRest Model 1.0.0.beta8
d5b3543 @tapajos updating the history
tapajos authored
84
85 * Major enhancements
c32992c @samlown Merge branch 'master' of git://github.com/tapajos/couchrest_model
samlown authored
86 * Added model generator
54f3a11 @tapajos bumped the version number to 0.36
tapajos authored
87
88 * Minor enhancements
bf22222 @samlown History for collection_of changes
samlown authored
89 * Raise error on adding objects to "collection_of" without an id
aac6b80 @will Allow mixing of protected and accessible properties.
will authored
90 * Allow mixing of protected and accessible properties. Any unspecified properties are now assumed to be protected by default
dad386d @samlown Fixing time parsing issue for times without zone
samlown authored
91 * Parsing times without zone
92 * Using latest rspec (2.0.0.beta.19)
e5cf39f @tapajos bumped the version number to 0.37
tapajos authored
93
f3936bb @samlown Fixing history
samlown authored
94 ## CouchRest Model 1.0.0.beta7
c280b3a @samlown Renaming to CouchRest Model
samlown authored
95
96 * Major enhancements
97 * Renamed ExtendedDocument to CouchRest::Model
aac6b80 @will Allow mixing of protected and accessible properties.
will authored
98 * Added initial support for simple belongs_to associations
c280b3a @samlown Renaming to CouchRest Model
samlown authored
99 * Added support for basic collection_of association (unique to document databases!)
100 * Moved Validation to ActiveModel
101 * Moved Callbacks to ActiveModel
102 * Removed support for properties defined using a string for the type instead of a class
da21fba @samlown minor doc change
samlown authored
103 * Validation always included
224c96e @samlown Doc update
samlown authored
104 * Uniqueness validation now available
c280b3a @samlown Renaming to CouchRest Model
samlown authored
105
c52f009 @samlown Fixing typoo
samlown authored
106 * Minor enhancements
107 * Removed support for auto_validate! and :length on properties
108
c280b3a @samlown Renaming to CouchRest Model
samlown authored
109
f3936bb @samlown Fixing history
samlown authored
110 ## 1.0.0.beta6
5d7fa3c @samlown updating history
samlown authored
111
c280b3a @samlown Renaming to CouchRest Model
samlown authored
112 * Major enhancements
113 * Added support for anonymous CastedModels defined in Documents
114
5d7fa3c @samlown updating history
samlown authored
115 * Minor enhancements
116 * Added 'find_by_*' alias for finding first item in view with matching key.
e638db6 @samlown Adding more tests for new property class layout
samlown authored
117 * Fixed issue with active_support in Rails3 and text in README for JSON.
118 * Refactoring of properties, added read_attribute and write_attribute methods.
64e34ee @samlown adding missing history entry
samlown authored
119 * Now possible to send anything to update_attribtues method. Invalid or readonly attributes will be ignored.
a7a6b2f @samlown adding initial support for belongs_to associations
samlown authored
120 * Attributes with arrays are *always* instantiated as a CastedArray.
1b89f1e @samlown Array Properties accept hash with ordered keys and raise error for an…
samlown authored
121 * Setting a property of type Array (or keyed hash) must be an array or an error will be raised.
122 * Now possible to set Array attribute from hash where keys determine order.
e638db6 @samlown Adding more tests for new property class layout
samlown authored
123
f3936bb @samlown Fixing history
samlown authored
124 ## 1.0.0.beta5
406c2e6 @samlown Altering history
samlown authored
125
126 * Minor enhancements
127 * Added 'find' alias for 'get' for easier rails transition
128
f3936bb @samlown Fixing history
samlown authored
129 ## 1.0.0.beta3
b0d2258 @samlown Improving handling of mime types, instanciation of documents from the
samlown authored
130
131 * Minor enhancements
132 * Removed Validation by default, requires too many structure changes (FAIL)
133 * Added support for instantiation of documents read from database as couchrest-type provided (Sam Lown)
134 * Improved attachment handling for detecting file type (Sam Lown)
135 * Removing some monkey patches and relying on active_support for constantize and humanize (Sam Lown)
89c45eb @samlown Adding support for setting types with hash
samlown authored
136 * Added support for setting type directly on property (Sam Lown)
b0d2258 @samlown Improving handling of mime types, instanciation of documents from the
samlown authored
137
138
f3936bb @samlown Fixing history
samlown authored
139 ## 1.0.0.beta2
303f0cd @samlown Adding validation by default
samlown authored
140
141 * Minor enhancements
142 * Enable Validation by default and refactored location (Sam Lown)
143
f3936bb @samlown Fixing history
samlown authored
144 ## 1.0.0.beta
3894579 @samlown Moving to own repo without the base couchrest
samlown authored
145
146 * Major enhancements
147 * Separated ExtendedDocument from main CouchRest gem (Sam Lown)
148
b0d2258 @samlown Improving handling of mime types, instanciation of documents from the
samlown authored
149 * Minor enhancements
150 * active_support included by default
151
f3936bb @samlown Fixing history
samlown authored
152 ## 0.37
e5cf39f @tapajos bumped the version number to 0.37
tapajos authored
153
154 * Minor enhancements
5eb40e5 @tapajos Added gemspec (needed for Bundler install)
tapajos authored
155 * Added gemspec (needed for Bundler install) (Tapajós)
54f3a11 @tapajos bumped the version number to 0.36
tapajos authored
156
f3936bb @samlown Fixing history
samlown authored
157 ## 0.36
54f3a11 @tapajos bumped the version number to 0.36
tapajos authored
158
159 * Major enhancements
cc76921 @will update history
will authored
160 * Adds support for continuous replication (sauy7)
6eed876 @will update history, and add will to authors
will authored
161 * Automatic Type Casting (Alexander Uvarov, Sam Lown, Tim Heighes, Will Leinweber)
54f3a11 @tapajos bumped the version number to 0.36
tapajos authored
162 * Added a search method to CouchRest:Database to search the documents in a given database. (Dave Farkas, Arnaud Berthomier, John Wood)
aac6b80 @will Allow mixing of protected and accessible properties.
will authored
163
0d0a8ae @tapajos bumped the version number to 0.35
tapajos authored
164 * Minor enhancements
13d76d3 @will update history
will authored
165 * Provide a description of the timeout error (John Wood)
0d0a8ae @tapajos bumped the version number to 0.35
tapajos authored
166
f3936bb @samlown Fixing history
samlown authored
167 ## 0.35
0d0a8ae @tapajos bumped the version number to 0.35
tapajos authored
168
169 * Major enhancements
17dac85 @tapajos Changing CouchRest::ExtendedDocument to allow chaining the inherit cl…
tapajos authored
170 * CouchRest::ExtendedDocument allow chaining the inherit class callback (Kenneth Kalmer) - http://github.com/couchrest/couchrest/issues#issue/8
d5b3543 @tapajos updating the history
tapajos authored
171
172 * Minor enhancements
173 * Fix attachment bug (Johannes Jörg Schmidt)
b147e2c @tapajos updating history.txt
tapajos authored
174 * Fix create database exception bug (Damien Mathieu)
5707d89 @will Update history.txt
will authored
175 * Compatible with restclient >= 1.4.0 new responses (Julien Kirch)
f16e514 @will update history.txt
will authored
176 * Bug fix: Attribute protection no longer strips attributes coming from the database (Will Leinweber)
b1f4040 @tapajos update history.txt
tapajos authored
177 * Bug fix: Remove double CGI escape when PUTting an attachment (nzoschke)
3724a33 @tapajos update history.txt
tapajos authored
178 * Bug fix: Changing Class proxy to set database on result sets (Peter Gumeson)
0c1da91 @tapajos update history.txt
tapajos authored
179 * Bug fix: Updated time regexp (Nolan Darilek)
67ee6e3 @tapajos update history.txt
tapajos authored
180 * Added an update_doc method to database to handle conflicts during atomic updates. (Pierre Larochelle)
0d0a8ae @tapajos bumped the version number to 0.35
tapajos authored
181 * Bug fix: http://github.com/couchrest/couchrest/issues/#issue/2 (Luke Burton)
d5b3543 @tapajos updating the history
tapajos authored
182
f3936bb @samlown Fixing history
samlown authored
183 ## 0.34
b7209c2 @tapajos updating history
tapajos authored
184
185 * Major enhancements
186
187 * Added support for https database URIs. (Mathias Meyer)
188 * Changing some validations to be compatible with activemodel. (Marcos Tapajós)
189 * Adds attribute protection to properties. (Will Leinweber)
190 * Improved CouchRest::Database#save_doc, added "batch" mode to significantly speed up saves at cost of lower durability gurantees. (Igal Koshevoy)
191 * Added CouchRest::Database#bulk_save_doc and #batch_save_doc as human-friendlier wrappers around #save_doc. (Igal Koshevoy)
aac6b80 @will Allow mixing of protected and accessible properties.
will authored
192
193 * Minor enhancements
194
b7209c2 @tapajos updating history
tapajos authored
195 * Fix content_type handling for attachments
196 * Fixed a bug in the pagination code that caused it to paginate over records outside of the scope of the view parameters.(John Wood)
197 * Removed amount_pages calculation for the pagination collection, since it cannot be reliably calculated without a view.(John Wood)
198 * Bug fix: http://github.com/couchrest/couchrest/issues/#issue/2 (Luke Burton)
199 * Bug fix: http://github.com/couchrest/couchrest/issues/#issue/1 (Marcos Tapajós)
200 * Removed the Database class deprecation notices (Matt Aimonetti)
201 * Adding support to :cast_as => 'Date'. (Marcos Tapajós)
202 * Improve documentation (Marcos Tapajós)
203 * Streamer fixes (Julien Sanchez)
204 * Fix Save on Document & ExtendedDocument crashed if bulk (Julien Sanchez)
205 * Fix Initialization of ExtendentDocument model shouldn't failed on a nil value in argument (deepj)
08f2a04 @tapajos update history
tapajos authored
206 * Change to use Jeweler and Gemcutter (Marcos Tapajós)
b7209c2 @tapajos updating history
tapajos authored
207
f3936bb @samlown Fixing history
samlown authored
208 ## 0.33
0958be5 @mattetti updated the history.txt file
mattetti authored
209
210 * Major enhancements
211
212 * Added a new Rack logger middleware letting you log/save requests/queries (Matt Aimonetti)
aac6b80 @will Allow mixing of protected and accessible properties.
will authored
213
214 * Minor enhancements
215
6811745 @mattetti bumped the version number to 0.33
mattetti authored
216 * Added #amount_pages to a paginated result array (Matt Aimonetti)
217 * Ruby 1.9.2 compatible (Matt Aimonetti)
218 * Added a property? method for property cast as :boolean (John Wood)
0fc1a88 @mattetti updated the history file
mattetti authored
219 * Added an option to force the deletion of a attachments (bypass 409s) (Matt Aimonetti)
220 * Created a new abstraction layer for the REST API (Matt Aimonetti)
0958be5 @mattetti updated the history.txt file
mattetti authored
221 * Bug fix: made ExtendedDocument#all compatible with Couch 0.10 (tc)
222
f3936bb @samlown Fixing history
samlown authored
223 ## 0.32
aac6b80 @will Allow mixing of protected and accessible properties.
will authored
224
a4254be @mattetti updated history.txt
mattetti authored
225 * Major enhancements
226
227 * ExtendedDocument.get doesn't raise an exception anymore. If no documents are found nil is returned.
228 * ExtendedDocument.get! works the say #get used to work and will raise an exception if a document isn't found.
aac6b80 @will Allow mixing of protected and accessible properties.
will authored
229
230 * Minor enhancements
231
a4254be @mattetti updated history.txt
mattetti authored
232 * Bug fix: Model.all(:keys => [1,2]) was not working (Matt Aimonetti)
fc1ad2a @mattetti updated history
mattetti authored
233 * Added ValidationErrors#count in order to play nicely with Rails (Peter Wagenet)
52255e5 @mattetti updated the history.txt file
mattetti authored
234 * Bug fix: class proxy design doc refresh (Daniel Kirsh)
235 * Bug fix: the count method on the proxy collection was missing (Daniel Kirsch)
413a760 @mattetti added amount_pages to a paginated collection
mattetti authored
236 * Added #amount_pages to a paginated collection. (Matt Aimonetti)
237
f3936bb @samlown Fixing history
samlown authored
238 ## 0.31
8f8b5dc @mattetti added support to cast Float values
mattetti authored
239
240 * Major enhancements
241
242 * Created an abstraction HTTP layer to support different http adapters (Matt Aimonetti)
5140899 @mattetti Added ExtendedDocument.create({}) and #create!({}) so you don't have …
mattetti authored
243 * Added ExtendedDocument.create({}) and #create!({}) so you don't have to do Model.new.create (Matt Aimonetti)
aac6b80 @will Allow mixing of protected and accessible properties.
will authored
244
8f8b5dc @mattetti added support to cast Float values
mattetti authored
245 * Minor enhancements
aac6b80 @will Allow mixing of protected and accessible properties.
will authored
246
367bbd6 @mattetti updated the history.txt file
mattetti authored
247 * Added an init.rb file for easy usage as a Rails plugin (Aaron Quint)
248 * Bug fix: pagination shouldn't die on empty results (Arnaud Berthomier)
5140899 @mattetti Added ExtendedDocument.create({}) and #create!({}) so you don't have …
mattetti authored
249 * Optimized ExtendedDocument.count to run about 3x faster (Matt Aimonetti)
8f8b5dc @mattetti added support to cast Float values
mattetti authored
250 * Added Float casting (Ryan Felton & Matt Aimonetti)
251
f3936bb @samlown Fixing history
samlown authored
252 ## 0.30
aac6b80 @will Allow mixing of protected and accessible properties.
will authored
253
bd1b114 @mattetti bumped version to 0.30 and added history.txt + pagination doc in the …
mattetti authored
254 * Major enhancements
aac6b80 @will Allow mixing of protected and accessible properties.
will authored
255
bd1b114 @mattetti bumped version to 0.30 and added history.txt + pagination doc in the …
mattetti authored
256 * Added support for pagination (John Wood)
257 * Improved performance when initializing documents with timestamps (Matt Aimonetti)
aac6b80 @will Allow mixing of protected and accessible properties.
will authored
258
bd1b114 @mattetti bumped version to 0.30 and added history.txt + pagination doc in the …
mattetti authored
259 * Minor enhancements
aac6b80 @will Allow mixing of protected and accessible properties.
will authored
260
bd1b114 @mattetti bumped version to 0.30 and added history.txt + pagination doc in the …
mattetti authored
261 * Extended the API to retrieve an attachment URI (Matt Aimonetti)
262 * Bug fix: default value should be able to be set as false (Alexander Uvarov)
263 * Bug fix: validates_is_numeric should be able to properly validate a Float instance (Rob Kaufman)
264 * Bug fix: fixed the Timeout implementation (Seth Falcon)
aac6b80 @will Allow mixing of protected and accessible properties.
will authored
265
266
bd1b114 @mattetti bumped version to 0.30 and added history.txt + pagination doc in the …
mattetti authored
267 ---
268
269 Unfortunately, before 0.30 we did not keep a track of the modifications made to CouchRest.
5707d89 @will Update history.txt
will authored
270 You can see the full commit history on GitHub: http://github.com/couchrest/couchrest/commits/master/
Something went wrong with that request. Please try again.