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