Stop eating syntax errors in ODBC drivers
[dbsrgits/DBIx-Class.git] / Changes
1 Revision history for DBIx::Class
2
3     * Fixes
4         - Disable mysql_auto_reconnect for MySQL - depending on the ENV
5           it sometimes defaults to on and causes major borkage on older
6           DBD::mysql versions
7         - Fix dropped bind values in select/group_by on Oracle (omission
8           from 0542ec57 and 4c2b30d6)
9
10 0.08127 2011-01-19 16:40 (UTC)
11     * New Features / Changes
12         - Schema/resultsource instances are now crossreferenced via a new
13           system guaranteeing leak-free mutually assured destruction
14         - DBIx::Class now warns when the user erroneously supplies
15           AutoCommit => 0 to connect()
16         - A warning is also issued before forcing the RaiseError
17           setting of externally supplied DBI handles
18         - Switch to a warning when find() is invoked with both a 'key'
19           argument and a NULL-containing condition to satisfy the named
20           constraint. Previously (starting with 0.08124) an exception was
21           thrown
22         - Switch to a warning when a commit is attempted with an out-of-sync
23           transaction_depth (someone issued a begin externally to DBIC).
24           Previously (starting with 0.08124) an exception was thrown
25
26     * Fixes
27         - A number of improvements/diagnostics of multiple active resultset
28           handling on MSSQL over DBD::ODBC
29         - Revert default selection to being lazy again (eagerness introduced
30           in 0.08125) - fixes DBIx::Class::Helper::ResultSet::RemoveColumns
31         - Fix losing order of columns provided in select/as (regression from
32           0.08125)
33         - Unaliased "dark" selectors no longer throw off prefetch
34         - Fix proper composition of bind values across all possible
35           SQL areas ( group_by => \[ ... ] now works properly )
36         - Allow populate to skip empty has_many relationships which makes
37           it easier to pass HashRefInflator data directly to ->populate
38         - Improve freeze/thaw semantics and error messages (RT#62546)
39         - Fix inconsistency in Manual::Features (RT#64500)
40         - Fix incorrect SQL when using for => 'shared' with MySQL (RT#64590)
41         - Throw comprehensible exception on erroneous $schema->source()
42           invocation
43         - Fix sloppy refactor of ResultSource::sequence back from 89170201
44           (RT#64839)
45         - Fix incorrect error detection during populate() on Oracle
46         - Better handling of result_source-less row objects by
47           auto-calling result_source_instance when necessary
48         - Fix reverse_relationship_info and sqlt deploy on partially
49           loaded schemas (relationships point to non-existent sources)
50
51     * Misc
52         - Fix test warning on win32 - at this point the test suite is
53           warning-free on all known OSes
54         - Require newest namespace::clean which in turn depends on new
55           installable Package::Stash
56
57 0.08126 2010-12-28 18:10 (UTC)
58     * Fixes
59         - Bump forgotten Class::Accessor::Grouped core dependency
60         - Promote forgotten Hash::Merge optdep to a hard requirement
61         - Skip t/storage/error.t on smokers with leaking perls
62         - Fix t/storage/txn.t deadlocks on slower machines
63         - Do not run on smokers if a trial Package::Stash is found
64
65 0.08125 2010-12-27 04:30 (UTC)
66     * New Features / Changes
67         - New method ResultSource columns_info method, returning multiple
68           pairs of column name/info at once
69         - $rs->search now throws when called in void context, as it makes
70           no sense (and is nearly always a sign of a bug/misdesign)
71         - Restore long-lost ability to supply unbalanced select/as pairs
72           e.g. +select => \'DISTINCT(foo, bar)', +as => ['foo', 'bar']
73         - +columns now behaves just like columns by not stripping a
74           fully-qualified 'as' spec (i.e. foo.bar results in $obj->foo->bar)
75         - Deprecate legacy $rs->search( %condition ) syntax (warn once per
76           callsite)
77         - NULL is now supplied unquoted to all debug-objects, in order to
78           differentiate between a real NULL and the string 'NULL'
79         - New search() condition operator -value used to pass complex bind
80           values to DBI: search({ array_col => { -value => [1,2,3] }})
81         - Add full INSERT...RETURNING support for Oracle
82         - Deprecate use of -nest in search conditions (warn once per
83           callsite)
84         - Deprecate the completely useless DBIx::Class::Serialize::Storable
85           result component
86
87     * Fixes
88         - Fixed read-only attribute set attempt in ::Storage::Replicated
89           (RT#62642)
90         - Fix incomplete logic while detecting correct Oracle sequence
91           on insert
92         - Fix detection of Oracle sequences for tables without an explicitly
93           specified schema (RT#63493)
94         - Major overhaul of Storage::Oracle to handle enabled quoting
95         - Fixed incorrect composition of select/as/columns attributes during
96           chaining (RT#61235)
97         - Proper serialization of resultsets with open cursors
98         - Refactor handling of RDBMS-side values during insert() - fix
99           regression of inserts into a Postgres / ::Replicated combination
100         - Missing dependency check in t/60core.t (RT#62635)
101         - Fix regressions in IC::DT registration logic
102         - Fix regression in select-associated bind value handling (RT#61025)
103         - Simplify SQL generated by some LIMITed prefetching queries
104         - Throw an exception when a required group_by on a complex prefetch
105           can not be auto-constructed, instead of continuing to eventually
106           produce invalid SQL
107         - Fix infinite loops on old perls with a recent Try::Tiny
108         - Improve "fork()" on Win32 by reimplementing a more robust DBIC
109           thread support (still problematic, pending a DBI fix)
110         - Properly quote table name on INSERT with no values
111         - Work around possible Storage destruction warnings
112         - Fix count of grouped resultsets using HAVING with aliases
113         - Setting belongs_to columns/relationships no longer leaves the
114           FK value and related object out of sync
115         - Stop stripping newlines from SQL statements in the limit emulators
116           as it is possible that custom sql with comments was provided
117         - Add forgotten attributes to Admin.pm
118         - Fix incorrect 'having' attribute documentation (RT#64129)
119         - Improve fallback-to-master/return-to-slave reporting in
120           ::Replicated::Balancer
121         - Adjust txn_scope_guard code/tests to changes in $@ handling on
122           recent blead (RT#64251)
123
124     * Misc
125         - Add extra option groups to DBIC::Optional::Depencencies, to aid
126           users in requesting the prerequisites for a particular RDBMS
127         - Switch all serialization to use Storable::nfreeze for portable
128           architecture independent ice
129         - Fix the bogus META.yml dependency injection issue for good
130         - Refactor DBIx::Class::Storage::Statistics::debugfh() to be lazy
131
132 0.08124 2010-10-28 14:23 (UTC)
133     * New Features / Changes
134         - Add new -ident "function" indicating rhs is a column name
135           { col => { -ident => 'othercol' } } vs { col => \'othercol' }
136         - Extend 'proxy' relationship attribute
137         - Use DBIx::Class::Storage::Debug::PrettyPrint when the
138           environment variable DBIC_TRACE_PROFILE is set, see
139           DBIx::Class::Storage for more information
140         - Implemented add_unique_constraints() which delegates to
141           add_unique_constraint() as appropriate
142         - add_unique_constraint() now poparly throws if called with
143           multiple constraint definitions
144         - No longer depend on SQL::Abstract::Limit - DBIC has been doing
145           most of the heavy lifting for a while anyway
146         - FilterColumn now passes data through when transformations
147           are not specified rather than throwing an exception.
148         - Optimized RowNum based Oracle limit-dialect (RT#61277)
149         - Requesting a pager on a resultset with cached entries now
150           throws an exception, instead of returning a 1-page object
151           since the amount of rows is always equal to the "pagesize"
152         - $rs->pager now uses a lazy count to determine the amount of
153           total entries only when really needed, instead of doing it
154           at instantiation time
155         - New documentation map organized by features
156           (DBIx::Class::Manual::Features)
157         - find( { ... }, { key => $constraint } ) now throws an exception
158           when the supplied data does not fully specify $constraint
159         - find( col1 => $val1, col2 => $val2, ... ) is no longer supported
160           (it has been in deprecated state for more than 4 years)
161         - Make sure exception_action does not allow exception-hiding
162           due to badly-written handlers (the mechanism was never meant
163           to be able to suppress exceptions)
164
165     * Fixes
166         - Fix memory leak during populate() on 5.8.x perls
167         - Temporarily fixed 5.13.x failures (RT#58225)
168           (perl-core fix still pending)
169         - Fix result_soutrce_instance leaks on compose_namespace
170         - Fix $_ volatility on load_namespaces (a class changing $_
171           at compile time no longer causes a massive fail)
172         - Fix find() without a key attr. choosing constraints even if
173           some of the supplied values are NULL (RT#59219)
174         - Fixed rels ending with me breaking subqueried limit realiasing
175         - Fixed $rs->update/delete on resutsets constrained by an
176           -or condition
177         - Remove rogue GROUP BY on non-multiplying prefetch-induced
178           subqueries
179         - Fix incorrect order_by handling with prefetch on
180           $ordered_rs->search_related ('has_many_rel') resultsets
181         - Oracle sequence detection now *really* works across schemas
182           (fixed some ommissions from 0.08123)
183         - dbicadmin now uses a /usr/bin/env shebang to work better with
184           perlbrew and other local perl builds
185         - bulk-inserts via $dbh->bind_array (void $rs->populate) now
186           display properly in DBIC_TRACE
187         - Incomplete exception thrown on relationship auto-fk-inference
188           failures
189         - Fixed distinct with order_by to not double-specify the same
190           column in the GROUP BY clause
191         - Properly support column names with symbols (e.g. single quote)
192           via custom accessors
193         - Fixed ::Schema::Versioned to work properly with quoting on
194           (RT#59619)
195         - Fixed t/54taint fails under local-lib
196         - Fixed SELECT ... FOR UPDATE with LIMIT regression (RT#58554)
197         - Fixed CDBICompat to preserve order of column-group additions,
198           so that test relying on the order of %{} will no longer fail
199         - Fixed mysterious ::Storage::DBI goto-shim failures on older
200           perl versions
201         - Non-blessed reference exceptions are now correctly preserved
202           when thrown from udner DBIC (e.g. from txn_do)
203         - No longer disconnecting database handles supplied to connect
204           via a coderef
205         - Fixed t/inflate/datetime_pg.t failures due to a low dependency
206           on DateTime::Format::Pg (RT#61503)
207         - Fix dirtyness detection on source-less objects
208         - Fix incorrect limit_dialect assignment on Replicated pool members
209         - Fix invalid sql on relationship attr order_by with prefetch
210         - Fix primary key sequence detection for Oracle
211           (first trigger instead of trigger for column)
212         - Add various missing things to Optional::Dependencies
213         - Skip a test that breaks due to serious bugs in current DBD::SQLite
214         - Fix tests related to leaks and leaky perls (5.13.5, 5.13.6)
215
216     * Misc
217         - Entire test suite now passes under DBIC_TRACE=1
218         - Makefile.PL no longer imports GetOptions() to interoperate
219           better with Catalyst installers
220         - Bumped minimum Module::Install for developers
221         - Bumped DBD::SQLite dependency and removed some TODO markers
222           from tests (RT#59565)
223         - Do not execute t/zzzzzzz_sqlite_deadlock.t for regular module
224           installs - test is prone to spontaneous blow up
225         - DT-related tests now require a DateTime >= 0.55 (RT#60324)
226         - Makefile.PL now provides a pre-parsed DBIC version to the
227           Opt::Dep pod generator
228         - t/52leaks.t now performs very aggressive leak detection in
229           author/smoker mode
230
231 0.08123 2010-06-12 14:46 (UTC)
232     * Fixes
233         - Make sure Oracle identifier shortener applies to auto-generated
234           column names, so we stay within the 30-char limit (RT#58271)
235         - Oracle sequence detection now works across schemas
236         - Fix a Storage/$dbh leak introduced by the migration to
237           Try::Tiny (this is *not* a Try::Tiny bug)
238         - Fix corner case of count with group-by over a 1:1 join column
239           where the selector ends up with column name clashes
240         - POD fixes (RT#58247)
241
242     * Misc
243         - Test suite default on-disk database now checks for Win32
244           fail-conditions even when running on other OSes
245
246 0.08122 2010-06-03 17:41 (UTC)
247     * New Features
248         - Add DBIx::Class::FilterColumn for non-ref filtering
249         - ::Storage::DBI now correctly preserves a parent $dbh from
250           terminating children, even during interpreter-global
251           out-of-order destruction
252         - dbicadmin supports an -I option with the same semantics as
253           perl itself
254         - InflateColumn::DateTime support for MSSQL via DBD::Sybase
255         - Millisecond precision support for MSSQL datetimes for
256           InflateColumn::DateTime
257         - Oracle-specific hierarchical query syntax support:
258           CONNECT BY (NOCYCLE) / START WITH / ORDER SIBLINGS BY
259         - Support connecting using $ENV{DBI_DSN} and $ENV{DBI_DRIVER}
260         - current_source_alias method on ResultSet objects to
261           determine the alias to use in programatically assembled
262           search()es (originally added in 0.08100 but unmentioned)
263         - Rewrite/unification of all subselecting limit emulations
264           (RNO, Top, RowNum) to be much more robust wrt complex joined
265           resultsets
266         - MSSQL limits now don't require nearly as many applications of
267           the unsafe_subselect_ok attribute, due to optimized queries
268         - Support for Generic Subquery limit "emulation" - awfully slow
269           and inefficient but works on almost any db, and is preferred
270           to software limit emulation
271         - Sybase ASE driver now uses SET ROWCOUNT where possible, and
272           Generic Subquery otherwise for limit support instead of always
273           using software limit emulation
274         - create_ddl_dir (and derivatives) now attempt to create the given
275           $ddl_dir if it does not already exist
276         - deployment_statements now automatically supplies the current RDBMS
277           version to SQLT producer_args for MySQL, Pg, SQLite and Oracle
278
279     * Fixes
280         - Fix nasty potentially data-eating bug when deleting/updating
281           a limited resultset
282         - Fix find() to use result_class set on object
283         - Fix result_class setter behaviour to not mistakenly stuff attrs.
284         - Don't try and ensure_class_loaded an object. This doesn't work.
285         - Fix as_subselect_rs to not inject resultset class-wide where
286           conditions outside of the resulting subquery
287         - Fix count() failing with {for} resultset attribute (RT#56257)
288         - Fixed incorrect detection of Limit dialect on unconnected $schema
289         - update() on row not in_storage no longer throws an exception
290           if there are no dirty columns to update (fixes cascaded update
291           annoyances)
292         - update()/delete() on prefetching resultsets no longer results
293           in malformed SQL (some $rs attributes were erroneously left in)
294         - Fix dbicadmin to allow deploy() on non-versioned schema
295         - Fix dbicadmin to respect sql_dir on upgrade() (RT#57732)
296         - Update Schema::Versioned to respect hashref style of
297           connection_info
298         - Do not recreate the same related object twice during MultiCreate
299           (solves the problem of orphaned IC::FS files)
300         - Fully qualify xp_msver selector when using DBD::Sybase with
301           MSSQL (RT#57467)
302         - Fix ::DBI::Storage to always be able to present a full set of
303           connect() attributes to e.g. Schema::Versioned
304         - Fix Oracle auto-inc trigger detection of "INSERT OR UPDATE"-type
305           triggers
306
307     * Misc
308         - Reformatted Changelog \o/
309         - DBIC goes git://git.shadowcat.co.uk/dbsrgits/DBIx-Class.git
310         - Allow developers to skip optional dependency forcing when working
311           from a checkout
312         - Add a warning to load_namespaces if a class in ResultSet/ is not
313           a subclass of DBIx::Class::ResultSet
314         - All DBIC exception-handling switched to Try::Tiny
315         - All DBIC modules are now free of imports via namespace::clean
316         - Depend on optimized SQL::Abstract (faster SQL generation)
317         - Depend on new Class::Accessor::Grouped reintroducing optional use
318           of Class::XSAccessor (just install C::XSA and get lightning fast
319           column accessors)
320
321 0.08121 2010-04-11 18:43:00 (UTC)
322         - Support for Firebird RDBMS with DBD::InterBase and ODBC
323         - Add core support for INSERT RETURNING (for storages that
324           supports this syntax, currently PostgreSQL and Firebird)
325         - Fix spurious warnings on multiple UTF8Columns component loads
326         - DBIx::Class::UTF8Columns entered deprecated state
327         - DBIx::Class::InflateColumn::File entered deprecated state
328         - DBIx::Class::Optional::Dependencies left experimental state
329         - Add req_group_list to Opt::Deps (RT#55211)
330         - Add support for mysql-specific STRAIGHT_JOIN (RT#55579)
331         - Cascading delete/update are now wrapped in a transaction
332           for atomicity
333         - Fix accidental autovivification of ENV vars
334         - Fix update_all and delete_all to be wrapped in a transaction
335         - Fix multiple deficiencies when using MultiCreate with
336           data-encoder components (e.g. ::EncodedColumn)
337         - Fix regression where SQL files with comments were not
338           handled properly by ::Schema::Versioned.
339         - Fix regression on not properly throwing when $obj->relationship
340           is unresolvable
341         - Fix the join-optimiser to consider unqualified column names
342           whenever possible
343         - Fix an issue with multiple same-table joins confusing the join
344           optimizier
345         - Add has_relationship method to row objects
346         - Fix regression in set_column on PK-less objects
347         - Better error text on malformed/missing relationships
348         - Add POD about the significance of PK columns
349         - Fix for SQLite to ignore the (unsupported) { for => ... }
350           attribute
351         - Fix ambiguity in default directory handling of create_ddl_dir
352           (RT#54063)
353         - Support add_columns('+colname' => { ... }) to augment column
354           definitions.
355
356 0.08120 2010-02-24 08:58:00 (UTC)
357         - Make sure possibly overwritten deployment_statements methods in
358           schemas get called on $schema->deploy
359         - Fix count() with group_by aliased-function resultsets
360         - with_deferred_fk_checks() Oracle support
361         - Massive refactor and cleanup of primary key handling
362         - Fixed regression losing custom result_class (really this time)
363           (RT#54697)
364         - Fixed regression in DBIC SQLT::Parser failing with a classname
365           (as opposed to a schema object)
366         - Changes to Storage::DBI::Oracle to accomodate changes in latest
367           SQL::Translator (quote handling)
368         - Make sure deployment_statements is per-storage overridable
369         - Fix dbicadmin's (lack of) POD
370
371 0.08119 2010-02-15 09:36:00 (UTC)
372         - Add $rs->is_ordered to test for existing order_by on a resultset
373         - Add as_subselect_rs to DBIC::ResultSet from
374           DBIC::Helper::ResultSet::VirtualView::as_virtual_view
375         - Refactor dbicadmin adding DDL manipulation capabilities
376         - New optional dependency manager to aid extension writers
377         - Depend on newest bugfixed Moose
378         - Make resultset chaining consistent wrt selection specification
379         - Storage::DBI::Replicated cleanup
380         - Fix autoinc PKs without an autoinc flag on Sybase ASA
381
382 0.08118 2010-02-08 11:53:00 (UTC)
383         - Fix a bug causing UTF8 columns not to be decoded (RT#54395)
384         - Fix bug in One->Many->One prefetch-collapse handling (RT#54039)
385         - Cleanup handling of relationship accessor types
386
387 0.08117 2010-02-05 17:10:00 (UTC)
388         - Perl 5.8.1 is now the minimum supported version
389         - Massive optimization of the join resolution code - now joins
390           will be removed from the resulting SQL if DBIC can prove they
391           are not referenced by anything
392         - Subqueries no longer marked experimental
393         - Support for Informix RDBMS (limit/offset and auto-inc columns)
394         - Support for Sybase SQLAnywhere, both native and via ODBC
395         - might_have/has_one now warn if applied calling class's column
396           has is_nullable set to true.
397         - Fixed regression in deploy() with a {sources} table limit applied
398           (RT#52812)
399         - Views without a view_definition will throw an exception when
400           parsed by SQL::Translator::Parser::DBIx::Class
401         - Stop the SQLT parser from auto-adding indexes identical to the
402           Primary Key
403         - InflateColumn::DateTime refactoring to allow fine grained method
404           overloads
405         - Fix ResultSetColumn improperly selecting more than the requested
406           column when +columns/+select is present
407         - Fix failure when update/delete of resultsets with complex WHERE
408           SQLA structures
409         - Fix regression in context sensitiveness of deployment_statements
410         - Fix regression resulting in overcomplicated query on
411           search_related from prefetching resultsets
412         - Fix regression on all-null returning searches (properly switch
413           LEFT JOIN to JOIN in order to distinguish between both cases)
414         - Fix regression in groupedresultset count() used on strict-mode
415           MySQL connections
416         - Better isolation of RNO-limited queries from the rest of a
417           prefetching resultset
418         - New MSSQL specific resultset attribute to allow hacky ordered
419           subquery support
420         - Fix nasty schema/dbhandle leak due to SQL::Translator
421         - Initial implementation of a mechanism for Schema::Version to
422           apply multiple step upgrades
423         - Fix regression on externally supplied $dbh with AutoCommit=0
424         - FAQ "Custom methods in Result classes"
425         - Cookbook POD fix for add_drop_table instead of add_drop_tables
426         - Schema POD improvement for dclone
427
428 0.08115 2009-12-10 09:02:00 (CST)
429         - Real limit/offset support for MSSQL server (via Row_Number)
430         - Fix distinct => 1 with non-selecting order_by (the columns
431           in order_by also need to be aded to the resulting group_by)
432         - Do not attempt to deploy FK constraints pointing to a View
433         - Fix count/objects from search_related on limited resultset
434         - Stop propagating distinct => 1 over search_related chains
435         - Make sure populate() inherits the resultset conditions just
436           like create() does
437         - Make get_inflated_columns behave identically to get_columns
438           wrt +select/+as (RT#46953)
439         - Fix problems with scalarrefs under InflateColumn (RT#51559)
440         - Throw exception on delete/update of PK-less resultsets
441         - Refactored Sybase storage driver into a central ::DBI::Sybase
442           dispatcher, and a sybase-specific ::DBI::Sybase::ASE
443         - Fixed an atrocious DBD::ADO bind-value bug
444         - Cookbook/Intro POD improvements
445
446 0.08114 2009-11-14 17:45:00 (UTC)
447         - Preliminary support for MSSQL via DBD::ADO
448         - Fix botched 0.08113 release (invalid tarball)
449
450 0.08113 2009-11-13 23:13:00 (UTC)
451         - Fix populate with has_many bug
452           (RT #50828)
453         - Fix Oracle autoincrement broken for Resultsets with scalar refs
454           (RT #50874)
455         - Complete Sybase RDBMS support including:
456           - Support for TEXT/IMAGE columns
457           - Support for the 'money' datatype
458           - Transaction savepoints support
459           - DateTime inflation support
460           - Support for bind variables when connecting to a newer Sybase with
461              OpenClient libraries
462           - Support for connections via FreeTDS with CASTs for bind variables
463              when needed
464           - Support for interpolated variables with proper quoting when
465              connecting to an older Sybase and/or via FreeTDS
466           - bulk API support for populate()
467         - Transaction support for MSSQL via DBD::Sybase
468         - Add is_paged method to DBIx::Class::ResultSet so that we can
469           check that if we want a pager
470         - Skip versioning test on really old perls lacking Time::HiRes
471           (RT #50209)
472         - Fixed on_connect_do/call regression when used with a coderef
473           connector (RT #50003)
474         - A couple of fixes to Ordered to remedy subclassing issues
475         - Fixed another lingering problem with PostgreSQL
476           auto-increment support and its interaction with multiple
477           schemas
478         - Remove some IN workarounds, and require a recent version of
479           SQLA instead
480         - Improvements to populate's handling of mixed scalarref values
481         - Fixed regression losing result_class after $rs->find (introduced
482           in 0.08108)
483         - Fix in_storage() to return 1|0 as per existing documentation
484         - Centralize handling of _determine_driver calls prior to certain
485           ::Storage::DBI methods
486         - Fix update/delete arbitrary condition handling (RT#51409)
487         - POD improvements
488
489 0.08112 2009-09-21 10:57:00 (UTC)
490         - Remove the recommends from Makefile.PL, DBIx::Class is not
491           supposed to have optional dependencies. ever.
492         - Mangle the DBIx/Class.pm POD to be more clear about
493           copyright and license
494         - Put back PG's multiple autoinc per table support, accidentally
495           dropped during the serial-autodetection rewrite
496         - Make sure ResultSetColumn does not depend on the (undefined)
497           return value of ->cursor->reset()
498         - Add single() to ResultSetColumn (same semantics as ResultSet)
499         - Make sure to turn off IDENTITY_INSERT after insert() on MSSQL
500           tables that needed it
501         - More informative exception on failing _resolve_relationship
502         - Allow undef/NULL as the sole grouping value in Ordered
503         - Fix unreported rollback exceptions in TxnScopeGuard
504         - Fix overly-eager left-join chain enforcing code
505         - Warn about using distinct with an existing group_by
506         - Warn about attempting to $rs->get_column a non-unique column
507           when has_many joins are added to resultset
508         - Refactor of the exception handling system (now everything is a
509           DBIx::Class::Exception object)
510
511 0.08111 2009-09-06 21:58:00 (UTC)
512         - The hashref to connection_info now accepts a 'dbh_maker'
513           coderef, allowing better intergration with Catalyst
514         - Fixed a complex prefetch + regular join regression introduced
515           in 0.08108
516         - Fixed insert_bulk rebless handling
517         - Fixed Storable roundtrip regression, and general serialization
518           cleanup
519         - SQLT related fixes:
520           - sqlt_type is now called on the correct storage object
521           - hooks can now see the correct producer_type (RT#47891)
522           - optional SQLT requirements for e.g. deploy() bumped to 0.11002
523         - Really fixed (and greatly cleaned up) postgresql autoinc sequence
524           autodetection
525         - Automatically detect MySQL v3 and use INNER JOIN instead of JOIN
526         - POD improvements (including RT#48769)
527         - Test suite tweaks (including fixes for recent CPANTS fails)
528         - Better support for MSSQL IDENTITY_INSERT ON
529
530 0.08109 2009-08-18 08:35:00 (UTC)
531         - Replication updates:
532           - Improved the replication tests so that they are more reliable
533             and accurate, and hopefully solve some cross platform issues.
534           - Bugfixes related to naming particular replicants in a
535             'force_pool' attribute.
536           - Lots of documentation updates, including a new Introduction.pod
537             file.
538           - Fixed the way we detect transaction to make this more reliable
539             and forward looking.
540           - Fixed some trouble with the way Moose Types are used.
541           - Made discard_chages/get_from_storage replication aware (they
542             now read from the master storage by default)
543         - Refactor of MSSQL storage drivers, with some new features:
544           - Support for placeholders for MSSQL via DBD::Sybase with proper
545             autodetection
546           - 'uniqueidentifier' support with auto newid()
547           - Dynamic cursor support and other MARS options for ODBC
548           - savepoints with auto_savepoint => 1
549         - Support for MSSQL 'money' type
550         - Support for 'smalldatetime' type used in MSSQL and Sybase for
551           InflateColumn::DateTime
552         - Support for Postgres 'timestamp without timezone' type in
553           InflateColumn::DateTime (RT#48389)
554         - Added new MySQL specific on_connect_call macro 'set_strict_mode'
555           (also known as make_mysql_not_suck_as_much)
556         - Multiple prefetch-related fixes:
557           - Adjust overly agressive subquery join-chain pruning
558           - Always preserve the outer join-chain - fixes numerous
559             problems with search_related chaining
560           - Deal with the distinct => 1 attribute properly when using
561             prefetch
562         - An extension of the select-hashref syntax, allowing labeling
563           SQL-side aliasing: select => [ { max => 'foo', -as => 'bar' } ]
564         - Massive optimization of the DBI storage layer - reduce the
565           amount of connected() ping-calls
566         - Some fixes of multi-create corner cases
567         - Multiple POD improvements
568         - Added exception when resultset is called without an argument
569         - Improved support for non-schema-qualified tables under
570           Postgres (fixed last_insert_id sequence name auto-detection)
571
572 0.08108 2009-07-05 23:15:00 (UTC)
573         - Fixed the has_many prefetch with limit/group deficiency -
574           it is now possible to select "top 5 commenters" while
575           prefetching all their comments
576         - New resultsed method count_rs, returns a ::ResultSetColumn
577           which in turn returns a single count value
578         - Even better support of count with limit
579         - New on_connect_call/on_disconnect_call functionality (check
580           POD of Storage::DBI)
581         - Automatic datetime handling environment/session setup for
582           Oracle via connect_call_datetime_setup()
583         - count/all on related left-joined empty resultsets now correctly
584           returns 0/()
585         - Fixed regression when both page and offset are specified on
586           a resultset
587         - Fixed HRI returning too many empty results on multilevel
588           nonexisting prefetch
589         - make_column_dirty() now overwrites the deflated value with an
590           inflated one if such exists
591         - Fixed set_$rel with where restriction deleting rows outside
592           the restriction
593         - populate() returns the created objects or an arrayref of the
594           created objects depending on scalar vs. list context
595         - Fixed find_related on 'single' relationships - the former
596           implementation would overspecify the WHERE condition, reporting
597           no related objects when there in fact is one
598         - SQL::Translator::Parser::DBIx::Class now attaches tables to the
599           central schema object in relationship dependency order
600         - Fixed regression in set_column() preventing sourceless object
601           manipulations
602         - Fixed a bug in search_related doubling a join if the original
603           $rs already joins/prefetches the same relation
604         - Storage::DBI::connected() improvements for Oracle and Sybase
605         - Fixed prefetch+incomplete select regression introduced in
606           0.08100
607         - MSSQL limit (TOP emulation) fixes and improvements
608
609 0.08107 2009-06-14 08:21:00 (UTC)
610         - Fix serialization regression introduced in 0.08103 (affects
611           Cursor::Cached)
612         - POD fixes
613         - Fixed incomplete ::Replicated debug output
614
615 0.08106 2009-06-11 21:42:00 (UTC)
616         - Switched SQLite storage driver to DateTime::Format::SQLite
617           (proper timezone handling)
618         - Fix more test problems
619
620 0.08105 2009-06-11 19:04:00 (UTC)
621         - Update of numeric columns now properly uses != to determine
622           dirtyness instead of the usual eq
623         - Fixes to IC::DT tests
624         - Fixed exception when undef_if_invalid and timezone are both set
625           on an invalid datetime column
626
627 0.08104 2009-06-10 13:38:00 (UTC)
628         - order_by now can take \[$sql, @bind] as in
629           order_by => { -desc => \['colA LIKE ?', 'somestring'] }
630         - SQL::Abstract errors are now properly croak()ed with the
631           correct trace
632         - populate() now properly reports the dataset slice in case of
633           an exception
634         - Fixed corner case when populate() erroneously falls back to
635           create()
636         - Work around braindead mysql when doing subquery counts on
637           resultsets containing identically named columns from several
638           tables
639         - Fixed m2m add_to_$rel to invoke find_or_create on the far
640           side of the relation, to avoid duplicates
641         - DBIC now properly handles empty inserts (invoking all default
642           values from the DB, normally via INSERT INTO tbl DEFAULT VALUES
643         - Fix find_or_new/create to stop returning random rows when
644           default value insert is requested (RT#28875)
645         - Make IC::DT extra warning state the column name too
646         - It is now possible to transparrently search() on columns
647           requiring DBI bind (i.e. PostgreSQL BLOB)
648         - as_query is now a Storage::DBI method, so custom cursors can
649           be seamlessly used
650         - Fix search_related regression introduced in 0.08103
651
652 0.08103 2009-05-26 19:50:00 (UTC)
653         - Multiple $resultset -> count/update/delete fixes. Now any
654           of these operations will succeed, regardless of the complexity
655           of $resultset. distinct, group_by, join, prefetch are all
656           supported with expected results
657         - Return value of $rs->delete is now the storage return value
658           and not 1 as it used to be
659         - don't pass SQL functions into GROUP BY
660         - Remove MultiDistinctEmulation.pm, effectively deprecating
661           { select => { distinct => [ qw/col1 col2/ ] } }
662         - Change ->count code to work correctly with DISTINCT (distinct => 1)
663           via GROUP BY
664         - Removed interpolation of bind vars for as_query - placeholders
665           are preserved and nested query bind variables are properly
666           merged in the correct order
667         - Refactor DBIx::Class::Storage::DBI::Sybase to automatically
668           load a subclass, namely Microsoft_SQL_Server.pm
669           (similar to DBIx::Class::Storage::DBI::ODBC)
670         - Refactor InflateColumn::DateTime to allow components to
671           circumvent DateTime parsing
672         - Support inflation of timestamp datatype
673         - Support BLOB and CLOB datatypes on Oracle
674         - Storage::DBI::Replicated::Balancer::Random:
675           added master_read_weight
676         - Storage::DBI::Replicated: storage opts from connect_info,
677           connect_info merging to replicants, hashref connect_info support,
678           improved trace output, other bug fixes/cleanups
679         - distinct => 1 with prefetch now groups by all columns
680         - on_connect_do accepts a single string equivalent to a one
681           element arrayref (RT#45159)
682         - DB2 limit + offset now works correctly
683         - Sybase now supports autoinc PKs (RT#40265)
684         - Prefetch on joins over duplicate relations now works
685           correctly (RT#28451)
686         - "timestamp with time zone" columns (for Pg) now get inflated with a
687           time zone information preserved
688         - MSSQL Top limit-emulation improvements (GROUP BY and subquery support)
689         - ResultSetColumn will not lose the joins infered from a parent
690           resultset prefetch
691
692 0.08102 2009-04-30 08:29:00 (UTC)
693         - Fixed two subtle bugs when using columns or select/as
694           paired with a join (limited prefetch)
695         - Fixed breakage of cdbi tests (RT#45551)
696         - Some POD improvements
697
698 0.08101 2009-04-27 09:45:00 (UTC)
699         - Fix +select, +as, +columns and include_columns being stripped
700           by $rs->get_column
701         - move load_optional_class from DBIx::Class::Componentised to
702           Class::C3::Componentised, bump dependency
703         - register_extra_source() now *really* fixed wrt subclassing
704         - Added missing POD descriptions (RT#45195)
705         - Fix insert() to not store_column() every present object column
706         - Multiple Makefile.PL fixes
707
708 0.08100 2009-04-19 11:39:35 (UTC)
709         - Todo out the register_extra_source test until after shipping
710
711 0.08099_08 2009-03-30 00:00:00 (UTC)
712         - Fixed taint mode with load_namespaces
713         - Putting IC::DateTime locale, timezone or floating_tz_ok attributes into
714           extra => {} has been deprecated. The new way is to put these things
715           directly into the columns definition
716         - Switched MI code to MRO::Compat
717         - Document db-side default_value caveats
718         - Search_like() now warns to indicate deprecation in 0.09.
719         - TxnScopeGuard left experimental state
720
721 0.08099_07 2009-02-27 02:00:00 (UTC)
722         - multi-create using find_or_create rather than _related for post-insert
723         - fix get_inflated_columns to check has_column_loaded
724         - Add DBIC_MULTICREATE_DEBUG env var (undocumented, quasi-internal)
725         - Fix up multi-create to:
726           - correctly propagate columns loaded during multi-insert of rels
727           - not try and insert things tagged on via new_related unless required
728         - Possible to set locale in IC::DateTime extra => {} config
729         - Calling the accessor of a belongs_to when the foreign_key
730           was NULL and the row was not stored would unexpectedly fail
731         - Split sql statements for deploy only if SQLT::Producer returned a scalar
732           containing all statements to be executed
733         - Add as_query() for ResultSet and ResultSetColumn. This makes subqueries
734           possible. See the Cookbook for details.
735         - Massive rewrite of Ordered to properly handle position constraints and
736           to make it more matpath-friendly
737         - deploy_statements called ddl_filename with the $version and $dir arguments
738           in the wrong order.
739         - columns/+columns attributes now support { as => select } hahsrefs
740         - support for views both in DBIC and via deploy() in SQLT
741
742 0.08099_06 2009-01-23 07:30:00 (UTC)
743         - Allow a scalarref to be supplied to the 'from' resultset attribute
744         - Classes submitted as result_class for a resultsource are now
745           automatically loaded via ensure_loaded()
746         - 'result_class' resultset attribute, identical to result_class()
747         - add 'undef_on_null_fk' option for relationship accessors of type 'single'.
748           This will prevent DBIC from querying the database if one or more of
749           the key columns IS NULL
750         - for 'belongs_to' rels, 'undef_on_null_fk' defaults to true.
751         - fixed scope unaware last_insert_id fetching for MSSQL
752           (http://msdn.microsoft.com/en-us/library/ms190315.aspx)
753         - an sqlt_deploy_hook can now be shared between result sources using
754           a configurable callback trigger
755         - new order_by => { -desc => 'colname' } syntax supported
756         - PG array datatype supported
757         - insert should use store_column, not set_column to avoid marking
758           clean just-stored values as dirty. New test for this
759         - regression test for source_name
760
761 0.08099_05 2008-10-30 21:30:00 (UTC)
762         - Rewrite of Storage::DBI::connect_info(), extended with an
763           additional argument format type
764         - InflateColumn::DateTime: add warning about floating timezone
765         - InflateColumn::DateTime: possible to enforce/skip inflation
766         - delete throws exception if passed arguments to prevent drunken mishaps.
767         - Fix storage to copy scalar conds before regexping to avoid
768           trying to modify a constant in odd edge cases
769         - Related resultsets on uninserted objects are now empty
770         - Fixed up related resultsets and multi-create
771         - Fixed superfluous connection in ODBC::_rebless
772         - Fixed undef PK for first insert in ODBC::Microsoft_SQL_Server
773         - Added virtual method to Versioned so a user can create upgrade
774           path across multiple versions (jgoulah)
775         - Better (and marginally faster) implementation of the HashRefInflator
776           hash construction algorithm
777         - Allow explicit specification of ON DELETE/ON UPDATE constraints
778           when using the SQLT parser
779
780 0.08099_04 2008-07-24 01:00:00
781         - Functionality to storage to enable a sub to be run without FK checks
782         - Fixed $schema->clone bug which caused clone and source to share
783           internal hash refs
784         - Added register_extra_source methods for additional sources
785         - Added datetime_undef_if_invalid for InflateColumn::DateTime to
786           return undef on invalid date/time values
787         - Added search_related_rs method to ResultSet
788         - add a make_column_dirty method to Row to force updates
789         - throw a clear exception when user tries multi-has_many prefetch
790         - SQLT parser prefixes index names with ${table}_idx_ to avoid clashes
791         - mark ResultSetManager as deprecated and undocument it
792         - pod fix (RT #32988)
793         - add Test::Exception to test requirements (RT #34256)
794         - make ash's build_requires/META.yml fixes work better
795         - is_deferable support on relations used by the SQL::Translator
796           parser
797         - Refactored DBIx::Class::Schema::Versioned
798         - Syntax errors from resultset components are now reported correctly
799         - sqltargs respected correctly in deploy et al.
800         - Added support for savepoints, and using them automatically in
801           nested transactions if auto_savepoint is set in connect_info.
802         - Changed naming scheme for constraints and keys in the sqlt parser;
803           names should now be consistent and collision-free.
804         - Improve handling of explicit key attr in ResultSet::find
805         - Add warnings for non-unique ResultSet::find queries
806         - Changed Storage::DBI::Replication to Storage::DBI::Replicated and
807           refactored support.
808         - By default now deploy/diff et al. will ignore constraint and index
809           names
810         - Add ResultSet::_is_deterministic_value, make new_result filter the
811           values passed to new to drop values that would generate invalid SQL.
812         - Use Sub::Name to name closures before installing them. Fixes
813           incompatibility with Moose method modifiers on generated methods.
814
815 0.08010 2008-03-01 10:30
816         - Fix t/94versioning.t so it passes with latest SQL::Translator
817
818 0.08009 2008-01-20 13:30
819         - Made search_rs smarter about when to preserve the cache to fix
820           mm prefetch usage
821         - Added Storage::DBI subclass for MSSQL over ODBC.
822         - Added freeze, thaw and dclone methods to Schema so that thawed
823           objects will get re-attached to the schema.
824         - Moved dbicadmin to JSON::Any wrapped JSON.pm for a sane API
825           (also fixes RT #32393)
826         - introduced DBIx::Class::set_inflated_columns
827         - DBIx::Class::Row::copy uses set_inflated_columns
828
829 0.08008 2007-11-16 14:30:00
830         - Fixed join merging bug (test from Zby)
831         - When adding relationships, it will throw an exception if you get the
832           foreign and self parts the wrong way round in the condition
833         - ResultSetColumn::func() now returns all results if called in list
834           context; this makes things like func('DISTINCT') work as expected
835         - Many-to-many relationships now warn if the utility methods would
836           clash
837         - InflateColumn::DateTime now accepts an extra parameter of timezone
838           to set timezone on the DT object (thanks Sergio Salvi)
839         - Added sqlt_deploy_hook to result classes so that indexes can be
840           added.
841         - Added startup checks to warn loudly if we appear to be running on
842           RedHat systems from perl-5.8.8-10 and up that have the bless/overload
843           patch applied (badly) which causes 2x -> 100x performance penalty.
844           (Jon Schutz)
845         - ResultSource::reverse_relationship_info can distinguish between
846           sources using the same table
847         - Row::insert will now not fall over if passed duplicate related objects
848         - Row::copy will not fall over if you have two relationships to the
849           same source with a unique constraint on it
850
851 0.08007 2007-09-04 19:36:00
852         - patch for Oracle datetime inflation (abram@arin.net)
853         - added on_disconnect_do
854         - on_connect_do and on_disconnect_do take coderefs and arrayrefs
855
856 0.08006 2007-08-12 15:12:00
857         - Move to using Class::C3::Componentised
858         - Remove warn statement from DBIx::Class::Row
859
860 0.08005 2007-08-06
861         - add timestamp fix re rt.cpan 26978 - no test yet but change
862           clearly should cause no regressions
863         - provide alias for related_resultset via local() so it's set
864           correctly at resultset construction time (fixes RestrictWithObject)
865         - fixes bind params in debug statements
866           (original test from abraxxa)
867         - fixed storage->connected fork bug
868           (test and fix from Radu Greab)
869         - add 1; to AccessorGroup.pm for stuff that still uses it
870         - refactor Statistics to create debugging filehandle to fix bug with
871           closed STDERR, update docs and modify Versioned to use Statistics
872           (original fix from diz)
873
874 0.08004 2007-08-06 19:00:00
875         - fix storage connect code to not trigger bug via auto-viv
876           (test from aherzog)
877         - fixup cursor_class to be an 'inherited' attr for per-package defaults
878         - add default_resultset_attributes entry to Schema
879         - optimisation in DBI::Cursor to check software_limit before falling
880           back to base Cursor->all
881         - fix bug with create_multi not inserting non-storage objects
882           (test and fix from davinchi)
883         - DBIx::Class::AccessorGroup made empty subclass of
884           Class::Accessor::Grouped
885         - fixed an ugly bug regarding $dbh->{AutoCommit} and transactions
886         - ensure_class_loaded handles non-classnames better.
887         - non-destructive hashref handling for connect_info options
888         - count no longer returns negative values after slice
889           (report and test from JOHANL)
890         - rebless before building datetime_parser
891           (patch from mattlaw / Matt Lawrence)
892
893 0.08003 2007-07-14 18:01:00
894         - improved populate bulk_insert mode
895         - fixed up multi_create to be more intelligent about PK<->PK rels
896         - fix many-many rels to not use set_columns
897         - Unmarked deploy as experimental since it isn't anymore
898         - Removed Cwd dep since it's not required and causes problems
899           with debian packaging
900         - Patch to fix ? in data for NoBindVars (from Tom Hukins)
901         - Restored mk_classaccessor method for compatibility
902         - Fixed group_by problem with oracle limit syntax
903         - Fixed attr merging problem
904         - Fixed $rs->get_column w/prefetch  problem
905
906 0.08002 2007-06-20 06:10:00
907         - add scope guard to Row::insert to ensure rollback gets called
908         - more heuristics in Row::insert to try and get insert order right
909         - eliminate vestigial code in PK::Auto
910         - more expressive DBI errors
911         - soften errors during deploy
912         - ensure_connected before txn_begin to catch stomping on transaction
913           depth
914         - new method "rethrow" for our exception objects
915
916 0.08001 2007-06-17 21:21:02
917         - Cleaned up on_connect handling for versioned
918         - removed DateTime use line from multi_create test
919         - hid DBIx::ContextualFetch::st override in CDBICompat
920
921 0.08000 2007-06-17 18:06:12
922         - Fixed DBIC_TRACE debug filehandles to set ->autoflush(1)
923         - Fixed circular dbh<->storage in HandleError with weakref
924
925 0.07999_06 2007-06-13 04:45:00
926         - tweaked Row.pm to make last_insert_id take multiple column names
927         - Fixed DBIC::Storage::DBI::Cursor::DESTROY bug that was
928           messing up exception handling
929         - added exception objects to eliminate stacktrace/Carp::Clan
930           output redundancy
931         - setting $ENV{DBIC_TRACE} defaults stacktrace on.
932         - added stacktrace option to Schema, makes throw_exception
933           use "confess"
934         - make database handles use throw_exception by default
935         - make database handles supplied by a coderef use our
936           standard HandleError/RaiseError/PrintError
937         - add "unsafe" connect_info option to suppress our setting
938           of HandleError/RaiseError/PrintError
939         - removed several redundant evals whose sole purpose was to
940           provide extra debugging info
941         - fixed page-within-page bug (reported by nilsonsfj)
942         - fixed rare bug when database is disconnected inbetween
943           "$dbh->prepare_cached" and "$sth->execute"
944
945 0.07999_05 2007-06-07 23:00:00
946         - Made source_name rw in ResultSource
947         - Fixed up SQL::Translator test/runtime dependencies
948         - Fixed t/60core.t in the absence of DateTime::Format::MySQL
949         - Test cleanup and doc note (ribasushi)
950
951 0.07999_04 2007-06-01 14:04:00
952         - pulled in Replication storage from branch and marked EXPERIMENTAL
953         - fixup to ensure join always LEFT after first LEFT join depthwise
954         - converted the vendor tests to use schema objects intead of schema
955           classes, made cleaned more reliable with END blocks
956         - versioning support via DBIx::Class::Schema::Versioned
957         - find/next now return undef rather than () on fail from Bernhard Graf
958         - rewritten collapse_result to fix prefetch
959         - moved populate to resultset
960         - added support for creation of related rows via insert and populate
961         - transaction support more robust now in the face of varying AutoCommit
962           and manual txn_begin usage
963         - unbreak back-compat for Row/ResultSet->new_result
964         - Added Oracle/WhereJoins.pm for Oracle >= 8 to support
965           Oracle <= 9i, and provide Oracle with a better join method for
966           later versions.  (I use the term better loosely.)
967         - The SQL::T parser class now respects a relationship attribute of
968           is_foreign_key_constrain to allow explicit control over wether or
969           not a foreign constraint is needed
970         - resultset_class/result_class now (again) auto loads the specified
971           class; requires Class::Accessor::Grouped 0.05002+
972         - added get_inflated_columns to Row
973         - %colinfo accessor and inflate_column now work together
974         - More documentation updates
975         - Error messages from ->deploy made more informative
976         - connect_info will now always return the arguments it was
977           originally given
978         - A few small efficiency improvements for load_classes
979           and compose_namespace
980
981 0.07006 2007-04-17 23:18:00
982         - Lots of documentation updates
983         - deploy now takes an optional 'source_names' parameter (dec)
984         - Quoting for for columns_info_for
985         - RT#25683 fixed (multiple open sths on DBD::Sybase)
986         - CDBI compat infers has_many from has_a (Schwern)
987         - Fix ddl_filename transformation (Carl Vincent)
988
989 0.07999_02 2007-01-25 20:11:00
990         - add support for binding BYTEA and similar parameters (w/Pg impl)
991         - add support to Ordered for multiple ordering columns
992         - mark DB.pm and compose_connection as deprecated
993         - switch tests to compose_namespace
994         - ResultClass::HashRefInflator added
995         - Changed row and rs objects to not have direct handle to a source,
996           instead a (schema,source_name) tuple of type ResultSourceHandle
997
998 0.07005 2007-01-10 18:36:00
999         - fixup changes file
1000         - remove erroneous .orig files - oops
1001
1002 0.07004 2007-01-09 21:52:00
1003         - fix find_related-based queries to correctly grep the unique key
1004         - fix InflateColumn to inflate/deflate all refs but scalar refs
1005
1006 0.07003 2006-11-16 11:52:00
1007         - fix for rt.cpan.org #22740 (use $^X instead of hardcoded "perl")
1008         - Tweaks to resultset to allow inflate_result to return an array
1009         - Fix UTF8Columns to work under Perl <= 5.8.0
1010         - Fix up new_result in ResultSet to avoid alias-related bugs
1011         - Made new/update/find handle 'single' rel accessor correctly
1012         - Fix NoBindVars to be safer and handle non-true bind values
1013         - Don't blow up if columns_info_for returns useless results
1014         - Documentation updates
1015
1016 0.07999_01 2006-10-05 21:00:00
1017         - add connect_info option "disable_statement_caching"
1018         - create insert_bulk using execute_array, populate uses it
1019         - added DBIx::Class::Schema::load_namespaces, alternative to
1020           load_classes
1021         - added source_info method for source-level metadata (kinda like
1022           column_info)
1023         - Some of ::Storage::DBI's code/docs moved to ::Storage
1024         - DBIx::Class::Schema::txn_do code moved to ::Storage
1025         - Storage::DBI now uses exceptions instead of ->ping/->{Active} checks
1026         - Storage exceptions are thrown via the schema class's throw_exception
1027         - DBIx::Class::Schema::throw_exception's behavior can be modified via
1028           ->exception_action
1029         - columns_info_for is deprecated, and no longer runs automatically.
1030           You can make it work like before via
1031           __PACKAGE__->column_info_from_storage(1) for now
1032         - Replaced DBIx::Class::AccessorGroup and Class::Data::Accessor with
1033           Class::Accessor::Grouped. Only user noticible change is to
1034           table_class on ResultSourceProxy::Table (i.e. table objects in
1035           schemas) and, resultset_class and result_class in ResultSource.
1036           These accessors no longer automatically require the classes when
1037           set.
1038
1039 0.07002 2006-09-14 21:17:32
1040         - fix quote tests for recent versions of SQLite
1041         - added reference implementation of Manual::Example
1042         - backported column_info_from_storage accessor from -current, but
1043         - fixed inflate_datetime.t tests/stringify under older Test::More
1044         - minor fixes for many-to-many relationship helpers
1045         - cleared up Relationship docs, and fixed some typos
1046         - use ref instead of eval to check limit syntax (to avoid issues with
1047           Devel::StackTrace)
1048         - update ResultSet::_cond_for_update_delete to handle more complicated
1049           queries
1050         - bugfix to Oracle columns_info_for
1051         - remove_columns now deletes columns from _columns
1052
1053 0.07001 2006-08-18 19:55:00
1054         - add directory argument to deploy()
1055         - support default aliases in many_to_many accessors.
1056         - support for relationship attributes in many_to_many accessors.
1057         - stop search_rs being destructive to attrs
1058         - better error reporting when loading components
1059         - UTF8Columns changed to use "utf8" instead of "Encode"
1060         - restore automatic aliasing in ResultSet::find() on nonunique queries
1061         - allow aliases in ResultSet::find() queries (in cases of relationships
1062           with prefetch)
1063         - pass $attrs to find from update_or_create so a specific key can be
1064           provided
1065         - remove anonymous blesses to avoid major speed hit on Fedora Core 5's
1066           Perl and possibly others; for more information see:
1067           https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=196836
1068         - fix a pathological prefetch case
1069         - table case fix for Oracle in columns_info_for
1070         - stopped search_rs deleting attributes from passed hash
1071
1072 0.07000 2006-07-23 02:30:00
1073         - supress warnings for possibly non-unique queries, since
1074           _is_unique_query doesn't infer properly in all cases
1075         - skip empty queries to eliminate spurious warnings on ->deploy
1076         - fixups to ORDER BY, tweaks to deepen some copies in ResultSet
1077         - fixup for RowNum limit syntax with functions
1078
1079 0.06999_07 2006-07-12 20:58:05
1080         - fix issue with from attr copying introduced in last release
1081
1082 0.06999_06 2006-07-12 17:16:55
1083         - documentation for new storage options, fix S::A::L hanging on to $dbh
1084         - substantial refactor of search_related code to fix alias numbering
1085         - don't generate partial unique keys in ResultSet::find() when a table
1086           has more than one unique constraint which share a column and only one
1087           is satisfied
1088         - cleanup UTF8Columns and make more efficient
1089         - rename DBIX_CLASS_STORAGE_DBI_DEBUG to DBIC_TRACE (with compat)
1090         - rename _parent_rs to _parent_source in ResultSet
1091         - new FAQ.pod!
1092
1093 0.06999_05 2006-07-04 14:40:01
1094         - fix issue with incorrect $rs->{attrs}{alias}
1095         - fix subclassing issue with source_name
1096         - tweak quotes test to output text on failure
1097         - fix Schema->txn_do to not fail as a classmethod
1098
1099 0.06999_04 2006-06-29 20:18:47
1100         - disable cdbi-t/02-Film.t warning tests under AS perl
1101         - fixups to MySQL tests (aka "work round mysql being retarded")
1102         - compat tweaks for Storage debug logging
1103
1104 0.06999_03 2006-06-26 21:04:44
1105         - various documentation improvements
1106         - fixes to pass test suite on Windows
1107         - rewrote and cleaned up SQL::Translator tests
1108         - changed relationship helpers to only call ensure_class_loaded when the
1109           join condition is inferred
1110         - rewrote many_to_many implementation, now provides helpers for adding
1111           and deleting objects without dealing with the link table
1112         - reworked InflateColumn implementation to lazily deflate where
1113           possible; now handles passing an inflated object to new()
1114         - changed join merging to not create a rel_2 alias when adding a join
1115           that already exists in a parent resultset
1116         - Storage::DBI::deployment_statements now calls ensure_connected
1117           if it isn't passed a type
1118         - fixed Componentized::ensure_class_loaded
1119         - InflateColumn::DateTime supports date as well as datetime
1120         - split Storage::DBI::MSSQL into MSSQL and Sybase::MSSQL
1121         - fixed wrong debugging hook call in Storage::DBI
1122         - set connect_info properly before setting any ->sql_maker things
1123
1124 0.06999_02 2006-06-09 23:58:33
1125         - Fixed up POD::Coverage tests, filled in some POD holes
1126         - Added a warning for incorrect component order in load_components
1127         - Fixed resultset bugs to do with related searches
1128         - added code and tests for Componentized::ensure_class_found and
1129           load_optional_class
1130         - NoBindVars + Sybase + MSSQL stuff
1131         - only rebless S::DBI if it is still S::DBI and not a subclass
1132         - Added `use' statement for DBD::Pg in Storage::DBI::Pg
1133         - stopped test relying on order of unordered search
1134         - bugfix for join-types in nested joins using the from attribute
1135         - obscure prefetch problem fixed
1136         - tightened up deep search_related
1137         - Fixed 'DBIx/Class/DB.pm did not return a true value' error
1138         - Revert change to test for deprecated find usage and swallow warnings
1139         - Slight wording change to new_related() POD
1140         - new specific test for connect_info coderefs
1141         - POD clarification and content bugfixing + a few code formatting fixes
1142         - POD::Coverage additions
1143         - fixed debugfh
1144         - Fix column_info stomping
1145
1146 0.06999_01 2006-05-28 17:19:30
1147         - add automatic naming of unique constraints
1148         - marked DB.pm as deprecated and noted it will be removed by 1.0
1149         - add ResultSetColumn
1150         - refactor ResultSet code to resolve attrs as late as possible
1151         - merge prefetch attrs into join attrs
1152         - add +select and +as attributes to ResultSet
1153         - added InflateColumn::DateTime component
1154         - refactor debugging to allow for profiling using Storage::Statistics
1155         - removed Data::UUID from deps, made other optionals required
1156         - modified SQLT parser to skip dupe table names
1157         - added remove_column(s) to ResultSource/ResultSourceProxy
1158         - added add_column alias to ResultSourceProxy
1159         - added source_name to ResultSource
1160         - load_classes now uses source_name and sets it if necessary
1161         - add update_or_create_related to Relationship::Base
1162         - add find_or_new to ResultSet/ResultSetProxy and find_or_new_related
1163           to Relationship::Base
1164         - add accessors for unique constraint names and coulums to
1165           ResultSource/ResultSourceProxy
1166         - rework ResultSet::find() to search unique constraints
1167         - CDBICompat: modify retrieve to fix column casing when ColumnCase is
1168           loaded
1169         - CDBICompat: override find_or_create to fix column casing when
1170           ColumnCase is loaded
1171         - reorganized and simplified tests
1172         - added Ordered
1173         - added the ability to set on_connect_do and the various sql_maker
1174           options as part of Storage::DBI's connect_info.
1175
1176 0.06003 2006-05-19 15:37:30
1177         - make find_or_create_related check defined() instead of truth
1178         - don't unnecessarily fetch rels for cascade_update
1179         - don't set_columns explicitly in update_or_create; instead use
1180           update($hashref) so InflateColumn works
1181         - fix for has_many prefetch with 0 related rows
1182         - make limit error if rows => 0
1183         - added memory cycle tests and a long-needed weaken call
1184
1185 0.06002 2006-04-20 00:42:41
1186         - fix set_from_related to accept undef
1187         - fix to Dumper-induced hash iteration bug
1188         - fix to copy() with non-composed resultsource
1189         - fix to ->search without args to clone rs but maintain cache
1190         - grab $self->dbh once per function in Storage::DBI
1191         - nuke ResultSource caching of ->resultset for consistency reasons
1192         - fix for -and conditions when updating or deleting on a ResultSet
1193
1194 0.06001
1195         - Added fix for quoting with single table
1196         - Substantial fixes and improvements to deploy
1197         - slice now uses search directly
1198         - fixes for update() on resultset
1199         - bugfix to Cursor to avoid error during DESTROY
1200         - transaction DBI operations now in debug trace output
1201
1202 0.06000 2006-03-25 18:03:46
1203         - Lots of documentation improvements
1204         - Minor tweak to related_resultset to prevent it storing a searched rs
1205         - Fixup to columns_info_for when database returns type(size)
1206         - Made do_txn respect void context (on the off-chance somebody cares)
1207         - Fix exception text for nonexistent key in ResultSet::find()
1208
1209 0.05999_04 2006-03-18 19:20:49
1210         - Fix for delete on full-table resultsets
1211         - Removed caching on count() and added _count for pager()
1212         - ->connection does nothing if ->storage defined and no args
1213           (and hence ->connect acts like ->clone under the same conditions)
1214         - Storage::DBI throws better exception if no connect info
1215         - columns_info_for made more robust / informative
1216         - ithreads compat added, fork compat improved
1217         - weaken result_source in all resultsets
1218         - Make pg seq extractor less sensitive.
1219
1220 0.05999_03 2006-03-14 01:58:10
1221         - has_many prefetch fixes
1222         - deploy now adds drop statements before creates
1223         - deploy outputs debugging statements if DBIX_CLASS_STORAGE_DBI_DEBUG
1224             is set
1225
1226 0.05999_02 2006-03-10 13:31:37
1227         - remove test dep on YAML
1228         - additional speed tweaks for C3
1229         - allow scalarefs passed to order_by to go straight through to SQL
1230         - renamed insert_or_update to update_or_insert (with compat alias)
1231         - hidden lots of packages from the PAUSE Indexer
1232
1233 0.05999_01 2006-03-09 18:31:44
1234         - renamed cols attribute to columns (cols still supported)
1235         - added has_column_loaded to Row
1236         - Storage::DBI connect_info supports coderef returning dbh as 1st arg
1237         - load_components() doesn't prepend base when comp. prefixed with +
1238         - $schema->deploy
1239         - HAVING support
1240         - prefetch for has_many
1241         - cache attr for resultsets
1242         - PK::Auto::* no longer required since Storage::DBI::* handle auto-inc
1243         - minor tweak to tests for join edge case
1244         - added cascade_copy relationship attribute
1245           (sponsored by Airspace Software, http://www.airspace.co.uk/)
1246         - clean up set_from_related
1247         - made copy() automatically null out auto-inc columns
1248         - added txn_do() method to Schema, which allows a coderef to be
1249           executed atomically
1250
1251 0.05007 2006-02-24 00:59:00
1252         - tweak to Componentised for Class::C3 0.11
1253         - fixes for auto-inc under MSSQL
1254
1255 0.05006 2006-02-17 15:32:40
1256         - storage fix for fork() and workaround for Apache::DBI
1257         - made update(\%hash) work on row as well as rs
1258         - another fix for count with scalar group_by
1259         - remove dependency on Module::Find in 40resultsetmanager.t (RT #17598)
1260
1261 0.05005 2006-02-13 21:24:51
1262         - remove build dependency on version.pm
1263
1264 0.05004 2006-02-13 20:59:00
1265         - allow specification of related columns via cols attr when primary
1266           keys of the related table are not fetched
1267         - fix count for group_by as scalar
1268         - add horrific fix to make Oracle's retarded limit syntax work
1269         - remove Carp require
1270         - changed UUIDColumns to use new UUIDMaker classes for uuid creation
1271         using whatever module may be available
1272
1273 0.05003 2006-02-08 17:50:20
1274         - add component_class accessors and use them for *_class
1275         - small fixes to Serialize and ResultSetManager
1276         - rollback on disconnect, and disconnect on DESTROY
1277
1278 0.05002 2006-02-06 12:12:03
1279         - Added recommends for Class::Inspector
1280         - Added skip_all to t/40resultsetmanager.t if no Class::Inspector
1281         available
1282
1283 0.05001 2006-02-05 15:28:10
1284         - debug output now prints NULL for undef params
1285         - multi-step prefetch along the same rel (e.g. for trees) now works
1286         - added multi-join (join => [ 'foo', 'foo' ]), aliases second to foo_2
1287         - hack PK::Auto::Pg for "table" names referencing a schema
1288         - find() with attributes works
1289         - added experimental Serialize and ResultSetManager components
1290         - added code attribute recording to DBIx::Class
1291         - fix to find() for complex resultsets
1292         - added of $storage->debugcb(sub { ... })
1293         - added $source->resultset_attributes accessor
1294         - added include_columns rs attr
1295
1296 0.05000 2006-02-01 16:48:30
1297         - assorted doc fixes
1298         - remove ObjectCache, not yet working in 0.05
1299         - let many_to_many rels have attrs
1300         - fix ID method in PK.pm to be saner for new internals
1301         - fix t/30dbicplain.t to use ::Schema instead of
1302           Catalyst::Model::DBIC::Plain
1303
1304 0.04999_06 2006-01-28 21:20:32
1305         - fix Storage/DBI (tried to load deprecated ::Exception component)
1306
1307 0.04999_05 2006-01-28 20:13:52
1308         - count will now work for grouped resultsets
1309         - added accessor => option to column_info to specify accessor name
1310         - added $schema->populate to load test data (similar to AR fixtures)
1311         - removed cdbi-t dependencies, only run tests if installed
1312         - Removed DBIx::Class::Exception
1313         - unified throw_exception stuff, using Carp::Clan
1314         - report query when sth generation fails.
1315         - multi-step prefetch!
1316         - inheritance fixes
1317         - test tweaks
1318
1319 0.04999_04 2006-01-24 21:48:21
1320         - more documentation improvements
1321         - add columns_info_for for vendor-specific column info (Zbigniew
1322         Lukasiak)
1323         - add SQL::Translator::Producer for DBIx::Class table classes (Jess
1324         Robinson)
1325         - add unique constraint declaration (Daniel Westermann-Clark)
1326         - add new update_or_create method (Daniel Westermann-Clark)
1327         - rename ResultSetInstance class to ResultSetProxy, ResultSourceInstance
1328           to ResultSourceProxy, and TableInstance to ResultSourceProxy::Table
1329         - minor fixes to UUIDColumns
1330         - add debugfh method and ENV magic for tracing SQL (Nigel Metheringham)
1331
1332 0.04999_03 2006-01-20 06:05:27
1333         - imported Jess Robinson's SQL::Translator::Parser::DBIx::Class
1334         - lots of internals cleanup to eliminate result_source_instance
1335         requirement
1336         - added register_column and register_relationship class APIs
1337         - made Storage::DBI use prepare_cached safely (thanks to Tim Bunce)
1338         - many documentation improvements (thanks guys!)
1339         - added ->connection, ->connect, ->register_source and ->clone schema
1340         methods
1341         - Use croak instead of die for user errors.
1342
1343 0.04999_02 2006-01-14 07:17:35
1344         - Schema is now self-contained; no requirement for co-operation
1345         - add_relationship, relationships, relationship_info, has_relationship
1346         - relationship handling on ResultSource
1347         - all table handling now in Table.pm / ResultSource.pm
1348         - added GROUP BY and DISTINCT support
1349         - hacked around SQL::Abstract::Limit some more in DBIC::SQL::Abstract
1350           (this may have fixed complex quoting)
1351         - moved inflation to inflate_result in Row.pm
1352         - added $rs->search_related
1353         - split compose_namespace out of compose_connection in Schema
1354         - ResultSet now handles find
1355         - various *_related methods are now ->search_related->*
1356         - added new_result to ResultSet
1357
1358 0.04999_01 2005-12-27 03:33:42
1359         - search and related methods moved to ResultSet
1360         - select and as added to ResultSet attrs
1361         - added DBIx::Class::Table and TableInstance for table-per-class
1362         - added DBIx::Class::ResultSetInstance which handles proxying
1363           search etc. as a superclass of DBIx::Class::DB
1364         - assorted test and code cleanup work
1365
1366 0.04001 2005-12-13 22:00:00
1367         - Fix so set_inflated_column calls set_column
1368         - Syntax errors in relationship classes are now reported
1369         - Better error detection in set_primary_key and columns methods
1370         - Documentation improvements
1371         - Better transaction support with txn_* methods
1372         - belongs_to now works when $cond is a string
1373         - PK::Auto::Pg updated, only tries primary keys instead of all cols
1374
1375 0.04 2005-11-26
1376         - Moved get_simple and set_simple into AccessorGroup
1377         - Made 'new' die if given invalid columns
1378         - Added has_column and column_info to Table.pm
1379         - Refactored away from direct use of _columns and _primaries
1380         - Switched from NEXT to Class::C3
1381
1382 0.03004
1383         - Added an || '' to the CDBICompat stringify to avoid null warnings
1384         - Updated name section for manual pods
1385 0.03003 2005-11-03 17:00:00
1386         - POD fixes.
1387         - Changed use to require in Relationship/Base to avoid import.
1388
1389 0.03002 2005-10-20 22:35:00
1390         - Minor bugfix to new (Row.pm)
1391         - Schema doesn't die if it can't load a class (Schema.pm)
1392         - New UUID columns plugin (UUIDColumns.pm)
1393         - Documentation improvements.
1394
1395 0.03001 2005-09-23 14:00:00
1396         - Fixes to relationship helpers
1397         - IMPORTANT: prefetch/schema combination bug fix
1398
1399 0.03    2005-09-19 19:35:00
1400         - Paging support
1401         - Join support on search
1402         - Prefetch support on search
1403
1404 0.02    2005-08-12 18:00:00
1405         - Test fixes.
1406         - Performance improvements.
1407         - Oracle primary key support.
1408         - MS-SQL primary key support.
1409         - SQL::Abstract::Limit integration for database-agnostic limiting.
1410
1411 0.01    2005-08-08 17:10:00
1412         - initial release
1413