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