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