fixed problem with duplicate related objects for Row::new/insert
[dbsrgits/DBIx-Class.git] / Changes
CommitLineData
3b44ccc6 1Revision history for DBIx::Class
c193d1d2 2 - Row::insert will now not fall over if passed duplicate related objects
eba322a7 3 - When adding relationships, it will throw an exception if you get the
4 foreign and self parts the wrong way round in the condition
5d62876f 5 - ResultSetColumn::func() now returns all results if called in list
6 context; this makes things like func('DISTINCT') work as expected
35210a5d 7 - Many-to-many relationships now warn if the utility methods would
8 clash
dda9af55 9 - InflateColumn::DateTime now accepts an extra parameter of timezone
10 to set timezone on the DT object (thanks Sergio Salvi)
aaf2403d 11 - Added sqlt_deploy_hook to result classes so that indexes can be
12 added.
11736b4c 13 - Added startup checks to warn loudly if we appear to be running on
14 RedHat systems from perl-5.8.8-10 and up that have the bless/overload
15 patch applied (badly) which causes 2x -> 100x performance penalty.
16 (Jon Schutz)
eba322a7 17
c94f64f9 180.08007 2007-09-04 19:36:00
8f7e044c 19 - patch for Oracle datetime inflation (abram@arin.net)
6f442eb7 20 - added on_disconnect_do
21 - on_connect_do and on_disconnect_do take coderefs and arrayrefs
22
5c642b15 230.08006 2007-08-12 15:12:00
24 - Move to using Class::C3::Componentised
25 - Remove warn statement from DBIx::Class::Row
26
270.08005 2007-08-06
f011970e 28 - add timestamp fix re rt.cpan 26978 - no test yet but change
29 clearly should cause no regressions
01d59a6a 30 - provide alias for related_resultset via local() so it's set
31 correctly at resultset construction time (fixes RestrictWithObject)
e5d9ee92 32 - fixes bind params in debug statements
33 (original test from abraxxa)
649bfb8c 34 - fixed storage->connected fork bug
35 (test and fix from Radu Greab)
fe0e9f67 36 - add 1; to AccessorGroup.pm for stuff that still uses it
70f39278 37 - refactor Statistics to create debugging filehandle to fix bug with
38 closed STDERR, update docs and modify Versioned to use Statistics
39 (original fix from diz)
40
e7827df0 410.08004 2007-08-06 19:00:00
42 - fix storage connect code to not trigger bug via auto-viv
43 (test from aherzog)
e4eb8ee1 44 - fixup cursor_class to be an 'inherited' attr for per-package defaults
e6c747fd 45 - add default_resultset_attributes entry to Schema
6296f45b 46 - optimisation in DBI::Cursor to check software_limit before falling
47 back to base Cursor->all
2bc3c81e 48 - fix bug with create_multi not inserting non-storage objects
49 (test and fix from davinchi)
73281318 50 - DBIx::Class::AccessorGroup made empty subclass of
51 Class::Accessor::Grouped
ec8c7e7f 52 - fixed an ugly bug regarding $dbh->{AutoCommit} and transactions
73281318 53 - ensure_class_loaded handles non-classnames better.
9a0891be 54 - non-destructive hashref handling for connect_info options
2bd9c7c0 55 - count no longer returns negative values after slice
56 (report and test from JOHANL)
114780ee 57 - rebless before building datetime_parser
58 (patch from mattlaw / Matt Lawrence)
59
ab2cf1fb 600.08003 2007-07-14 18:01:00
61 - improved populate bulk_insert mode
a8c98174 62 - fixed up multi_create to be more intelligent about PK<->PK rels
6cc5b382 63 - fix many-many rels to not use set_columns
dfccde48 64 - Unmarked deploy as experimental since it isn't anymore
65 - Removed Cwd dep since it's not required and causes problems
66 with debian packaging
b4474f31 67 - Patch to fix ? in data for NoBindVars (from Tom Hukins)
77d518d1 68 - Restored mk_classaccessor method for compatibility
3f6cc7e4 69 - Fixed group_by problem with oracle limit syntax
70 - Fixed attr merging problem
71 - Fixed $rs->get_column w/prefetch problem
77d518d1 72
6fa7228e 730.08002 2007-06-20 06:10:00
9c6d6d93 74 - add scope guard to Row::insert to ensure rollback gets called
75 - more heuristics in Row::insert to try and get insert order right
76 - eliminate vestigial code in PK::Auto
2ab60eb9 77 - more expressive DBI errors
78 - soften errors during deploy
291bf95f 79 - ensure_connected before txn_begin to catch stomping on transaction
80 depth
b2f408f3 81 - new method "rethrow" for our exception objects
82
a2800991 830.08001 2007-06-17 21:21:02
84 - Cleaned up on_connect handling for versioned
85 - removed DateTime use line from multi_create test
86 - hid DBIx::ContextualFetch::st override in CDBICompat
87
737416a4 880.08000 2007-06-17 18:06:12
942cd0c1 89 - Fixed DBIC_TRACE debug filehandles to set ->autoflush(1)
90 - Fixed circular dbh<->storage in HandleError with weakref
91
a0bd8a8c 920.07999_06 2007-06-13 04:45:00
3fda409f 93 - tweaked Row.pm to make last_insert_id take multiple column names
a0bd8a8c 94 - Fixed DBIC::Storage::DBI::Cursor::DESTROY bug that was
95 messing up exception handling
96 - added exception objects to eliminate stacktrace/Carp::Clan
97 output redundancy
98 - setting $ENV{DBIC_TRACE} defaults stacktrace on.
4d4c7bbe 99 - added stacktrace option to Schema, makes throw_exception
100 use "confess"
101 - make database handles use throw_exception by default
102 - make database handles supplied by a coderef use our
103 standard HandleError/RaiseError/PrintError
104 - add "unsafe" connect_info option to suppress our setting
105 of HandleError/RaiseError/PrintError
106 - removed several redundant evals whose sole purpose was to
107 provide extra debugging info
4d993a62 108 - fixed page-within-page bug (reported by nilsonsfj)
4d4c7bbe 109 - fixed rare bug when database is disconnected inbetween
110 "$dbh->prepare_cached" and "$sth->execute"
4d993a62 111
ff132c6f 1120.07999_05 2007-06-07 23:00:00
2c2a01a5 113 - Made source_name rw in ResultSource
40dce2a5 114 - Fixed up SQL::Translator test/runtime dependencies
e3d0ecce 115 - Fixed t/60core.t in the absence of DateTime::Format::MySQL
8b621a87 116 - Test cleanup and doc note (ribasushi)
e3d0ecce 117
1c1896e8 1180.07999_04 2007-06-01 14:04:00
f5d3a5de 119 - pulled in Replication storage from branch and marked EXPERIMENTAL
24010dd8 120 - fixup to ensure join always LEFT after first LEFT join depthwise
f217eaab 121 - converted the vendor tests to use schema objects intead of schema
122 classes, made cleaned more reliable with END blocks
42416a0b 123 - versioning support via DBIx::Class::Schema::Versioned
f217eaab 124 - find/next now return undef rather than () on fail from Bernhard Graf
f80f8e2f 125 - rewritten collapse_result to fix prefetch
126 - moved populate to resultset
127 - added support for creation of related rows via insert and populate
f217eaab 128 - transaction support more robust now in the face of varying AutoCommit
129 and manual txn_begin usage
130 - unbreak back-compat for Row/ResultSet->new_result
03cc17a5 131 - Added Oracle/WhereJoins.pm for Oracle >= 8 to support
132 Oracle <= 9i, and provide Oracle with a better join method for
133 later versions. (I use the term better loosely.)
3d618782 134 - The SQL::T parser class now respects a relationship attribute of
03cc17a5 135 is_foreign_key_constrain to allow explicit control over wether or
136 not a foreign constraint is needed
fac560c2 137 - resultset_class/result_class now (again) auto loads the specified
1d4e109a 138 class; requires Class::Accessor::Grouped 0.05002+
ba4a6453 139 - added get_inflated_columns to Row
43556c5d 140 - %colinfo accessor and inflate_column now work together
42d96e77 141 - More documentation updates
142 - Error messages from ->deploy made more informative
143 - connect_info will now always return the arguments it was
144 originally given
145 - A few small efficiency improvements for load_classes
146 and compose_namespace
147
13f897a0 1480.07006 2007-04-17 23:18:00
b740ac42 149 - Lots of documentation updates
150 - deploy now takes an optional 'source_names' parameter (dec)
151 - Quoting for for columns_info_for
152 - RT#25683 fixed (multiple open sths on DBD::Sybase)
153 - CDBI compat infers has_many from has_a (Schwern)
e73fced0 154 - Fix ddl_filename transformation (Carl Vincent)
8b50216e 155
e9188247 1560.07999_02 2007-01-25 20:11:00
157 - add support for binding BYTEA and similar parameters (w/Pg impl)
158 - add support to Ordered for multiple ordering columns
159 - mark DB.pm and compose_connection as deprecated
160 - switch tests to compose_namespace
737416a4 161 - ResultClass::HashRefInflator added
e9188247 162 - Changed row and rs objects to not have direct handle to a source,
163 instead a (schema,source_name) tuple of type ResultSourceHandle
c216324a 164
f00482a5 1650.07005 2007-01-10 18:36:00
166 - fixup changes file
167 - remove erroneous .orig files - oops
168
d5efeb56 1690.07004 2007-01-09 21:52:00
d180c0f3 170 - fix find_related-based queries to correctly grep the unique key
97c76264 171 - fix InflateColumn to inflate/deflate all refs but scalar refs
d180c0f3 172
e1f1616e 1730.07003 2006-11-16 11:52:00
8de06d81 174 - fix for rt.cpan.org #22740 (use $^X instead of hardcoded "perl")
25dbe178 175 - Tweaks to resultset to allow inflate_result to return an array
382b1d53 176 - Fix UTF8Columns to work under Perl <= 5.8.0
c6a0dde1 177 - Fix up new_result in ResultSet to avoid alias-related bugs
a4c8f60d 178 - Made new/update/find handle 'single' rel accessor correctly
179 - Fix NoBindVars to be safer and handle non-true bind values
e1f1616e 180 - Don't blow up if columns_info_for returns useless results
181 - Documentation updates
382b1d53 182
e9188247 1830.07999_01 2006-10-05 21:00:00
184 - add connect_info option "disable_statement_caching"
185 - create insert_bulk using execute_array, populate uses it
186 - added DBIx::Class::Schema::load_namespaces, alternative to
187 load_classes
188 - added source_info method for source-level metadata (kinda like
189 column_info)
190 - Some of ::Storage::DBI's code/docs moved to ::Storage
191 - DBIx::Class::Schema::txn_do code moved to ::Storage
192 - Storage::DBI now uses exceptions instead of ->ping/->{Active} checks
193 - Storage exceptions are thrown via the schema class's throw_exception
194 - DBIx::Class::Schema::throw_exception's behavior can be modified via
195 ->exception_action
196 - columns_info_for is deprecated, and no longer runs automatically.
197 You can make it work like before via
198 __PACKAGE__->column_info_from_storage(1) for now
199 - Replaced DBIx::Class::AccessorGroup and Class::Data::Accessor with
5d583aba 200 Class::Accessor::Grouped. Only user noticible change is to
201 table_class on ResultSourceProxy::Table (i.e. table objects in
202 schemas) and, resultset_class and result_class in ResultSource.
e9188247 203 These accessors no longer automatically require the classes when
204 set.
205
2292193a 2060.07002 2006-09-14 21:17:32
207 - fix quote tests for recent versions of SQLite
208 - added reference implementation of Manual::Example
209 - backported column_info_from_storage accessor from -current, but
6d2d6160 210 - fixed inflate_datetime.t tests/stringify under older Test::More
2292193a 211 - minor fixes for many-to-many relationship helpers
36f79eed 212 - cleared up Relationship docs, and fixed some typos
e4cc8257 213 - use ref instead of eval to check limit syntax (to avoid issues with
214 Devel::StackTrace)
2292193a 215 - update ResultSet::_cond_for_update_delete to handle more complicated
216 queries
217 - bugfix to Oracle columns_info_for
a918d901 218 - remove_columns now deletes columns from _columns
219
f096a498 2200.07001 2006-08-18 19:55:00
9dba3059 221 - add directory argument to deploy()
222 - support default aliases in many_to_many accessors.
223 - support for relationship attributes in many_to_many accessors.
224 - stop search_rs being destructive to attrs
225 - better error reporting when loading components
226 - UTF8Columns changed to use "utf8" instead of "Encode"
ab8481f5 227 - restore automatic aliasing in ResultSet::find() on nonunique queries
228 - allow aliases in ResultSet::find() queries (in cases of relationships
229 with prefetch)
89034887 230 - pass $attrs to find from update_or_create so a specific key can be
231 provided
04786a4c 232 - remove anonymous blesses to avoid major speed hit on Fedora Core 5's
233 Perl and possibly others; for more information see:
234 https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=196836
282cccff 235 - fix a pathological prefetch case
236 - table case fix for Oracle in columns_info_for
cb3e35d2 237 - stopped search_rs deleting attributes from passed hash
282cccff 238
cebfddb3 2390.07000 2006-07-23 02:30:00
28d25740 240 - supress warnings for possibly non-unique queries, since
241 _is_unique_query doesn't infer properly in all cases
b489f68a 242 - skip empty queries to eliminate spurious warnings on ->deploy
d09c569a 243 - fixups to ORDER BY, tweaks to deepen some copies in ResultSet
eac29141 244 - fixup for RowNum limit syntax with functions
d09c569a 245
99eff28a 2460.06999_07 2006-07-12 20:58:05
247 - fix issue with from attr copying introduced in last release
248
26cfd055 2490.06999_06 2006-07-12 17:16:55
250 - documentation for new storage options, fix S::A::L hanging on to $dbh
251 - substantial refactor of search_related code to fix alias numbering
dcfb635f 252 - don't generate partial unique keys in ResultSet::find() when a table
253 has more than one unique constraint which share a column and only one
254 is satisfied
404939a4 255 - cleanup UTF8Columns and make more efficient
26cfd055 256 - rename DBIX_CLASS_STORAGE_DBI_DEBUG to DBIC_TRACE (with compat)
f9fbd9bb 257 - rename _parent_rs to _parent_source in ResultSet
0793f927 258 - new FAQ.pod!
f9fbd9bb 259
2b19c829 2600.06999_05 2006-07-04 14:40:01
88de38fa 261 - fix issue with incorrect $rs->{attrs}{alias}
c1466191 262 - fix subclassing issue with source_name
296ef183 263 - tweak quotes test to output text on failure
f32eb113 264 - fix Schema->txn_do to not fail as a classmethod
265
39b590c1 2660.06999_04 2006-06-29 20:18:47
d651c864 267 - disable cdbi-t/02-Film.t warning tests under AS perl
ca306ecb 268 - fixups to MySQL tests (aka "work round mysql being retarded")
269 - compat tweaks for Storage debug logging
270
ef26a392 2710.06999_03 2006-06-26 21:04:44
272 - various documentation improvements
273 - fixes to pass test suite on Windows
274 - rewrote and cleaned up SQL::Translator tests
275 - changed relationship helpers to only call ensure_class_loaded when the
5d583aba 276 join condition is inferred
ef26a392 277 - rewrote many_to_many implementation, now provides helpers for adding
278 and deleting objects without dealing with the link table
6ccc50ab 279 - reworked InflateColumn implementation to lazily deflate where
ef26a392 280 possible; now handles passing an inflated object to new()
281 - changed join merging to not create a rel_2 alias when adding a join
42312aa5 282 that already exists in a parent resultset
ef26a392 283 - Storage::DBI::deployment_statements now calls ensure_connected
5d583aba 284 if it isn't passed a type
ef26a392 285 - fixed Componentized::ensure_class_loaded
5d0a2955 286 - InflateColumn::DateTime supports date as well as datetime
ef26a392 287 - split Storage::DBI::MSSQL into MSSQL and Sybase::MSSQL
5d583aba 288 - fixed wrong debugging hook call in Storage::DBI
289 - set connect_info properly before setting any ->sql_maker things
42312aa5 290
713ca2e2 2910.06999_02 2006-06-09 23:58:33
9b83fccd 292 - Fixed up POD::Coverage tests, filled in some POD holes
175cff3e 293 - Added a warning for incorrect component order in load_components
bd93520f 294 - Fixed resultset bugs to do with related searches
295 - added code and tests for Componentized::ensure_class_found and
296 load_optional_class
297 - NoBindVars + Sybase + MSSQL stuff
298 - only rebless S::DBI if it is still S::DBI and not a subclass
299 - Added `use' statement for DBD::Pg in Storage::DBI::Pg
300 - stopped test relying on order of unordered search
301 - bugfix for join-types in nested joins using the from attribute
302 - obscure prefetch problem fixed
303 - tightened up deep search_related
304 - Fixed 'DBIx/Class/DB.pm did not return a true value' error
305 - Revert change to test for deprecated find usage and swallow warnings
306 - Slight wording change to new_related() POD
307 - new specific test for connect_info coderefs
308 - POD clarification and content bugfixing + a few code formatting fixes
309 - POD::Coverage additions
310 - fixed debugfh
311 - Fix column_info stomping
9b83fccd 312
0de39991 3130.06999_01 2006-05-28 17:19:30
368a5228 314 - add automatic naming of unique constraints
1c81f831 315 - marked DB.pm as deprecated and noted it will be removed by 1.0
a8db04ca 316 - add ResultSetColumn
ef26a392 317 - refactor ResultSet code to resolve attrs as late as possible
a8db04ca 318 - merge prefetch attrs into join attrs
cec13963 319 - add +select and +as attributes to ResultSet
e7cafd06 320 - added InflateColumn::DateTime component
4c248161 321 - refactor debugging to allow for profiling using Storage::Statistics
6aaa8ea2 322 - removed Data::UUID from deps, made other optionals required
38e48163 323 - modified SQLT parser to skip dupe table names
002a359a 324 - added remove_column(s) to ResultSource/ResultSourceProxy
325 - added add_column alias to ResultSourceProxy
bab77431 326 - added source_name to ResultSource
1bc0b925 327 - load_classes now uses source_name and sets it if necessary
328 - add update_or_create_related to Relationship::Base
329 - add find_or_new to ResultSet/ResultSetProxy and find_or_new_related
330 to Relationship::Base
331 - add accessors for unique constraint names and coulums to
332 ResultSource/ResultSourceProxy
333 - rework ResultSet::find() to search unique constraints
9387c904 334 - CDBICompat: modify retrieve to fix column casing when ColumnCase is
335 loaded
336 - CDBICompat: override find_or_create to fix column casing when
337 ColumnCase is loaded
62eb8fe8 338 - reorganized and simplified tests
339 - added Ordered
8046a6d1 340 - added the ability to set on_connect_do and the various sql_maker
341 options as part of Storage::DBI's connect_info.
002a359a 342
0de39991 3430.06003 2006-05-19 15:37:30
9c2c91ea 344 - make find_or_create_related check defined() instead of truth
8417f5ee 345 - don't unnecessarily fetch rels for cascade_update
d3c946a0 346 - don't set_columns explicitly in update_or_create; instead use
347 update($hashref) so InflateColumn works
0823196c 348 - fix for has_many prefetch with 0 related rows
349 - make limit error if rows => 0
a917fb06 350 - added memory cycle tests and a long-needed weaken call
351
a2f6c15f 3520.06002 2006-04-20 00:42:41
2c037e6b 353 - fix set_from_related to accept undef
bd054cb4 354 - fix to Dumper-induced hash iteration bug
83419ec6 355 - fix to copy() with non-composed resultsource
765f5b7b 356 - fix to ->search without args to clone rs but maintain cache
a32e8402 357 - grab $self->dbh once per function in Storage::DBI
428c2b82 358 - nuke ResultSource caching of ->resultset for consistency reasons
16b4fd26 359 - fix for -and conditions when updating or deleting on a ResultSet
360
d56d8619 3610.06001
6346a152 362 - Added fix for quoting with single table
182fee36 363 - Substantial fixes and improvements to deploy
364 - slice now uses search directly
365 - fixes for update() on resultset
366 - bugfix to Cursor to avoid error during DESTROY
986e4fca 367 - transaction DBI operations now in debug trace output
6346a152 368
41741748 3690.06000 2006-03-25 18:03:46
eaefb953 370 - Lots of documentation improvements
371 - Minor tweak to related_resultset to prevent it storing a searched rs
8fcf21b3 372 - Fixup to columns_info_for when database returns type(size)
eeb34228 373 - Made do_txn respect void context (on the off-chance somebody cares)
5bd6785c 374 - Fix exception text for nonexistent key in ResultSet::find()
8fcf21b3 375
41741748 3760.05999_04 2006-03-18 19:20:49
7ed3d6dc 377 - Fix for delete on full-table resultsets
936332ea 378 - Removed caching on count() and added _count for pager()
3ec067db 379 - ->connection does nothing if ->storage defined and no args
380 (and hence ->connect acts like ->clone under the same conditions)
381 - Storage::DBI throws better exception if no connect info
382 - columns_info_for made more robust / informative
1346e22d 383 - ithreads compat added, fork compat improved
bcd26419 384 - weaken result_source in all resultsets
bd93520f 385 - Make pg seq extractor less sensitive.
3b44ccc6 386
c42d8358 3870.05999_03 2006-03-14 01:58:10
388 - has_many prefetch fixes
85dea9a9 389 - deploy now adds drop statements before creates
f109ee4a 390 - deploy outputs debugging statements if DBIX_CLASS_STORAGE_DBI_DEBUG
391 is set
85dea9a9 392
f109ee4a 3930.05999_02 2006-03-10 13:31:37
e9100ff7 394 - remove test dep on YAML
395 - additional speed tweaks for C3
e535069e 396 - allow scalarefs passed to order_by to go straight through to SQL
9b465d00 397 - renamed insert_or_update to update_or_insert (with compat alias)
f43b2744 398 - hidden lots of packages from the PAUSE Indexer
561bd5f6 399
4000.05999_01 2006-03-09 18:31:44
5e8b1b2a 401 - renamed cols attribute to columns (cols still supported)
402 - added has_column_loaded to Row
90ec6cad 403 - Storage::DBI connect_info supports coderef returning dbh as 1st arg
aa972396 404 - load_components() doesn't prepend base when comp. prefixed with +
074a366d 405 - $schema->deploy
406 - HAVING support
407 - prefetch for has_many
eaefb953 408 - cache attr for resultsets
074a366d 409 - PK::Auto::* no longer required since Storage::DBI::* handle auto-inc
0e35aa05 410 - minor tweak to tests for join edge case
411 - added cascade_copy relationship attribute
412 (sponsored by Airspace Software, http://www.airspace.co.uk/)
413 - clean up set_from_related
414 - made copy() automatically null out auto-inc columns
62cb84ec 415 - added txn_do() method to Schema, which allows a coderef to be
416 executed atomically
70ecd5a1 417
975c65b5 4180.05007 2006-02-24 00:59:00
971c0085 419 - tweak to Componentised for Class::C3 0.11
420 - fixes for auto-inc under MSSQL
421
f8d97a01 4220.05006 2006-02-17 15:32:40
423 - storage fix for fork() and workaround for Apache::DBI
fc27a867 424 - made update(\%hash) work on row as well as rs
d3231653 425 - another fix for count with scalar group_by
426 - remove dependency on Module::Find in 40resultsetmanager.t (RT #17598)
4834d8ac 427
d0bb3812 4280.05005 2006-02-13 21:24:51
429 - remove build dependency on version.pm
430
dec2517f 4310.05004 2006-02-13 20:59:00
002a359a 432 - allow specification of related columns via cols attr when primary
f3b05bad 433 keys of the related table are not fetched
434 - fix count for group_by as scalar
f66596f9 435 - add horrific fix to make Oracle's retarded limit syntax work
3b24f6ea 436 - remove Carp require
60283c2e 437 - changed UUIDColumns to use new UUIDMaker classes for uuid creation
438 using whatever module may be available
f66596f9 439
85b4a1c5 4400.05003 2006-02-08 17:50:20
441 - add component_class accessors and use them for *_class
442 - small fixes to Serialize and ResultSetManager
85b4a1c5 443 - rollback on disconnect, and disconnect on DESTROY
85b4a1c5 444
cc6504dc 4450.05002 2006-02-06 12:12:03
446 - Added recommends for Class::Inspector
fac560c2 447 - Added skip_all to t/40resultsetmanager.t if no Class::Inspector
448 available
cc6504dc 449
4500.05001 2006-02-05 15:28:10
6ee299bf 451 - debug output now prints NULL for undef params
887ce227 452 - multi-step prefetch along the same rel (e.g. for trees) now works
489709af 453 - added multi-join (join => [ 'foo', 'foo' ]), aliases second to foo_2
5ec6bc2e 454 - hack PK::Auto::Pg for "table" names referencing a schema
455 - find() with attributes works
5ac6a044 456 - added experimental Serialize and ResultSetManager components
19345968 457 - added code attribute recording to DBIx::Class
5ac6a044 458 - fix to find() for complex resultsets
459 - added of $storage->debugcb(sub { ... })
460 - added $source->resultset_attributes accessor
461 - added include_columns rs attr
462
fc69fea6 4630.05000 2006-02-01 16:48:30
464 - assorted doc fixes
602afcfa 465 - remove ObjectCache, not yet working in 0.05
466 - let many_to_many rels have attrs
467 - fix ID method in PK.pm to be saner for new internals
132f3b89 468 - fix t/30dbicplain.t to use ::Schema instead of
469 Catalyst::Model::DBIC::Plain
cd67f809 470
7a1fe534 4710.04999_06 2006-01-28 21:20:32
de5e2fe9 472 - fix Storage/DBI (tried to load deprecated ::Exception component)
473
4740.04999_05 2006-01-28 20:13:52
00018e9d 475 - count will now work for grouped resultsets
476 - added accessor => option to column_info to specify accessor name
a37a4697 477 - added $schema->populate to load test data (similar to AR fixtures)
5e8b1b2a 478 - removed cdbi-t dependencies, only run tests if installed
479 - Removed DBIx::Class::Exception
480 - unified throw_exception stuff, using Carp::Clan
481 - report query when sth generation fails.
a14d1055 482 - multi-step prefetch!
483 - inheritance fixes
484 - test tweaks
485
09aeebca 4860.04999_04 2006-01-24 21:48:21
487 - more documentation improvements
fac560c2 488 - add columns_info_for for vendor-specific column info (Zbigniew
489 Lukasiak)
490 - add SQL::Translator::Producer for DBIx::Class table classes (Jess
491 Robinson)
09aeebca 492 - add unique constraint declaration (Daniel Westermann-Clark)
493 - add new update_or_create method (Daniel Westermann-Clark)
e46a66f2 494 - rename ResultSetInstance class to ResultSetProxy, ResultSourceInstance
495 to ResultSourceProxy, and TableInstance to ResultSourceProxy::Table
09aeebca 496 - minor fixes to UUIDColumns
6565b410 497 - add debugfh method and ENV magic for tracing SQL (Nigel Metheringham)
09aeebca 498
151fc9ad 4990.04999_03 2006-01-20 06:05:27
09aeebca 500 - imported Jess Robinson's SQL::Translator::Parser::DBIx::Class
fac560c2 501 - lots of internals cleanup to eliminate result_source_instance
502 requirement
8bfc3d48 503 - added register_column and register_relationship class APIs
504 - made Storage::DBI use prepare_cached safely (thanks to Tim Bunce)
505 - many documentation improvements (thanks guys!)
fac560c2 506 - added ->connection, ->connect, ->register_source and ->clone schema
507 methods
5e8b1b2a 508 - Use croak instead of die for user errors.
8bfc3d48 509
9ce9ec10 5100.04999_02 2006-01-14 07:17:35
511 - Schema is now self-contained; no requirement for co-operation
512 - add_relationship, relationships, relationship_info, has_relationship
513 - relationship handling on ResultSource
514 - all table handling now in Table.pm / ResultSource.pm
475978db 515 - added GROUP BY and DISTINCT support
516 - hacked around SQL::Abstract::Limit some more in DBIC::SQL::Abstract
517 (this may have fixed complex quoting)
518 - moved inflation to inflate_result in Row.pm
519 - added $rs->search_related
520 - split compose_namespace out of compose_connection in Schema
fea3d045 521 - ResultSet now handles find
522 - various *_related methods are now ->search_related->*
523 - added new_result to ResultSet
475978db 524
82b1cd1f 5250.04999_01 2005-12-27 03:33:42
526 - search and related methods moved to ResultSet
527 - select and as added to ResultSet attrs
528 - added DBIx::Class::Table and TableInstance for table-per-class
529 - added DBIx::Class::ResultSetInstance which handles proxying
530 search etc. as a superclass of DBIx::Class::DB
531 - assorted test and code cleanup work
532
de5d1955 5330.04001 2005-12-13 22:00:00
47bd0267 534 - Fix so set_inflated_column calls set_column
de5d1955 535 - Syntax errors in relationship classes are now reported
c2074366 536 - Better error detection in set_primary_key and columns methods
537 - Documentation improvements
538 - Better transaction support with txn_* methods
539 - belongs_to now works when $cond is a string
540 - PK::Auto::Pg updated, only tries primary keys instead of all cols
47bd0267 541
5420.04 2005-11-26
484c9dda 543 - Moved get_simple and set_simple into AccessorGroup
544 - Made 'new' die if given invalid columns
103647d5 545 - Added has_column and column_info to Table.pm
546 - Refactored away from direct use of _columns and _primaries
47bd0267 547 - Switched from NEXT to Class::C3
484c9dda 548
2441e56f 5490.03004
550 - Added an || '' to the CDBICompat stringify to avoid null warnings
5e8b1b2a 551 - Updated name section for manual pods
3b44ccc6 5520.03003 2005-11-03 17:00:00
553 - POD fixes.
554 - Changed use to require in Relationship/Base to avoid import.
555
5560.03002 2005-10-20 22:35:00
557 - Minor bugfix to new (Row.pm)
558 - Schema doesn't die if it can't load a class (Schema.pm)
559 - New UUID columns plugin (UUIDColumns.pm)
560 - Documentation improvements.
561
5620.03001 2005-09-23 14:00:00
563 - Fixes to relationship helpers
564 - IMPORTANT: prefetch/schema combination bug fix
565
5660.03 2005-09-19 19:35:00
567 - Paging support
568 - Join support on search
569 - Prefetch support on search
570
5710.02 2005-08-12 18:00:00
572 - Test fixes.
573 - Performance improvements.
574 - Oracle primary key support.
575 - MS-SQL primary key support.
576 - SQL::Abstract::Limit integration for database-agnostic limiting.
577
5780.01 2005-08-08 17:10:00
579 - initial release
fac560c2 580