X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=Changes;h=5ecb57ddd5ebe60fb236dd9716884babb97425ff;hb=bed3a173167f330281c09277bac5a0816f81b3f8;hp=5ce2d895df051ba77fb3d95cf3a21cd3bae20718;hpb=a4d8bea5a86c133c7d2baf6f0836fa6f2aef6a1b;p=dbsrgits%2FDBIx-Class.git diff --git a/Changes b/Changes index 5ce2d89..5ecb57d 100644 --- a/Changes +++ b/Changes @@ -1,18 +1,22 @@ Revision history for DBIx::Class + - Multiple $resultset -> count/update/delete fixes. Now any + of these operations will succeed, regardless of the complexity + of $resultset. distinct, group_by, join, prefetch are all + supported with expected results + - Return value of $rs->delete is now the storage return value + and not 1 as it used to be - don't pass SQL functions into GROUP BY - Remove MultiDistinctEmulation.pm, effectively deprecating { select => { distinct => [ qw/col1 col2/ ] } } - Change ->count code to work correctly with DISTINCT (distinct => 1) via GROUP BY - - remove interpolation of bind vars for as_query - - update Cookbook entry for "SELECT DISTINCT with multiple columns" - - update Cookbook entry for "SELECT COUNT(DISTINCT colname)" + - Removed interpolation of bind vars for as_query - placeholders + are preserved and nested query bind variables are properly + merged in the correct order - Refactor DBIx::Class::Storage::DBI::Sybase to automatically load a subclass, namely Microsoft_SQL_Server.pm (similar to DBIx::Class::Storage::DBI::ODBC) - - Proper support for update/delete of joined resultsets - (using IN => $sub_rs->as_query) - Refactor InflateColumn::DateTime to allow components to circumvent DateTime parsing - Support inflation of timestamp datatype @@ -22,6 +26,18 @@ Revision history for DBIx::Class - Storage::DBI::Replicated: storage opts from connect_info, connect_info merging to replicants, hashref connect_info support, improved trace output, other bug fixes/cleanups + - distinct => 1 with prefetch now groups by all columns + - on_connect_do accepts a single string equivalent to a one + element arrayref (RT#45159) + - DB2 limit + offset now works correctly + - Sybase now supports autoinc PKs (RT#40265) + - Prefetch on joins over duplicate relations now works + correctly (RT#28451) + - "timestamp with time zone" columns (for Pg) now get inflated with a + time zone information preserved + - MSSQL Top limit-emulation improvements (GROUP BY and subquery support) + - ResultSetColumn will not lose the joins infered from a parent + resultset prefetch 0.08102 2009-04-30 08:29:00 (UTC) - Fixed two subtle bugs when using columns or select/as