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