From: Matt S Trout Date: Fri, 3 Nov 2006 04:26:25 +0000 (+0000) Subject: Merge 'trunk' into 'DBIx-Class-current' X-Git-Tag: v0.08010~150^2~138 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=c94924b073e3e25957028ed95b9384930062fcb9;hp=-c;p=dbsrgits%2FDBIx-Class.git Merge 'trunk' into 'DBIx-Class-current' r33016@cain (orig r2852): matthewt | 2006-10-25 07:11:15 +0000 fix it properly, fix Changes r33253@cain (orig r2853): castaway | 2006-10-30 14:21:53 +0000 Fixed typos in HashRefInflator example r33254@cain (orig r2854): ash | 2006-10-30 14:49:27 +0000 Fixed type in hasrref iter - thanks abraxxa r33255@cain (orig r2855): ash | 2006-10-31 11:24:43 +0000 Deploy fix that will hopefully sort out problems with HTML::Widget::DBIxClass r33256@cain (orig r2856): ash | 2006-11-01 02:11:22 +0000 reverted previous deploy change(r8255) - sorry matt, i wont break it again --- c94924b073e3e25957028ed95b9384930062fcb9 diff --combined Changes index 4f84f5e,cb59335..d03b8ff --- a/Changes +++ b/Changes @@@ -1,30 -1,16 +1,32 @@@ Revision history for DBIx::Class +0.07999_01 2006-10-05 21:00:00 + - add connect_info option "disable_statement_caching" + - create insert_bulk using execute_array, populate uses it + - added DBIx::Class::Schema::load_namespaces, alternative to + load_classes + - added source_info method for source-level metadata (kinda like + column_info) + - Some of ::Storage::DBI's code/docs moved to ::Storage + - DBIx::Class::Schema::txn_do code moved to ::Storage + - Storage::DBI now uses exceptions instead of ->ping/->{Active} checks + - Storage exceptions are thrown via the schema class's throw_exception + - DBIx::Class::Schema::throw_exception's behavior can be modified via + ->exception_action + - columns_info_for is deprecated, and no longer runs automatically. + You can make it work like before via + __PACKAGE__->column_info_from_storage(1) for now + 0.07003 2006-XX-XX XX:XX:XX - Fix UTF8Columns to work under Perl <= 5.8.0 - Fix up new_result in ResultSet to avoid alias-related bugs + - Made new/update/find handle 'single' rel accessor correctly + - Fix NoBindVars to be safer and handle non-true bind values 0.07002 2006-09-14 21:17:32 - fix quote tests for recent versions of SQLite - added reference implementation of Manual::Example - backported column_info_from_storage accessor from -current, but - defaults true instead of false in 0.07xxx - fixed inflate_datetime.t tests/stringify under older Test::More - minor fixes for many-to-many relationship helpers - cleared up Relationship docs, and fixed some typos diff --combined lib/DBIx/Class/Manual/Cookbook.pod index 5184016,916b710..248c0b6 --- a/lib/DBIx/Class/Manual/Cookbook.pod +++ b/lib/DBIx/Class/Manual/Cookbook.pod @@@ -487,7 -487,7 +487,7 @@@ To order C<< $book->pages >> by descend =head2 Transactions As of version 0.04001, there is improved transaction support in -L and L. Here is an +L and L. Here is an example of the recommended way to use it: my $genus = $schema->resultset('Genus')->find(12); @@@ -905,7 -905,7 +905,7 @@@ method =head2 Profiling -When you enable L's debugging it prints the SQL +When you enable L's debugging it prints the SQL executed as well as notifications of query completion and transaction begin/commit. If you'd like to profile the SQL you can subclass the L class and write your own profiling @@@ -1114,7 -1114,7 +1114,7 @@@ C my ($me, $rest) = @_; return { %$me, - map { ($_ => mk_hash(@{$rest->{$_}})) } keys %$rest } + map { ($_ => mk_hash(@{$rest->{$_}})) } keys %$rest }; } @@@ -1127,8 -1127,8 +1127,8 @@@ $rs->result_class('My::HashRefInflator'); my $datahashref = $rs->next; - foreach my $col (keys $datahashref) { - if(!ref($datahashref->{$col}) { + foreach my $col (keys %$datahashref) { + if(!ref($datahashref->{$col})) { # It's a plain value } elsif(ref($datahashref->{$col} eq 'HASH')) {