[Dbix-class] Announcing 0.08125
fREW Schmidt
frioux at gmail.com
Mon Dec 27 04:54:06 GMT 2010
Hello all!
I hope you are having egg nog or whatever other seasonal beverage you
prefer. We have an exciting new release of DBIx::Class for you.
Mostly lots of bug fixes and general niceties, such as throwing on void
calls to search, which is a mistake, and various deprecations.
Merry Christmas and Happy New Year!
0.08125 2010-12-27 04:30 (UTC)
* New Features / Changes
- New method ResultSource columns_info method, returning multiple
pairs of column name/info at once
- $rs->search now throws when called in void context, as it makes
no sense (and is nearly always a sign of a bug/misdesign)
- Restore long-lost ability to supply unbalanced select/as pairs
e.g. +select =3D> \'DISTINCT(foo, bar)', +as =3D> ['foo', 'bar']
- +columns now behaves just like columns by not stripping a
fully-qualified 'as' spec (i.e. foo.bar results in $obj->foo->bar)
- Deprecate legacy $rs->search( %condition ) syntax (warn once per
callsite)
- NULL is now supplied unquoted to all debug-objects, in order to
differentiate between a real NULL and the string 'NULL'
- New search() condition operator -value used to pass complex bind
values to DBI: search({ array_col =3D> { -value =3D> [1,2,3] }})
- Add full INSERT...RETURNING support for Oracle
- Deprecate use of -nest in search conditions (warn once per
callsite)
- Deprecate the completely useless DBIx::Class::Serialize::Storable
result component
* Fixes
- Fixed read-only attribute set attempt in ::Storage::Replicated
(RT#62642)
- Fix incomplete logic while detecting correct Oracle sequence
on insert
- Fix detection of Oracle sequences for tables without an explicitly
specified schema (RT#63493)
- Major overhaul of Storage::Oracle to handle enabled quoting
- Fixed incorrect composition of select/as/columns attributes during
chaining (RT#61235)
- Proper serialization of resultsets with open cursors
- Refactor handling of RDBMS-side values during insert() - fix
regression of inserts into a Postgres / ::Replicated combination
- Missing dependency check in t/60core.t (RT#62635)
- Fix regressions in IC::DT registration logic
- Fix regression in select-associated bind value handling (RT#61025)
- Simplify SQL generated by some LIMITed prefetching queries
- Throw an exception when a required group_by on a complex prefetch
can not be auto-constructed, instead of continuing to eventually
produce invalid SQL
- Fix infinite loops on old perls with a recent Try::Tiny
- Improve "fork()" on Win32 by reimplementing a more robust DBIC
thread support (still problematic, pending a DBI fix)
- Properly quote table name on INSERT with no values
- Work around possible Storage destruction warnings
- Fix count of grouped resultsets using HAVING with aliases
- Setting belongs_to columns/relationships no longer leaves the
FK value and related object out of sync
- Stop stripping newlines from SQL statements in the limit emulators
as it is possible that custom sql with comments was provided
- Add forgotten attributes to Admin.pm
- Fix incorrect 'having' attribute documentation (RT#64129)
- Improve fallback-to-master/return-to-slave reporting in
::Replicated::Balancer
- Adjust txn_scope_guard code/tests to changes in $@ handling on
recent blead (RT#64251)
* Misc
- Add extra option groups to DBIC::Optional::Depencencies, to aid
users in requesting the prerequisites for a particular RDBMS
- Switch all serialization to use Storable::nfreeze for portable
architecture independent ice
- Fix the bogus META.yml dependency injection issue for good
- Refactor DBIx::Class::Storage::Statistics::debugfh() to be lazy
-- =
fREW Schmidt
http://blog.afoolishmanifesto.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.scsys.co.uk/pipermail/dbix-class/attachments/20101226/f17=
e633b/attachment.htm
More information about the DBIx-Class
mailing list