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