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