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