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