Changes for version 0.40 - 2007-04-15
- Added sample code to POD for 'before_create' and 'after_create' to make it easier for users to implement by copy and pasting. -evdb
- Better non-lower()ing of non-string types on search. -jesse
- Fix up and add POD so that POD coverage tests pass -trs
- Kill unused JiftyRecord filter -trs
- Fixed documentation coverage for Jifty::DBI::Handle::Informix. -sterling
- Commented out incomplete apply_limits method in the Sybase handle. -sterling
- Fixed documentation coverage in Jifty::DBI::Record::Cachable. -sterling
- Fixed documentation coverage for Jifty::DBI::Record::Memcached. -sterling
- Added pod-coverage.t to encourage better documentation. Added documentation to Jifty::DBI::Record::Plugin. -sterling
- Added better handling of schema versioning -sterling
- Added _init_methods_for_columns to explicitly handle accessor/mutator creation for all columns attached to a record -sterling
- Applications employing JDBI can specify schema_version() in a sub-class of record to add better handling of "since" and "till" in both schema and code generation -sterling
- Modified columns() on records to only return active columns -sterling
- Added all_columns() to retrieve all columns on a record, even inactive ones -sterling
- Added the active() method to columns to test to see if a column is active for the current schema version -sterling
- Jifty::DBI now requires on Scalar::Defer 0.10. -audreyt
- Jifty::DBI::Schema - Don't rescind &defer and &lazy after the schema{...} block and talks about how to use it. -sterling
- debian changes -yves
- export of defer in Jifty::DB::Schema kills symbols for other use (thx audreyt) -yves
- Make load_by_cols work when a given value is undef by turning the query into IS NULL. -clkao
- Completely finish porting Jifty::DBI::Schema to use Object::Declare. clkao, audreyt
- Visible differences are:
- "refers App::Class" is now an alias for "refers_to App::Class".
- In refers/refers_to it is no longer neccessary to load App::Class beforehand; therefore circular references can now be expressed.
- "length is 30" is now invalid; a compile-time exception will be raised that tells the user to use "maxlength is 40" instead.
Changes for version 0.39_9999 - 2007-01-26
- Removed unneccessary use of Devel::SimpleTrace.
Changes for version 0.39_999 - 2007-01-26
- Improved error message for "length is 42":
- Due to an incompatible API change, the "length" field in Jifty::DBI columns has been renamed to "max_length":
- column foo => length is 10; # NOT VALID
- Please write this instead:
- column foo => max_length is 10 # VALID
- Due to an incompatible API change, the "length" field in Jifty::DBI columns has been renamed to "max_length":
- Calling 'column' within a schema class is an error:
- package TestApp::Address::Schema; column address => ...; # NOT VALID
- Please write this instead:
- package TestApp::Address; use Jifty::DBI::Schema; use Jifty::DBI::Record schema { column address => ...; # VALID };
Changes for version 0.39_99 - 2007-01-26
- INCOMPATIBLE API CHANGE: "length is 42" must be written as "max_length is 42" instead.
- Switch to Object::Declare for schema declaration, fixing many annoyances such as the inability for two modules to refer to each other in their columns.
- "refers Foo::Bar", a new alias to "refers_to Foo::Bar".
Modules
An object-relational persistence framework
Mixin to add / call inheritable triggers
Encapsulate SQL queries and rows in simple perl objects
Deal with multiple Jifty::DBI::Collection result sets as one
Ensure uniqueness of records in a collection
DateTime object wrapper around date columns
DateTime object wrapper around date columns
salts and hashes a value before storing it
Encodes arbitrary data using Storable
DateTime object wrapper around date columns
Truncates column values
This filter stores arbitrary Perl via YAML
Encodes data as base64
Jifty::DBI UTF-8 data filter
Perl extension which is a generic DBI handle
An Informix specific Handle object
An ODBC specific Handle object
An oracle specific Handle object
A Postgres specific Handle object
A SQLite specific Handle object
a Sybase specific Handle object
A mysql specific Handle object
A mysql specific Handle object
abstract class for objects that has filters
Superclass for records loaded by Jifty::DBI::Collection
records with caching behavior
records with caching behavior
Record model mixins for Jifty::DBI
Use a simple syntax to describe a Jifty table.
Generate table schemas from Jifty::DBI records
Provides
in lib/Jifty/DBI/Filter.pm