X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=Changes;h=36af8cda664f3baab1d01661563563ddc4351077;hb=6936e902c1291c14c8e73f9c9f016e5212ad4083;hp=263dc98bf2d858874a593e10503cfb55670fcfdc;hpb=0e40881e00dcc27fb292708f9199c6f4c0947312;p=dbsrgits%2FDBIx-Class.git diff --git a/Changes b/Changes index 263dc98..36af8cd 100644 --- a/Changes +++ b/Changes @@ -1,14 +1,52 @@ Revision history for DBIx::Class + +0.08099_07 2009-02-27 02:00:00 (UTC) + - putting IC::DateTime locale, timezone or floating_tz_ok attributes into + extra => {} has been deprecated. The new way is to put these things + directly into the columns definition + - multi-create using find_or_create rather than _related for post-insert + - fix get_inflated_columns to check has_column_loaded + - Add DBIC_MULTICREATE_DEBUG env var (undocumented, quasi-internal) + - Fix up multi-create to: + - correctly propagate columns loaded during multi-insert of rels + - not try and insert things tagged on via new_related unless required + - Possible to set locale in IC::DateTime extra => {} config + - Calling the accessor of a belongs_to when the foreign_key + was NULL and the row was not stored would unexpectedly fail + - Split sql statements for deploy only if SQLT::Producer returned a scalar + containing all statements to be executed + - Add as_query() for ResultSet and ResultSetColumn. This makes subqueries + possible. See the Cookbook for details. (robkinyon, michaelr) + - Massive rewrite of Ordered to properly handle position constraints and + to make it more matpath-friendly + - deploy_statements called ddl_filename with the $version and $dir arguments + in the wrong order. + - columns/+columns attributes now support { as => select } hahsrefs + - support for views both in DBIC and via deploy() in SQLT + - test for not dying if a column isn't loaded after insert and a rel using + it is called. (eg ->new({ name => 'foo'})->bar if bar uses bar_id) + - Currently skipped. Changed exception to have a more detailed message + - Document the known issue and a possible work around. + - search_like() now warns to indicate deprecation in 0.09. (robkinyon) + +0.08099_06 2009-01-23 07:30:00 (UTC) - Allow a scalarref to be supplied to the 'from' resultset attribute - Classes submitted as result_class for a resultsource are now automatically loaded via ensure_loaded() - 'result_class' resultset attribute, identical to result_class() - - add 'undef_on_null_fk' option for relationship accessors of type 'single'. + - add 'undef_on_null_fk' option for relationship accessors of type 'single'. This will prevent DBIC from querying the database if one or more of the key columns IS NULL - for 'belongs_to' rels, 'undef_on_null_fk' defaults to true. - fixed scope unaware last_insert_id fetching for MSSQL (http://msdn.microsoft.com/en-us/library/ms190315.aspx) + - an sqlt_deploy_hook can now be shared between result sources using + a configurable callback trigger + - new order_by => { -desc => 'colname' } syntax supported + - PG array datatype supported + - insert should use store_column, not set_column to avoid marking + clean just-stored values as dirty. New test for this + - regression test for source_name 0.08099_05 2008-10-30 21:30:00 (UTC) - Rewritte of Storage::DBI::connect_info(), extended with an