Made discard_changes use ->result_source->resultset->find
[dbsrgits/DBIx-Class.git] / Changes
CommitLineData
3b44ccc6 1Revision history for DBIx::Class
2
85b4a1c5 30.05003 2006-02-08 17:50:20
4 - add component_class accessors and use them for *_class
5 - small fixes to Serialize and ResultSetManager
6 - prevent accidental table-wide update/delete on row-object
7 from PK-less table
8 - rollback on disconnect, and disconnect on DESTROY
9 - fixes to deep search and search_relateduser
10
cc6504dc 110.05002 2006-02-06 12:12:03
12 - Added recommends for Class::Inspector
13 - Added skip_all to t/40resultsetmanager.t if no Class::Inspector available
14
150.05001 2006-02-05 15:28:10
6ee299bf 16 - debug output now prints NULL for undef params
887ce227 17 - multi-step prefetch along the same rel (e.g. for trees) now works
489709af 18 - added multi-join (join => [ 'foo', 'foo' ]), aliases second to foo_2
5ec6bc2e 19 - hack PK::Auto::Pg for "table" names referencing a schema
20 - find() with attributes works
5ac6a044 21 - added experimental Serialize and ResultSetManager components
19345968 22 - added code attribute recording to DBIx::Class
5ac6a044 23 - fix to find() for complex resultsets
24 - added of $storage->debugcb(sub { ... })
25 - added $source->resultset_attributes accessor
26 - added include_columns rs attr
27
fc69fea6 280.05000 2006-02-01 16:48:30
29 - assorted doc fixes
602afcfa 30 - remove ObjectCache, not yet working in 0.05
31 - let many_to_many rels have attrs
32 - fix ID method in PK.pm to be saner for new internals
132f3b89 33 - fix t/30dbicplain.t to use ::Schema instead of
34 Catalyst::Model::DBIC::Plain
cd67f809 35
7a1fe534 360.04999_06 2006-01-28 21:20:32
de5e2fe9 37 - fix Storage/DBI (tried to load deprecated ::Exception component)
38
390.04999_05 2006-01-28 20:13:52
00018e9d 40 - count will now work for grouped resultsets
41 - added accessor => option to column_info to specify accessor name
a37a4697 42 - added $schema->populate to load test data (similar to AR fixtures)
289ba852 43 - removed cdbi-t dependencies, only run tests if installed
701da8c4 44 - Removed DBIx::Class::Exception
45 - unified throw_exception stuff, using Carp::Clan
46 - report query when sth generation fails.
a14d1055 47 - multi-step prefetch!
48 - inheritance fixes
49 - test tweaks
50
09aeebca 510.04999_04 2006-01-24 21:48:21
52 - more documentation improvements
53 - add columns_info_for for vendor-specific column info (Zbigniew Lukasiak)
54 - add SQL::Translator::Producer for DBIx::Class table classes (Jess Robinson)
55 - add unique constraint declaration (Daniel Westermann-Clark)
56 - add new update_or_create method (Daniel Westermann-Clark)
e46a66f2 57 - rename ResultSetInstance class to ResultSetProxy, ResultSourceInstance
58 to ResultSourceProxy, and TableInstance to ResultSourceProxy::Table
09aeebca 59 - minor fixes to UUIDColumns
6565b410 60 - add debugfh method and ENV magic for tracing SQL (Nigel Metheringham)
09aeebca 61
151fc9ad 620.04999_03 2006-01-20 06:05:27
09aeebca 63 - imported Jess Robinson's SQL::Translator::Parser::DBIx::Class
64 - lots of internals cleanup to eliminate result_source_instance requirement
8bfc3d48 65 - added register_column and register_relationship class APIs
66 - made Storage::DBI use prepare_cached safely (thanks to Tim Bunce)
67 - many documentation improvements (thanks guys!)
151fc9ad 68 - added ->connection, ->connect, ->register_source and ->clone schema methods
aa562407 69 - Use croak instead of die for user errors.
8bfc3d48 70
9ce9ec10 710.04999_02 2006-01-14 07:17:35
72 - Schema is now self-contained; no requirement for co-operation
73 - add_relationship, relationships, relationship_info, has_relationship
74 - relationship handling on ResultSource
75 - all table handling now in Table.pm / ResultSource.pm
475978db 76 - added GROUP BY and DISTINCT support
77 - hacked around SQL::Abstract::Limit some more in DBIC::SQL::Abstract
78 (this may have fixed complex quoting)
79 - moved inflation to inflate_result in Row.pm
80 - added $rs->search_related
81 - split compose_namespace out of compose_connection in Schema
fea3d045 82 - ResultSet now handles find
83 - various *_related methods are now ->search_related->*
84 - added new_result to ResultSet
475978db 85
82b1cd1f 860.04999_01 2005-12-27 03:33:42
87 - search and related methods moved to ResultSet
88 - select and as added to ResultSet attrs
89 - added DBIx::Class::Table and TableInstance for table-per-class
90 - added DBIx::Class::ResultSetInstance which handles proxying
91 search etc. as a superclass of DBIx::Class::DB
92 - assorted test and code cleanup work
93
de5d1955 940.04001 2005-12-13 22:00:00
47bd0267 95 - Fix so set_inflated_column calls set_column
de5d1955 96 - Syntax errors in relationship classes are now reported
c2074366 97 - Better error detection in set_primary_key and columns methods
98 - Documentation improvements
99 - Better transaction support with txn_* methods
100 - belongs_to now works when $cond is a string
101 - PK::Auto::Pg updated, only tries primary keys instead of all cols
47bd0267 102
1030.04 2005-11-26
484c9dda 104 - Moved get_simple and set_simple into AccessorGroup
105 - Made 'new' die if given invalid columns
103647d5 106 - Added has_column and column_info to Table.pm
107 - Refactored away from direct use of _columns and _primaries
47bd0267 108 - Switched from NEXT to Class::C3
484c9dda 109
2441e56f 1100.03004
111 - Added an || '' to the CDBICompat stringify to avoid null warnings
3b44ccc6 112 - Updated name section for manual pods
113
1140.03003 2005-11-03 17:00:00
115 - POD fixes.
116 - Changed use to require in Relationship/Base to avoid import.
117
1180.03002 2005-10-20 22:35:00
119 - Minor bugfix to new (Row.pm)
120 - Schema doesn't die if it can't load a class (Schema.pm)
121 - New UUID columns plugin (UUIDColumns.pm)
122 - Documentation improvements.
123
1240.03001 2005-09-23 14:00:00
125 - Fixes to relationship helpers
126 - IMPORTANT: prefetch/schema combination bug fix
127
1280.03 2005-09-19 19:35:00
129 - Paging support
130 - Join support on search
131 - Prefetch support on search
132
1330.02 2005-08-12 18:00:00
134 - Test fixes.
135 - Performance improvements.
136 - Oracle primary key support.
137 - MS-SQL primary key support.
138 - SQL::Abstract::Limit integration for database-agnostic limiting.
139
1400.01 2005-08-08 17:10:00
141 - initial release