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