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