1 Revision history for DBIx::Class
3 0.08006 2007-08-12 15:12:00
4 - Move to using Class::C3::Componentised
5 - Remove warn statement from DBIx::Class::Row
8 - add timestamp fix re rt.cpan 26978 - no test yet but change
9 clearly should cause no regressions
10 - provide alias for related_resultset via local() so it's set
11 correctly at resultset construction time (fixes RestrictWithObject)
12 - fixes bind params in debug statements
13 (original test from abraxxa)
14 - fixed storage->connected fork bug
15 (test and fix from Radu Greab)
16 - add 1; to AccessorGroup.pm for stuff that still uses it
17 - refactor Statistics to create debugging filehandle to fix bug with
18 closed STDERR, update docs and modify Versioned to use Statistics
19 (original fix from diz)
21 0.08004 2007-08-06 19:00:00
22 - fix storage connect code to not trigger bug via auto-viv
24 - fixup cursor_class to be an 'inherited' attr for per-package defaults
25 - add default_resultset_attributes entry to Schema
26 - optimisation in DBI::Cursor to check software_limit before falling
27 back to base Cursor->all
28 - fix bug with create_multi not inserting non-storage objects
29 (test and fix from davinchi)
30 - DBIx::Class::AccessorGroup made empty subclass of
31 Class::Accessor::Grouped
32 - fixed an ugly bug regarding $dbh->{AutoCommit} and transactions
33 - ensure_class_loaded handles non-classnames better.
34 - non-destructive hashref handling for connect_info options
35 - count no longer returns negative values after slice
36 (report and test from JOHANL)
37 - rebless before building datetime_parser
38 (patch from mattlaw / Matt Lawrence)
40 0.08003 2007-07-14 18:01:00
41 - improved populate bulk_insert mode
42 - fixed up multi_create to be more intelligent about PK<->PK rels
43 - fix many-many rels to not use set_columns
44 - Unmarked deploy as experimental since it isn't anymore
45 - Removed Cwd dep since it's not required and causes problems
47 - Patch to fix ? in data for NoBindVars (from Tom Hukins)
48 - Restored mk_classaccessor method for compatibility
49 - Fixed group_by problem with oracle limit syntax
50 - Fixed attr merging problem
51 - Fixed $rs->get_column w/prefetch problem
53 0.08002 2007-06-20 06:10:00
54 - add scope guard to Row::insert to ensure rollback gets called
55 - more heuristics in Row::insert to try and get insert order right
56 - eliminate vestigial code in PK::Auto
57 - more expressive DBI errors
58 - soften errors during deploy
59 - ensure_connected before txn_begin to catch stomping on transaction
61 - new method "rethrow" for our exception objects
63 0.08001 2007-06-17 21:21:02
64 - Cleaned up on_connect handling for versioned
65 - removed DateTime use line from multi_create test
66 - hid DBIx::ContextualFetch::st override in CDBICompat
68 0.08000 2007-06-17 18:06:12
69 - Fixed DBIC_TRACE debug filehandles to set ->autoflush(1)
70 - Fixed circular dbh<->storage in HandleError with weakref
72 0.07999_06 2007-06-13 04:45:00
73 - tweaked Row.pm to make last_insert_id take multiple column names
74 - Fixed DBIC::Storage::DBI::Cursor::DESTROY bug that was
75 messing up exception handling
76 - added exception objects to eliminate stacktrace/Carp::Clan
78 - setting $ENV{DBIC_TRACE} defaults stacktrace on.
79 - added stacktrace option to Schema, makes throw_exception
81 - make database handles use throw_exception by default
82 - make database handles supplied by a coderef use our
83 standard HandleError/RaiseError/PrintError
84 - add "unsafe" connect_info option to suppress our setting
85 of HandleError/RaiseError/PrintError
86 - removed several redundant evals whose sole purpose was to
87 provide extra debugging info
88 - fixed page-within-page bug (reported by nilsonsfj)
89 - fixed rare bug when database is disconnected inbetween
90 "$dbh->prepare_cached" and "$sth->execute"
92 0.07999_05 2007-06-07 23:00:00
93 - Made source_name rw in ResultSource
94 - Fixed up SQL::Translator test/runtime dependencies
95 - Fixed t/60core.t in the absence of DateTime::Format::MySQL
96 - Test cleanup and doc note (ribasushi)
98 0.07999_04 2007-06-01 14:04:00
99 - pulled in Replication storage from branch and marked EXPERIMENTAL
100 - fixup to ensure join always LEFT after first LEFT join depthwise
101 - converted the vendor tests to use schema objects intead of schema
102 classes, made cleaned more reliable with END blocks
103 - versioning support via DBIx::Class::Schema::Versioned
104 - find/next now return undef rather than () on fail from Bernhard Graf
105 - rewritten collapse_result to fix prefetch
106 - moved populate to resultset
107 - added support for creation of related rows via insert and populate
108 - transaction support more robust now in the face of varying AutoCommit
109 and manual txn_begin usage
110 - unbreak back-compat for Row/ResultSet->new_result
111 - Added Oracle/WhereJoins.pm for Oracle >= 8 to support
112 Oracle <= 9i, and provide Oracle with a better join method for
113 later versions. (I use the term better loosely.)
114 - The SQL::T parser class now respects a relationship attribute of
115 is_foreign_key_constrain to allow explicit control over wether or
116 not a foreign constraint is needed
117 - resultset_class/result_class now (again) auto loads the specified
118 class; requires Class::Accessor::Grouped 0.05002+
119 - added get_inflated_columns to Row
120 - %colinfo accessor and inflate_column now work together
121 - More documentation updates
122 - Error messages from ->deploy made more informative
123 - connect_info will now always return the arguments it was
125 - A few small efficiency improvements for load_classes
126 and compose_namespace
128 0.07006 2007-04-17 23:18:00
129 - Lots of documentation updates
130 - deploy now takes an optional 'source_names' parameter (dec)
131 - Quoting for for columns_info_for
132 - RT#25683 fixed (multiple open sths on DBD::Sybase)
133 - CDBI compat infers has_many from has_a (Schwern)
134 - Fix ddl_filename transformation (Carl Vincent)
136 0.07999_02 2007-01-25 20:11:00
137 - add support for binding BYTEA and similar parameters (w/Pg impl)
138 - add support to Ordered for multiple ordering columns
139 - mark DB.pm and compose_connection as deprecated
140 - switch tests to compose_namespace
141 - ResultClass::HashRefInflator added
142 - Changed row and rs objects to not have direct handle to a source,
143 instead a (schema,source_name) tuple of type ResultSourceHandle
145 0.07005 2007-01-10 18:36:00
147 - remove erroneous .orig files - oops
149 0.07004 2007-01-09 21:52:00
150 - fix find_related-based queries to correctly grep the unique key
151 - fix InflateColumn to inflate/deflate all refs but scalar refs
153 0.07003 2006-11-16 11:52:00
154 - fix for rt.cpan.org #22740 (use $^X instead of hardcoded "perl")
155 - Tweaks to resultset to allow inflate_result to return an array
156 - Fix UTF8Columns to work under Perl <= 5.8.0
157 - Fix up new_result in ResultSet to avoid alias-related bugs
158 - Made new/update/find handle 'single' rel accessor correctly
159 - Fix NoBindVars to be safer and handle non-true bind values
160 - Don't blow up if columns_info_for returns useless results
161 - Documentation updates
163 0.07999_01 2006-10-05 21:00:00
164 - add connect_info option "disable_statement_caching"
165 - create insert_bulk using execute_array, populate uses it
166 - added DBIx::Class::Schema::load_namespaces, alternative to
168 - added source_info method for source-level metadata (kinda like
170 - Some of ::Storage::DBI's code/docs moved to ::Storage
171 - DBIx::Class::Schema::txn_do code moved to ::Storage
172 - Storage::DBI now uses exceptions instead of ->ping/->{Active} checks
173 - Storage exceptions are thrown via the schema class's throw_exception
174 - DBIx::Class::Schema::throw_exception's behavior can be modified via
176 - columns_info_for is deprecated, and no longer runs automatically.
177 You can make it work like before via
178 __PACKAGE__->column_info_from_storage(1) for now
179 - Replaced DBIx::Class::AccessorGroup and Class::Data::Accessor with
180 Class::Accessor::Grouped. Only user noticible change is to
181 table_class on ResultSourceProxy::Table (i.e. table objects in
182 schemas) and, resultset_class and result_class in ResultSource.
183 These accessors no longer automatically require the classes when
186 0.07002 2006-09-14 21:17:32
187 - fix quote tests for recent versions of SQLite
188 - added reference implementation of Manual::Example
189 - backported column_info_from_storage accessor from -current, but
190 - fixed inflate_datetime.t tests/stringify under older Test::More
191 - minor fixes for many-to-many relationship helpers
192 - cleared up Relationship docs, and fixed some typos
193 - use ref instead of eval to check limit syntax (to avoid issues with
195 - update ResultSet::_cond_for_update_delete to handle more complicated
197 - bugfix to Oracle columns_info_for
198 - remove_columns now deletes columns from _columns
200 0.07001 2006-08-18 19:55:00
201 - add directory argument to deploy()
202 - support default aliases in many_to_many accessors.
203 - support for relationship attributes in many_to_many accessors.
204 - stop search_rs being destructive to attrs
205 - better error reporting when loading components
206 - UTF8Columns changed to use "utf8" instead of "Encode"
207 - restore automatic aliasing in ResultSet::find() on nonunique queries
208 - allow aliases in ResultSet::find() queries (in cases of relationships
210 - pass $attrs to find from update_or_create so a specific key can be
212 - remove anonymous blesses to avoid major speed hit on Fedora Core 5's
213 Perl and possibly others; for more information see:
214 https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=196836
215 - fix a pathological prefetch case
216 - table case fix for Oracle in columns_info_for
217 - stopped search_rs deleting attributes from passed hash
219 0.07000 2006-07-23 02:30:00
220 - supress warnings for possibly non-unique queries, since
221 _is_unique_query doesn't infer properly in all cases
222 - skip empty queries to eliminate spurious warnings on ->deploy
223 - fixups to ORDER BY, tweaks to deepen some copies in ResultSet
224 - fixup for RowNum limit syntax with functions
226 0.06999_07 2006-07-12 20:58:05
227 - fix issue with from attr copying introduced in last release
229 0.06999_06 2006-07-12 17:16:55
230 - documentation for new storage options, fix S::A::L hanging on to $dbh
231 - substantial refactor of search_related code to fix alias numbering
232 - don't generate partial unique keys in ResultSet::find() when a table
233 has more than one unique constraint which share a column and only one
235 - cleanup UTF8Columns and make more efficient
236 - rename DBIX_CLASS_STORAGE_DBI_DEBUG to DBIC_TRACE (with compat)
237 - rename _parent_rs to _parent_source in ResultSet
240 0.06999_05 2006-07-04 14:40:01
241 - fix issue with incorrect $rs->{attrs}{alias}
242 - fix subclassing issue with source_name
243 - tweak quotes test to output text on failure
244 - fix Schema->txn_do to not fail as a classmethod
246 0.06999_04 2006-06-29 20:18:47
247 - disable cdbi-t/02-Film.t warning tests under AS perl
248 - fixups to MySQL tests (aka "work round mysql being retarded")
249 - compat tweaks for Storage debug logging
251 0.06999_03 2006-06-26 21:04:44
252 - various documentation improvements
253 - fixes to pass test suite on Windows
254 - rewrote and cleaned up SQL::Translator tests
255 - changed relationship helpers to only call ensure_class_loaded when the
256 join condition is inferred
257 - rewrote many_to_many implementation, now provides helpers for adding
258 and deleting objects without dealing with the link table
259 - reworked InflateColumn implementation to lazily deflate where
260 possible; now handles passing an inflated object to new()
261 - changed join merging to not create a rel_2 alias when adding a join
262 that already exists in a parent resultset
263 - Storage::DBI::deployment_statements now calls ensure_connected
264 if it isn't passed a type
265 - fixed Componentized::ensure_class_loaded
266 - InflateColumn::DateTime supports date as well as datetime
267 - split Storage::DBI::MSSQL into MSSQL and Sybase::MSSQL
268 - fixed wrong debugging hook call in Storage::DBI
269 - set connect_info properly before setting any ->sql_maker things
271 0.06999_02 2006-06-09 23:58:33
272 - Fixed up POD::Coverage tests, filled in some POD holes
273 - Added a warning for incorrect component order in load_components
274 - Fixed resultset bugs to do with related searches
275 - added code and tests for Componentized::ensure_class_found and
277 - NoBindVars + Sybase + MSSQL stuff
278 - only rebless S::DBI if it is still S::DBI and not a subclass
279 - Added `use' statement for DBD::Pg in Storage::DBI::Pg
280 - stopped test relying on order of unordered search
281 - bugfix for join-types in nested joins using the from attribute
282 - obscure prefetch problem fixed
283 - tightened up deep search_related
284 - Fixed 'DBIx/Class/DB.pm did not return a true value' error
285 - Revert change to test for deprecated find usage and swallow warnings
286 - Slight wording change to new_related() POD
287 - new specific test for connect_info coderefs
288 - POD clarification and content bugfixing + a few code formatting fixes
289 - POD::Coverage additions
291 - Fix column_info stomping
293 0.06999_01 2006-05-28 17:19:30
294 - add automatic naming of unique constraints
295 - marked DB.pm as deprecated and noted it will be removed by 1.0
296 - add ResultSetColumn
297 - refactor ResultSet code to resolve attrs as late as possible
298 - merge prefetch attrs into join attrs
299 - add +select and +as attributes to ResultSet
300 - added InflateColumn::DateTime component
301 - refactor debugging to allow for profiling using Storage::Statistics
302 - removed Data::UUID from deps, made other optionals required
303 - modified SQLT parser to skip dupe table names
304 - added remove_column(s) to ResultSource/ResultSourceProxy
305 - added add_column alias to ResultSourceProxy
306 - added source_name to ResultSource
307 - load_classes now uses source_name and sets it if necessary
308 - add update_or_create_related to Relationship::Base
309 - add find_or_new to ResultSet/ResultSetProxy and find_or_new_related
310 to Relationship::Base
311 - add accessors for unique constraint names and coulums to
312 ResultSource/ResultSourceProxy
313 - rework ResultSet::find() to search unique constraints
314 - CDBICompat: modify retrieve to fix column casing when ColumnCase is
316 - CDBICompat: override find_or_create to fix column casing when
318 - reorganized and simplified tests
320 - added the ability to set on_connect_do and the various sql_maker
321 options as part of Storage::DBI's connect_info.
323 0.06003 2006-05-19 15:37:30
324 - make find_or_create_related check defined() instead of truth
325 - don't unnecessarily fetch rels for cascade_update
326 - don't set_columns explicitly in update_or_create; instead use
327 update($hashref) so InflateColumn works
328 - fix for has_many prefetch with 0 related rows
329 - make limit error if rows => 0
330 - added memory cycle tests and a long-needed weaken call
332 0.06002 2006-04-20 00:42:41
333 - fix set_from_related to accept undef
334 - fix to Dumper-induced hash iteration bug
335 - fix to copy() with non-composed resultsource
336 - fix to ->search without args to clone rs but maintain cache
337 - grab $self->dbh once per function in Storage::DBI
338 - nuke ResultSource caching of ->resultset for consistency reasons
339 - fix for -and conditions when updating or deleting on a ResultSet
342 - Added fix for quoting with single table
343 - Substantial fixes and improvements to deploy
344 - slice now uses search directly
345 - fixes for update() on resultset
346 - bugfix to Cursor to avoid error during DESTROY
347 - transaction DBI operations now in debug trace output
349 0.06000 2006-03-25 18:03:46
350 - Lots of documentation improvements
351 - Minor tweak to related_resultset to prevent it storing a searched rs
352 - Fixup to columns_info_for when database returns type(size)
353 - Made do_txn respect void context (on the off-chance somebody cares)
354 - Fix exception text for nonexistent key in ResultSet::find()
356 0.05999_04 2006-03-18 19:20:49
357 - Fix for delete on full-table resultsets
358 - Removed caching on count() and added _count for pager()
359 - ->connection does nothing if ->storage defined and no args
360 (and hence ->connect acts like ->clone under the same conditions)
361 - Storage::DBI throws better exception if no connect info
362 - columns_info_for made more robust / informative
363 - ithreads compat added, fork compat improved
364 - weaken result_source in all resultsets
365 - Make pg seq extractor less sensitive.
367 0.05999_03 2006-03-14 01:58:10
368 - has_many prefetch fixes
369 - deploy now adds drop statements before creates
370 - deploy outputs debugging statements if DBIX_CLASS_STORAGE_DBI_DEBUG
373 0.05999_02 2006-03-10 13:31:37
374 - remove test dep on YAML
375 - additional speed tweaks for C3
376 - allow scalarefs passed to order_by to go straight through to SQL
377 - renamed insert_or_update to update_or_insert (with compat alias)
378 - hidden lots of packages from the PAUSE Indexer
380 0.05999_01 2006-03-09 18:31:44
381 - renamed cols attribute to columns (cols still supported)
382 - added has_column_loaded to Row
383 - Storage::DBI connect_info supports coderef returning dbh as 1st arg
384 - load_components() doesn't prepend base when comp. prefixed with +
387 - prefetch for has_many
388 - cache attr for resultsets
389 - PK::Auto::* no longer required since Storage::DBI::* handle auto-inc
390 - minor tweak to tests for join edge case
391 - added cascade_copy relationship attribute
392 (sponsored by Airspace Software, http://www.airspace.co.uk/)
393 - clean up set_from_related
394 - made copy() automatically null out auto-inc columns
395 - added txn_do() method to Schema, which allows a coderef to be
398 0.05007 2006-02-24 00:59:00
399 - tweak to Componentised for Class::C3 0.11
400 - fixes for auto-inc under MSSQL
402 0.05006 2006-02-17 15:32:40
403 - storage fix for fork() and workaround for Apache::DBI
404 - made update(\%hash) work on row as well as rs
405 - another fix for count with scalar group_by
406 - remove dependency on Module::Find in 40resultsetmanager.t (RT #17598)
408 0.05005 2006-02-13 21:24:51
409 - remove build dependency on version.pm
411 0.05004 2006-02-13 20:59:00
412 - allow specification of related columns via cols attr when primary
413 keys of the related table are not fetched
414 - fix count for group_by as scalar
415 - add horrific fix to make Oracle's retarded limit syntax work
416 - remove Carp require
417 - changed UUIDColumns to use new UUIDMaker classes for uuid creation
418 using whatever module may be available
420 0.05003 2006-02-08 17:50:20
421 - add component_class accessors and use them for *_class
422 - small fixes to Serialize and ResultSetManager
423 - rollback on disconnect, and disconnect on DESTROY
425 0.05002 2006-02-06 12:12:03
426 - Added recommends for Class::Inspector
427 - Added skip_all to t/40resultsetmanager.t if no Class::Inspector
430 0.05001 2006-02-05 15:28:10
431 - debug output now prints NULL for undef params
432 - multi-step prefetch along the same rel (e.g. for trees) now works
433 - added multi-join (join => [ 'foo', 'foo' ]), aliases second to foo_2
434 - hack PK::Auto::Pg for "table" names referencing a schema
435 - find() with attributes works
436 - added experimental Serialize and ResultSetManager components
437 - added code attribute recording to DBIx::Class
438 - fix to find() for complex resultsets
439 - added of $storage->debugcb(sub { ... })
440 - added $source->resultset_attributes accessor
441 - added include_columns rs attr
443 0.05000 2006-02-01 16:48:30
445 - remove ObjectCache, not yet working in 0.05
446 - let many_to_many rels have attrs
447 - fix ID method in PK.pm to be saner for new internals
448 - fix t/30dbicplain.t to use ::Schema instead of
449 Catalyst::Model::DBIC::Plain
451 0.04999_06 2006-01-28 21:20:32
452 - fix Storage/DBI (tried to load deprecated ::Exception component)
454 0.04999_05 2006-01-28 20:13:52
455 - count will now work for grouped resultsets
456 - added accessor => option to column_info to specify accessor name
457 - added $schema->populate to load test data (similar to AR fixtures)
458 - removed cdbi-t dependencies, only run tests if installed
459 - Removed DBIx::Class::Exception
460 - unified throw_exception stuff, using Carp::Clan
461 - report query when sth generation fails.
462 - multi-step prefetch!
466 0.04999_04 2006-01-24 21:48:21
467 - more documentation improvements
468 - add columns_info_for for vendor-specific column info (Zbigniew
470 - add SQL::Translator::Producer for DBIx::Class table classes (Jess
472 - add unique constraint declaration (Daniel Westermann-Clark)
473 - add new update_or_create method (Daniel Westermann-Clark)
474 - rename ResultSetInstance class to ResultSetProxy, ResultSourceInstance
475 to ResultSourceProxy, and TableInstance to ResultSourceProxy::Table
476 - minor fixes to UUIDColumns
477 - add debugfh method and ENV magic for tracing SQL (Nigel Metheringham)
479 0.04999_03 2006-01-20 06:05:27
480 - imported Jess Robinson's SQL::Translator::Parser::DBIx::Class
481 - lots of internals cleanup to eliminate result_source_instance
483 - added register_column and register_relationship class APIs
484 - made Storage::DBI use prepare_cached safely (thanks to Tim Bunce)
485 - many documentation improvements (thanks guys!)
486 - added ->connection, ->connect, ->register_source and ->clone schema
488 - Use croak instead of die for user errors.
490 0.04999_02 2006-01-14 07:17:35
491 - Schema is now self-contained; no requirement for co-operation
492 - add_relationship, relationships, relationship_info, has_relationship
493 - relationship handling on ResultSource
494 - all table handling now in Table.pm / ResultSource.pm
495 - added GROUP BY and DISTINCT support
496 - hacked around SQL::Abstract::Limit some more in DBIC::SQL::Abstract
497 (this may have fixed complex quoting)
498 - moved inflation to inflate_result in Row.pm
499 - added $rs->search_related
500 - split compose_namespace out of compose_connection in Schema
501 - ResultSet now handles find
502 - various *_related methods are now ->search_related->*
503 - added new_result to ResultSet
505 0.04999_01 2005-12-27 03:33:42
506 - search and related methods moved to ResultSet
507 - select and as added to ResultSet attrs
508 - added DBIx::Class::Table and TableInstance for table-per-class
509 - added DBIx::Class::ResultSetInstance which handles proxying
510 search etc. as a superclass of DBIx::Class::DB
511 - assorted test and code cleanup work
513 0.04001 2005-12-13 22:00:00
514 - Fix so set_inflated_column calls set_column
515 - Syntax errors in relationship classes are now reported
516 - Better error detection in set_primary_key and columns methods
517 - Documentation improvements
518 - Better transaction support with txn_* methods
519 - belongs_to now works when $cond is a string
520 - PK::Auto::Pg updated, only tries primary keys instead of all cols
523 - Moved get_simple and set_simple into AccessorGroup
524 - Made 'new' die if given invalid columns
525 - Added has_column and column_info to Table.pm
526 - Refactored away from direct use of _columns and _primaries
527 - Switched from NEXT to Class::C3
530 - Added an || '' to the CDBICompat stringify to avoid null warnings
531 - Updated name section for manual pods
532 0.03003 2005-11-03 17:00:00
534 - Changed use to require in Relationship/Base to avoid import.
536 0.03002 2005-10-20 22:35:00
537 - Minor bugfix to new (Row.pm)
538 - Schema doesn't die if it can't load a class (Schema.pm)
539 - New UUID columns plugin (UUIDColumns.pm)
540 - Documentation improvements.
542 0.03001 2005-09-23 14:00:00
543 - Fixes to relationship helpers
544 - IMPORTANT: prefetch/schema combination bug fix
546 0.03 2005-09-19 19:35:00
548 - Join support on search
549 - Prefetch support on search
551 0.02 2005-08-12 18:00:00
553 - Performance improvements.
554 - Oracle primary key support.
555 - MS-SQL primary key support.
556 - SQL::Abstract::Limit integration for database-agnostic limiting.
558 0.01 2005-08-08 17:10:00