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