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