[Dbix-class] DBIx-Class 0.06000 released
Matt S Trout
dbix-class at trout.me.uk
Sat Mar 25 20:20:56 CET 2006
BIx-Class 0.06000 has hit PAUSE and should be available from your CPAN mirror
of choice soon; in the meantime you can get it from
http://trout.me.uk/perl/DBIx-Class-0.06000.tar.gz
This release has some substantial improvements over the 0.05 series,
notably PK::Auto automatically selecting the correct technique for the current
database, prefetch for has_many (one-to-many) relationships, an optional
cache for resultset fetches and massive improvements to the documentation.
For a more comprehensive changes list since 0.05, see below -
0.06000
- Lots of documentation improvements
- Minor tweak to related_resultset to prevent it storing a searched rs
- Fixup to columns_info_for when database returns type(size)
- Made do_txn respect void context (on the off-chance somebody cares)
- Fix exception text for nonexistent key in ResultSet::find()
0.05999_04
- Fix for delete on full-table resultsets
- Removed caching on count() and added _count for pager()
- ->connection does nothing if ->storage defined and no args
(and hence ->connect acts like ->clone under the same conditions)
- Storage::DBI throws better exception if no connect info
- columns_info_for made more robust / informative
- ithreads compat added, fork compat improved
- weaken result_source in all resultsets
- Make pg seq extractor less sensitive.
0.05999_03 2006-03-14 01:58:10
- has_many prefetch fixes
- deploy now adds drop statements before creates
- deploy outputs debugging statements if DBIX_CLASS_STORAGE_DBI_DEBUG
is set
0.05999_02 2006-03-10 13:31:37
- remove test dep on YAML
- additional speed tweaks for C3
- allow scalarefs passed to order_by to go straight through to SQL
- renamed insert_or_update to update_or_insert (with compat alias)
- hidden lots of packages from the PAUSE Indexer
0.05999_01 2006-03-09 18:31:44
- renamed cols attribute to columns (cols still supported)
- added has_column_loaded to Row
- Storage::DBI connect_info supports coderef returning dbh as 1st arg
- load_components() doesn't prepend base when comp. prefixed with +
- $schema->deploy
- HAVING support
- prefetch for has_many
- cache attr for resultsets
- PK::Auto::* no longer required since Storage::DBI::* handle auto-inc
- minor tweak to tests for join edge case
- added cascade_copy relationship attribute
(sponsored by Airspace Software, http://www.airspace.co.uk/)
- clean up set_from_related
- made copy() automatically null out auto-inc columns
- added txn_do() method to Schema, which allows a coderef to be
executed atomically
--
Matt S Trout Offering custom development, consultancy and support
Technical Director contracts for Catalyst, DBIx::Class and BAST. Contact
Shadowcat Systems Ltd. mst (at) shadowcatsystems.co.uk for more information
+ Help us build a better perl ORM: http://dbix-class.shadowcatsystems.co.uk/ +
More information about the Dbix-class
mailing list