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