1 Revision history for DBIx::Class
3 - Make sure possibly overwritten deployment_statements methods in
4 schemas get called on $schema->deploy
5 - Fix count() with group_by aliased-function resultsets
6 - Massive refactor and cleanup of primary key handling
7 - Fixed regression losing custom result_class (really this time)
9 0.08119 2010-02-15 09:36:00 (UTC)
10 - Add $rs->is_ordered to test for existing order_by on a resultset
11 - Add as_subselect_rs to DBIC::ResultSet from
12 DBIC::Helper::ResultSet::VirtualView::as_virtual_view
13 - Refactor dbicadmin adding DDL manipulation capabilities
14 - New optional dependency manager to aid extension writers
15 - Depend on newest bugfixed Moose
16 - Make resultset chaining consistent wrt selection specification
17 - Storage::DBI::Replicated cleanup
18 - Fix autoinc PKs without an autoinc flag on Sybase ASA
20 0.08118 2010-02-08 11:53:00 (UTC)
21 - Fix a bug causing UTF8 columns not to be decoded (RT#54395)
22 - Fix bug in One->Many->One prefetch-collapse handling (RT#54039)
23 - Cleanup handling of relationship accessor types
25 0.08117 2010-02-05 17:10:00 (UTC)
26 - Perl 5.8.1 is now the minimum supported version
27 - Massive optimization of the join resolution code - now joins
28 will be removed from the resulting SQL if DBIC can prove they
29 are not referenced by anything
30 - Subqueries no longer marked experimental
31 - Support for Informix RDBMS (limit/offset and auto-inc columns)
32 - Support for Sybase SQLAnywhere, both native and via ODBC
33 - might_have/has_one now warn if applied calling class's column
34 has is_nullable set to true.
35 - Fixed regression in deploy() with a {sources} table limit applied
37 - Views without a view_definition will throw an exception when
38 parsed by SQL::Translator::Parser::DBIx::Class
39 - Stop the SQLT parser from auto-adding indexes identical to the
41 - InflateColumn::DateTime refactoring to allow fine grained method
43 - Fix ResultSetColumn improperly selecting more than the requested
44 column when +columns/+select is present
45 - Fix failure when update/delete of resultsets with complex WHERE
47 - Fix regression in context sensitiveness of deployment_statements
48 - Fix regression resulting in overcomplicated query on
49 search_related from prefetching resultsets
50 - Fix regression on all-null returning searches (properly switch
51 LEFT JOIN to JOIN in order to distinguish between both cases)
52 - Fix regression in groupedresultset count() used on strict-mode
54 - Better isolation of RNO-limited queries from the rest of a
56 - New MSSQL specific resultset attribute to allow hacky ordered
58 - Fix nasty schema/dbhandle leak due to SQL::Translator
59 - Initial implementation of a mechanism for Schema::Version to
60 apply multiple step upgrades
61 - Fix regression on externally supplied $dbh with AutoCommit=0
62 - FAQ "Custom methods in Result classes"
63 - Cookbook POD fix for add_drop_table instead of add_drop_tables
64 - Schema POD improvement for dclone
66 0.08115 2009-12-10 09:02:00 (CST)
67 - Real limit/offset support for MSSQL server (via Row_Number)
68 - Fix distinct => 1 with non-selecting order_by (the columns
69 in order_by also need to be aded to the resulting group_by)
70 - Do not attempt to deploy FK constraints pointing to a View
71 - Fix count/objects from search_related on limited resultset
72 - Stop propagating distinct => 1 over search_related chains
73 - Make sure populate() inherits the resultset conditions just
75 - Make get_inflated_columns behave identically to get_columns
76 wrt +select/+as (RT#46953)
77 - Fix problems with scalarrefs under InflateColumn (RT#51559)
78 - Throw exception on delete/update of PK-less resultsets
79 - Refactored Sybase storage driver into a central ::DBI::Sybase
80 dispatcher, and a sybase-specific ::DBI::Sybase::ASE
81 - Fixed an atrocious DBD::ADO bind-value bug
82 - Cookbook/Intro POD improvements
84 0.08114 2009-11-14 17:45:00 (UTC)
85 - Preliminary support for MSSQL via DBD::ADO
86 - Fix botched 0.08113 release (invalid tarball)
88 0.08113 2009-11-13 23:13:00 (UTC)
89 - Fix populate with has_many bug
91 - Fix Oracle autoincrement broken for Resultsets with scalar refs
93 - Complete Sybase RDBMS support including:
94 - Support for TEXT/IMAGE columns
95 - Support for the 'money' datatype
96 - Transaction savepoints support
97 - DateTime inflation support
98 - Support for bind variables when connecting to a newer Sybase with
100 - Support for connections via FreeTDS with CASTs for bind variables
102 - Support for interpolated variables with proper quoting when
103 connecting to an older Sybase and/or via FreeTDS
104 - bulk API support for populate()
105 - Transaction support for MSSQL via DBD::Sybase
106 - Add is_paged method to DBIx::Class::ResultSet so that we can
107 check that if we want a pager
108 - Skip versioning test on really old perls lacking Time::HiRes
110 - Fixed on_connect_do/call regression when used with a coderef
111 connector (RT #50003)
112 - A couple of fixes to Ordered to remedy subclassing issues
113 - Fixed another lingering problem with PostgreSQL
114 auto-increment support and its interaction with multiple
116 - Remove some IN workarounds, and require a recent version of
118 - Improvements to populate's handling of mixed scalarref values
119 - Fixed regression losing result_class after $rs->find (introduced
121 - Fix in_storage() to return 1|0 as per existing documentation
122 - Centralize handling of _determine_driver calls prior to certain
123 ::Storage::DBI methods
124 - Fix update/delete arbitrary condition handling (RT#51409)
127 0.08112 2009-09-21 10:57:00 (UTC)
128 - Remove the recommends from Makefile.PL, DBIx::Class is not
129 supposed to have optional dependencies. ever.
130 - Mangle the DBIx/Class.pm POD to be more clear about
131 copyright and license
132 - Put back PG's multiple autoinc per table support, accidentally
133 dropped during the serial-autodetection rewrite
134 - Make sure ResultSetColumn does not depend on the (undefined)
135 return value of ->cursor->reset()
136 - Add single() to ResultSetColumn (same semantics as ResultSet)
137 - Make sure to turn off IDENTITY_INSERT after insert() on MSSQL
138 tables that needed it
139 - More informative exception on failing _resolve_relationship
140 - Allow undef/NULL as the sole grouping value in Ordered
141 - Fix unreported rollback exceptions in TxnScopeGuard
142 - Fix overly-eager left-join chain enforcing code
143 - Warn about using distinct with an existing group_by
144 - Warn about attempting to $rs->get_column a non-unique column
145 when has_many joins are added to resultset
146 - Refactor of the exception handling system (now everything is a
147 DBIx::Class::Exception object)
149 0.08111 2009-09-06 21:58:00 (UTC)
150 - The hashref to connection_info now accepts a 'dbh_maker'
151 coderef, allowing better intergration with Catalyst
152 - Fixed a complex prefetch + regular join regression introduced
154 - Fixed insert_bulk rebless handling
155 - Fixed Storable roundtrip regression, and general serialization
157 - SQLT related fixes:
158 - sqlt_type is now called on the correct storage object
159 - hooks can now see the correct producer_type (RT#47891)
160 - optional SQLT requirements for e.g. deploy() bumped to 0.11002
161 - Really fixed (and greatly cleaned up) postgresql autoinc sequence
163 - Automatically detect MySQL v3 and use INNER JOIN instead of JOIN
164 - POD improvements (including RT#48769)
165 - Test suite tweaks (including fixes for recent CPANTS fails)
166 - Better support for MSSQL IDENTITY_INSERT ON
168 0.08109 2009-08-18 08:35:00 (UTC)
169 - Replication updates:
170 - Improved the replication tests so that they are more reliable
171 and accurate, and hopefully solve some cross platform issues.
172 - Bugfixes related to naming particular replicants in a
173 'force_pool' attribute.
174 - Lots of documentation updates, including a new Introduction.pod
176 - Fixed the way we detect transaction to make this more reliable
178 - Fixed some trouble with the way Moose Types are used.
179 - Made discard_chages/get_from_storage replication aware (they
180 now read from the master storage by default)
181 - Refactor of MSSQL storage drivers, with some new features:
182 - Support for placeholders for MSSQL via DBD::Sybase with proper
184 - 'uniqueidentifier' support with auto newid()
185 - Dynamic cursor support and other MARS options for ODBC
186 - savepoints with auto_savepoint => 1
187 - Support for MSSQL 'money' type
188 - Support for 'smalldatetime' type used in MSSQL and Sybase for
189 InflateColumn::DateTime
190 - Support for Postgres 'timestamp without timezone' type in
191 InflateColumn::DateTime (RT#48389)
192 - Added new MySQL specific on_connect_call macro 'set_strict_mode'
193 (also known as make_mysql_not_suck_as_much)
194 - Multiple prefetch-related fixes:
195 - Adjust overly agressive subquery join-chain pruning
196 - Always preserve the outer join-chain - fixes numerous
197 problems with search_related chaining
198 - Deal with the distinct => 1 attribute properly when using
200 - An extension of the select-hashref syntax, allowing labeling
201 SQL-side aliasing: select => [ { max => 'foo', -as => 'bar' } ]
202 - Massive optimization of the DBI storage layer - reduce the
203 amount of connected() ping-calls
204 - Some fixes of multi-create corner cases
205 - Multiple POD improvements
206 - Added exception when resultset is called without an argument
207 - Improved support for non-schema-qualified tables under
208 Postgres (fixed last_insert_id sequence name auto-detection)
210 0.08108 2009-07-05 23:15:00 (UTC)
211 - Fixed the has_many prefetch with limit/group deficiency -
212 it is now possible to select "top 5 commenters" while
213 prefetching all their comments
214 - New resultsed method count_rs, returns a ::ResultSetColumn
215 which in turn returns a single count value
216 - Even better support of count with limit
217 - New on_connect_call/on_disconnect_call functionality (check
219 - Automatic datetime handling environment/session setup for
220 Oracle via connect_call_datetime_setup()
221 - count/all on related left-joined empty resultsets now correctly
223 - Fixed regression when both page and offset are specified on
225 - Fixed HRI returning too many empty results on multilevel
227 - make_column_dirty() now overwrites the deflated value with an
228 inflated one if such exists
229 - Fixed set_$rel with where restriction deleting rows outside
231 - populate() returns the created objects or an arrayref of the
232 created objects depending on scalar vs. list context
233 - Fixed find_related on 'single' relationships - the former
234 implementation would overspecify the WHERE condition, reporting
235 no related objects when there in fact is one
236 - SQL::Translator::Parser::DBIx::Class now attaches tables to the
237 central schema object in relationship dependency order
238 - Fixed regression in set_column() preventing sourceless object
240 - Fixed a bug in search_related doubling a join if the original
241 $rs already joins/prefetches the same relation
242 - Storage::DBI::connected() improvements for Oracle and Sybase
243 - Fixed prefetch+incomplete select regression introduced in
245 - MSSQL limit (TOP emulation) fixes and improvements
247 0.08107 2009-06-14 08:21:00 (UTC)
248 - Fix serialization regression introduced in 0.08103 (affects
251 - Fixed incomplete ::Replicated debug output
253 0.08106 2009-06-11 21:42:00 (UTC)
254 - Switched SQLite storage driver to DateTime::Format::SQLite
255 (proper timezone handling)
256 - Fix more test problems
258 0.08105 2009-06-11 19:04:00 (UTC)
259 - Update of numeric columns now properly uses != to determine
260 dirtyness instead of the usual eq
261 - Fixes to IC::DT tests
262 - Fixed exception when undef_if_invalid and timezone are both set
263 on an invalid datetime column
265 0.08104 2009-06-10 13:38:00 (UTC)
266 - order_by now can take \[$sql, @bind] as in
267 order_by => { -desc => \['colA LIKE ?', 'somestring'] }
268 - SQL::Abstract errors are now properly croak()ed with the
270 - populate() now properly reports the dataset slice in case of
272 - Fixed corner case when populate() erroneously falls back to
274 - Work around braindead mysql when doing subquery counts on
275 resultsets containing identically named columns from several
277 - Fixed m2m add_to_$rel to invoke find_or_create on the far
278 side of the relation, to avoid duplicates
279 - DBIC now properly handles empty inserts (invoking all default
280 values from the DB, normally via INSERT INTO tbl DEFAULT VALUES
281 - Fix find_or_new/create to stop returning random rows when
282 default value insert is requested (RT#28875)
283 - Make IC::DT extra warning state the column name too
284 - It is now possible to transparrently search() on columns
285 requiring DBI bind (i.e. PostgreSQL BLOB)
286 - as_query is now a Storage::DBI method, so custom cursors can
288 - Fix search_related regression introduced in 0.08103
290 0.08103 2009-05-26 19:50:00 (UTC)
291 - Multiple $resultset -> count/update/delete fixes. Now any
292 of these operations will succeed, regardless of the complexity
293 of $resultset. distinct, group_by, join, prefetch are all
294 supported with expected results
295 - Return value of $rs->delete is now the storage return value
296 and not 1 as it used to be
297 - don't pass SQL functions into GROUP BY
298 - Remove MultiDistinctEmulation.pm, effectively deprecating
299 { select => { distinct => [ qw/col1 col2/ ] } }
300 - Change ->count code to work correctly with DISTINCT (distinct => 1)
302 - Removed interpolation of bind vars for as_query - placeholders
303 are preserved and nested query bind variables are properly
304 merged in the correct order
305 - Refactor DBIx::Class::Storage::DBI::Sybase to automatically
306 load a subclass, namely Microsoft_SQL_Server.pm
307 (similar to DBIx::Class::Storage::DBI::ODBC)
308 - Refactor InflateColumn::DateTime to allow components to
309 circumvent DateTime parsing
310 - Support inflation of timestamp datatype
311 - Support BLOB and CLOB datatypes on Oracle
312 - Storage::DBI::Replicated::Balancer::Random:
313 added master_read_weight
314 - Storage::DBI::Replicated: storage opts from connect_info,
315 connect_info merging to replicants, hashref connect_info support,
316 improved trace output, other bug fixes/cleanups
317 - distinct => 1 with prefetch now groups by all columns
318 - on_connect_do accepts a single string equivalent to a one
319 element arrayref (RT#45159)
320 - DB2 limit + offset now works correctly
321 - Sybase now supports autoinc PKs (RT#40265)
322 - Prefetch on joins over duplicate relations now works
324 - "timestamp with time zone" columns (for Pg) now get inflated with a
325 time zone information preserved
326 - MSSQL Top limit-emulation improvements (GROUP BY and subquery support)
327 - ResultSetColumn will not lose the joins infered from a parent
330 0.08102 2009-04-30 08:29:00 (UTC)
331 - Fixed two subtle bugs when using columns or select/as
332 paired with a join (limited prefetch)
333 - Fixed breakage of cdbi tests (RT#45551)
334 - Some POD improvements
336 0.08101 2009-04-27 09:45:00 (UTC)
337 - Fix +select, +as, +columns and include_columns being stripped
339 - move load_optional_class from DBIx::Class::Componentised to
340 Class::C3::Componentised, bump dependency
341 - register_extra_source() now *really* fixed wrt subclassing
342 - Added missing POD descriptions (RT#45195)
343 - Fix insert() to not store_column() every present object column
344 - Multiple Makefile.PL fixes
346 0.08100 2009-04-19 11:39:35 (UTC)
347 - Todo out the register_extra_source test until after shipping
349 0.08099_08 2009-03-30 00:00:00 (UTC)
350 - Fixed taint mode with load_namespaces
351 - Putting IC::DateTime locale, timezone or floating_tz_ok attributes into
352 extra => {} has been deprecated. The new way is to put these things
353 directly into the columns definition
354 - Switched MI code to MRO::Compat
355 - Document db-side default_value caveats
356 - Search_like() now warns to indicate deprecation in 0.09.
357 - TxnScopeGuard left experimental state
359 0.08099_07 2009-02-27 02:00:00 (UTC)
360 - multi-create using find_or_create rather than _related for post-insert
361 - fix get_inflated_columns to check has_column_loaded
362 - Add DBIC_MULTICREATE_DEBUG env var (undocumented, quasi-internal)
363 - Fix up multi-create to:
364 - correctly propagate columns loaded during multi-insert of rels
365 - not try and insert things tagged on via new_related unless required
366 - Possible to set locale in IC::DateTime extra => {} config
367 - Calling the accessor of a belongs_to when the foreign_key
368 was NULL and the row was not stored would unexpectedly fail
369 - Split sql statements for deploy only if SQLT::Producer returned a scalar
370 containing all statements to be executed
371 - Add as_query() for ResultSet and ResultSetColumn. This makes subqueries
372 possible. See the Cookbook for details.
373 - Massive rewrite of Ordered to properly handle position constraints and
374 to make it more matpath-friendly
375 - deploy_statements called ddl_filename with the $version and $dir arguments
377 - columns/+columns attributes now support { as => select } hahsrefs
378 - support for views both in DBIC and via deploy() in SQLT
380 0.08099_06 2009-01-23 07:30:00 (UTC)
381 - Allow a scalarref to be supplied to the 'from' resultset attribute
382 - Classes submitted as result_class for a resultsource are now
383 automatically loaded via ensure_loaded()
384 - 'result_class' resultset attribute, identical to result_class()
385 - add 'undef_on_null_fk' option for relationship accessors of type 'single'.
386 This will prevent DBIC from querying the database if one or more of
387 the key columns IS NULL
388 - for 'belongs_to' rels, 'undef_on_null_fk' defaults to true.
389 - fixed scope unaware last_insert_id fetching for MSSQL
390 (http://msdn.microsoft.com/en-us/library/ms190315.aspx)
391 - an sqlt_deploy_hook can now be shared between result sources using
392 a configurable callback trigger
393 - new order_by => { -desc => 'colname' } syntax supported
394 - PG array datatype supported
395 - insert should use store_column, not set_column to avoid marking
396 clean just-stored values as dirty. New test for this
397 - regression test for source_name
399 0.08099_05 2008-10-30 21:30:00 (UTC)
400 - Rewrite of Storage::DBI::connect_info(), extended with an
401 additional argument format type
402 - InflateColumn::DateTime: add warning about floating timezone
403 - InflateColumn::DateTime: possible to enforce/skip inflation
404 - delete throws exception if passed arguments to prevent drunken mishaps.
405 - Fix storage to copy scalar conds before regexping to avoid
406 trying to modify a constant in odd edge cases
407 - Related resultsets on uninserted objects are now empty
408 - Fixed up related resultsets and multi-create
409 - Fixed superfluous connection in ODBC::_rebless
410 - Fixed undef PK for first insert in ODBC::Microsoft_SQL_Server
411 - Added virtual method to Versioned so a user can create upgrade
412 path across multiple versions (jgoulah)
413 - Better (and marginally faster) implementation of the HashRefInflator
414 hash construction algorithm
415 - Allow explicit specification of ON DELETE/ON UPDATE constraints
416 when using the SQLT parser
418 0.08099_04 2008-07-24 01:00:00
419 - Functionality to storage to enable a sub to be run without FK checks
420 - Fixed $schema->clone bug which caused clone and source to share
422 - Added register_extra_source methods for additional sources
423 - Added datetime_undef_if_invalid for InflateColumn::DateTime to
424 return undef on invalid date/time values
425 - Added search_related_rs method to ResultSet
426 - add a make_column_dirty method to Row to force updates
427 - throw a clear exception when user tries multi-has_many prefetch
428 - SQLT parser prefixes index names with ${table}_idx_ to avoid clashes
429 - mark ResultSetManager as deprecated and undocument it
430 - pod fix (RT #32988)
431 - add Test::Exception to test requirements (RT #34256)
432 - make ash's build_requires/META.yml fixes work better
433 - is_deferable support on relations used by the SQL::Translator
435 - Refactored DBIx::Class::Schema::Versioned
436 - Syntax errors from resultset components are now reported correctly
437 - sqltargs respected correctly in deploy et al.
438 - Added support for savepoints, and using them automatically in
439 nested transactions if auto_savepoint is set in connect_info.
440 - Changed naming scheme for constraints and keys in the sqlt parser;
441 names should now be consistent and collision-free.
442 - Improve handling of explicit key attr in ResultSet::find
443 - Add warnings for non-unique ResultSet::find queries
444 - Changed Storage::DBI::Replication to Storage::DBI::Replicated and
446 - By default now deploy/diff et al. will ignore constraint and index
448 - Add ResultSet::_is_deterministic_value, make new_result filter the
449 values passed to new to drop values that would generate invalid SQL.
450 - Use Sub::Name to name closures before installing them. Fixes
451 incompatibility with Moose method modifiers on generated methods.
453 0.08010 2008-03-01 10:30
454 - Fix t/94versioning.t so it passes with latest SQL::Translator
456 0.08009 2008-01-20 13:30
457 - Made search_rs smarter about when to preserve the cache to fix
459 - Added Storage::DBI subclass for MSSQL over ODBC.
460 - Added freeze, thaw and dclone methods to Schema so that thawed
461 objects will get re-attached to the schema.
462 - Moved dbicadmin to JSON::Any wrapped JSON.pm for a sane API
463 (also fixes RT #32393)
464 - introduced DBIx::Class::set_inflated_columns
465 - DBIx::Class::Row::copy uses set_inflated_columns
467 0.08008 2007-11-16 14:30:00
468 - Fixed join merging bug (test from Zby)
469 - When adding relationships, it will throw an exception if you get the
470 foreign and self parts the wrong way round in the condition
471 - ResultSetColumn::func() now returns all results if called in list
472 context; this makes things like func('DISTINCT') work as expected
473 - Many-to-many relationships now warn if the utility methods would
475 - InflateColumn::DateTime now accepts an extra parameter of timezone
476 to set timezone on the DT object (thanks Sergio Salvi)
477 - Added sqlt_deploy_hook to result classes so that indexes can be
479 - Added startup checks to warn loudly if we appear to be running on
480 RedHat systems from perl-5.8.8-10 and up that have the bless/overload
481 patch applied (badly) which causes 2x -> 100x performance penalty.
483 - ResultSource::reverse_relationship_info can distinguish between
484 sources using the same table
485 - Row::insert will now not fall over if passed duplicate related objects
486 - Row::copy will not fall over if you have two relationships to the
487 same source with a unique constraint on it
489 0.08007 2007-09-04 19:36:00
490 - patch for Oracle datetime inflation (abram@arin.net)
491 - added on_disconnect_do
492 - on_connect_do and on_disconnect_do take coderefs and arrayrefs
494 0.08006 2007-08-12 15:12:00
495 - Move to using Class::C3::Componentised
496 - Remove warn statement from DBIx::Class::Row
499 - add timestamp fix re rt.cpan 26978 - no test yet but change
500 clearly should cause no regressions
501 - provide alias for related_resultset via local() so it's set
502 correctly at resultset construction time (fixes RestrictWithObject)
503 - fixes bind params in debug statements
504 (original test from abraxxa)
505 - fixed storage->connected fork bug
506 (test and fix from Radu Greab)
507 - add 1; to AccessorGroup.pm for stuff that still uses it
508 - refactor Statistics to create debugging filehandle to fix bug with
509 closed STDERR, update docs and modify Versioned to use Statistics
510 (original fix from diz)
512 0.08004 2007-08-06 19:00:00
513 - fix storage connect code to not trigger bug via auto-viv
515 - fixup cursor_class to be an 'inherited' attr for per-package defaults
516 - add default_resultset_attributes entry to Schema
517 - optimisation in DBI::Cursor to check software_limit before falling
518 back to base Cursor->all
519 - fix bug with create_multi not inserting non-storage objects
520 (test and fix from davinchi)
521 - DBIx::Class::AccessorGroup made empty subclass of
522 Class::Accessor::Grouped
523 - fixed an ugly bug regarding $dbh->{AutoCommit} and transactions
524 - ensure_class_loaded handles non-classnames better.
525 - non-destructive hashref handling for connect_info options
526 - count no longer returns negative values after slice
527 (report and test from JOHANL)
528 - rebless before building datetime_parser
529 (patch from mattlaw / Matt Lawrence)
531 0.08003 2007-07-14 18:01:00
532 - improved populate bulk_insert mode
533 - fixed up multi_create to be more intelligent about PK<->PK rels
534 - fix many-many rels to not use set_columns
535 - Unmarked deploy as experimental since it isn't anymore
536 - Removed Cwd dep since it's not required and causes problems
537 with debian packaging
538 - Patch to fix ? in data for NoBindVars (from Tom Hukins)
539 - Restored mk_classaccessor method for compatibility
540 - Fixed group_by problem with oracle limit syntax
541 - Fixed attr merging problem
542 - Fixed $rs->get_column w/prefetch problem
544 0.08002 2007-06-20 06:10:00
545 - add scope guard to Row::insert to ensure rollback gets called
546 - more heuristics in Row::insert to try and get insert order right
547 - eliminate vestigial code in PK::Auto
548 - more expressive DBI errors
549 - soften errors during deploy
550 - ensure_connected before txn_begin to catch stomping on transaction
552 - new method "rethrow" for our exception objects
554 0.08001 2007-06-17 21:21:02
555 - Cleaned up on_connect handling for versioned
556 - removed DateTime use line from multi_create test
557 - hid DBIx::ContextualFetch::st override in CDBICompat
559 0.08000 2007-06-17 18:06:12
560 - Fixed DBIC_TRACE debug filehandles to set ->autoflush(1)
561 - Fixed circular dbh<->storage in HandleError with weakref
563 0.07999_06 2007-06-13 04:45:00
564 - tweaked Row.pm to make last_insert_id take multiple column names
565 - Fixed DBIC::Storage::DBI::Cursor::DESTROY bug that was
566 messing up exception handling
567 - added exception objects to eliminate stacktrace/Carp::Clan
569 - setting $ENV{DBIC_TRACE} defaults stacktrace on.
570 - added stacktrace option to Schema, makes throw_exception
572 - make database handles use throw_exception by default
573 - make database handles supplied by a coderef use our
574 standard HandleError/RaiseError/PrintError
575 - add "unsafe" connect_info option to suppress our setting
576 of HandleError/RaiseError/PrintError
577 - removed several redundant evals whose sole purpose was to
578 provide extra debugging info
579 - fixed page-within-page bug (reported by nilsonsfj)
580 - fixed rare bug when database is disconnected inbetween
581 "$dbh->prepare_cached" and "$sth->execute"
583 0.07999_05 2007-06-07 23:00:00
584 - Made source_name rw in ResultSource
585 - Fixed up SQL::Translator test/runtime dependencies
586 - Fixed t/60core.t in the absence of DateTime::Format::MySQL
587 - Test cleanup and doc note (ribasushi)
589 0.07999_04 2007-06-01 14:04:00
590 - pulled in Replication storage from branch and marked EXPERIMENTAL
591 - fixup to ensure join always LEFT after first LEFT join depthwise
592 - converted the vendor tests to use schema objects intead of schema
593 classes, made cleaned more reliable with END blocks
594 - versioning support via DBIx::Class::Schema::Versioned
595 - find/next now return undef rather than () on fail from Bernhard Graf
596 - rewritten collapse_result to fix prefetch
597 - moved populate to resultset
598 - added support for creation of related rows via insert and populate
599 - transaction support more robust now in the face of varying AutoCommit
600 and manual txn_begin usage
601 - unbreak back-compat for Row/ResultSet->new_result
602 - Added Oracle/WhereJoins.pm for Oracle >= 8 to support
603 Oracle <= 9i, and provide Oracle with a better join method for
604 later versions. (I use the term better loosely.)
605 - The SQL::T parser class now respects a relationship attribute of
606 is_foreign_key_constrain to allow explicit control over wether or
607 not a foreign constraint is needed
608 - resultset_class/result_class now (again) auto loads the specified
609 class; requires Class::Accessor::Grouped 0.05002+
610 - added get_inflated_columns to Row
611 - %colinfo accessor and inflate_column now work together
612 - More documentation updates
613 - Error messages from ->deploy made more informative
614 - connect_info will now always return the arguments it was
616 - A few small efficiency improvements for load_classes
617 and compose_namespace
619 0.07006 2007-04-17 23:18:00
620 - Lots of documentation updates
621 - deploy now takes an optional 'source_names' parameter (dec)
622 - Quoting for for columns_info_for
623 - RT#25683 fixed (multiple open sths on DBD::Sybase)
624 - CDBI compat infers has_many from has_a (Schwern)
625 - Fix ddl_filename transformation (Carl Vincent)
627 0.07999_02 2007-01-25 20:11:00
628 - add support for binding BYTEA and similar parameters (w/Pg impl)
629 - add support to Ordered for multiple ordering columns
630 - mark DB.pm and compose_connection as deprecated
631 - switch tests to compose_namespace
632 - ResultClass::HashRefInflator added
633 - Changed row and rs objects to not have direct handle to a source,
634 instead a (schema,source_name) tuple of type ResultSourceHandle
636 0.07005 2007-01-10 18:36:00
638 - remove erroneous .orig files - oops
640 0.07004 2007-01-09 21:52:00
641 - fix find_related-based queries to correctly grep the unique key
642 - fix InflateColumn to inflate/deflate all refs but scalar refs
644 0.07003 2006-11-16 11:52:00
645 - fix for rt.cpan.org #22740 (use $^X instead of hardcoded "perl")
646 - Tweaks to resultset to allow inflate_result to return an array
647 - Fix UTF8Columns to work under Perl <= 5.8.0
648 - Fix up new_result in ResultSet to avoid alias-related bugs
649 - Made new/update/find handle 'single' rel accessor correctly
650 - Fix NoBindVars to be safer and handle non-true bind values
651 - Don't blow up if columns_info_for returns useless results
652 - Documentation updates
654 0.07999_01 2006-10-05 21:00:00
655 - add connect_info option "disable_statement_caching"
656 - create insert_bulk using execute_array, populate uses it
657 - added DBIx::Class::Schema::load_namespaces, alternative to
659 - added source_info method for source-level metadata (kinda like
661 - Some of ::Storage::DBI's code/docs moved to ::Storage
662 - DBIx::Class::Schema::txn_do code moved to ::Storage
663 - Storage::DBI now uses exceptions instead of ->ping/->{Active} checks
664 - Storage exceptions are thrown via the schema class's throw_exception
665 - DBIx::Class::Schema::throw_exception's behavior can be modified via
667 - columns_info_for is deprecated, and no longer runs automatically.
668 You can make it work like before via
669 __PACKAGE__->column_info_from_storage(1) for now
670 - Replaced DBIx::Class::AccessorGroup and Class::Data::Accessor with
671 Class::Accessor::Grouped. Only user noticible change is to
672 table_class on ResultSourceProxy::Table (i.e. table objects in
673 schemas) and, resultset_class and result_class in ResultSource.
674 These accessors no longer automatically require the classes when
677 0.07002 2006-09-14 21:17:32
678 - fix quote tests for recent versions of SQLite
679 - added reference implementation of Manual::Example
680 - backported column_info_from_storage accessor from -current, but
681 - fixed inflate_datetime.t tests/stringify under older Test::More
682 - minor fixes for many-to-many relationship helpers
683 - cleared up Relationship docs, and fixed some typos
684 - use ref instead of eval to check limit syntax (to avoid issues with
686 - update ResultSet::_cond_for_update_delete to handle more complicated
688 - bugfix to Oracle columns_info_for
689 - remove_columns now deletes columns from _columns
691 0.07001 2006-08-18 19:55:00
692 - add directory argument to deploy()
693 - support default aliases in many_to_many accessors.
694 - support for relationship attributes in many_to_many accessors.
695 - stop search_rs being destructive to attrs
696 - better error reporting when loading components
697 - UTF8Columns changed to use "utf8" instead of "Encode"
698 - restore automatic aliasing in ResultSet::find() on nonunique queries
699 - allow aliases in ResultSet::find() queries (in cases of relationships
701 - pass $attrs to find from update_or_create so a specific key can be
703 - remove anonymous blesses to avoid major speed hit on Fedora Core 5's
704 Perl and possibly others; for more information see:
705 https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=196836
706 - fix a pathological prefetch case
707 - table case fix for Oracle in columns_info_for
708 - stopped search_rs deleting attributes from passed hash
710 0.07000 2006-07-23 02:30:00
711 - supress warnings for possibly non-unique queries, since
712 _is_unique_query doesn't infer properly in all cases
713 - skip empty queries to eliminate spurious warnings on ->deploy
714 - fixups to ORDER BY, tweaks to deepen some copies in ResultSet
715 - fixup for RowNum limit syntax with functions
717 0.06999_07 2006-07-12 20:58:05
718 - fix issue with from attr copying introduced in last release
720 0.06999_06 2006-07-12 17:16:55
721 - documentation for new storage options, fix S::A::L hanging on to $dbh
722 - substantial refactor of search_related code to fix alias numbering
723 - don't generate partial unique keys in ResultSet::find() when a table
724 has more than one unique constraint which share a column and only one
726 - cleanup UTF8Columns and make more efficient
727 - rename DBIX_CLASS_STORAGE_DBI_DEBUG to DBIC_TRACE (with compat)
728 - rename _parent_rs to _parent_source in ResultSet
731 0.06999_05 2006-07-04 14:40:01
732 - fix issue with incorrect $rs->{attrs}{alias}
733 - fix subclassing issue with source_name
734 - tweak quotes test to output text on failure
735 - fix Schema->txn_do to not fail as a classmethod
737 0.06999_04 2006-06-29 20:18:47
738 - disable cdbi-t/02-Film.t warning tests under AS perl
739 - fixups to MySQL tests (aka "work round mysql being retarded")
740 - compat tweaks for Storage debug logging
742 0.06999_03 2006-06-26 21:04:44
743 - various documentation improvements
744 - fixes to pass test suite on Windows
745 - rewrote and cleaned up SQL::Translator tests
746 - changed relationship helpers to only call ensure_class_loaded when the
747 join condition is inferred
748 - rewrote many_to_many implementation, now provides helpers for adding
749 and deleting objects without dealing with the link table
750 - reworked InflateColumn implementation to lazily deflate where
751 possible; now handles passing an inflated object to new()
752 - changed join merging to not create a rel_2 alias when adding a join
753 that already exists in a parent resultset
754 - Storage::DBI::deployment_statements now calls ensure_connected
755 if it isn't passed a type
756 - fixed Componentized::ensure_class_loaded
757 - InflateColumn::DateTime supports date as well as datetime
758 - split Storage::DBI::MSSQL into MSSQL and Sybase::MSSQL
759 - fixed wrong debugging hook call in Storage::DBI
760 - set connect_info properly before setting any ->sql_maker things
762 0.06999_02 2006-06-09 23:58:33
763 - Fixed up POD::Coverage tests, filled in some POD holes
764 - Added a warning for incorrect component order in load_components
765 - Fixed resultset bugs to do with related searches
766 - added code and tests for Componentized::ensure_class_found and
768 - NoBindVars + Sybase + MSSQL stuff
769 - only rebless S::DBI if it is still S::DBI and not a subclass
770 - Added `use' statement for DBD::Pg in Storage::DBI::Pg
771 - stopped test relying on order of unordered search
772 - bugfix for join-types in nested joins using the from attribute
773 - obscure prefetch problem fixed
774 - tightened up deep search_related
775 - Fixed 'DBIx/Class/DB.pm did not return a true value' error
776 - Revert change to test for deprecated find usage and swallow warnings
777 - Slight wording change to new_related() POD
778 - new specific test for connect_info coderefs
779 - POD clarification and content bugfixing + a few code formatting fixes
780 - POD::Coverage additions
782 - Fix column_info stomping
784 0.06999_01 2006-05-28 17:19:30
785 - add automatic naming of unique constraints
786 - marked DB.pm as deprecated and noted it will be removed by 1.0
787 - add ResultSetColumn
788 - refactor ResultSet code to resolve attrs as late as possible
789 - merge prefetch attrs into join attrs
790 - add +select and +as attributes to ResultSet
791 - added InflateColumn::DateTime component
792 - refactor debugging to allow for profiling using Storage::Statistics
793 - removed Data::UUID from deps, made other optionals required
794 - modified SQLT parser to skip dupe table names
795 - added remove_column(s) to ResultSource/ResultSourceProxy
796 - added add_column alias to ResultSourceProxy
797 - added source_name to ResultSource
798 - load_classes now uses source_name and sets it if necessary
799 - add update_or_create_related to Relationship::Base
800 - add find_or_new to ResultSet/ResultSetProxy and find_or_new_related
801 to Relationship::Base
802 - add accessors for unique constraint names and coulums to
803 ResultSource/ResultSourceProxy
804 - rework ResultSet::find() to search unique constraints
805 - CDBICompat: modify retrieve to fix column casing when ColumnCase is
807 - CDBICompat: override find_or_create to fix column casing when
809 - reorganized and simplified tests
811 - added the ability to set on_connect_do and the various sql_maker
812 options as part of Storage::DBI's connect_info.
814 0.06003 2006-05-19 15:37:30
815 - make find_or_create_related check defined() instead of truth
816 - don't unnecessarily fetch rels for cascade_update
817 - don't set_columns explicitly in update_or_create; instead use
818 update($hashref) so InflateColumn works
819 - fix for has_many prefetch with 0 related rows
820 - make limit error if rows => 0
821 - added memory cycle tests and a long-needed weaken call
823 0.06002 2006-04-20 00:42:41
824 - fix set_from_related to accept undef
825 - fix to Dumper-induced hash iteration bug
826 - fix to copy() with non-composed resultsource
827 - fix to ->search without args to clone rs but maintain cache
828 - grab $self->dbh once per function in Storage::DBI
829 - nuke ResultSource caching of ->resultset for consistency reasons
830 - fix for -and conditions when updating or deleting on a ResultSet
833 - Added fix for quoting with single table
834 - Substantial fixes and improvements to deploy
835 - slice now uses search directly
836 - fixes for update() on resultset
837 - bugfix to Cursor to avoid error during DESTROY
838 - transaction DBI operations now in debug trace output
840 0.06000 2006-03-25 18:03:46
841 - Lots of documentation improvements
842 - Minor tweak to related_resultset to prevent it storing a searched rs
843 - Fixup to columns_info_for when database returns type(size)
844 - Made do_txn respect void context (on the off-chance somebody cares)
845 - Fix exception text for nonexistent key in ResultSet::find()
847 0.05999_04 2006-03-18 19:20:49
848 - Fix for delete on full-table resultsets
849 - Removed caching on count() and added _count for pager()
850 - ->connection does nothing if ->storage defined and no args
851 (and hence ->connect acts like ->clone under the same conditions)
852 - Storage::DBI throws better exception if no connect info
853 - columns_info_for made more robust / informative
854 - ithreads compat added, fork compat improved
855 - weaken result_source in all resultsets
856 - Make pg seq extractor less sensitive.
858 0.05999_03 2006-03-14 01:58:10
859 - has_many prefetch fixes
860 - deploy now adds drop statements before creates
861 - deploy outputs debugging statements if DBIX_CLASS_STORAGE_DBI_DEBUG
864 0.05999_02 2006-03-10 13:31:37
865 - remove test dep on YAML
866 - additional speed tweaks for C3
867 - allow scalarefs passed to order_by to go straight through to SQL
868 - renamed insert_or_update to update_or_insert (with compat alias)
869 - hidden lots of packages from the PAUSE Indexer
871 0.05999_01 2006-03-09 18:31:44
872 - renamed cols attribute to columns (cols still supported)
873 - added has_column_loaded to Row
874 - Storage::DBI connect_info supports coderef returning dbh as 1st arg
875 - load_components() doesn't prepend base when comp. prefixed with +
878 - prefetch for has_many
879 - cache attr for resultsets
880 - PK::Auto::* no longer required since Storage::DBI::* handle auto-inc
881 - minor tweak to tests for join edge case
882 - added cascade_copy relationship attribute
883 (sponsored by Airspace Software, http://www.airspace.co.uk/)
884 - clean up set_from_related
885 - made copy() automatically null out auto-inc columns
886 - added txn_do() method to Schema, which allows a coderef to be
889 0.05007 2006-02-24 00:59:00
890 - tweak to Componentised for Class::C3 0.11
891 - fixes for auto-inc under MSSQL
893 0.05006 2006-02-17 15:32:40
894 - storage fix for fork() and workaround for Apache::DBI
895 - made update(\%hash) work on row as well as rs
896 - another fix for count with scalar group_by
897 - remove dependency on Module::Find in 40resultsetmanager.t (RT #17598)
899 0.05005 2006-02-13 21:24:51
900 - remove build dependency on version.pm
902 0.05004 2006-02-13 20:59:00
903 - allow specification of related columns via cols attr when primary
904 keys of the related table are not fetched
905 - fix count for group_by as scalar
906 - add horrific fix to make Oracle's retarded limit syntax work
907 - remove Carp require
908 - changed UUIDColumns to use new UUIDMaker classes for uuid creation
909 using whatever module may be available
911 0.05003 2006-02-08 17:50:20
912 - add component_class accessors and use them for *_class
913 - small fixes to Serialize and ResultSetManager
914 - rollback on disconnect, and disconnect on DESTROY
916 0.05002 2006-02-06 12:12:03
917 - Added recommends for Class::Inspector
918 - Added skip_all to t/40resultsetmanager.t if no Class::Inspector
921 0.05001 2006-02-05 15:28:10
922 - debug output now prints NULL for undef params
923 - multi-step prefetch along the same rel (e.g. for trees) now works
924 - added multi-join (join => [ 'foo', 'foo' ]), aliases second to foo_2
925 - hack PK::Auto::Pg for "table" names referencing a schema
926 - find() with attributes works
927 - added experimental Serialize and ResultSetManager components
928 - added code attribute recording to DBIx::Class
929 - fix to find() for complex resultsets
930 - added of $storage->debugcb(sub { ... })
931 - added $source->resultset_attributes accessor
932 - added include_columns rs attr
934 0.05000 2006-02-01 16:48:30
936 - remove ObjectCache, not yet working in 0.05
937 - let many_to_many rels have attrs
938 - fix ID method in PK.pm to be saner for new internals
939 - fix t/30dbicplain.t to use ::Schema instead of
940 Catalyst::Model::DBIC::Plain
942 0.04999_06 2006-01-28 21:20:32
943 - fix Storage/DBI (tried to load deprecated ::Exception component)
945 0.04999_05 2006-01-28 20:13:52
946 - count will now work for grouped resultsets
947 - added accessor => option to column_info to specify accessor name
948 - added $schema->populate to load test data (similar to AR fixtures)
949 - removed cdbi-t dependencies, only run tests if installed
950 - Removed DBIx::Class::Exception
951 - unified throw_exception stuff, using Carp::Clan
952 - report query when sth generation fails.
953 - multi-step prefetch!
957 0.04999_04 2006-01-24 21:48:21
958 - more documentation improvements
959 - add columns_info_for for vendor-specific column info (Zbigniew
961 - add SQL::Translator::Producer for DBIx::Class table classes (Jess
963 - add unique constraint declaration (Daniel Westermann-Clark)
964 - add new update_or_create method (Daniel Westermann-Clark)
965 - rename ResultSetInstance class to ResultSetProxy, ResultSourceInstance
966 to ResultSourceProxy, and TableInstance to ResultSourceProxy::Table
967 - minor fixes to UUIDColumns
968 - add debugfh method and ENV magic for tracing SQL (Nigel Metheringham)
970 0.04999_03 2006-01-20 06:05:27
971 - imported Jess Robinson's SQL::Translator::Parser::DBIx::Class
972 - lots of internals cleanup to eliminate result_source_instance
974 - added register_column and register_relationship class APIs
975 - made Storage::DBI use prepare_cached safely (thanks to Tim Bunce)
976 - many documentation improvements (thanks guys!)
977 - added ->connection, ->connect, ->register_source and ->clone schema
979 - Use croak instead of die for user errors.
981 0.04999_02 2006-01-14 07:17:35
982 - Schema is now self-contained; no requirement for co-operation
983 - add_relationship, relationships, relationship_info, has_relationship
984 - relationship handling on ResultSource
985 - all table handling now in Table.pm / ResultSource.pm
986 - added GROUP BY and DISTINCT support
987 - hacked around SQL::Abstract::Limit some more in DBIC::SQL::Abstract
988 (this may have fixed complex quoting)
989 - moved inflation to inflate_result in Row.pm
990 - added $rs->search_related
991 - split compose_namespace out of compose_connection in Schema
992 - ResultSet now handles find
993 - various *_related methods are now ->search_related->*
994 - added new_result to ResultSet
996 0.04999_01 2005-12-27 03:33:42
997 - search and related methods moved to ResultSet
998 - select and as added to ResultSet attrs
999 - added DBIx::Class::Table and TableInstance for table-per-class
1000 - added DBIx::Class::ResultSetInstance which handles proxying
1001 search etc. as a superclass of DBIx::Class::DB
1002 - assorted test and code cleanup work
1004 0.04001 2005-12-13 22:00:00
1005 - Fix so set_inflated_column calls set_column
1006 - Syntax errors in relationship classes are now reported
1007 - Better error detection in set_primary_key and columns methods
1008 - Documentation improvements
1009 - Better transaction support with txn_* methods
1010 - belongs_to now works when $cond is a string
1011 - PK::Auto::Pg updated, only tries primary keys instead of all cols
1014 - Moved get_simple and set_simple into AccessorGroup
1015 - Made 'new' die if given invalid columns
1016 - Added has_column and column_info to Table.pm
1017 - Refactored away from direct use of _columns and _primaries
1018 - Switched from NEXT to Class::C3
1021 - Added an || '' to the CDBICompat stringify to avoid null warnings
1022 - Updated name section for manual pods
1023 0.03003 2005-11-03 17:00:00
1025 - Changed use to require in Relationship/Base to avoid import.
1027 0.03002 2005-10-20 22:35:00
1028 - Minor bugfix to new (Row.pm)
1029 - Schema doesn't die if it can't load a class (Schema.pm)
1030 - New UUID columns plugin (UUIDColumns.pm)
1031 - Documentation improvements.
1033 0.03001 2005-09-23 14:00:00
1034 - Fixes to relationship helpers
1035 - IMPORTANT: prefetch/schema combination bug fix
1037 0.03 2005-09-19 19:35:00
1039 - Join support on search
1040 - Prefetch support on search
1042 0.02 2005-08-12 18:00:00
1044 - Performance improvements.
1045 - Oracle primary key support.
1046 - MS-SQL primary key support.
1047 - SQL::Abstract::Limit integration for database-agnostic limiting.
1049 0.01 2005-08-08 17:10:00