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