[Dbix-class] [ANNOUNCE] DBIx::Class 0.08103 released to CPAN

Peter Rabbitson rabbit+dbic at rabbit.us
Tue May 26 20:10:18 GMT 2009


Greetings,

The dbix-class team proudly presents the new shiny DBIC 0.08103.
Although it has been less than a month since last release, this
version packs a metric ass-ton of new exciting improvements.
Without further ado presenting the Changelog:

        - 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
        - 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)
        - Refactor InflateColumn::DateTime to allow components to
          circumvent DateTime parsing
        - Support inflation of timestamp datatype
        - Support BLOB and CLOB datatypes on Oracle
        - Storage::DBI::Replicated::Balancer::Random:
          added master_read_weight
        - 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

As usual bugreports, criticism, praises and sacrificial offerings are welcome
and encouraged.

Happy search()ing



More information about the DBIx-Class mailing list