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