Made update() on a rs that includes joins complain in the same way that delete()...
[dbsrgits/DBIx-Class.git] / Changes
1 Revision history for DBIx::Class
2         - Possible to set locale in IC::DateTime extra => {} config
3         - Calling the accessor of a belongs_to when the foreign_key
4           was NULL and the row was not stored would unexpectedly fail (groditi)
5 0.08099_06 2009-01-23 07:30:00 (UTC)
6         - Allow a scalarref to be supplied to the 'from' resultset attribute
7         - Classes submitted as result_class for a resultsource are now
8           automatically loaded via ensure_loaded()
9         - 'result_class' resultset attribute, identical to result_class()
10         - add 'undef_on_null_fk' option for relationship accessors of type 'single'.
11           This will prevent DBIC from querying the database if one or more of
12           the key columns IS NULL
13         - for 'belongs_to' rels, 'undef_on_null_fk' defaults to true.
14         - fixed scope unaware last_insert_id fetching for MSSQL
15           (http://msdn.microsoft.com/en-us/library/ms190315.aspx)
16         - an sqlt_deploy_hook can now be shared between result sources using
17           a configurable callback trigger
18         - new order_by => { -desc => 'colname' } syntax supported with
19           SQLA >= 1.50
20         - PG array datatype supported with SQLA >= 1.50
21         - insert should use store_column, not set_column to avoid marking
22           clean just-stored values as dirty. New test for this (groditi)
23
24 0.08099_05 2008-10-30 21:30:00 (UTC)
25         - Rewritte of Storage::DBI::connect_info(), extended with an
26           additional argument format type
27         - InflateColumn::DateTime: add warning about floating timezone
28         - InflateColumn::DateTime: possible to enforce/skip inflation
29         - delete throws exception if passed arguments to prevent drunken mishaps. (purge)
30         - Fix storage to copy scalar conds before regexping to avoid
31           trying to modify a constant in odd edge cases
32         - Related resultsets on uninserted objects are now empty
33         - Fixed up related resultsets and multi-create
34         - Fixed superfluous connection in ODBC::_rebless
35         - Fixed undef PK for first insert in ODBC::Microsoft_SQL_Server
36         - Added virtual method to Versioned so a user can create upgrade 
37           path across multiple versions (jgoulah)
38         - Better (and marginally faster) implementation of the HashRefInflator
39           hash construction algorithm
40         - Allow explicit specification of ON DELETE/ON UPDATE constraints
41           when using the SQLT parser
42
43 0.08099_04 2008-07-24 01:00:00
44         - Functionality to storage to enable a sub to be run without FK checks
45         - Fixed $schema->clone bug which caused clone and source to share 
46           internal hash refs
47         - Added register_extra_source methods for additional sources
48         - Added datetime_undef_if_invalid for InflateColumn::DateTime to
49           return undef on invalid date/time values
50         - Added search_related_rs method to ResultSet
51         - add a make_column_dirty method to Row to force updates
52         - throw a clear exception when user tries multi-has_many prefetch
53         - SQLT parser prefixes index names with ${table}_idx_ to avoid clashes
54         - mark ResultSetManager as deprecated and undocument it
55         - pod fix (RT #32988)
56         - add Test::Exception to test requirements (RT #34256)
57         - make ash's build_requires/META.yml fixes work better
58         - is_deferable support on relations used by the SQL::Translator
59           parser
60         - Refactored DBIx::Class::Schema::Versioned
61         - Syntax errors from resultset components are now reported correctly
62         - sqltargs respected correctly in deploy et al.
63         - Added support for savepoints, and using them automatically in
64           nested transactions if auto_savepoint is set in connect_info.
65         - Changed naming scheme for constraints and keys in the sqlt parser;
66           names should now be consistent and collision-free.
67         - Improve handling of explicit key attr in ResultSet::find
68         - Add warnings for non-unique ResultSet::find queries
69         - Changed Storage::DBI::Replication to Storage::DBI::Replicated and
70           refactored support.
71         - By default now deploy/diff et al. will ignore constraint and index 
72           names
73         - Add ResultSet::_is_deterministic_value, make new_result filter the
74           values passed to new to drop values that would generate invalid SQL.
75         - Use Sub::Name to name closures before installing them. Fixes 
76           incompatibility with Moose method modifiers on generated methods.
77
78 0.08010 2008-03-01 10:30
79         - Fix t/94versioning.t so it passes with latest SQL::Translator
80
81 0.08009 2008-01-20 13:30
82         - Made search_rs smarter about when to preserve the cache to fix
83           mm prefetch usage
84         - Added Storage::DBI subclass for MSSQL over ODBC. 
85         - Added freeze, thaw and dclone methods to Schema so that thawed
86           objects will get re-attached to the schema.
87         - Moved dbicadmin to JSON::Any wrapped JSON.pm for a sane API
88           (also fixes RT #32393)
89         - introduced DBIx::Class::set_inflated_columns
90         - DBIx::Class::Row::copy uses set_inflated_columns
91
92 0.08008 2007-11-16 14:30:00
93         - Fixed join merging bug (test from Zby)
94         - When adding relationships, it will throw an exception if you get the
95           foreign and self parts the wrong way round in the condition
96         - ResultSetColumn::func() now returns all results if called in list
97           context; this makes things like func('DISTINCT') work as expected
98         - Many-to-many relationships now warn if the utility methods would 
99           clash
100         - InflateColumn::DateTime now accepts an extra parameter of timezone
101           to set timezone on the DT object (thanks Sergio Salvi)
102         - Added sqlt_deploy_hook to result classes so that indexes can be 
103           added.
104         - Added startup checks to warn loudly if we appear to be running on 
105           RedHat systems from perl-5.8.8-10 and up that have the bless/overload
106           patch applied (badly) which causes 2x -> 100x performance penalty.
107           (Jon Schutz)
108         - ResultSource::reverse_relationship_info can distinguish between 
109           sources using the same table
110         - Row::insert will now not fall over if passed duplicate related objects
111         - Row::copy will not fall over if you have two relationships to the 
112           same source with a unique constraint on it
113
114 0.08007 2007-09-04 19:36:00
115         - patch for Oracle datetime inflation (abram@arin.net)
116         - added on_disconnect_do
117         - on_connect_do and on_disconnect_do take coderefs and arrayrefs
118
119 0.08006 2007-08-12 15:12:00
120         - Move to using Class::C3::Componentised
121         - Remove warn statement from DBIx::Class::Row
122
123 0.08005 2007-08-06 
124         - add timestamp fix re rt.cpan 26978 - no test yet but change
125           clearly should cause no regressions
126         - provide alias for related_resultset via local() so it's set
127           correctly at resultset construction time (fixes RestrictWithObject)
128         - fixes bind params in debug statements
129           (original test from abraxxa)
130         - fixed storage->connected fork bug
131           (test and fix from Radu Greab)
132         - add 1; to AccessorGroup.pm for stuff that still uses it
133         - refactor Statistics to create debugging filehandle to fix bug with
134           closed STDERR, update docs and modify Versioned to use Statistics
135           (original fix from diz)
136
137 0.08004 2007-08-06 19:00:00
138         - fix storage connect code to not trigger bug via auto-viv 
139           (test from aherzog)
140         - fixup cursor_class to be an 'inherited' attr for per-package defaults
141         - add default_resultset_attributes entry to Schema
142         - optimisation in DBI::Cursor to check software_limit before falling
143           back to base Cursor->all
144         - fix bug with create_multi not inserting non-storage objects
145           (test and fix from davinchi)
146         - DBIx::Class::AccessorGroup made empty subclass of
147           Class::Accessor::Grouped
148         - fixed an ugly bug regarding $dbh->{AutoCommit} and transactions
149         - ensure_class_loaded handles non-classnames better.
150         - non-destructive hashref handling for connect_info options
151         - count no longer returns negative values after slice
152           (report and test from JOHANL)
153         - rebless before building datetime_parser
154           (patch from mattlaw / Matt Lawrence)
155
156 0.08003 2007-07-14 18:01:00
157         - improved populate bulk_insert mode
158         - fixed up multi_create to be more intelligent about PK<->PK rels
159         - fix many-many rels to not use set_columns
160         - Unmarked deploy as experimental since it isn't anymore
161         - Removed Cwd dep since it's not required and causes problems
162           with debian packaging
163         - Patch to fix ? in data for NoBindVars (from Tom Hukins)
164         - Restored mk_classaccessor method for compatibility
165         - Fixed group_by problem with oracle limit syntax
166         - Fixed attr merging problem
167         - Fixed $rs->get_column w/prefetch  problem
168
169 0.08002 2007-06-20 06:10:00
170         - add scope guard to Row::insert to ensure rollback gets called
171         - more heuristics in Row::insert to try and get insert order right
172         - eliminate vestigial code in PK::Auto
173         - more expressive DBI errors
174         - soften errors during deploy
175         - ensure_connected before txn_begin to catch stomping on transaction
176           depth
177         - new method "rethrow" for our exception objects
178
179 0.08001 2007-06-17 21:21:02
180         - Cleaned up on_connect handling for versioned
181         - removed DateTime use line from multi_create test
182         - hid DBIx::ContextualFetch::st override in CDBICompat
183
184 0.08000 2007-06-17 18:06:12
185         - Fixed DBIC_TRACE debug filehandles to set ->autoflush(1)
186         - Fixed circular dbh<->storage in HandleError with weakref
187
188 0.07999_06 2007-06-13 04:45:00
189         - tweaked Row.pm to make last_insert_id take multiple column names
190         - Fixed DBIC::Storage::DBI::Cursor::DESTROY bug that was
191           messing up exception handling
192         - added exception objects to eliminate stacktrace/Carp::Clan
193           output redundancy
194         - setting $ENV{DBIC_TRACE} defaults stacktrace on.
195         - added stacktrace option to Schema, makes throw_exception
196           use "confess"
197         - make database handles use throw_exception by default
198         - make database handles supplied by a coderef use our
199           standard HandleError/RaiseError/PrintError
200         - add "unsafe" connect_info option to suppress our setting
201           of HandleError/RaiseError/PrintError
202         - removed several redundant evals whose sole purpose was to
203           provide extra debugging info
204         - fixed page-within-page bug (reported by nilsonsfj)
205         - fixed rare bug when database is disconnected inbetween
206           "$dbh->prepare_cached" and "$sth->execute"
207
208 0.07999_05 2007-06-07 23:00:00
209         - Made source_name rw in ResultSource
210         - Fixed up SQL::Translator test/runtime dependencies
211         - Fixed t/60core.t in the absence of DateTime::Format::MySQL
212         - Test cleanup and doc note (ribasushi)
213
214 0.07999_04 2007-06-01 14:04:00
215         - pulled in Replication storage from branch and marked EXPERIMENTAL
216         - fixup to ensure join always LEFT after first LEFT join depthwise
217         - converted the vendor tests to use schema objects intead of schema
218           classes, made cleaned more reliable with END blocks
219         - versioning support via DBIx::Class::Schema::Versioned
220         - find/next now return undef rather than () on fail from Bernhard Graf
221         - rewritten collapse_result to fix prefetch
222         - moved populate to resultset
223         - added support for creation of related rows via insert and populate
224         - transaction support more robust now in the face of varying AutoCommit
225           and manual txn_begin usage
226         - unbreak back-compat for Row/ResultSet->new_result
227         - Added Oracle/WhereJoins.pm for Oracle >= 8 to support
228           Oracle <= 9i, and provide Oracle with a better join method for
229           later versions.  (I use the term better loosely.)
230         - The SQL::T parser class now respects a relationship attribute of
231           is_foreign_key_constrain to allow explicit control over wether or
232           not a foreign constraint is needed
233         - resultset_class/result_class now (again) auto loads the specified
234           class; requires Class::Accessor::Grouped 0.05002+
235         - added get_inflated_columns to Row
236         - %colinfo accessor and inflate_column now work together
237         - More documentation updates
238         - Error messages from ->deploy made more informative
239         - connect_info will now always return the arguments it was
240           originally given
241         - A few small efficiency improvements for load_classes
242           and compose_namespace
243
244 0.07006 2007-04-17 23:18:00
245         - Lots of documentation updates
246         - deploy now takes an optional 'source_names' parameter (dec)
247         - Quoting for for columns_info_for
248         - RT#25683 fixed (multiple open sths on DBD::Sybase)
249         - CDBI compat infers has_many from has_a (Schwern)
250         - Fix ddl_filename transformation (Carl Vincent)
251
252 0.07999_02 2007-01-25 20:11:00
253         - add support for binding BYTEA and similar parameters (w/Pg impl)
254         - add support to Ordered for multiple ordering columns
255         - mark DB.pm and compose_connection as deprecated
256         - switch tests to compose_namespace
257         - ResultClass::HashRefInflator added
258         - Changed row and rs objects to not have direct handle to a source,
259           instead a (schema,source_name) tuple of type ResultSourceHandle
260
261 0.07005 2007-01-10 18:36:00
262         - fixup changes file
263         - remove erroneous .orig files - oops
264
265 0.07004 2007-01-09 21:52:00
266         - fix find_related-based queries to correctly grep the unique key
267         - fix InflateColumn to inflate/deflate all refs but scalar refs
268
269 0.07003 2006-11-16 11:52:00
270         - fix for rt.cpan.org #22740 (use $^X instead of hardcoded "perl")
271         - Tweaks to resultset to allow inflate_result to return an array
272         - Fix UTF8Columns to work under Perl <= 5.8.0
273         - Fix up new_result in ResultSet to avoid alias-related bugs
274         - Made new/update/find handle 'single' rel accessor correctly
275         - Fix NoBindVars to be safer and handle non-true bind values
276         - Don't blow up if columns_info_for returns useless results
277         - Documentation updates
278
279 0.07999_01 2006-10-05 21:00:00
280         - add connect_info option "disable_statement_caching"
281         - create insert_bulk using execute_array, populate uses it
282         - added DBIx::Class::Schema::load_namespaces, alternative to
283           load_classes
284         - added source_info method for source-level metadata (kinda like
285           column_info)
286         - Some of ::Storage::DBI's code/docs moved to ::Storage
287         - DBIx::Class::Schema::txn_do code moved to ::Storage
288         - Storage::DBI now uses exceptions instead of ->ping/->{Active} checks
289         - Storage exceptions are thrown via the schema class's throw_exception
290         - DBIx::Class::Schema::throw_exception's behavior can be modified via
291           ->exception_action
292         - columns_info_for is deprecated, and no longer runs automatically.
293           You can make it work like before via
294           __PACKAGE__->column_info_from_storage(1) for now
295         - Replaced DBIx::Class::AccessorGroup and Class::Data::Accessor with
296           Class::Accessor::Grouped. Only user noticible change is to
297           table_class on ResultSourceProxy::Table (i.e. table objects in
298           schemas) and, resultset_class and result_class in ResultSource.
299           These accessors no longer automatically require the classes when
300           set.
301
302 0.07002 2006-09-14 21:17:32
303         - fix quote tests for recent versions of SQLite
304         - added reference implementation of Manual::Example
305         - backported column_info_from_storage accessor from -current, but
306         - fixed inflate_datetime.t tests/stringify under older Test::More
307         - minor fixes for many-to-many relationship helpers
308         - cleared up Relationship docs, and fixed some typos
309         - use ref instead of eval to check limit syntax (to avoid issues with
310           Devel::StackTrace)
311         - update ResultSet::_cond_for_update_delete to handle more complicated
312           queries
313         - bugfix to Oracle columns_info_for
314         - remove_columns now deletes columns from _columns
315
316 0.07001 2006-08-18 19:55:00
317         - add directory argument to deploy()
318         - support default aliases in many_to_many accessors.
319         - support for relationship attributes in many_to_many accessors.
320         - stop search_rs being destructive to attrs
321         - better error reporting when loading components
322         - UTF8Columns changed to use "utf8" instead of "Encode"
323         - restore automatic aliasing in ResultSet::find() on nonunique queries
324         - allow aliases in ResultSet::find() queries (in cases of relationships
325           with prefetch)
326         - pass $attrs to find from update_or_create so a specific key can be
327           provided
328         - remove anonymous blesses to avoid major speed hit on Fedora Core 5's
329           Perl and possibly others; for more information see:
330           https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=196836
331         - fix a pathological prefetch case
332         - table case fix for Oracle in columns_info_for
333         - stopped search_rs deleting attributes from passed hash
334
335 0.07000 2006-07-23 02:30:00
336         - supress warnings for possibly non-unique queries, since
337           _is_unique_query doesn't infer properly in all cases
338         - skip empty queries to eliminate spurious warnings on ->deploy
339         - fixups to ORDER BY, tweaks to deepen some copies in ResultSet
340         - fixup for RowNum limit syntax with functions
341
342 0.06999_07 2006-07-12 20:58:05
343         - fix issue with from attr copying introduced in last release
344
345 0.06999_06 2006-07-12 17:16:55
346         - documentation for new storage options, fix S::A::L hanging on to $dbh
347         - substantial refactor of search_related code to fix alias numbering
348         - don't generate partial unique keys in ResultSet::find() when a table
349           has more than one unique constraint which share a column and only one
350           is satisfied
351         - cleanup UTF8Columns and make more efficient
352         - rename DBIX_CLASS_STORAGE_DBI_DEBUG to DBIC_TRACE (with compat)
353         - rename _parent_rs to _parent_source in ResultSet
354         - new FAQ.pod!
355
356 0.06999_05 2006-07-04 14:40:01
357         - fix issue with incorrect $rs->{attrs}{alias}
358         - fix subclassing issue with source_name
359         - tweak quotes test to output text on failure
360         - fix Schema->txn_do to not fail as a classmethod
361
362 0.06999_04 2006-06-29 20:18:47
363         - disable cdbi-t/02-Film.t warning tests under AS perl
364         - fixups to MySQL tests (aka "work round mysql being retarded")
365         - compat tweaks for Storage debug logging
366
367 0.06999_03 2006-06-26 21:04:44
368         - various documentation improvements
369         - fixes to pass test suite on Windows
370         - rewrote and cleaned up SQL::Translator tests
371         - changed relationship helpers to only call ensure_class_loaded when the
372           join condition is inferred
373         - rewrote many_to_many implementation, now provides helpers for adding
374           and deleting objects without dealing with the link table
375         - reworked InflateColumn implementation to lazily deflate where
376           possible; now handles passing an inflated object to new()
377         - changed join merging to not create a rel_2 alias when adding a join
378           that already exists in a parent resultset
379         - Storage::DBI::deployment_statements now calls ensure_connected
380           if it isn't passed a type
381         - fixed Componentized::ensure_class_loaded
382         - InflateColumn::DateTime supports date as well as datetime
383         - split Storage::DBI::MSSQL into MSSQL and Sybase::MSSQL
384         - fixed wrong debugging hook call in Storage::DBI
385         - set connect_info properly before setting any ->sql_maker things
386
387 0.06999_02 2006-06-09 23:58:33
388         - Fixed up POD::Coverage tests, filled in some POD holes
389         - Added a warning for incorrect component order in load_components
390         - Fixed resultset bugs to do with related searches
391         - added code and tests for Componentized::ensure_class_found and
392           load_optional_class
393         - NoBindVars + Sybase + MSSQL stuff
394         - only rebless S::DBI if it is still S::DBI and not a subclass
395         - Added `use' statement for DBD::Pg in Storage::DBI::Pg
396         - stopped test relying on order of unordered search
397         - bugfix for join-types in nested joins using the from attribute
398         - obscure prefetch problem fixed
399         - tightened up deep search_related
400         - Fixed 'DBIx/Class/DB.pm did not return a true value' error
401         - Revert change to test for deprecated find usage and swallow warnings
402         - Slight wording change to new_related() POD
403         - new specific test for connect_info coderefs
404         - POD clarification and content bugfixing + a few code formatting fixes
405         - POD::Coverage additions
406         - fixed debugfh
407         - Fix column_info stomping
408
409 0.06999_01 2006-05-28 17:19:30
410         - add automatic naming of unique constraints
411         - marked DB.pm as deprecated and noted it will be removed by 1.0
412         - add ResultSetColumn
413         - refactor ResultSet code to resolve attrs as late as possible
414         - merge prefetch attrs into join attrs
415         - add +select and +as attributes to ResultSet
416         - added InflateColumn::DateTime component
417         - refactor debugging to allow for profiling using Storage::Statistics
418         - removed Data::UUID from deps, made other optionals required
419         - modified SQLT parser to skip dupe table names
420         - added remove_column(s) to ResultSource/ResultSourceProxy
421         - added add_column alias to ResultSourceProxy
422         - added source_name to ResultSource
423         - load_classes now uses source_name and sets it if necessary
424         - add update_or_create_related to Relationship::Base
425         - add find_or_new to ResultSet/ResultSetProxy and find_or_new_related
426           to Relationship::Base
427         - add accessors for unique constraint names and coulums to
428           ResultSource/ResultSourceProxy
429         - rework ResultSet::find() to search unique constraints
430         - CDBICompat: modify retrieve to fix column casing when ColumnCase is
431           loaded
432         - CDBICompat: override find_or_create to fix column casing when
433           ColumnCase is loaded
434         - reorganized and simplified tests
435         - added Ordered
436         - added the ability to set on_connect_do and the various sql_maker
437           options as part of Storage::DBI's connect_info.
438
439 0.06003 2006-05-19 15:37:30
440         - make find_or_create_related check defined() instead of truth
441         - don't unnecessarily fetch rels for cascade_update
442         - don't set_columns explicitly in update_or_create; instead use
443           update($hashref) so InflateColumn works
444         - fix for has_many prefetch with 0 related rows
445         - make limit error if rows => 0
446         - added memory cycle tests and a long-needed weaken call
447
448 0.06002 2006-04-20 00:42:41
449         - fix set_from_related to accept undef
450         - fix to Dumper-induced hash iteration bug
451         - fix to copy() with non-composed resultsource
452         - fix to ->search without args to clone rs but maintain cache
453         - grab $self->dbh once per function in Storage::DBI
454         - nuke ResultSource caching of ->resultset for consistency reasons
455         - fix for -and conditions when updating or deleting on a ResultSet
456
457 0.06001
458         - Added fix for quoting with single table
459         - Substantial fixes and improvements to deploy
460         - slice now uses search directly
461         - fixes for update() on resultset
462         - bugfix to Cursor to avoid error during DESTROY
463         - transaction DBI operations now in debug trace output
464
465 0.06000 2006-03-25 18:03:46
466         - Lots of documentation improvements
467         - Minor tweak to related_resultset to prevent it storing a searched rs
468         - Fixup to columns_info_for when database returns type(size)
469         - Made do_txn respect void context (on the off-chance somebody cares)
470         - Fix exception text for nonexistent key in ResultSet::find()
471
472 0.05999_04 2006-03-18 19:20:49
473         - Fix for delete on full-table resultsets
474         - Removed caching on count() and added _count for pager()
475         - ->connection does nothing if ->storage defined and no args
476           (and hence ->connect acts like ->clone under the same conditions)
477         - Storage::DBI throws better exception if no connect info
478         - columns_info_for made more robust / informative
479         - ithreads compat added, fork compat improved
480         - weaken result_source in all resultsets
481         - Make pg seq extractor less sensitive.
482
483 0.05999_03 2006-03-14 01:58:10
484         - has_many prefetch fixes
485         - deploy now adds drop statements before creates
486         - deploy outputs debugging statements if DBIX_CLASS_STORAGE_DBI_DEBUG
487             is set
488
489 0.05999_02 2006-03-10 13:31:37
490         - remove test dep on YAML
491         - additional speed tweaks for C3
492         - allow scalarefs passed to order_by to go straight through to SQL
493         - renamed insert_or_update to update_or_insert (with compat alias)
494         - hidden lots of packages from the PAUSE Indexer
495
496 0.05999_01 2006-03-09 18:31:44
497         - renamed cols attribute to columns (cols still supported)
498         - added has_column_loaded to Row
499         - Storage::DBI connect_info supports coderef returning dbh as 1st arg
500         - load_components() doesn't prepend base when comp. prefixed with +
501         - $schema->deploy
502         - HAVING support
503         - prefetch for has_many
504         - cache attr for resultsets
505         - PK::Auto::* no longer required since Storage::DBI::* handle auto-inc
506         - minor tweak to tests for join edge case
507         - added cascade_copy relationship attribute
508           (sponsored by Airspace Software, http://www.airspace.co.uk/)
509         - clean up set_from_related
510         - made copy() automatically null out auto-inc columns
511         - added txn_do() method to Schema, which allows a coderef to be
512           executed atomically
513
514 0.05007 2006-02-24 00:59:00
515         - tweak to Componentised for Class::C3 0.11
516         - fixes for auto-inc under MSSQL
517
518 0.05006 2006-02-17 15:32:40
519         - storage fix for fork() and workaround for Apache::DBI
520         - made update(\%hash) work on row as well as rs
521         - another fix for count with scalar group_by
522         - remove dependency on Module::Find in 40resultsetmanager.t (RT #17598)
523
524 0.05005 2006-02-13 21:24:51
525         - remove build dependency on version.pm
526
527 0.05004 2006-02-13 20:59:00
528         - allow specification of related columns via cols attr when primary
529           keys of the related table are not fetched
530         - fix count for group_by as scalar
531         - add horrific fix to make Oracle's retarded limit syntax work
532         - remove Carp require
533         - changed UUIDColumns to use new UUIDMaker classes for uuid creation
534         using whatever module may be available
535
536 0.05003 2006-02-08 17:50:20
537         - add component_class accessors and use them for *_class
538         - small fixes to Serialize and ResultSetManager
539         - rollback on disconnect, and disconnect on DESTROY
540
541 0.05002 2006-02-06 12:12:03
542         - Added recommends for Class::Inspector
543         - Added skip_all to t/40resultsetmanager.t if no Class::Inspector
544         available
545
546 0.05001 2006-02-05 15:28:10
547         - debug output now prints NULL for undef params
548         - multi-step prefetch along the same rel (e.g. for trees) now works
549         - added multi-join (join => [ 'foo', 'foo' ]), aliases second to foo_2
550         - hack PK::Auto::Pg for "table" names referencing a schema
551         - find() with attributes works
552         - added experimental Serialize and ResultSetManager components
553         - added code attribute recording to DBIx::Class
554         - fix to find() for complex resultsets
555         - added of $storage->debugcb(sub { ... })
556         - added $source->resultset_attributes accessor
557         - added include_columns rs attr
558
559 0.05000 2006-02-01 16:48:30
560         - assorted doc fixes
561         - remove ObjectCache, not yet working in 0.05
562         - let many_to_many rels have attrs
563         - fix ID method in PK.pm to be saner for new internals
564         - fix t/30dbicplain.t to use ::Schema instead of
565           Catalyst::Model::DBIC::Plain
566
567 0.04999_06 2006-01-28 21:20:32
568         - fix Storage/DBI (tried to load deprecated ::Exception component)
569
570 0.04999_05 2006-01-28 20:13:52
571         - count will now work for grouped resultsets
572         - added accessor => option to column_info to specify accessor name
573         - added $schema->populate to load test data (similar to AR fixtures)
574         - removed cdbi-t dependencies, only run tests if installed
575         - Removed DBIx::Class::Exception
576         - unified throw_exception stuff, using Carp::Clan
577         - report query when sth generation fails.
578         - multi-step prefetch!
579         - inheritance fixes
580         - test tweaks
581
582 0.04999_04 2006-01-24 21:48:21
583         - more documentation improvements
584         - add columns_info_for for vendor-specific column info (Zbigniew
585         Lukasiak)
586         - add SQL::Translator::Producer for DBIx::Class table classes (Jess
587         Robinson)
588         - add unique constraint declaration (Daniel Westermann-Clark)
589         - add new update_or_create method (Daniel Westermann-Clark)
590         - rename ResultSetInstance class to ResultSetProxy, ResultSourceInstance
591           to ResultSourceProxy, and TableInstance to ResultSourceProxy::Table
592         - minor fixes to UUIDColumns
593         - add debugfh method and ENV magic for tracing SQL (Nigel Metheringham)
594
595 0.04999_03 2006-01-20 06:05:27
596         - imported Jess Robinson's SQL::Translator::Parser::DBIx::Class
597         - lots of internals cleanup to eliminate result_source_instance
598         requirement
599         - added register_column and register_relationship class APIs
600         - made Storage::DBI use prepare_cached safely (thanks to Tim Bunce)
601         - many documentation improvements (thanks guys!)
602         - added ->connection, ->connect, ->register_source and ->clone schema
603         methods
604         - Use croak instead of die for user errors.
605
606 0.04999_02 2006-01-14 07:17:35
607         - Schema is now self-contained; no requirement for co-operation
608         - add_relationship, relationships, relationship_info, has_relationship
609         - relationship handling on ResultSource
610         - all table handling now in Table.pm / ResultSource.pm
611         - added GROUP BY and DISTINCT support
612         - hacked around SQL::Abstract::Limit some more in DBIC::SQL::Abstract
613           (this may have fixed complex quoting)
614         - moved inflation to inflate_result in Row.pm
615         - added $rs->search_related
616         - split compose_namespace out of compose_connection in Schema
617         - ResultSet now handles find
618         - various *_related methods are now ->search_related->*
619         - added new_result to ResultSet
620
621 0.04999_01 2005-12-27 03:33:42
622         - search and related methods moved to ResultSet
623         - select and as added to ResultSet attrs
624         - added DBIx::Class::Table and TableInstance for table-per-class
625         - added DBIx::Class::ResultSetInstance which handles proxying
626           search etc. as a superclass of DBIx::Class::DB
627         - assorted test and code cleanup work
628
629 0.04001 2005-12-13 22:00:00
630         - Fix so set_inflated_column calls set_column
631         - Syntax errors in relationship classes are now reported
632         - Better error detection in set_primary_key and columns methods
633         - Documentation improvements
634         - Better transaction support with txn_* methods
635         - belongs_to now works when $cond is a string
636         - PK::Auto::Pg updated, only tries primary keys instead of all cols
637
638 0.04 2005-11-26
639         - Moved get_simple and set_simple into AccessorGroup
640         - Made 'new' die if given invalid columns
641         - Added has_column and column_info to Table.pm
642         - Refactored away from direct use of _columns and _primaries
643         - Switched from NEXT to Class::C3
644
645 0.03004
646         - Added an || '' to the CDBICompat stringify to avoid null warnings
647         - Updated name section for manual pods
648 0.03003 2005-11-03 17:00:00
649         - POD fixes.
650         - Changed use to require in Relationship/Base to avoid import.
651
652 0.03002 2005-10-20 22:35:00
653         - Minor bugfix to new (Row.pm)
654         - Schema doesn't die if it can't load a class (Schema.pm)
655         - New UUID columns plugin (UUIDColumns.pm)
656         - Documentation improvements.
657
658 0.03001 2005-09-23 14:00:00
659         - Fixes to relationship helpers
660         - IMPORTANT: prefetch/schema combination bug fix
661
662 0.03    2005-09-19 19:35:00
663         - Paging support
664         - Join support on search
665         - Prefetch support on search
666
667 0.02    2005-08-12 18:00:00
668         - Test fixes.
669         - Performance improvements.
670         - Oracle primary key support.
671         - MS-SQL primary key support.
672         - SQL::Abstract::Limit integration for database-agnostic limiting.
673
674 0.01    2005-08-08 17:10:00
675         - initial release
676