Fix uninitialized warnings on empty hashes passed to join/prefetch
[dbsrgits/DBIx-Class.git] / Changes
1 Revision history for DBIx::Class
2
3     * Fixes
4         - Protect destructors from rare but possible double execution, and
5           loudly warn the user whenever the problem is encountered (GH#63)
6         - Relax the 'self_result_object' argument check in the relationship
7           resolution codepath, restoring exotic uses of inflate_result
8           http://lists.scsys.co.uk/pipermail/dbix-class/2015-January/011876.html
9         - Fix updating multiple CLOB/BLOB columns on Oracle
10         - Fix exception on complex update/delete under a replicated setup
11           http://lists.scsys.co.uk/pipermail/dbix-class/2015-January/011903.html
12         - Fix uninitialized warnings on empty hashes passed to join/prefetch
13           https://github.com/vanstyn/RapidApp/commit/6f41f6e48 and
14           http://lists.scsys.co.uk/pipermail/dbix-class/2015-February/011921.html
15         - Fix hang in t/72pg.t when run against DBD::Pg 3.5.0. The ping()
16           implementation changes due to RT#100648 made an alarm() based
17           timeout lock-prone.
18
19     * Misc
20         - Remove warning about potential side effects of RT#79576 (scheduled)
21         - Depend on newer Moo, to benefit from a safer runtime (RT#93004)
22         - Fix intermittent failures in the LeakTracer on 5.18+
23         - Fix failures of t/54taint.t on Windows with spaces in the $^X
24           executable path (RT#101615)
25
26 0.082810 2014-10-25 13:58 (UTC)
27     * Fixes
28         - Fix incorrect collapsing-parser source being generated in the
29           presence of unicode data among the collapse-points
30         - Fix endless loop on BareSourcelessResultClass->throw_exception(...)
31
32     * Misc
33         - Depend on newer SQL::Abstract (fixing overly-aggressive parenthesis
34           opener: RT#99503)
35         - Depend on newer Moo, fixing some interoperability issues:
36           http://lists.scsys.co.uk/pipermail/dbix-class/2014-October/011787.html
37
38 0.082801 2014-10-05 23:55 (UTC)
39     * Known Issues
40         - Passing large amounts of objects with stringification overload
41           directly to DBIx::Class may result in strange action at a distance
42           exceptions. More info (and a workaround description) can be found
43           under "Note" at https://metacpan.org/pod/SQL::Abstract#is_plain_value
44         - The relationship condition resolution fixes come with the side effect
45           of returning more complete data, tripping up *some* users of an
46           undocumented but widely used internal function. In particular
47           https://rt.cpan.org/Ticket/Display.html?id=91375#txn-1407239
48
49     * Notable Changes and Deprecations
50         - DBIC::FilterColumn now properly bypasses \'' and \[] literals, just
51           like the rest of DBIC
52         - DBIC::FilterColumn "from_storage" handler is now invoked on NULLs
53           returned from storage
54         - find() now throws an exception if some of the supplied values are
55           managed by DBIC::FilterColumn (RT#95054)
56         - Custom condition relationships are now invoked with a slightly
57           different signature (existing coderefs will continue to work)
58         - Add extra custom condition coderef attribute 'foreign_values'
59           to allow for proper reverse-relationship-like behavior
60           (i.e. $result->set_from_related($custom_rel, $foreign_result_object)
61         - When in a transaction, DBIC::Ordered now seamlesly handles result
62           objects that went out of sync with the storage (RT#96499)
63         - CDBICompat::columns() now supports adding columns through supplied
64           Class::DBI::Column instances (GH#52)
65         - Deprecate { col1 => col2 } expressions in manual {from} structures
66           (at some point of time manual {from} will be deprecated entirely)
67
68     * Fixes
69         - Fix Resultset delete/update affecting *THE ENTIRE TABLE* in cases
70           of empty (due to conditions) resultsets with multi-column keys
71         - Fix on_connect_* not always firing in some cases - a race condition
72           existed between storage accessor setters and the determine_driver
73           routines, triggering a connection before the set-cycle is finished
74         - Fix collapse being ignored on single-origin selection (RT#95658)
75         - Fix incorrect behavior on custom result_class inflators altering
76           the amount of returned results
77         - Fix failure to detect stable order criteria when in iterator
78           mode of a has_many prefetch off a search_related chain
79         - Prevent erroneous database hit when accessing prefetched related
80           resultsets with no rows
81         - Proper exceptions on malformed relationship conditions (RT#92234)
82         - Fix incorrect handling of custom relationship conditions returning
83           SQLA literal expressions
84         - Fix long standing bug with populate() missing data from hashrefs with
85           different keysets: http://is.gd/2011_dbic_populate_gotcha (RT#92723)
86         - Fix multi-value literal populate not working with simplified bind
87           specifications
88         - Massively improve the implied resultset condition parsing - now all
89           applicable conditions within a resultset should be properly picked
90           up by create() and populate()
91         - Ensure definitive condition extractor handles bizarre corner cases
92           without bombing out (RT#93244)
93         - Fix set_column on non-native (+columns) selections (RT#86685)
94         - Fix set_inflated_column incorrectly handling \[] literals (GH#44)
95         - Ensure that setting a column to a literal invariably marks it dirty
96         - Fix copy() not working correctly with extra selections present
97         - Work around exception objects with broken string overloading in one
98           additional codepath (missed in 0.08260)
99         - Fix more inconsistencies of the quote_names attribute propagating
100           to SQL::Translator (partially RT#87731)
101         - Fix SQLT constraint naming when DBIC table names are fully qualified
102           (PR#48)
103         - Ensure ::Schema::Versioned connects only once by reusing the main
104           connection (GH#57)
105         - Fix inability to handle multiple consecutive transactions with
106           savepoints on DBD::SQLite < 1.39
107         - Fix CDBICompat to match Class::DBI behavior handling non-result
108           blessed has_a (implicit deflate via stringification and inflate via
109           blind new) (GH#51)
110
111     * Misc
112         - Ensure source metadata calls always take place on the result source
113           instance registered with the caller
114         - IFF DBIC_TRACE output defaults to STDERR we now silence the possible
115           wide-char warnings if the trace happens to contain unicode
116
117 0.08270 2014-01-30 21:54 (PST)
118     * Fixes
119         - Fix 0.08260 regression in DBD::SQLite bound int handling. Inserted
120           data was not affected, but any function <=> integer comparison would
121           have failed (originally fixed way back in 0e773352)
122         - Fix failure to load DateTime formatter when connecting to Firebird
123           over ODBC
124
125     * Misc
126         - All drivers based on ::Storage::DBI::Firebird::Common now return the
127           same sqlt_type value (affects ::DBI::Interbase, ::DBI::Firebird and
128           ::DBI::ODBC::Firebird)
129
130 0.08260 2014-01-28 18:52 (UTC)
131     * New Features
132         - A new zero-to-DBIC style manual: DBIx::Class::Manual::QuickStart
133
134     * Notable Changes and Deprecations
135         - Explicitly deprecate combination of distinct and selecting a
136           non-column via $rs->get_column()
137
138     * Fixes
139         - More robust handling of circular relationship declarations by loading
140           foreign classes less frequently (should resolve issues like
141           http://lists.scsys.co.uk/pipermail/dbix-class/2013-June/011374.html)
142           Note that none of this is a manifestations of a DBIC bug, but rather
143           unexpected (but correct) behavior of load-order-dependent (hence
144           logically broken) Resultclass hierarchies. In order to deal with this
145           DBIC is scaling back a large number of sanity checks, which are to be
146           reintroduce pending a better framework for source registration
147         - Fix multiple edge cases of complex prefetch combining incorrectly
148           with correlated subquery selections
149         - Fix multiple edge cases stemming from interaction of a non-selecting
150           order_by specification and distinct and/or complex prefetch
151         - Fix unbound growth of a resultset during repeated execute/exhaust
152           cycles (GH#29)
153         - Work around (and be very vocal about the fact) when DBIC encounters
154           an exception object with broken string overloading
155         - Clarify ambiguous behavior of distinct when used with ResultSetColumn
156           i.e. $rs->search({}, { distinct => 1 })->get_column (...)
157         - Setting quote_names propagates to SQL::Translator when producing
158           SQLite DDL (it is one of the few producers *NOT* quoting by default)
159         - Fix incorrect binding of large integers on old versions of
160           DBD::SQLite (now DBIC simply always binds SQLite ints as BIGINT)
161         - Silence (harmless) warnings on recent DBD::SQLite versions, when
162           inserting/updating large integers on 32bit ivsize systems (RT#76395)
163         - Back out self-cleaning from DBIx::Class::Carp for the time being
164           (as a side effect fixes RT#86267)
165         - Fix incorrect internal use of implicit list context in copy()
166         - Fix 0.08250 regression in driver determination when DBI_DSN is used
167         - Tests no longer fail if $ENV{DBI_DSN} is set
168         - Throw clearer exception on ->new_related() with a non-existent
169           relationship
170         - Fix incorrect parethesis unroll with multicolumn in, (never noticed
171           before fixing false positive in SQLA::Test 1.77)
172         - Fix t/storage/replicated.t class loading problem
173         - Stop using the deprecated Class::MOP::load_class()
174         - Fix warning in t/54taint.t with explicitly unset PERL5LIB (RT#91972)
175         - Fix t/54taint.t failing under a local::lib with installed earlier
176           DBIC version (RT#92486)
177
178     * Misc
179         - Massive incompatible change of ::BlockRunner internals (was never
180           documented as usable externally, this last set of changes settles
181           the design for proper documentation and opening up)
182         - Adjust exceptions in tests to accommodate changes in the upcoming
183           DBD::SQLite based on libsqlite 3.8.2
184         - More robust lock file naming scheme - allow tests to work on exotic
185           MSWin32 filesystems (habitual offender being http://is.gd/iy5XVP)
186         - Better diagnostics when File::Spec->tmpdir gives us crap in testing
187         - Replace $row with $result in all docs to be consistent and to
188           clarify various return values
189
190 0.08250 2013-04-29 22:00 (UTC)
191     * New Features / Changes
192         - Rewrite from scratch the result constructor codepath - many bugfixes
193           and performance improvements (the current codebase is now capable of
194           outperforming both DBIx::DataModel and Rose::DB::Object on some
195           workloads). Some notable benefits:
196           - Multiple has_many prefetch
197           - Partial prefetch - you now can select only columns you are
198             interested in, while preserving the collapse functionality
199             (collapse is now exposed as a first-class API attribute)
200           - Prefetch of resultsets with arbitrary order
201             (RT#54949, RT#74024, RT#74584)
202           - Prefetch no longer inserts right-side table order_by clauses
203             (massively helps the deficient MySQL optimizer)
204           - Prefetch with limit on right-side ordered resultsets now works
205             correctly (via aggregated grouping)
206           - No longer order the insides of a complex prefetch subquery,
207             unless required to satisfy a limit
208           - Stop erroneously considering order_by criteria from a join under
209             distinct => 1 (the distinct should apply to the main source only)
210         - Massively optimize codepath around ->cursor(), over 10x speedup
211           on some iterating workloads.
212         - Support standalone \[ $sql, $value ] in literal SQL with bind
213           specifications: \[ '? + ?', 42, 69 ] is now equivalent to
214           \[ '? + ?', [ {} => 42 ], [ {} => 69 ] ]
215         - Changing the result_class of a ResultSet in progress is now
216           explicitly forbidden. The behavior was undefined before, and
217           would result in wildly differing outcomes depending on $rs
218           attributes.
219         - Deprecate returning of prefetched 'filter' rels as part of
220           get_columns() and get_inflated_columns() data
221         - Invoking get_inflated_columns() no longer fires get_columns() but
222           instead retrieves data from individual non-inflatable columns via
223           get_column()
224         - Emit a warning on incorrect use of nullable columns within a
225           primary key
226         - Limited checks are performed on whether columns without declared
227           is_nullable => 1 metadata do in fact sometimes fetch NULLs from
228           the database (the check is currently very limited and is performed
229           only on resultset collapse when the alternative is rather worse)
230
231     * Fixes
232         - Fix _dbi_attrs_for_bind() being called befor DBI has been loaded
233           (regression in 0.08210)
234         - Fix update/delete operations on resultsets *joining* the updated
235           table failing on MySQL. Resolves oversights in the fixes for
236           RT#81378 and RT#81897
237         - Fix open cursors silently resetting when inherited across a fork
238           or a thread
239         - Properly support "MySQL-style" left-side group_by with prefetch
240         - Fix $grouped_rs->get_column($col)->func($func) producing incorrect
241           SQL (RT#81127)
242         - Stop Sybase ASE storage from generating invalid SQL in subselects
243           when a limit without offset is encountered
244         - Even more robust behavior of GenericSubQuery limit dialect
245         - Make sure deployment_statements() and cursor_class() are called on
246           a resolved storage subclass
247
248     * Misc
249         - Fix tests failing due to unspecified resultset retrieval order
250           (test suite now will pass with newest SQLite libs)
251
252 0.08210 2013-04-04 15:30 (UTC)
253     * New Features / Changes
254         - Officially deprecate the 'cols' and 'include_columns' resultset
255           attributes
256         - Remove ::Storage::DBI::sth() deprecated in 0.08191
257
258     * Fixes
259         - Work around a *critical* bug with potential for data loss in
260           DBD::SQLite - RT#79576
261         - Audit and correct potential bugs associated with braindead reuse
262           of $1 on unsuccessful matches
263         - Fix incorrect warning/exception originator reported by carp*() and
264           throw_exception()
265
266 0.08209 2013-03-01 12:56 (UTC)
267     * New Features / Changes
268         - Debugging aid - warn on invalid result objects created by what
269           seems like an invalid inheritance hierarchy
270
271     * Fixes
272         - Fix another embarrassing regression preventing correct refining of
273           the search criteria on a prefetched relation (broken in 0.08205)
274         - Fix incorrect callsite reporting by DBIC::Carp
275
276 0.08208 2013-02-20 09:56 (UTC)
277     * New Features / Changes
278         - A bunch of nonsensically named arguments to the SQL::Translator
279           parser have been marked as deprecated (while still fully
280           supported)
281
282     * Fixes
283         - Fix duplicated selected columns when calling 'count' when a same
284           aggregate function is used more than once in a 'having' clause
285           (RT#83305)
286         - Prevent SQL::Translator::Producer::YAML from seeing the $dbh
287           in a potentially connected $schema instance (RT#75394)
288
289     * Misc
290         - Fixup our distbuilding process to stop creating world-writable
291           tarball contents (implicitly fixes RT#83084)
292         - Added strict and warnings tests for all lib and test files
293
294 0.08206 2013-02-08
295     * Fixes
296         - Fix dbh_do() failing to properly reconnect (regression in 0.08205)
297         - Extra sanity check of a fresh DBI handle ($dbh). Fixes
298           connection coderefs returning garbage (seen in the wild)
299
300     * Misc
301         - Only allow known globals in SQL::Translator leak allowance
302         - General cleanup of error message texts - quote names/identifiers
303           for easier reading
304         - Stop t/52leaks.t from failing when AUTOMATED_TESTING=1
305
306 0.08205 2013-01-22
307     * New Features / Changes
308         - The emulate_limit() arbitrary limit dialect emulation mechanism is
309           now deprecated, and will be removed when DBIx::Class migrates to
310           Data::Query
311         - Support for the source_bind_attributes() storage method has been
312           removed after a lengthy deprecation cycle
313     * Fixes
314         - When performing resultset update/delete only strip condition
315           qualifiers - leave the source name alone (RT#80015, RT#78844)
316         - Fix incorrect behavior on resultset update/delete invoked on
317           composite resultsets (e.g. as_subselect_rs)
318         - Fix update/delete operations referencing the updated table failing
319           on MySQL, due to its refusal to modify a table being directly
320           queried. As a workaround induce in-memory temp-table creation
321           (RT#81378, RT#81897)
322         - More robust behavior under heavily threaded environments - make
323           sure we do not have refaddr reuse in the global storage registry
324         - Fix failing test on 5.8 under Win32 (RT#81114)
325         - Fix hash-randomization test issues (RT#81638)
326         - Disallow erroneous calling of connect_info on a replicated storage
327           (RT#78436)
328     * Misc
329         - Improve the populate docs in ::Schema and ::ResultSet
330         - ::Storage::DBI::source_bind_attributes() removed as announced
331           on Jan 2011 in 0e773352a
332
333 0.08204 2012-11-08
334     * New Features / Changes
335         - SQLMaker now accepts \'literal' with the 'for' rs attribute as an
336           override to the builtin FOR options
337     * Fixes
338         - Fix unique constraint violations in Ordered.pm blanket movement
339           (RT#79773, rolls back short-sighted 5e6fde33e)
340         - Fix API mismatch between new_result() and new_related() (originally
341           broken by fea3d045)
342         - Fix test failure on perl 5.8
343     * Misc
344         - Much more extensive diagnostics when a new RDBMS/DSN combination is
345           encountered (RT#80431)
346
347 0.08203 2012-10-18
348     * Fixes
349         - Really fix inadequate $dbh->ping SQLite implementation (what shipped
350           in 0.08201 tickled other deficiencies in DBD::SQLite itself)
351
352 0.08202 2012-10-06
353     * Fixes
354         - Replace inadequate $dbh->ping SQLite implementation with our own,
355           fixes RT#78420
356
357 0.08200 2012-08-24 (UTC)
358     * Fixes
359         - Change one of the new tests for the previous release to not require
360           SQL::Translator
361
362 0.08199 2012-08-22 (UTC)
363     * Fixes
364         - Roll back incomplete (and broken) internal changes - restore prefetch functionality
365
366 0.08198 2012-07-11 03:43 (UTC)
367     * Fixes
368         - Fix a number of Win32 Test issues
369         - Fix silent Oracle connection failures
370
371 0.08197 2012-07-10 10:32 (UTC)
372     * New Features / Changes
373         - Issue a warning when DateTime objects are passed to ->search
374         - Fast populate() in void context is now even more efficient by
375           going directly through execute_for_fetch bypassing execute_array
376         - Fix update()/delete() on complex resultsets to no longer fall back
377           to silly row-by-row deletion, construct a massive OR statement
378           instead
379         - Allow complex update/delete operations on sources without a
380           primary key, as long as they have at least one non-nullable
381           unique constraint
382         - dbicadmin now better supports catalyst-style config files, by
383           unrolling 'config_info' hashkeys
384         - Multiple Improvements MSSQL over DBD::ADO
385           - Transaction support
386           - Support for VARCHAR(MAX)/VARBINARY(MAX)/NVARCHAR(MAX) datatypes
387           - Nomalization of retrieved GUID values
388
389     * Fixes
390         - Fix complex has_many prefetch with resultsets not selecting identity
391           columns from the root result source
392         - Fix SkipFirst and FirstSkip limit dialects (Informix and Firebird)
393         - Fix "Skimming limit" dialects (Top, FetchFirst) to properly check
394           the order_by criteria for stability
395         - Fix "Skimming limit" dialects (Top, FetchFirst) to propagate
396           non-selected order criteria when part of a larger subquery
397         - Fix RowNumberOver and all "skimming limits" to correctly assemble
398           bind values when supplied for both select and order_by
399         - Fix all subquery-based dialects to not lose a subquery fragment
400           when we both select and order by the result of the same subquery
401         - Fix the Sybase hubrid limit dialect (RowCountOrGenericSubQ) losing
402           Group/Having/Order clauses when called without an offset (RT#73244)
403         - No longer generate incorrect SQL on ->as_query called on resultsets
404           with software_limit enabled
405         - A number of corner case fixes of void context populate() with \[]
406         - Fix corner case of forked children disconnecting the parents DBI
407           handle
408         - Improve identity/autoinc retrieval code in MSSQL and Sybase -
409           should reduce weird side-effects especially with populate()
410         - Explicitly disable DBD::ODBC batch operations (as of DBD::ODBC 1.35)
411           for the following drivers too buggy to handle the optimized path:
412           - FreeTDS ODBC driver (when used with MSSQL)
413           - The Firebird ODBC driver
414           - The MSAccess ODBC driver
415         - Explicitly disable DBD::ODBC dynamic_cursors when using freetds 0.83
416           or later - they made enough ODBC incompatible changes making it
417           impossible to support sanely
418         - Explicitly disable SCOPE_IDENTITY queries and statement caching for
419           MSSQL on DBD::Sybase compiled against freetds 0.83 or later - way too
420           buggy
421         - Disable statement caching when using Sybase ASE and DBD::Sybase
422           compiled against freetds 0.83 or later
423         - Fix leakage of $schema on in-memory new_related() calls
424         - Fix more cases of $schema leakage in SQLT::Parser::DBIC
425         - Fix leakage of $storage in ::Storage::DBI::Oracle
426         - Fix pessimization of Oracle RowNum limit dialect query when no
427           offset has been specified
428         - Remove useless vestigial pessimization in Ordered.pm for cases
429           when the position column is part of a unique constraint
430         - Fix dbicadmin to no longer ignore the documented 'config' option
431         - The schema-resultsource entanglement is now much more robust
432           under threads
433         - Fix ::Schema::ddl_filename() failing miserably on paths containing
434           certain numeric sequences
435         - t/53lean_startup.t adjusted for new 5.15.x base.pm behavior
436
437     * Misc
438         - Centralized leak-checks for all instances of DBICTest::Schema
439           from within any test
440         - Now passes all tests with Test::Builder 1.005
441         - Codebase is now trailing-whitespace-free
442         - Cleanup of complex resultset update/delete oprations - storage
443           specific code moved back to ResultSet and replaced by checks
444           of storage capabilities
445         - Fixed carp_once only emitting one single warning per package
446           regardless of warning content
447         - Test suite now can be safely executed in parallel (prove -jN
448           or HARNESS_OPTIONS=jN)
449
450 0.08196 2011-11-29 05:35 (UTC)
451     * Fixes
452         - Fix tests for DBD::SQLite >= 1.34.
453         - Fix test failures with DBICTEST_SQLITE_USE_FILE set
454         - Fix the find() condition heuristics being invoked even when the
455           call defaults to 'primary' (i.e. when invoked with bare values)
456         - Throw much clearer error on incorrect inflation spec
457         - Fix incorrect storage behavior when first call on a fresh schema
458           is with_deferred_fk_checks
459         - Fix incorrect dependency on Test::Simple/Builder (RT#72282)
460         - Fix uninitialized warning in ::Storage::Sybase::ASE
461         - Improve/cache  DBD-specific datatype bind checks (also solves a
462           nasty memleak with version.pm on multiple ->VERSION invocations)
463         - The internal carp module now correctly skips CAG frames when
464           reporting a callsite
465         - Fix test failures on perl < 5.8.7 and new Package::Stash::XS
466         - Fix TxnScopeGuard not behaving correctly when $@ is set at the
467           time of $guard instantiation
468         - Fix the join/prefetch resolver when dealing with ''/undef/()
469           relation specifications
470
471     * Misc
472         - No longer depend on Variable::Magic now that a pure-perl
473           namespace::clean is available
474         - Drop Oracle's Math::BigInt req down to 1.80 - no fixes concerning
475           us were made since
476
477 0.08195 2011-07-27 16:20 (UTC)
478     * Fixes
479         - Fix horrible oversight in the Oracle sqlmaker when dealing with
480           queries updating blobs (RT#69829)
481
482 0.08194 2011-07-20 16:10 (UTC)
483     * Fixes
484         - Fix $rs->populate([]) to be a no-op rather than an exception
485         - Overhaul t/53lean_startup.t to better dodge false positives
486         - Stop Data::Compare from loading random plugins
487         - Oracle: Recalculate LOB bind indices for UPDATE with LOBs in WHERE
488           (RT#69548)
489
490 0.08193 2011-07-14 17:00 (UTC)
491     * New Features / Changes
492         - Allow schema cloning to mutate attributes
493         - DBIC now attempts more aggressive de-duplication of where
494           conditions on resultset chaining
495         - The Ordered component is now smarter wrt reordering of dirty
496           objects, and does its job with less storage queries
497         - Logging via DBIC_TRACE=1=<filename> no longer overwrites the
498           logfile on every program startup, appending loglines instead
499
500     * Fixes
501         - Fix issue where the query was becoming overly mangled when trying
502           to use pagination with a query that has a sub-select in the WHERE
503           clause
504         - Fix possible incorrect pagination on Oracle, when a resultset
505           is not ordered by a unique column
506         - Revert "Fix incorrect signature of the default sqlt_deploy_hook"
507           from 0.08191 - documentation was in fact incorrect, not the code
508         - Fix Sybase ASE IC::DateTime support (::Storage going out of sync
509           with new default format expected by DateTime::Format::Sybase)
510         - Fix a bug in update_all() resulting in the first row receiving a
511           different dataset than the subsequent ones
512         - Accomodate MSAccess supporting only 'INNER JOIN' (not plain 'JOIN')
513         - InflateColumn::DateTime option datetime_undef_if_invalid no longer
514           masks missing dependency exceptions (RT#66823)
515         - Fix bug in Schema::Versioned failing to insert a schema version row
516           during upgrades at the turn of the second
517         - Fix incorrect bind of integers >= 2^^32 (bigint columns) to
518           SQL_INTEGER, resulting in silent conversion to '-1'
519         - Fix pre 5.10 failures of t/55namespaces_cleaned.t due to buggy
520           require() (RT#68814)
521         - Oracle autoinc inserts no longer leave open cursors behind
522
523 0.08192 2011-05-10 04:20 (UTC)
524     * Fixes
525         - Fix serious regression on SQLite, corrupting data when an alphanum
526           value does not correspond to a stale numeric datatype in colinfo
527
528 0.08191 2011-05-02 00:45 (UTC) (deleted from CPAN)
529     * New Features / Changes
530         - Add quote_names connection option. When set to true automatically
531           sets quote_char and name_sep appropriate for your RDBMS
532         - Add retrieve_on_insert column info flag, allowing to retrieve any
533           column value instead of just autoinc primary keys
534         - Bring back strict ordering of selectors in complex search chains
535           (an ill-fated attempt was made in 0.08127 to order intelligently)
536         - All limit dialects (except for the older Top and FetchFirst) are
537           now using bind parameters for the limits/offsets, making DBI's
538           prepare_cached useful across paged resutsets
539         - Support for savepoints for SQLite
540         - Support for MS Access databases via DBD::ODBC and DBD::ADO (only
541           Win32 support currently tested)
542         - Support for the Firebird RDBMS over the new DBD::Firebird driver
543         - IC::DateTime support for MSSQL over DBD::ADO
544         - Both the ::ODBC and ::ADO dispatchers now warn if a rdbms-specific
545           driver is not found for this connection before falling back to
546           plain ::Storage::DBI
547         - ::Storage::DBI::sth was mistakenly marked/documented as public,
548           privatize and warn on deprecated use
549         - Massive overhaul of bind values/attributes handling - slightly
550           changes the output of as_query (should not cause compat issues)
551         - Support ancient DB2 versions (5.4 and older), with proper limit
552           dialect
553         - Support sub-second precision for TIMESTAMPs for Firebird over ODBC
554         - Support BLOBs and CLOBs in WHERE clauses for Oracle, including LIKE
555           queries for CLOBs.
556
557     * Fixes
558         - Fix ::Storage::DBI::* MRO problems on 5.8.x perls
559         - Disable mysql_auto_reconnect for MySQL - depending on the ENV
560           it sometimes defaults to on and causes major borkage on older
561           DBD::mysql versions
562         - Fix dropped bind values in select/group_by on Oracle (omission
563           from 0542ec57 and 4c2b30d6)
564         - Fix remaining errors with Oracle and identifiers longer than the
565           Oracle-imposed maximum of 30 characters (RT#66390)
566         - Fix older oracle-specific "WhereJoins" to work properly with
567           name quoting
568         - Fix problems with M.A.D. under CGI::SpeedyCGI (RT#65131)
569         - Reenable paging of cached resultsets - breakage erroneously added
570           in 0.08127
571         - Better error handling when prepare() fails silently
572         - Fixes skipped lines when a comment is followed by a statement
573           when deploying a schema via sql file
574         - Fix reverse_relationship_info on prototypical result sources
575           (sources not yet registered with a schema)
576         - Warn and skip relationships missing from a partial schema during
577           dbic cascade_delete
578         - Automatically require the requested cursor class before use
579           (RT#64795)
580         - Work around a Firebird ODBC driver bug exposed by DBD::ODBC 1.29
581         - Fix (to the extent allowed by the driver) transaction support in
582           DBD::Sybase compiled against FreeTDS
583         - Fix exiting via next warnings in ResultSource::sequence()
584         - Fix stripping of table qualifiers in update/delete in arrayref
585           condition elements
586         - Change SQLMaker carp-monkeypatch to be compatible with versions
587           of SQL::Abstract >= 1.73
588         - Fix using \[] literals in the from resultset attribute
589         - Fix populate() with \[], arrays (datatype) and other exotic values
590         - Fix handling of rollbacks in nested transactions
591         - Fix complex limits (RNO/RowNum/FetchFirst/Top/GenSubq) with
592           sub-selects in the selectors list (correlated subqueries)
593         - Fix inconsistency between $rs->next with and without HRI when all
594           the "root" columns are in fact injected from the right rs side
595         - Fix the join optimizer to correctly preserve the non-multi path to
596           a multi relationship ( x -> might_have y -> has_many z )
597         - Fix object-derived custom-relationship resultsets to resultsources
598           with multilevel monikers (e.g. $schema->source('Foo::Bar') )
599         - Fix incorrect signature of the default sqlt_deploy_hook - it now
600           matches the documentation of passing in the result source object
601         - Fix inadequate handling of internal storage methods within
602           ::Storage::Replicated (RT#66295)
603
604     * Misc
605         - Rewire all warnings to a new Carp-like implementation internal
606           to DBIx::Class, and remove the Carp::Clan dependency
607         - Only load Class::C3 and friends if necessary ($] < 5.010)
608         - Greatly reduced loading of non-essential modules to aid startup
609           time (mainly benefiting CGI users)
610         - Make sure all namespaces are clean of rogue imports
611         - Dropped DBI req 2 years back - everything works with 1.57, no
612           point requiring something newer
613
614 0.08190-TRIAL 2011-01-24 15:35 (UTC)
615
616     * New Features / Changes
617         - Support for completely arbitrary SQL::Abstract-based conditions
618           in all types of relationships
619
620 0.08127 2011-01-19 16:40 (UTC)
621     * New Features / Changes
622         - Schema/resultsource instances are now crossreferenced via a new
623           system guaranteeing leak-free mutually assured destruction
624         - DBIx::Class now warns when the user erroneously supplies
625           AutoCommit => 0 to connect()
626         - A warning is also issued before forcing the RaiseError
627           setting of externally supplied DBI handles
628         - Switch to a warning when find() is invoked with both a 'key'
629           argument and a NULL-containing condition to satisfy the named
630           constraint. Previously (starting with 0.08124) an exception was
631           thrown
632         - Switch to a warning when a commit is attempted with an out-of-sync
633           transaction_depth (someone issued a begin externally to DBIC).
634           Previously (starting with 0.08124) an exception was thrown
635
636     * Fixes
637         - A number of improvements/diagnostics of multiple active resultset
638           handling on MSSQL over DBD::ODBC
639         - Revert default selection to being lazy again (eagerness introduced
640           in 0.08125) - fixes DBIx::Class::Helper::ResultSet::RemoveColumns
641         - Fix losing order of columns provided in select/as (regression from
642           0.08125)
643         - Unaliased "dark" selectors no longer throw off prefetch
644         - Fix proper composition of bind values across all possible
645           SQL areas ( group_by => \[ ... ] now works properly )
646         - Allow populate to skip empty has_many relationships which makes
647           it easier to pass HashRefInflator data directly to ->populate
648         - Improve freeze/thaw semantics and error messages (RT#62546)
649         - Fix inconsistency in Manual::Features (RT#64500)
650         - Fix incorrect SQL when using for => 'shared' with MySQL (RT#64590)
651         - Throw comprehensible exception on erroneous $schema->source()
652           invocation
653         - Fix sloppy refactor of ResultSource::sequence back from 89170201
654           (RT#64839)
655         - Fix incorrect error detection during populate() on Oracle
656         - Better handling of result_source-less row objects by
657           auto-calling result_source_instance when necessary
658         - Fix reverse_relationship_info and sqlt deploy on partially
659           loaded schemas (relationships point to non-existent sources)
660
661     * Misc
662         - Fix test warning on win32 - at this point the test suite is
663           warning-free on all known OSes
664         - Require newest namespace::clean which in turn depends on new
665           installable Package::Stash
666
667 0.08126 2010-12-28 18:10 (UTC)
668     * Fixes
669         - Bump forgotten Class::Accessor::Grouped core dependency
670         - Promote forgotten Hash::Merge optdep to a hard requirement
671         - Skip t/storage/error.t on smokers with leaking perls
672         - Fix t/storage/txn.t deadlocks on slower machines
673         - Do not run on smokers if a trial Package::Stash is found
674
675 0.08125 2010-12-27 04:30 (UTC)
676     * New Features / Changes
677         - New method ResultSource columns_info method, returning multiple
678           pairs of column name/info at once
679         - $rs->search now throws when called in void context, as it makes
680           no sense (and is nearly always a sign of a bug/misdesign)
681         - Restore long-lost ability to supply unbalanced select/as pairs
682           e.g. +select => \'DISTINCT(foo, bar)', +as => ['foo', 'bar']
683         - +columns now behaves just like columns by not stripping a
684           fully-qualified 'as' spec (i.e. foo.bar results in $obj->foo->bar)
685         - Deprecate legacy $rs->search( %condition ) syntax (warn once per
686           callsite)
687         - NULL is now supplied unquoted to all debug-objects, in order to
688           differentiate between a real NULL and the string 'NULL'
689         - New search() condition operator -value used to pass complex bind
690           values to DBI: search({ array_col => { -value => [1,2,3] }})
691         - Add full INSERT...RETURNING support for Oracle
692         - Deprecate use of -nest in search conditions (warn once per
693           callsite)
694         - Deprecate the completely useless DBIx::Class::Serialize::Storable
695           result component
696
697     * Fixes
698         - Fixed read-only attribute set attempt in ::Storage::Replicated
699           (RT#62642)
700         - Fix incomplete logic while detecting correct Oracle sequence
701           on insert
702         - Fix detection of Oracle sequences for tables without an explicitly
703           specified schema (RT#63493)
704         - Major overhaul of Storage::Oracle to handle enabled quoting
705         - Fixed incorrect composition of select/as/columns attributes during
706           chaining (RT#61235)
707         - Proper serialization of resultsets with open cursors
708         - Refactor handling of RDBMS-side values during insert() - fix
709           regression of inserts into a Postgres / ::Replicated combination
710         - Missing dependency check in t/60core.t (RT#62635)
711         - Fix regressions in IC::DT registration logic
712         - Fix regression in select-associated bind value handling (RT#61025)
713         - Simplify SQL generated by some LIMITed prefetching queries
714         - Throw an exception when a required group_by on a complex prefetch
715           can not be auto-constructed, instead of continuing to eventually
716           produce invalid SQL
717         - Fix infinite loops on old perls with a recent Try::Tiny
718         - Improve "fork()" on Win32 by reimplementing a more robust DBIC
719           thread support (still problematic, pending a DBI fix)
720         - Properly quote table name on INSERT with no values
721         - Work around possible Storage destruction warnings
722         - Fix count of grouped resultsets using HAVING with aliases
723         - Setting belongs_to columns/relationships no longer leaves the
724           FK value and related object out of sync
725         - Stop stripping newlines from SQL statements in the limit emulators
726           as it is possible that custom sql with comments was provided
727         - Add forgotten attributes to Admin.pm
728         - Fix incorrect 'having' attribute documentation (RT#64129)
729         - Improve fallback-to-master/return-to-slave reporting in
730           ::Replicated::Balancer
731         - Adjust txn_scope_guard code/tests to changes in $@ handling on
732           recent blead (RT#64251)
733
734     * Misc
735         - Add extra option groups to DBIC::Optional::Depencencies, to aid
736           users in requesting the prerequisites for a particular RDBMS
737         - Switch all serialization to use Storable::nfreeze for portable
738           architecture independent ice
739         - Fix the bogus META.yml dependency injection issue for good
740         - Refactor DBIx::Class::Storage::Statistics::debugfh() to be lazy
741
742 0.08124 2010-10-28 14:23 (UTC)
743     * New Features / Changes
744         - Add new -ident "function" indicating rhs is a column name
745           { col => { -ident => 'othercol' } } vs { col => \'othercol' }
746         - Extend 'proxy' relationship attribute
747         - Use DBIx::Class::Storage::Debug::PrettyPrint when the
748           environment variable DBIC_TRACE_PROFILE is set, see
749           DBIx::Class::Storage for more information
750         - Implemented add_unique_constraints() which delegates to
751           add_unique_constraint() as appropriate
752         - add_unique_constraint() now poparly throws if called with
753           multiple constraint definitions
754         - No longer depend on SQL::Abstract::Limit - DBIC has been doing
755           most of the heavy lifting for a while anyway
756         - FilterColumn now passes data through when transformations
757           are not specified rather than throwing an exception.
758         - Optimized RowNum based Oracle limit-dialect (RT#61277)
759         - Requesting a pager on a resultset with cached entries now
760           throws an exception, instead of returning a 1-page object
761           since the amount of rows is always equal to the "pagesize"
762         - $rs->pager now uses a lazy count to determine the amount of
763           total entries only when really needed, instead of doing it
764           at instantiation time
765         - New documentation map organized by features
766           (DBIx::Class::Manual::Features)
767         - find( { ... }, { key => $constraint } ) now throws an exception
768           when the supplied data does not fully specify $constraint
769         - find( col1 => $val1, col2 => $val2, ... ) is no longer supported
770           (it has been in deprecated state for more than 4 years)
771         - Make sure exception_action does not allow exception-hiding
772           due to badly-written handlers (the mechanism was never meant
773           to be able to suppress exceptions)
774
775     * Fixes
776         - Fix memory leak during populate() on 5.8.x perls
777         - Temporarily fixed 5.13.x failures (RT#58225)
778           (perl-core fix still pending)
779         - Fix result_soutrce_instance leaks on compose_namespace
780         - Fix $_ volatility on load_namespaces (a class changing $_
781           at compile time no longer causes a massive fail)
782         - Fix find() without a key attr. choosing constraints even if
783           some of the supplied values are NULL (RT#59219)
784         - Fixed rels ending with me breaking subqueried limit realiasing
785         - Fixed $rs->update/delete on resutsets constrained by an
786           -or condition
787         - Remove rogue GROUP BY on non-multiplying prefetch-induced
788           subqueries
789         - Fix incorrect order_by handling with prefetch on
790           $ordered_rs->search_related ('has_many_rel') resultsets
791         - Oracle sequence detection now *really* works across schemas
792           (fixed some ommissions from 0.08123)
793         - dbicadmin now uses a /usr/bin/env shebang to work better with
794           perlbrew and other local perl builds
795         - bulk-inserts via $dbh->bind_array (void $rs->populate) now
796           display properly in DBIC_TRACE
797         - Incomplete exception thrown on relationship auto-fk-inference
798           failures
799         - Fixed distinct with order_by to not double-specify the same
800           column in the GROUP BY clause
801         - Properly support column names with symbols (e.g. single quote)
802           via custom accessors
803         - Fixed ::Schema::Versioned to work properly with quoting on
804           (RT#59619)
805         - Fixed t/54taint fails under local-lib
806         - Fixed SELECT ... FOR UPDATE with LIMIT regression (RT#58554)
807         - Fixed CDBICompat to preserve order of column-group additions,
808           so that test relying on the order of %{} will no longer fail
809         - Fixed mysterious ::Storage::DBI goto-shim failures on older
810           perl versions
811         - Non-blessed reference exceptions are now correctly preserved
812           when thrown from udner DBIC (e.g. from txn_do)
813         - No longer disconnecting database handles supplied to connect
814           via a coderef
815         - Fixed t/inflate/datetime_pg.t failures due to a low dependency
816           on DateTime::Format::Pg (RT#61503)
817         - Fix dirtyness detection on source-less objects
818         - Fix incorrect limit_dialect assignment on Replicated pool members
819         - Fix invalid sql on relationship attr order_by with prefetch
820         - Fix primary key sequence detection for Oracle
821           (first trigger instead of trigger for column)
822         - Add various missing things to Optional::Dependencies
823         - Skip a test that breaks due to serious bugs in current DBD::SQLite
824         - Fix tests related to leaks and leaky perls (5.13.5, 5.13.6)
825
826     * Misc
827         - Entire test suite now passes under DBIC_TRACE=1
828         - Makefile.PL no longer imports GetOptions() to interoperate
829           better with Catalyst installers
830         - Bumped minimum Module::Install for developers
831         - Bumped DBD::SQLite dependency and removed some TODO markers
832           from tests (RT#59565)
833         - Do not execute t/zzzzzzz_sqlite_deadlock.t for regular module
834           installs - test is prone to spontaneous blow up
835         - DT-related tests now require a DateTime >= 0.55 (RT#60324)
836         - Makefile.PL now provides a pre-parsed DBIC version to the
837           Opt::Dep pod generator
838         - t/52leaks.t now performs very aggressive leak detection in
839           author/smoker mode
840
841 0.08123 2010-06-12 14:46 (UTC)
842     * Fixes
843         - Make sure Oracle identifier shortener applies to auto-generated
844           column names, so we stay within the 30-char limit (RT#58271)
845         - Oracle sequence detection now works across schemas
846         - Fix a Storage/$dbh leak introduced by the migration to
847           Try::Tiny (this is *not* a Try::Tiny bug)
848         - Fix corner case of count with group-by over a 1:1 join column
849           where the selector ends up with column name clashes
850         - POD fixes (RT#58247)
851
852     * Misc
853         - Test suite default on-disk database now checks for Win32
854           fail-conditions even when running on other OSes
855
856 0.08122 2010-06-03 17:41 (UTC)
857     * New Features
858         - Add DBIx::Class::FilterColumn for non-ref filtering
859         - ::Storage::DBI now correctly preserves a parent $dbh from
860           terminating children, even during interpreter-global
861           out-of-order destruction
862         - dbicadmin supports an -I option with the same semantics as
863           perl itself
864         - InflateColumn::DateTime support for MSSQL via DBD::Sybase
865         - Millisecond precision support for MSSQL datetimes for
866           InflateColumn::DateTime
867         - Oracle-specific hierarchical query syntax support:
868           CONNECT BY (NOCYCLE) / START WITH / ORDER SIBLINGS BY
869         - Support connecting using $ENV{DBI_DSN} and $ENV{DBI_DRIVER}
870         - current_source_alias method on ResultSet objects to
871           determine the alias to use in programatically assembled
872           search()es (originally added in 0.08100 but unmentioned)
873         - Rewrite/unification of all subselecting limit emulations
874           (RNO, Top, RowNum) to be much more robust wrt complex joined
875           resultsets
876         - MSSQL limits now don't require nearly as many applications of
877           the unsafe_subselect_ok attribute, due to optimized queries
878         - Support for Generic Subquery limit "emulation" - awfully slow
879           and inefficient but works on almost any db, and is preferred
880           to software limit emulation
881         - Sybase ASE driver now uses SET ROWCOUNT where possible, and
882           Generic Subquery otherwise for limit support instead of always
883           using software limit emulation
884         - create_ddl_dir (and derivatives) now attempt to create the given
885           $ddl_dir if it does not already exist
886         - deployment_statements now automatically supplies the current RDBMS
887           version to SQLT producer_args for MySQL, Pg, SQLite and Oracle
888
889     * Fixes
890         - Fix nasty potentially data-eating bug when deleting/updating
891           a limited resultset
892         - Fix find() to use result_class set on object
893         - Fix result_class setter behaviour to not mistakenly stuff attrs.
894         - Don't try and ensure_class_loaded an object. This doesn't work.
895         - Fix as_subselect_rs to not inject resultset class-wide where
896           conditions outside of the resulting subquery
897         - Fix count() failing with {for} resultset attribute (RT#56257)
898         - Fixed incorrect detection of Limit dialect on unconnected $schema
899         - update() on row not in_storage no longer throws an exception
900           if there are no dirty columns to update (fixes cascaded update
901           annoyances)
902         - update()/delete() on prefetching resultsets no longer results
903           in malformed SQL (some $rs attributes were erroneously left in)
904         - Fix dbicadmin to allow deploy() on non-versioned schema
905         - Fix dbicadmin to respect sql_dir on upgrade() (RT#57732)
906         - Update Schema::Versioned to respect hashref style of
907           connection_info
908         - Do not recreate the same related object twice during MultiCreate
909           (solves the problem of orphaned IC::FS files)
910         - Fully qualify xp_msver selector when using DBD::Sybase with
911           MSSQL (RT#57467)
912         - Fix ::DBI::Storage to always be able to present a full set of
913           connect() attributes to e.g. Schema::Versioned
914         - Fix Oracle auto-inc trigger detection of "INSERT OR UPDATE"-type
915           triggers
916
917     * Misc
918         - Reformatted Changelog \o/
919         - DBIC goes git://git.shadowcat.co.uk/dbsrgits/DBIx-Class.git
920         - Allow developers to skip optional dependency forcing when working
921           from a checkout
922         - Add a warning to load_namespaces if a class in ResultSet/ is not
923           a subclass of DBIx::Class::ResultSet
924         - All DBIC exception-handling switched to Try::Tiny
925         - All DBIC modules are now free of imports via namespace::clean
926         - Depend on optimized SQL::Abstract (faster SQL generation)
927         - Depend on new Class::Accessor::Grouped reintroducing optional use
928           of Class::XSAccessor (just install C::XSA and get lightning fast
929           column accessors)
930
931 0.08121 2010-04-11 18:43:00 (UTC)
932         - Support for Firebird RDBMS with DBD::InterBase and ODBC
933         - Add core support for INSERT RETURNING (for storages that
934           supports this syntax, currently PostgreSQL and Firebird)
935         - Fix spurious warnings on multiple UTF8Columns component loads
936         - DBIx::Class::UTF8Columns entered deprecated state
937         - DBIx::Class::InflateColumn::File entered deprecated state
938         - DBIx::Class::Optional::Dependencies left experimental state
939         - Add req_group_list to Opt::Deps (RT#55211)
940         - Add support for mysql-specific STRAIGHT_JOIN (RT#55579)
941         - Cascading delete/update are now wrapped in a transaction
942           for atomicity
943         - Fix accidental autovivification of ENV vars
944         - Fix update_all and delete_all to be wrapped in a transaction
945         - Fix multiple deficiencies when using MultiCreate with
946           data-encoder components (e.g. ::EncodedColumn)
947         - Fix regression where SQL files with comments were not
948           handled properly by ::Schema::Versioned.
949         - Fix regression on not properly throwing when $obj->relationship
950           is unresolvable
951         - Fix the join-optimiser to consider unqualified column names
952           whenever possible
953         - Fix an issue with multiple same-table joins confusing the join
954           optimizier
955         - Add has_relationship method to row objects
956         - Fix regression in set_column on PK-less objects
957         - Better error text on malformed/missing relationships
958         - Add POD about the significance of PK columns
959         - Fix for SQLite to ignore the (unsupported) { for => ... }
960           attribute
961         - Fix ambiguity in default directory handling of create_ddl_dir
962           (RT#54063)
963         - Support add_columns('+colname' => { ... }) to augment column
964           definitions.
965
966 0.08120 2010-02-24 08:58:00 (UTC)
967         - Make sure possibly overwritten deployment_statements methods in
968           schemas get called on $schema->deploy
969         - Fix count() with group_by aliased-function resultsets
970         - with_deferred_fk_checks() Oracle support
971         - Massive refactor and cleanup of primary key handling
972         - Fixed regression losing custom result_class (really this time)
973           (RT#54697)
974         - Fixed regression in DBIC SQLT::Parser failing with a classname
975           (as opposed to a schema object)
976         - Changes to Storage::DBI::Oracle to accomodate changes in latest
977           SQL::Translator (quote handling)
978         - Make sure deployment_statements is per-storage overridable
979         - Fix dbicadmin's (lack of) POD
980
981 0.08119 2010-02-15 09:36:00 (UTC)
982         - Add $rs->is_ordered to test for existing order_by on a resultset
983         - Add as_subselect_rs to DBIC::ResultSet from
984           DBIC::Helper::ResultSet::VirtualView::as_virtual_view
985         - Refactor dbicadmin adding DDL manipulation capabilities
986         - New optional dependency manager to aid extension writers
987         - Depend on newest bugfixed Moose
988         - Make resultset chaining consistent wrt selection specification
989         - Storage::DBI::Replicated cleanup
990         - Fix autoinc PKs without an autoinc flag on Sybase ASA
991
992 0.08118 2010-02-08 11:53:00 (UTC)
993         - Fix a bug causing UTF8 columns not to be decoded (RT#54395)
994         - Fix bug in One->Many->One prefetch-collapse handling (RT#54039)
995         - Cleanup handling of relationship accessor types
996
997 0.08117 2010-02-05 17:10:00 (UTC)
998         - Perl 5.8.1 is now the minimum supported version
999         - Massive optimization of the join resolution code - now joins
1000           will be removed from the resulting SQL if DBIC can prove they
1001           are not referenced by anything
1002         - Subqueries no longer marked experimental
1003         - Support for Informix RDBMS (limit/offset and auto-inc columns)
1004         - Support for Sybase SQLAnywhere, both native and via ODBC
1005         - might_have/has_one now warn if applied calling class's column
1006           has is_nullable set to true.
1007         - Fixed regression in deploy() with a {sources} table limit applied
1008           (RT#52812)
1009         - Views without a view_definition will throw an exception when
1010           parsed by SQL::Translator::Parser::DBIx::Class
1011         - Stop the SQLT parser from auto-adding indexes identical to the
1012           Primary Key
1013         - InflateColumn::DateTime refactoring to allow fine grained method
1014           overloads
1015         - Fix ResultSetColumn improperly selecting more than the requested
1016           column when +columns/+select is present
1017         - Fix failure when update/delete of resultsets with complex WHERE
1018           SQLA structures
1019         - Fix regression in context sensitiveness of deployment_statements
1020         - Fix regression resulting in overcomplicated query on
1021           search_related from prefetching resultsets
1022         - Fix regression on all-null returning searches (properly switch
1023           LEFT JOIN to JOIN in order to distinguish between both cases)
1024         - Fix regression in groupedresultset count() used on strict-mode
1025           MySQL connections
1026         - Better isolation of RNO-limited queries from the rest of a
1027           prefetching resultset
1028         - New MSSQL specific resultset attribute to allow hacky ordered
1029           subquery support
1030         - Fix nasty schema/dbhandle leak due to SQL::Translator
1031         - Initial implementation of a mechanism for Schema::Version to
1032           apply multiple step upgrades
1033         - Fix regression on externally supplied $dbh with AutoCommit=0
1034         - FAQ "Custom methods in Result classes"
1035         - Cookbook POD fix for add_drop_table instead of add_drop_tables
1036         - Schema POD improvement for dclone
1037
1038 0.08115 2009-12-10 09:02:00 (CST)
1039         - Real limit/offset support for MSSQL server (via Row_Number)
1040         - Fix distinct => 1 with non-selecting order_by (the columns
1041           in order_by also need to be aded to the resulting group_by)
1042         - Do not attempt to deploy FK constraints pointing to a View
1043         - Fix count/objects from search_related on limited resultset
1044         - Stop propagating distinct => 1 over search_related chains
1045         - Make sure populate() inherits the resultset conditions just
1046           like create() does
1047         - Make get_inflated_columns behave identically to get_columns
1048           wrt +select/+as (RT#46953)
1049         - Fix problems with scalarrefs under InflateColumn (RT#51559)
1050         - Throw exception on delete/update of PK-less resultsets
1051         - Refactored Sybase storage driver into a central ::DBI::Sybase
1052           dispatcher, and a sybase-specific ::DBI::Sybase::ASE
1053         - Fixed an atrocious DBD::ADO bind-value bug
1054         - Cookbook/Intro POD improvements
1055
1056 0.08114 2009-11-14 17:45:00 (UTC)
1057         - Preliminary support for MSSQL via DBD::ADO
1058         - Fix botched 0.08113 release (invalid tarball)
1059
1060 0.08113 2009-11-13 23:13:00 (UTC)
1061         - Fix populate with has_many bug
1062           (RT #50828)
1063         - Fix Oracle autoincrement broken for Resultsets with scalar refs
1064           (RT #50874)
1065         - Complete Sybase RDBMS support including:
1066           - Support for TEXT/IMAGE columns
1067           - Support for the 'money' datatype
1068           - Transaction savepoints support
1069           - DateTime inflation support
1070           - Support for bind variables when connecting to a newer Sybase with
1071              OpenClient libraries
1072           - Support for connections via FreeTDS with CASTs for bind variables
1073              when needed
1074           - Support for interpolated variables with proper quoting when
1075              connecting to an older Sybase and/or via FreeTDS
1076           - bulk API support for populate()
1077         - Transaction support for MSSQL via DBD::Sybase
1078         - Add is_paged method to DBIx::Class::ResultSet so that we can
1079           check that if we want a pager
1080         - Skip versioning test on really old perls lacking Time::HiRes
1081           (RT #50209)
1082         - Fixed on_connect_do/call regression when used with a coderef
1083           connector (RT #50003)
1084         - A couple of fixes to Ordered to remedy subclassing issues
1085         - Fixed another lingering problem with PostgreSQL
1086           auto-increment support and its interaction with multiple
1087           schemas
1088         - Remove some IN workarounds, and require a recent version of
1089           SQLA instead
1090         - Improvements to populate's handling of mixed scalarref values
1091         - Fixed regression losing result_class after $rs->find (introduced
1092           in 0.08108)
1093         - Fix in_storage() to return 1|0 as per existing documentation
1094         - Centralize handling of _determine_driver calls prior to certain
1095           ::Storage::DBI methods
1096         - Fix update/delete arbitrary condition handling (RT#51409)
1097         - POD improvements
1098
1099 0.08112 2009-09-21 10:57:00 (UTC)
1100         - Remove the recommends from Makefile.PL, DBIx::Class is not
1101           supposed to have optional dependencies. ever.
1102         - Mangle the DBIx/Class.pm POD to be more clear about
1103           copyright and license
1104         - Put back PG's multiple autoinc per table support, accidentally
1105           dropped during the serial-autodetection rewrite
1106         - Make sure ResultSetColumn does not depend on the (undefined)
1107           return value of ->cursor->reset()
1108         - Add single() to ResultSetColumn (same semantics as ResultSet)
1109         - Make sure to turn off IDENTITY_INSERT after insert() on MSSQL
1110           tables that needed it
1111         - More informative exception on failing _resolve_relationship
1112         - Allow undef/NULL as the sole grouping value in Ordered
1113         - Fix unreported rollback exceptions in TxnScopeGuard
1114         - Fix overly-eager left-join chain enforcing code
1115         - Warn about using distinct with an existing group_by
1116         - Warn about attempting to $rs->get_column a non-unique column
1117           when has_many joins are added to resultset
1118         - Refactor of the exception handling system (now everything is a
1119           DBIx::Class::Exception object)
1120
1121 0.08111 2009-09-06 21:58:00 (UTC)
1122         - The hashref to connection_info now accepts a 'dbh_maker'
1123           coderef, allowing better intergration with Catalyst
1124         - Fixed a complex prefetch + regular join regression introduced
1125           in 0.08108
1126         - Fixed insert_bulk rebless handling
1127         - Fixed Storable roundtrip regression, and general serialization
1128           cleanup
1129         - SQLT related fixes:
1130           - sqlt_type is now called on the correct storage object
1131           - hooks can now see the correct producer_type (RT#47891)
1132           - optional SQLT requirements for e.g. deploy() bumped to 0.11002
1133         - Really fixed (and greatly cleaned up) postgresql autoinc sequence
1134           autodetection
1135         - Automatically detect MySQL v3 and use INNER JOIN instead of JOIN
1136         - POD improvements (including RT#48769)
1137         - Test suite tweaks (including fixes for recent CPANTS fails)
1138         - Better support for MSSQL IDENTITY_INSERT ON
1139
1140 0.08109 2009-08-18 08:35:00 (UTC)
1141         - Replication updates:
1142           - Improved the replication tests so that they are more reliable
1143             and accurate, and hopefully solve some cross platform issues.
1144           - Bugfixes related to naming particular replicants in a
1145             'force_pool' attribute.
1146           - Lots of documentation updates, including a new Introduction.pod
1147             file.
1148           - Fixed the way we detect transaction to make this more reliable
1149             and forward looking.
1150           - Fixed some trouble with the way Moose Types are used.
1151           - Made discard_chages/get_from_storage replication aware (they
1152             now read from the master storage by default)
1153         - Refactor of MSSQL storage drivers, with some new features:
1154           - Support for placeholders for MSSQL via DBD::Sybase with proper
1155             autodetection
1156           - 'uniqueidentifier' support with auto newid()
1157           - Dynamic cursor support and other MARS options for ODBC
1158           - savepoints with auto_savepoint => 1
1159         - Support for MSSQL 'money' type
1160         - Support for 'smalldatetime' type used in MSSQL and Sybase for
1161           InflateColumn::DateTime
1162         - Support for Postgres 'timestamp without timezone' type in
1163           InflateColumn::DateTime (RT#48389)
1164         - Added new MySQL specific on_connect_call macro 'set_strict_mode'
1165           (also known as make_mysql_not_suck_as_much)
1166         - Multiple prefetch-related fixes:
1167           - Adjust overly agressive subquery join-chain pruning
1168           - Always preserve the outer join-chain - fixes numerous
1169             problems with search_related chaining
1170           - Deal with the distinct => 1 attribute properly when using
1171             prefetch
1172         - An extension of the select-hashref syntax, allowing labeling
1173           SQL-side aliasing: select => [ { max => 'foo', -as => 'bar' } ]
1174         - Massive optimization of the DBI storage layer - reduce the
1175           amount of connected() ping-calls
1176         - Some fixes of multi-create corner cases
1177         - Multiple POD improvements
1178         - Added exception when resultset is called without an argument
1179         - Improved support for non-schema-qualified tables under
1180           Postgres (fixed last_insert_id sequence name auto-detection)
1181
1182 0.08108 2009-07-05 23:15:00 (UTC)
1183         - Fixed the has_many prefetch with limit/group deficiency -
1184           it is now possible to select "top 5 commenters" while
1185           prefetching all their comments
1186         - New resultsed method count_rs, returns a ::ResultSetColumn
1187           which in turn returns a single count value
1188         - Even better support of count with limit
1189         - New on_connect_call/on_disconnect_call functionality (check
1190           POD of Storage::DBI)
1191         - Automatic datetime handling environment/session setup for
1192           Oracle via connect_call_datetime_setup()
1193         - count/all on related left-joined empty resultsets now correctly
1194           returns 0/()
1195         - Fixed regression when both page and offset are specified on
1196           a resultset
1197         - Fixed HRI returning too many empty results on multilevel
1198           nonexisting prefetch
1199         - make_column_dirty() now overwrites the deflated value with an
1200           inflated one if such exists
1201         - Fixed set_$rel with where restriction deleting rows outside
1202           the restriction
1203         - populate() returns the created objects or an arrayref of the
1204           created objects depending on scalar vs. list context
1205         - Fixed find_related on 'single' relationships - the former
1206           implementation would overspecify the WHERE condition, reporting
1207           no related objects when there in fact is one
1208         - SQL::Translator::Parser::DBIx::Class now attaches tables to the
1209           central schema object in relationship dependency order
1210         - Fixed regression in set_column() preventing sourceless object
1211           manipulations
1212         - Fixed a bug in search_related doubling a join if the original
1213           $rs already joins/prefetches the same relation
1214         - Storage::DBI::connected() improvements for Oracle and Sybase
1215         - Fixed prefetch+incomplete select regression introduced in
1216           0.08100
1217         - MSSQL limit (TOP emulation) fixes and improvements
1218
1219 0.08107 2009-06-14 08:21:00 (UTC)
1220         - Fix serialization regression introduced in 0.08103 (affects
1221           Cursor::Cached)
1222         - POD fixes
1223         - Fixed incomplete ::Replicated debug output
1224
1225 0.08106 2009-06-11 21:42:00 (UTC)
1226         - Switched SQLite storage driver to DateTime::Format::SQLite
1227           (proper timezone handling)
1228         - Fix more test problems
1229
1230 0.08105 2009-06-11 19:04:00 (UTC)
1231         - Update of numeric columns now properly uses != to determine
1232           dirtyness instead of the usual eq
1233         - Fixes to IC::DT tests
1234         - Fixed exception when undef_if_invalid and timezone are both set
1235           on an invalid datetime column
1236
1237 0.08104 2009-06-10 13:38:00 (UTC)
1238         - order_by now can take \[$sql, @bind] as in
1239           order_by => { -desc => \['colA LIKE ?', 'somestring'] }
1240         - SQL::Abstract errors are now properly croak()ed with the
1241           correct trace
1242         - populate() now properly reports the dataset slice in case of
1243           an exception
1244         - Fixed corner case when populate() erroneously falls back to
1245           create()
1246         - Work around braindead mysql when doing subquery counts on
1247           resultsets containing identically named columns from several
1248           tables
1249         - Fixed m2m add_to_$rel to invoke find_or_create on the far
1250           side of the relation, to avoid duplicates
1251         - DBIC now properly handles empty inserts (invoking all default
1252           values from the DB, normally via INSERT INTO tbl DEFAULT VALUES
1253         - Fix find_or_new/create to stop returning random rows when
1254           default value insert is requested (RT#28875)
1255         - Make IC::DT extra warning state the column name too
1256         - It is now possible to transparrently search() on columns
1257           requiring DBI bind (i.e. PostgreSQL BLOB)
1258         - as_query is now a Storage::DBI method, so custom cursors can
1259           be seamlessly used
1260         - Fix search_related regression introduced in 0.08103
1261
1262 0.08103 2009-05-26 19:50:00 (UTC)
1263         - Multiple $resultset -> count/update/delete fixes. Now any
1264           of these operations will succeed, regardless of the complexity
1265           of $resultset. distinct, group_by, join, prefetch are all
1266           supported with expected results
1267         - Return value of $rs->delete is now the storage return value
1268           and not 1 as it used to be
1269         - don't pass SQL functions into GROUP BY
1270         - Remove MultiDistinctEmulation.pm, effectively deprecating
1271           { select => { distinct => [ qw/col1 col2/ ] } }
1272         - Change ->count code to work correctly with DISTINCT (distinct => 1)
1273           via GROUP BY
1274         - Removed interpolation of bind vars for as_query - placeholders
1275           are preserved and nested query bind variables are properly
1276           merged in the correct order
1277         - Refactor DBIx::Class::Storage::DBI::Sybase to automatically
1278           load a subclass, namely Microsoft_SQL_Server.pm
1279           (similar to DBIx::Class::Storage::DBI::ODBC)
1280         - Refactor InflateColumn::DateTime to allow components to
1281           circumvent DateTime parsing
1282         - Support inflation of timestamp datatype
1283         - Support BLOB and CLOB datatypes on Oracle
1284         - Storage::DBI::Replicated::Balancer::Random:
1285           added master_read_weight
1286         - Storage::DBI::Replicated: storage opts from connect_info,
1287           connect_info merging to replicants, hashref connect_info support,
1288           improved trace output, other bug fixes/cleanups
1289         - distinct => 1 with prefetch now groups by all columns
1290         - on_connect_do accepts a single string equivalent to a one
1291           element arrayref (RT#45159)
1292         - DB2 limit + offset now works correctly
1293         - Sybase now supports autoinc PKs (RT#40265)
1294         - Prefetch on joins over duplicate relations now works
1295           correctly (RT#28451)
1296         - "timestamp with time zone" columns (for Pg) now get inflated with a
1297           time zone information preserved
1298         - MSSQL Top limit-emulation improvements (GROUP BY and subquery support)
1299         - ResultSetColumn will not lose the joins infered from a parent
1300           resultset prefetch
1301
1302 0.08102 2009-04-30 08:29:00 (UTC)
1303         - Fixed two subtle bugs when using columns or select/as
1304           paired with a join (limited prefetch)
1305         - Fixed breakage of cdbi tests (RT#45551)
1306         - Some POD improvements
1307
1308 0.08101 2009-04-27 09:45:00 (UTC)
1309         - Fix +select, +as, +columns and include_columns being stripped
1310           by $rs->get_column
1311         - move load_optional_class from DBIx::Class::Componentised to
1312           Class::C3::Componentised, bump dependency
1313         - register_extra_source() now *really* fixed wrt subclassing
1314         - Added missing POD descriptions (RT#45195)
1315         - Fix insert() to not store_column() every present object column
1316         - Multiple Makefile.PL fixes
1317
1318 0.08100 2009-04-19 11:39:35 (UTC)
1319         - Todo out the register_extra_source test until after shipping
1320
1321 0.08099_08 2009-03-30 00:00:00 (UTC)
1322         - Fixed taint mode with load_namespaces
1323         - Putting IC::DateTime locale, timezone or floating_tz_ok attributes into
1324           extra => {} has been deprecated. The new way is to put these things
1325           directly into the columns definition
1326         - Switched MI code to MRO::Compat
1327         - Document db-side default_value caveats
1328         - Search_like() now warns to indicate deprecation in 0.09.
1329         - TxnScopeGuard left experimental state
1330
1331 0.08099_07 2009-02-27 02:00:00 (UTC)
1332         - multi-create using find_or_create rather than _related for post-insert
1333         - fix get_inflated_columns to check has_column_loaded
1334         - Add DBIC_MULTICREATE_DEBUG env var (undocumented, quasi-internal)
1335         - Fix up multi-create to:
1336           - correctly propagate columns loaded during multi-insert of rels
1337           - not try and insert things tagged on via new_related unless required
1338         - Possible to set locale in IC::DateTime extra => {} config
1339         - Calling the accessor of a belongs_to when the foreign_key
1340           was NULL and the row was not stored would unexpectedly fail
1341         - Split sql statements for deploy only if SQLT::Producer returned a scalar
1342           containing all statements to be executed
1343         - Add as_query() for ResultSet and ResultSetColumn. This makes subqueries
1344           possible. See the Cookbook for details.
1345         - Massive rewrite of Ordered to properly handle position constraints and
1346           to make it more matpath-friendly
1347         - deploy_statements called ddl_filename with the $version and $dir arguments
1348           in the wrong order.
1349         - columns/+columns attributes now support { as => select } hahsrefs
1350         - support for views both in DBIC and via deploy() in SQLT
1351
1352 0.08099_06 2009-01-23 07:30:00 (UTC)
1353         - Allow a scalarref to be supplied to the 'from' resultset attribute
1354         - Classes submitted as result_class for a resultsource are now
1355           automatically loaded via ensure_loaded()
1356         - 'result_class' resultset attribute, identical to result_class()
1357         - add 'undef_on_null_fk' option for relationship accessors of type 'single'.
1358           This will prevent DBIC from querying the database if one or more of
1359           the key columns IS NULL
1360         - for 'belongs_to' rels, 'undef_on_null_fk' defaults to true.
1361         - fixed scope unaware last_insert_id fetching for MSSQL
1362           (http://msdn.microsoft.com/en-us/library/ms190315.aspx)
1363         - an sqlt_deploy_hook can now be shared between result sources using
1364           a configurable callback trigger
1365         - new order_by => { -desc => 'colname' } syntax supported
1366         - PG array datatype supported
1367         - insert should use store_column, not set_column to avoid marking
1368           clean just-stored values as dirty. New test for this
1369         - regression test for source_name
1370
1371 0.08099_05 2008-10-30 21:30:00 (UTC)
1372         - Rewrite of Storage::DBI::connect_info(), extended with an
1373           additional argument format type
1374         - InflateColumn::DateTime: add warning about floating timezone
1375         - InflateColumn::DateTime: possible to enforce/skip inflation
1376         - delete throws exception if passed arguments to prevent drunken mishaps.
1377         - Fix storage to copy scalar conds before regexping to avoid
1378           trying to modify a constant in odd edge cases
1379         - Related resultsets on uninserted objects are now empty
1380         - Fixed up related resultsets and multi-create
1381         - Fixed superfluous connection in ODBC::_rebless
1382         - Fixed undef PK for first insert in ODBC::Microsoft_SQL_Server
1383         - Added virtual method to Versioned so a user can create upgrade
1384           path across multiple versions (jgoulah)
1385         - Better (and marginally faster) implementation of the HashRefInflator
1386           hash construction algorithm
1387         - Allow explicit specification of ON DELETE/ON UPDATE constraints
1388           when using the SQLT parser
1389
1390 0.08099_04 2008-07-24 01:00:00
1391         - Functionality to storage to enable a sub to be run without FK checks
1392         - Fixed $schema->clone bug which caused clone and source to share
1393           internal hash refs
1394         - Added register_extra_source methods for additional sources
1395         - Added datetime_undef_if_invalid for InflateColumn::DateTime to
1396           return undef on invalid date/time values
1397         - Added search_related_rs method to ResultSet
1398         - add a make_column_dirty method to Row to force updates
1399         - throw a clear exception when user tries multi-has_many prefetch
1400         - SQLT parser prefixes index names with ${table}_idx_ to avoid clashes
1401         - mark ResultSetManager as deprecated and undocument it
1402         - pod fix (RT #32988)
1403         - add Test::Exception to test requirements (RT #34256)
1404         - make ash's build_requires/META.yml fixes work better
1405         - is_deferable support on relations used by the SQL::Translator
1406           parser
1407         - Refactored DBIx::Class::Schema::Versioned
1408         - Syntax errors from resultset components are now reported correctly
1409         - sqltargs respected correctly in deploy et al.
1410         - Added support for savepoints, and using them automatically in
1411           nested transactions if auto_savepoint is set in connect_info.
1412         - Changed naming scheme for constraints and keys in the sqlt parser;
1413           names should now be consistent and collision-free.
1414         - Improve handling of explicit key attr in ResultSet::find
1415         - Add warnings for non-unique ResultSet::find queries
1416         - Changed Storage::DBI::Replication to Storage::DBI::Replicated and
1417           refactored support.
1418         - By default now deploy/diff et al. will ignore constraint and index
1419           names
1420         - Add ResultSet::_is_deterministic_value, make new_result filter the
1421           values passed to new to drop values that would generate invalid SQL.
1422         - Use Sub::Name to name closures before installing them. Fixes
1423           incompatibility with Moose method modifiers on generated methods.
1424
1425 0.08010 2008-03-01 10:30
1426         - Fix t/94versioning.t so it passes with latest SQL::Translator
1427
1428 0.08009 2008-01-20 13:30
1429         - Made search_rs smarter about when to preserve the cache to fix
1430           mm prefetch usage
1431         - Added Storage::DBI subclass for MSSQL over ODBC.
1432         - Added freeze, thaw and dclone methods to Schema so that thawed
1433           objects will get re-attached to the schema.
1434         - Moved dbicadmin to JSON::Any wrapped JSON.pm for a sane API
1435           (also fixes RT #32393)
1436         - introduced DBIx::Class::set_inflated_columns
1437         - DBIx::Class::Row::copy uses set_inflated_columns
1438
1439 0.08008 2007-11-16 14:30:00
1440         - Fixed join merging bug (test from Zby)
1441         - When adding relationships, it will throw an exception if you get the
1442           foreign and self parts the wrong way round in the condition
1443         - ResultSetColumn::func() now returns all results if called in list
1444           context; this makes things like func('DISTINCT') work as expected
1445         - Many-to-many relationships now warn if the utility methods would
1446           clash
1447         - InflateColumn::DateTime now accepts an extra parameter of timezone
1448           to set timezone on the DT object (thanks Sergio Salvi)
1449         - Added sqlt_deploy_hook to result classes so that indexes can be
1450           added.
1451         - Added startup checks to warn loudly if we appear to be running on
1452           RedHat systems from perl-5.8.8-10 and up that have the bless/overload
1453           patch applied (badly) which causes 2x -> 100x performance penalty.
1454           (Jon Schutz)
1455         - ResultSource::reverse_relationship_info can distinguish between
1456           sources using the same table
1457         - Row::insert will now not fall over if passed duplicate related objects
1458         - Row::copy will not fall over if you have two relationships to the
1459           same source with a unique constraint on it
1460
1461 0.08007 2007-09-04 19:36:00
1462         - patch for Oracle datetime inflation (abram@arin.net)
1463         - added on_disconnect_do
1464         - on_connect_do and on_disconnect_do take coderefs and arrayrefs
1465
1466 0.08006 2007-08-12 15:12:00
1467         - Move to using Class::C3::Componentised
1468         - Remove warn statement from DBIx::Class::Row
1469
1470 0.08005 2007-08-06
1471         - add timestamp fix re rt.cpan 26978 - no test yet but change
1472           clearly should cause no regressions
1473         - provide alias for related_resultset via local() so it's set
1474           correctly at resultset construction time (fixes RestrictWithObject)
1475         - fixes bind params in debug statements
1476           (original test from abraxxa)
1477         - fixed storage->connected fork bug
1478           (test and fix from Radu Greab)
1479         - add 1; to AccessorGroup.pm for stuff that still uses it
1480         - refactor Statistics to create debugging filehandle to fix bug with
1481           closed STDERR, update docs and modify Versioned to use Statistics
1482           (original fix from diz)
1483
1484 0.08004 2007-08-06 19:00:00
1485         - fix storage connect code to not trigger bug via auto-viv
1486           (test from aherzog)
1487         - fixup cursor_class to be an 'inherited' attr for per-package defaults
1488         - add default_resultset_attributes entry to Schema
1489         - optimisation in DBI::Cursor to check software_limit before falling
1490           back to base Cursor->all
1491         - fix bug with create_multi not inserting non-storage objects
1492           (test and fix from davinchi)
1493         - DBIx::Class::AccessorGroup made empty subclass of
1494           Class::Accessor::Grouped
1495         - fixed an ugly bug regarding $dbh->{AutoCommit} and transactions
1496         - ensure_class_loaded handles non-classnames better.
1497         - non-destructive hashref handling for connect_info options
1498         - count no longer returns negative values after slice
1499           (report and test from JOHANL)
1500         - rebless before building datetime_parser
1501           (patch from mattlaw / Matt Lawrence)
1502
1503 0.08003 2007-07-14 18:01:00
1504         - improved populate bulk_insert mode
1505         - fixed up multi_create to be more intelligent about PK<->PK rels
1506         - fix many-many rels to not use set_columns
1507         - Unmarked deploy as experimental since it isn't anymore
1508         - Removed Cwd dep since it's not required and causes problems
1509           with debian packaging
1510         - Patch to fix ? in data for NoBindVars (from Tom Hukins)
1511         - Restored mk_classaccessor method for compatibility
1512         - Fixed group_by problem with oracle limit syntax
1513         - Fixed attr merging problem
1514         - Fixed $rs->get_column w/prefetch  problem
1515
1516 0.08002 2007-06-20 06:10:00
1517         - add scope guard to Row::insert to ensure rollback gets called
1518         - more heuristics in Row::insert to try and get insert order right
1519         - eliminate vestigial code in PK::Auto
1520         - more expressive DBI errors
1521         - soften errors during deploy
1522         - ensure_connected before txn_begin to catch stomping on transaction
1523           depth
1524         - new method "rethrow" for our exception objects
1525
1526 0.08001 2007-06-17 21:21:02
1527         - Cleaned up on_connect handling for versioned
1528         - removed DateTime use line from multi_create test
1529         - hid DBIx::ContextualFetch::st override in CDBICompat
1530
1531 0.08000 2007-06-17 18:06:12
1532         - Fixed DBIC_TRACE debug filehandles to set ->autoflush(1)
1533         - Fixed circular dbh<->storage in HandleError with weakref
1534
1535 0.07999_06 2007-06-13 04:45:00
1536         - tweaked Row.pm to make last_insert_id take multiple column names
1537         - Fixed DBIC::Storage::DBI::Cursor::DESTROY bug that was
1538           messing up exception handling
1539         - added exception objects to eliminate stacktrace/Carp::Clan
1540           output redundancy
1541         - setting $ENV{DBIC_TRACE} defaults stacktrace on.
1542         - added stacktrace option to Schema, makes throw_exception
1543           use "confess"
1544         - make database handles use throw_exception by default
1545         - make database handles supplied by a coderef use our
1546           standard HandleError/RaiseError/PrintError
1547         - add "unsafe" connect_info option to suppress our setting
1548           of HandleError/RaiseError/PrintError
1549         - removed several redundant evals whose sole purpose was to
1550           provide extra debugging info
1551         - fixed page-within-page bug (reported by nilsonsfj)
1552         - fixed rare bug when database is disconnected inbetween
1553           "$dbh->prepare_cached" and "$sth->execute"
1554
1555 0.07999_05 2007-06-07 23:00:00
1556         - Made source_name rw in ResultSource
1557         - Fixed up SQL::Translator test/runtime dependencies
1558         - Fixed t/60core.t in the absence of DateTime::Format::MySQL
1559         - Test cleanup and doc note (ribasushi)
1560
1561 0.07999_04 2007-06-01 14:04:00
1562         - pulled in Replication storage from branch and marked EXPERIMENTAL
1563         - fixup to ensure join always LEFT after first LEFT join depthwise
1564         - converted the vendor tests to use schema objects intead of schema
1565           classes, made cleaned more reliable with END blocks
1566         - versioning support via DBIx::Class::Schema::Versioned
1567         - find/next now return undef rather than () on fail from Bernhard Graf
1568         - rewritten collapse_result to fix prefetch
1569         - moved populate to resultset
1570         - added support for creation of related rows via insert and populate
1571         - transaction support more robust now in the face of varying AutoCommit
1572           and manual txn_begin usage
1573         - unbreak back-compat for Row/ResultSet->new_result
1574         - Added Oracle/WhereJoins.pm for Oracle >= 8 to support
1575           Oracle <= 9i, and provide Oracle with a better join method for
1576           later versions.  (I use the term better loosely.)
1577         - The SQL::T parser class now respects a relationship attribute of
1578           is_foreign_key_constrain to allow explicit control over wether or
1579           not a foreign constraint is needed
1580         - resultset_class/result_class now (again) auto loads the specified
1581           class; requires Class::Accessor::Grouped 0.05002+
1582         - added get_inflated_columns to Row
1583         - %colinfo accessor and inflate_column now work together
1584         - More documentation updates
1585         - Error messages from ->deploy made more informative
1586         - connect_info will now always return the arguments it was
1587           originally given
1588         - A few small efficiency improvements for load_classes
1589           and compose_namespace
1590
1591 0.07006 2007-04-17 23:18:00
1592         - Lots of documentation updates
1593         - deploy now takes an optional 'source_names' parameter (dec)
1594         - Quoting for for columns_info_for
1595         - RT#25683 fixed (multiple open sths on DBD::Sybase)
1596         - CDBI compat infers has_many from has_a (Schwern)
1597         - Fix ddl_filename transformation (Carl Vincent)
1598
1599 0.07999_02 2007-01-25 20:11:00
1600         - add support for binding BYTEA and similar parameters (w/Pg impl)
1601         - add support to Ordered for multiple ordering columns
1602         - mark DB.pm and compose_connection as deprecated
1603         - switch tests to compose_namespace
1604         - ResultClass::HashRefInflator added
1605         - Changed row and rs objects to not have direct handle to a source,
1606           instead a (schema,source_name) tuple of type ResultSourceHandle
1607
1608 0.07005 2007-01-10 18:36:00
1609         - fixup changes file
1610         - remove erroneous .orig files - oops
1611
1612 0.07004 2007-01-09 21:52:00
1613         - fix find_related-based queries to correctly grep the unique key
1614         - fix InflateColumn to inflate/deflate all refs but scalar refs
1615
1616 0.07003 2006-11-16 11:52:00
1617         - fix for rt.cpan.org #22740 (use $^X instead of hardcoded "perl")
1618         - Tweaks to resultset to allow inflate_result to return an array
1619         - Fix UTF8Columns to work under Perl <= 5.8.0
1620         - Fix up new_result in ResultSet to avoid alias-related bugs
1621         - Made new/update/find handle 'single' rel accessor correctly
1622         - Fix NoBindVars to be safer and handle non-true bind values
1623         - Don't blow up if columns_info_for returns useless results
1624         - Documentation updates
1625
1626 0.07999_01 2006-10-05 21:00:00
1627         - add connect_info option "disable_statement_caching"
1628         - create insert_bulk using execute_array, populate uses it
1629         - added DBIx::Class::Schema::load_namespaces, alternative to
1630           load_classes
1631         - added source_info method for source-level metadata (kinda like
1632           column_info)
1633         - Some of ::Storage::DBI's code/docs moved to ::Storage
1634         - DBIx::Class::Schema::txn_do code moved to ::Storage
1635         - Storage::DBI now uses exceptions instead of ->ping/->{Active} checks
1636         - Storage exceptions are thrown via the schema class's throw_exception
1637         - DBIx::Class::Schema::throw_exception's behavior can be modified via
1638           ->exception_action
1639         - columns_info_for is deprecated, and no longer runs automatically.
1640           You can make it work like before via
1641           __PACKAGE__->column_info_from_storage(1) for now
1642         - Replaced DBIx::Class::AccessorGroup and Class::Data::Accessor with
1643           Class::Accessor::Grouped. Only user noticible change is to
1644           table_class on ResultSourceProxy::Table (i.e. table objects in
1645           schemas) and, resultset_class and result_class in ResultSource.
1646           These accessors no longer automatically require the classes when
1647           set.
1648
1649 0.07002 2006-09-14 21:17:32
1650         - fix quote tests for recent versions of SQLite
1651         - added reference implementation of Manual::Example
1652         - backported column_info_from_storage accessor from -current, but
1653         - fixed inflate_datetime.t tests/stringify under older Test::More
1654         - minor fixes for many-to-many relationship helpers
1655         - cleared up Relationship docs, and fixed some typos
1656         - use ref instead of eval to check limit syntax (to avoid issues with
1657           Devel::StackTrace)
1658         - update ResultSet::_cond_for_update_delete to handle more complicated
1659           queries
1660         - bugfix to Oracle columns_info_for
1661         - remove_columns now deletes columns from _columns
1662
1663 0.07001 2006-08-18 19:55:00
1664         - add directory argument to deploy()
1665         - support default aliases in many_to_many accessors.
1666         - support for relationship attributes in many_to_many accessors.
1667         - stop search_rs being destructive to attrs
1668         - better error reporting when loading components
1669         - UTF8Columns changed to use "utf8" instead of "Encode"
1670         - restore automatic aliasing in ResultSet::find() on nonunique queries
1671         - allow aliases in ResultSet::find() queries (in cases of relationships
1672           with prefetch)
1673         - pass $attrs to find from update_or_create so a specific key can be
1674           provided
1675         - remove anonymous blesses to avoid major speed hit on Fedora Core 5's
1676           Perl and possibly others; for more information see:
1677           https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=196836
1678         - fix a pathological prefetch case
1679         - table case fix for Oracle in columns_info_for
1680         - stopped search_rs deleting attributes from passed hash
1681
1682 0.07000 2006-07-23 02:30:00
1683         - supress warnings for possibly non-unique queries, since
1684           _is_unique_query doesn't infer properly in all cases
1685         - skip empty queries to eliminate spurious warnings on ->deploy
1686         - fixups to ORDER BY, tweaks to deepen some copies in ResultSet
1687         - fixup for RowNum limit syntax with functions
1688
1689 0.06999_07 2006-07-12 20:58:05
1690         - fix issue with from attr copying introduced in last release
1691
1692 0.06999_06 2006-07-12 17:16:55
1693         - documentation for new storage options, fix S::A::L hanging on to $dbh
1694         - substantial refactor of search_related code to fix alias numbering
1695         - don't generate partial unique keys in ResultSet::find() when a table
1696           has more than one unique constraint which share a column and only one
1697           is satisfied
1698         - cleanup UTF8Columns and make more efficient
1699         - rename DBIX_CLASS_STORAGE_DBI_DEBUG to DBIC_TRACE (with compat)
1700         - rename _parent_rs to _parent_source in ResultSet
1701         - new FAQ.pod!
1702
1703 0.06999_05 2006-07-04 14:40:01
1704         - fix issue with incorrect $rs->{attrs}{alias}
1705         - fix subclassing issue with source_name
1706         - tweak quotes test to output text on failure
1707         - fix Schema->txn_do to not fail as a classmethod
1708
1709 0.06999_04 2006-06-29 20:18:47
1710         - disable cdbi-t/02-Film.t warning tests under AS perl
1711         - fixups to MySQL tests (aka "work round mysql being retarded")
1712         - compat tweaks for Storage debug logging
1713
1714 0.06999_03 2006-06-26 21:04:44
1715         - various documentation improvements
1716         - fixes to pass test suite on Windows
1717         - rewrote and cleaned up SQL::Translator tests
1718         - changed relationship helpers to only call ensure_class_loaded when the
1719           join condition is inferred
1720         - rewrote many_to_many implementation, now provides helpers for adding
1721           and deleting objects without dealing with the link table
1722         - reworked InflateColumn implementation to lazily deflate where
1723           possible; now handles passing an inflated object to new()
1724         - changed join merging to not create a rel_2 alias when adding a join
1725           that already exists in a parent resultset
1726         - Storage::DBI::deployment_statements now calls ensure_connected
1727           if it isn't passed a type
1728         - fixed Componentized::ensure_class_loaded
1729         - InflateColumn::DateTime supports date as well as datetime
1730         - split Storage::DBI::MSSQL into MSSQL and Sybase::MSSQL
1731         - fixed wrong debugging hook call in Storage::DBI
1732         - set connect_info properly before setting any ->sql_maker things
1733
1734 0.06999_02 2006-06-09 23:58:33
1735         - Fixed up POD::Coverage tests, filled in some POD holes
1736         - Added a warning for incorrect component order in load_components
1737         - Fixed resultset bugs to do with related searches
1738         - added code and tests for Componentized::ensure_class_found and
1739           load_optional_class
1740         - NoBindVars + Sybase + MSSQL stuff
1741         - only rebless S::DBI if it is still S::DBI and not a subclass
1742         - Added `use' statement for DBD::Pg in Storage::DBI::Pg
1743         - stopped test relying on order of unordered search
1744         - bugfix for join-types in nested joins using the from attribute
1745         - obscure prefetch problem fixed
1746         - tightened up deep search_related
1747         - Fixed 'DBIx/Class/DB.pm did not return a true value' error
1748         - Revert change to test for deprecated find usage and swallow warnings
1749         - Slight wording change to new_related() POD
1750         - new specific test for connect_info coderefs
1751         - POD clarification and content bugfixing + a few code formatting fixes
1752         - POD::Coverage additions
1753         - fixed debugfh
1754         - Fix column_info stomping
1755
1756 0.06999_01 2006-05-28 17:19:30
1757         - add automatic naming of unique constraints
1758         - marked DB.pm as deprecated and noted it will be removed by 1.0
1759         - add ResultSetColumn
1760         - refactor ResultSet code to resolve attrs as late as possible
1761         - merge prefetch attrs into join attrs
1762         - add +select and +as attributes to ResultSet
1763         - added InflateColumn::DateTime component
1764         - refactor debugging to allow for profiling using Storage::Statistics
1765         - removed Data::UUID from deps, made other optionals required
1766         - modified SQLT parser to skip dupe table names
1767         - added remove_column(s) to ResultSource/ResultSourceProxy
1768         - added add_column alias to ResultSourceProxy
1769         - added source_name to ResultSource
1770         - load_classes now uses source_name and sets it if necessary
1771         - add update_or_create_related to Relationship::Base
1772         - add find_or_new to ResultSet/ResultSetProxy and find_or_new_related
1773           to Relationship::Base
1774         - add accessors for unique constraint names and coulums to
1775           ResultSource/ResultSourceProxy
1776         - rework ResultSet::find() to search unique constraints
1777         - CDBICompat: modify retrieve to fix column casing when ColumnCase is
1778           loaded
1779         - CDBICompat: override find_or_create to fix column casing when
1780           ColumnCase is loaded
1781         - reorganized and simplified tests
1782         - added Ordered
1783         - added the ability to set on_connect_do and the various sql_maker
1784           options as part of Storage::DBI's connect_info.
1785
1786 0.06003 2006-05-19 15:37:30
1787         - make find_or_create_related check defined() instead of truth
1788         - don't unnecessarily fetch rels for cascade_update
1789         - don't set_columns explicitly in update_or_create; instead use
1790           update($hashref) so InflateColumn works
1791         - fix for has_many prefetch with 0 related rows
1792         - make limit error if rows => 0
1793         - added memory cycle tests and a long-needed weaken call
1794
1795 0.06002 2006-04-20 00:42:41
1796         - fix set_from_related to accept undef
1797         - fix to Dumper-induced hash iteration bug
1798         - fix to copy() with non-composed resultsource
1799         - fix to ->search without args to clone rs but maintain cache
1800         - grab $self->dbh once per function in Storage::DBI
1801         - nuke ResultSource caching of ->resultset for consistency reasons
1802         - fix for -and conditions when updating or deleting on a ResultSet
1803
1804 0.06001
1805         - Added fix for quoting with single table
1806         - Substantial fixes and improvements to deploy
1807         - slice now uses search directly
1808         - fixes for update() on resultset
1809         - bugfix to Cursor to avoid error during DESTROY
1810         - transaction DBI operations now in debug trace output
1811
1812 0.06000 2006-03-25 18:03:46
1813         - Lots of documentation improvements
1814         - Minor tweak to related_resultset to prevent it storing a searched rs
1815         - Fixup to columns_info_for when database returns type(size)
1816         - Made do_txn respect void context (on the off-chance somebody cares)
1817         - Fix exception text for nonexistent key in ResultSet::find()
1818
1819 0.05999_04 2006-03-18 19:20:49
1820         - Fix for delete on full-table resultsets
1821         - Removed caching on count() and added _count for pager()
1822         - ->connection does nothing if ->storage defined and no args
1823           (and hence ->connect acts like ->clone under the same conditions)
1824         - Storage::DBI throws better exception if no connect info
1825         - columns_info_for made more robust / informative
1826         - ithreads compat added, fork compat improved
1827         - weaken result_source in all resultsets
1828         - Make pg seq extractor less sensitive.
1829
1830 0.05999_03 2006-03-14 01:58:10
1831         - has_many prefetch fixes
1832         - deploy now adds drop statements before creates
1833         - deploy outputs debugging statements if DBIX_CLASS_STORAGE_DBI_DEBUG
1834             is set
1835
1836 0.05999_02 2006-03-10 13:31:37
1837         - remove test dep on YAML
1838         - additional speed tweaks for C3
1839         - allow scalarefs passed to order_by to go straight through to SQL
1840         - renamed insert_or_update to update_or_insert (with compat alias)
1841         - hidden lots of packages from the PAUSE Indexer
1842
1843 0.05999_01 2006-03-09 18:31:44
1844         - renamed cols attribute to columns (cols still supported)
1845         - added has_column_loaded to Row
1846         - Storage::DBI connect_info supports coderef returning dbh as 1st arg
1847         - load_components() doesn't prepend base when comp. prefixed with +
1848         - $schema->deploy
1849         - HAVING support
1850         - prefetch for has_many
1851         - cache attr for resultsets
1852         - PK::Auto::* no longer required since Storage::DBI::* handle auto-inc
1853         - minor tweak to tests for join edge case
1854         - added cascade_copy relationship attribute
1855           (sponsored by Airspace Software, http://www.airspace.co.uk/)
1856         - clean up set_from_related
1857         - made copy() automatically null out auto-inc columns
1858         - added txn_do() method to Schema, which allows a coderef to be
1859           executed atomically
1860
1861 0.05007 2006-02-24 00:59:00
1862         - tweak to Componentised for Class::C3 0.11
1863         - fixes for auto-inc under MSSQL
1864
1865 0.05006 2006-02-17 15:32:40
1866         - storage fix for fork() and workaround for Apache::DBI
1867         - made update(\%hash) work on row as well as rs
1868         - another fix for count with scalar group_by
1869         - remove dependency on Module::Find in 40resultsetmanager.t (RT #17598)
1870
1871 0.05005 2006-02-13 21:24:51
1872         - remove build dependency on version.pm
1873
1874 0.05004 2006-02-13 20:59:00
1875         - allow specification of related columns via cols attr when primary
1876           keys of the related table are not fetched
1877         - fix count for group_by as scalar
1878         - add horrific fix to make Oracle's retarded limit syntax work
1879         - remove Carp require
1880         - changed UUIDColumns to use new UUIDMaker classes for uuid creation
1881         using whatever module may be available
1882
1883 0.05003 2006-02-08 17:50:20
1884         - add component_class accessors and use them for *_class
1885         - small fixes to Serialize and ResultSetManager
1886         - rollback on disconnect, and disconnect on DESTROY
1887
1888 0.05002 2006-02-06 12:12:03
1889         - Added recommends for Class::Inspector
1890         - Added skip_all to t/40resultsetmanager.t if no Class::Inspector
1891         available
1892
1893 0.05001 2006-02-05 15:28:10
1894         - debug output now prints NULL for undef params
1895         - multi-step prefetch along the same rel (e.g. for trees) now works
1896         - added multi-join (join => [ 'foo', 'foo' ]), aliases second to foo_2
1897         - hack PK::Auto::Pg for "table" names referencing a schema
1898         - find() with attributes works
1899         - added experimental Serialize and ResultSetManager components
1900         - added code attribute recording to DBIx::Class
1901         - fix to find() for complex resultsets
1902         - added of $storage->debugcb(sub { ... })
1903         - added $source->resultset_attributes accessor
1904         - added include_columns rs attr
1905
1906 0.05000 2006-02-01 16:48:30
1907         - assorted doc fixes
1908         - remove ObjectCache, not yet working in 0.05
1909         - let many_to_many rels have attrs
1910         - fix ID method in PK.pm to be saner for new internals
1911         - fix t/30dbicplain.t to use ::Schema instead of
1912           Catalyst::Model::DBIC::Plain
1913
1914 0.04999_06 2006-01-28 21:20:32
1915         - fix Storage/DBI (tried to load deprecated ::Exception component)
1916
1917 0.04999_05 2006-01-28 20:13:52
1918         - count will now work for grouped resultsets
1919         - added accessor => option to column_info to specify accessor name
1920         - added $schema->populate to load test data (similar to AR fixtures)
1921         - removed cdbi-t dependencies, only run tests if installed
1922         - Removed DBIx::Class::Exception
1923         - unified throw_exception stuff, using Carp::Clan
1924         - report query when sth generation fails.
1925         - multi-step prefetch!
1926         - inheritance fixes
1927         - test tweaks
1928
1929 0.04999_04 2006-01-24 21:48:21
1930         - more documentation improvements
1931         - add columns_info_for for vendor-specific column info (Zbigniew
1932         Lukasiak)
1933         - add SQL::Translator::Producer for DBIx::Class table classes (Jess
1934         Robinson)
1935         - add unique constraint declaration (Daniel Westermann-Clark)
1936         - add new update_or_create method (Daniel Westermann-Clark)
1937         - rename ResultSetInstance class to ResultSetProxy, ResultSourceInstance
1938           to ResultSourceProxy, and TableInstance to ResultSourceProxy::Table
1939         - minor fixes to UUIDColumns
1940         - add debugfh method and ENV magic for tracing SQL (Nigel Metheringham)
1941
1942 0.04999_03 2006-01-20 06:05:27
1943         - imported Jess Robinson's SQL::Translator::Parser::DBIx::Class
1944         - lots of internals cleanup to eliminate result_source_instance
1945         requirement
1946         - added register_column and register_relationship class APIs
1947         - made Storage::DBI use prepare_cached safely (thanks to Tim Bunce)
1948         - many documentation improvements (thanks guys!)
1949         - added ->connection, ->connect, ->register_source and ->clone schema
1950         methods
1951         - Use croak instead of die for user errors.
1952
1953 0.04999_02 2006-01-14 07:17:35
1954         - Schema is now self-contained; no requirement for co-operation
1955         - add_relationship, relationships, relationship_info, has_relationship
1956         - relationship handling on ResultSource
1957         - all table handling now in Table.pm / ResultSource.pm
1958         - added GROUP BY and DISTINCT support
1959         - hacked around SQL::Abstract::Limit some more in DBIC::SQL::Abstract
1960           (this may have fixed complex quoting)
1961         - moved inflation to inflate_result in Row.pm
1962         - added $rs->search_related
1963         - split compose_namespace out of compose_connection in Schema
1964         - ResultSet now handles find
1965         - various *_related methods are now ->search_related->*
1966         - added new_result to ResultSet
1967
1968 0.04999_01 2005-12-27 03:33:42
1969         - search and related methods moved to ResultSet
1970         - select and as added to ResultSet attrs
1971         - added DBIx::Class::Table and TableInstance for table-per-class
1972         - added DBIx::Class::ResultSetInstance which handles proxying
1973           search etc. as a superclass of DBIx::Class::DB
1974         - assorted test and code cleanup work
1975
1976 0.04001 2005-12-13 22:00:00
1977         - Fix so set_inflated_column calls set_column
1978         - Syntax errors in relationship classes are now reported
1979         - Better error detection in set_primary_key and columns methods
1980         - Documentation improvements
1981         - Better transaction support with txn_* methods
1982         - belongs_to now works when $cond is a string
1983         - PK::Auto::Pg updated, only tries primary keys instead of all cols
1984
1985 0.04 2005-11-26
1986         - Moved get_simple and set_simple into AccessorGroup
1987         - Made 'new' die if given invalid columns
1988         - Added has_column and column_info to Table.pm
1989         - Refactored away from direct use of _columns and _primaries
1990         - Switched from NEXT to Class::C3
1991
1992 0.03004
1993         - Added an || '' to the CDBICompat stringify to avoid null warnings
1994         - Updated name section for manual pods
1995 0.03003 2005-11-03 17:00:00
1996         - POD fixes.
1997         - Changed use to require in Relationship/Base to avoid import.
1998
1999 0.03002 2005-10-20 22:35:00
2000         - Minor bugfix to new (Row.pm)
2001         - Schema doesn't die if it can't load a class (Schema.pm)
2002         - New UUID columns plugin (UUIDColumns.pm)
2003         - Documentation improvements.
2004
2005 0.03001 2005-09-23 14:00:00
2006         - Fixes to relationship helpers
2007         - IMPORTANT: prefetch/schema combination bug fix
2008
2009 0.03    2005-09-19 19:35:00
2010         - Paging support
2011         - Join support on search
2012         - Prefetch support on search
2013
2014 0.02    2005-08-12 18:00:00
2015         - Test fixes.
2016         - Performance improvements.
2017         - Oracle primary key support.
2018         - MS-SQL primary key support.
2019         - SQL::Abstract::Limit integration for database-agnostic limiting.
2020
2021 0.01    2005-08-08 17:10:00
2022         - initial release
2023