Upgrade to v0.06999_04
[dbsrgits/DBIx-Class.git] / Changes
1 Revision history for DBIx::Class
2
3 0.06999_04 2006-06-29 20:18:47
4         - disable cdbi-t/02-Film.t warning tests under AS perl
5         - fixups to MySQL tests (aka "work round mysql being retarded")
6         - compat tweaks for Storage debug logging
7
8 0.06999_03 2006-06-26 21:04:44
9         - various documentation improvements
10         - fixes to pass test suite on Windows
11         - rewrote and cleaned up SQL::Translator tests
12         - changed relationship helpers to only call ensure_class_loaded when the
13           join condition is inferred 
14         - rewrote many_to_many implementation, now provides helpers for adding
15           and deleting objects without dealing with the link table
16         - reworked InflateColumn implementation to lazily deflate where
17           possible; now handles passing an inflated object to new()
18         - changed join merging to not create a rel_2 alias when adding a join
19           that already exists in a parent resultset
20         - Storage::DBI::deployment_statements now calls ensure_connected
21           if it isn't passed a type 
22         - fixed Componentized::ensure_class_loaded
23         - InflateColumn::DateTime supports date as well as datetime
24         - split Storage::DBI::MSSQL into MSSQL and Sybase::MSSQL
25         - fixed wrong debugging hook call in Storage::DBI 
26         - set connect_info properly before setting any ->sql_maker things 
27
28 0.06999_02 2006-06-09 23:58:33
29         - Fixed up POD::Coverage tests, filled in some POD holes
30         - Added a warning for incorrect component order in load_components
31         - Fixed resultset bugs to do with related searches
32         - added code and tests for Componentized::ensure_class_found and
33           load_optional_class
34         - NoBindVars + Sybase + MSSQL stuff
35         - only rebless S::DBI if it is still S::DBI and not a subclass
36         - Added `use' statement for DBD::Pg in Storage::DBI::Pg
37         - stopped test relying on order of unordered search
38         - bugfix for join-types in nested joins using the from attribute
39         - obscure prefetch problem fixed
40         - tightened up deep search_related
41         - Fixed 'DBIx/Class/DB.pm did not return a true value' error
42         - Revert change to test for deprecated find usage and swallow warnings
43         - Slight wording change to new_related() POD
44         - new specific test for connect_info coderefs
45         - POD clarification and content bugfixing + a few code formatting fixes
46         - POD::Coverage additions
47         - fixed debugfh
48         - Fix column_info stomping
49
50 0.06999_01 2006-05-28 17:19:30
51         - add automatic naming of unique constraints
52         - marked DB.pm as deprecated and noted it will be removed by 1.0
53         - add ResultSetColumn
54         - refactor ResultSet code to resolve attrs as late as possible
55         - merge prefetch attrs into join attrs
56         - add +select and +as attributes to ResultSet
57         - added InflateColumn::DateTime component
58         - refactor debugging to allow for profiling using Storage::Statistics
59         - removed Data::UUID from deps, made other optionals required
60         - modified SQLT parser to skip dupe table names
61         - added remove_column(s) to ResultSource/ResultSourceProxy
62         - added add_column alias to ResultSourceProxy
63         - added source_name to ResultSource
64         - load_classes now uses source_name and sets it if necessary
65         - add update_or_create_related to Relationship::Base
66         - add find_or_new to ResultSet/ResultSetProxy and find_or_new_related
67           to Relationship::Base
68         - add accessors for unique constraint names and coulums to
69           ResultSource/ResultSourceProxy
70         - rework ResultSet::find() to search unique constraints
71         - CDBICompat: modify retrieve to fix column casing when ColumnCase is
72           loaded
73         - CDBICompat: override find_or_create to fix column casing when
74           ColumnCase is loaded
75         - reorganized and simplified tests
76         - added Ordered
77         - added the ability to set on_connect_do and the various sql_maker
78           options as part of Storage::DBI's connect_info.
79
80 0.06003 2006-05-19 15:37:30
81         - make find_or_create_related check defined() instead of truth
82         - don't unnecessarily fetch rels for cascade_update
83         - don't set_columns explicitly in update_or_create; instead use
84           update($hashref) so InflateColumn works
85         - fix for has_many prefetch with 0 related rows
86         - make limit error if rows => 0
87         - added memory cycle tests and a long-needed weaken call
88
89 0.06002 2006-04-20 00:42:41
90         - fix set_from_related to accept undef
91         - fix to Dumper-induced hash iteration bug
92         - fix to copy() with non-composed resultsource
93         - fix to ->search without args to clone rs but maintain cache
94         - grab $self->dbh once per function in Storage::DBI
95         - nuke ResultSource caching of ->resultset for consistency reasons
96         - fix for -and conditions when updating or deleting on a ResultSet
97
98 0.06001 2006-04-08 21:48:43
99         - minor fix to update in case of undefined rels
100         - fixes for cascade delete
101         - substantial improvements and fixes to deploy
102         - Added fix for quoting with single table
103         - Substantial fixes and improvements to deploy
104         - slice now uses search directly
105         - fixes for update() on resultset
106         - bugfix to Cursor to avoid error during DESTROY
107         - transaction DBI operations now in debug trace output
108
109 0.06000 2006-03-25 18:03:46
110         - Lots of documentation improvements
111         - Minor tweak to related_resultset to prevent it storing a searched rs
112         - Fixup to columns_info_for when database returns type(size)
113         - Made do_txn respect void context (on the off-chance somebody cares)
114         - Fix exception text for nonexistent key in ResultSet::find()
115
116 0.05999_04 2006-03-18 19:20:49
117         - Fix for delete on full-table resultsets
118         - Removed caching on count() and added _count for pager()
119         - ->connection does nothing if ->storage defined and no args
120           (and hence ->connect acts like ->clone under the same conditions)
121         - Storage::DBI throws better exception if no connect info
122         - columns_info_for made more robust / informative
123         - ithreads compat added, fork compat improved
124         - weaken result_source in all resultsets
125         - Make pg seq extractor less sensitive.
126
127 0.05999_03 2006-03-14 01:58:10
128         - has_many prefetch fixes
129         - deploy now adds drop statements before creates
130         - deploy outputs debugging statements if DBIX_CLASS_STORAGE_DBI_DEBUG
131             is set
132
133 0.05999_02 2006-03-10 13:31:37
134         - remove test dep on YAML
135         - additional speed tweaks for C3
136         - allow scalarefs passed to order_by to go straight through to SQL
137         - renamed insert_or_update to update_or_insert (with compat alias)
138         - hidden lots of packages from the PAUSE Indexer
139
140 0.05999_01 2006-03-09 18:31:44
141         - renamed cols attribute to columns (cols still supported)
142         - added has_column_loaded to Row
143         - Storage::DBI connect_info supports coderef returning dbh as 1st arg
144         - load_components() doesn't prepend base when comp. prefixed with +
145         - $schema->deploy
146         - HAVING support
147         - prefetch for has_many
148         - cache attr for resultsets
149         - PK::Auto::* no longer required since Storage::DBI::* handle auto-inc
150         - minor tweak to tests for join edge case
151         - added cascade_copy relationship attribute
152           (sponsored by Airspace Software, http://www.airspace.co.uk/)
153         - clean up set_from_related
154         - made copy() automatically null out auto-inc columns
155         - added txn_do() method to Schema, which allows a coderef to be
156           executed atomically
157
158 0.05007 2006-02-24 00:59:00
159         - tweak to Componentised for Class::C3 0.11
160         - fixes for auto-inc under MSSQL
161
162 0.05006 2006-02-17 15:32:40
163         - storage fix for fork() and workaround for Apache::DBI
164         - made update(\%hash) work on row as well as rs
165         - another fix for count with scalar group_by
166         - remove dependency on Module::Find in 40resultsetmanager.t (RT #17598)
167
168 0.05005 2006-02-13 21:24:51
169         - remove build dependency on version.pm
170
171 0.05004 2006-02-13 20:59:00
172         - allow specification of related columns via cols attr when primary
173           keys of the related table are not fetched
174         - fix count for group_by as scalar
175         - add horrific fix to make Oracle's retarded limit syntax work
176         - remove Carp require
177         - changed UUIDColumns to use new UUIDMaker classes for uuid creation
178         using whatever module may be available
179
180 0.05003 2006-02-08 17:50:20
181         - add component_class accessors and use them for *_class
182         - small fixes to Serialize and ResultSetManager
183         - rollback on disconnect, and disconnect on DESTROY
184
185 0.05002 2006-02-06 12:12:03
186         - Added recommends for Class::Inspector
187         - Added skip_all to t/40resultsetmanager.t if no Class::Inspector available
188
189 0.05001 2006-02-05 15:28:10
190         - debug output now prints NULL for undef params
191         - multi-step prefetch along the same rel (e.g. for trees) now works
192         - added multi-join (join => [ 'foo', 'foo' ]), aliases second to foo_2
193         - hack PK::Auto::Pg for "table" names referencing a schema
194         - find() with attributes works
195         - added experimental Serialize and ResultSetManager components
196         - added code attribute recording to DBIx::Class
197         - fix to find() for complex resultsets
198         - added of $storage->debugcb(sub { ... })
199         - added $source->resultset_attributes accessor
200         - added include_columns rs attr
201
202 0.05000 2006-02-01 16:48:30
203         - assorted doc fixes
204         - remove ObjectCache, not yet working in 0.05
205         - let many_to_many rels have attrs
206         - fix ID method in PK.pm to be saner for new internals
207         - fix t/30dbicplain.t to use ::Schema instead of
208           Catalyst::Model::DBIC::Plain
209
210 0.04999_06 2006-01-28 21:20:32
211         - fix Storage/DBI (tried to load deprecated ::Exception component)
212
213 0.04999_05 2006-01-28 20:13:52
214         - count will now work for grouped resultsets
215         - added accessor => option to column_info to specify accessor name
216         - added $schema->populate to load test data (similar to AR fixtures)
217         - removed cdbi-t dependencies, only run tests if installed
218         - Removed DBIx::Class::Exception
219         - unified throw_exception stuff, using Carp::Clan
220         - report query when sth generation fails.
221         - multi-step prefetch!
222         - inheritance fixes
223         - test tweaks
224
225 0.04999_04 2006-01-24 21:48:21
226         - more documentation improvements
227         - add columns_info_for for vendor-specific column info (Zbigniew Lukasiak)
228         - add SQL::Translator::Producer for DBIx::Class table classes (Jess Robinson)
229         - add unique constraint declaration (Daniel Westermann-Clark)
230         - add new update_or_create method (Daniel Westermann-Clark)
231         - rename ResultSetInstance class to ResultSetProxy, ResultSourceInstance
232           to ResultSourceProxy, and TableInstance to ResultSourceProxy::Table
233         - minor fixes to UUIDColumns
234         - add debugfh method and ENV magic for tracing SQL (Nigel Metheringham)
235
236 0.04999_03 2006-01-20 06:05:27
237         - imported Jess Robinson's SQL::Translator::Parser::DBIx::Class
238         - lots of internals cleanup to eliminate result_source_instance requirement
239         - added register_column and register_relationship class APIs
240         - made Storage::DBI use prepare_cached safely (thanks to Tim Bunce)
241         - many documentation improvements (thanks guys!)
242         - added ->connection, ->connect, ->register_source and ->clone schema methods
243         - Use croak instead of die for user errors.
244
245 0.04999_02 2006-01-14 07:17:35
246         - Schema is now self-contained; no requirement for co-operation
247         - add_relationship, relationships, relationship_info, has_relationship
248         - relationship handling on ResultSource
249         - all table handling now in Table.pm / ResultSource.pm
250         - added GROUP BY and DISTINCT support
251         - hacked around SQL::Abstract::Limit some more in DBIC::SQL::Abstract
252           (this may have fixed complex quoting)
253         - moved inflation to inflate_result in Row.pm
254         - added $rs->search_related
255         - split compose_namespace out of compose_connection in Schema
256         - ResultSet now handles find
257         - various *_related methods are now ->search_related->*
258         - added new_result to ResultSet
259
260 0.04999_01 2005-12-27 03:33:42
261         - search and related methods moved to ResultSet
262         - select and as added to ResultSet attrs
263         - added DBIx::Class::Table and TableInstance for table-per-class
264         - added DBIx::Class::ResultSetInstance which handles proxying
265           search etc. as a superclass of DBIx::Class::DB
266         - assorted test and code cleanup work
267
268 0.04001 2005-12-13 22:00:00
269         - Fix so set_inflated_column calls set_column
270         - Syntax errors in relationship classes are now reported
271         - Better error detection in set_primary_key and columns methods
272         - Documentation improvements
273         - Better transaction support with txn_* methods
274         - belongs_to now works when $cond is a string
275         - PK::Auto::Pg updated, only tries primary keys instead of all cols
276
277 0.04 2005-11-26
278         - Moved get_simple and set_simple into AccessorGroup
279         - Made 'new' die if given invalid columns
280         - Added has_column and column_info to Table.pm
281         - Refactored away from direct use of _columns and _primaries
282         - Switched from NEXT to Class::C3
283
284 0.03004
285         - Added an || '' to the CDBICompat stringify to avoid null warnings
286         - Updated name section for manual pods
287 0.03003 2005-11-03 17:00:00
288         - POD fixes.
289         - Changed use to require in Relationship/Base to avoid import.
290
291 0.03002 2005-10-20 22:35:00
292         - Minor bugfix to new (Row.pm)
293         - Schema doesn't die if it can't load a class (Schema.pm)
294         - New UUID columns plugin (UUIDColumns.pm)
295         - Documentation improvements.
296
297 0.03001 2005-09-23 14:00:00
298         - Fixes to relationship helpers
299         - IMPORTANT: prefetch/schema combination bug fix
300
301 0.03    2005-09-19 19:35:00
302         - Paging support
303         - Join support on search
304         - Prefetch support on search
305
306 0.02    2005-08-12 18:00:00
307         - Test fixes.
308         - Performance improvements.
309         - Oracle primary key support.
310         - MS-SQL primary key support.
311         - SQL::Abstract::Limit integration for database-agnostic limiting.
312
313 0.01    2005-08-08 17:10:00
314         - initial release