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