Revision history for Perl extension Jifty::DBI.

0.71 2011-06-17
- Fixes:

0.70 2011-06-15
- Fixes:

0.69 2011-05-17
- Fixes:

0.68 2011-04-14
- Security:

0.67 2011-02-28
- Features:

0.66 2011-02-14
- Features:

0.64 Wed Dec 8 15:21:17 EST 2010
- Installation:

0.63 Wed Dec 8 15:14:17 EST 2010
- Features:

0.62 Thu May 20 13:58:53 EST 2010
- Features:

0.61 Mon Jan 4 13:04:20 EST 2010
- Installation:

0.60 Mon Jan 4 13:02:17 EST 2010
- Features:

0.59 Wed Nov 18 20:12:57 EST 2009
- Features:

0.58 Tue Jul 14 03:21:21 EST 2009
- Possible incompatibilities:

0.57 Tue May 19 08:02:03 EDT 2009
- Major bugfixes:

0.53 Wed Mar 25 15:27:03 EDT 2009
- Major bugfixes:

0.49 Mon Apr 07 22:16:48 EST 2008
- Major changes:

0.48 Thu Nov 29 16:28:11 EST 2007

0.47 Fri Nov 16 15:23:28 EST 2007

or, "The chmrr fixfest"

0.46 Wed Nov 7 12:24:08 EST 2007

0.45
Add a warning for mandatory+till until we fix it

Fix the mandatory/inactive tests

We don't need to check that a column is mandatory if it's not active

Add failing tests for mandatory columns that aren't active, they shouldn't have the not null constraint

Bump to 0.45 because of the JDBI::Filter::DateTime functionality fixes

Improve the decode doc, which was mostly just a copy of encode More needless warnings gone

Better error message when trying to use load_by_cols on a column that doesn't exist Two fixes for timezones:

Coerce input and output to be UTC (or Floating, if JDBI::Filter::Date) I think we were depending on DT:F:Strptime being saner than it is

Use set_time_zone, not time_zone which is only a getter defined is not what you check to see if there is a hash entry. this will stop bogus extra sql calls that slowed down your app

Allow the specification of functions as 'column' on sql search criteria.

When we fail to load a related model class for a good reason, actually die, rather than burying the error

mysql doesn't handle bare varchar's

TODO a test that needs us to force mysql to be case sensitive

typo fix in docs

We can have 0-valued columns, again

New column attribute: is case_sensitive

Make load_by_cols respect column case sensitivity.

NOTE this is a behaviour change as columns are by default case-insensitive, and the call was doing a case sensitive search, which is different from Collection searching.

To make Jifty::DBI load_by_cols work in the old behaviour:

Use $rec->load_by_cols( name => { value => 'foobar', case_sensitive => 0,
operator => '=' });

unreadable and immutable are now in attributes.

Refactor Jifty::DBI::Column to split attributes into two groups. Actual column-related (in jifty::dbi layer) ones, such as type, remains as accesssors. The rest goes into the attributes hash. This allows us to declare higher level meta data without having to change Jifty::DBI::Column in the future.

Note that if you are accessing the column object's ->{label} directly this will now fail. Use ->label instead.

*Test updates for case issues

Make sure limit() does not modify arrays passed in to the "value" parameter.

Added documentation for using @EXPORT with mixins.

Fix the call to the after_set trigger.

Added a new accessor, RECORD_MIXINS, for tracking which mixins have been attached to a model.

Adding basic documentation for before_set and after_set triggers.

Adding before_set and after_set triggers and tests for them.

Moved Jifty::DBI to use Class::Trigger instead of its own fork of Class::Trigger.

Added tests and debugged register_triggers_for_column on record plugins.

Improvements to the trigger documentation for after_create and before_create.

Fix the documentation of the after_create trigger to match the actual behavior (and only that, this time).

Removed register_triggers_late() in favor of register_triggers_for_column(), which is nearly the same thing but with clearer semantics.

Updated documentation to discuss the register_triggers_late() method. 0.43 Fri Aug 24 00:13:20 EDT 2007


r66529 (orig r3939): audreyt | 2007-08-22 12:38:23 -0400

r23979@ketch: falcone | 2007-08-21 18:00:57 -0400


r66517 (orig r3927): falcone | 2007-08-21 19:08:59 -0400

r23978@ketch: falcone | 2007-08-21 18:00:27 -0400


r66197 (orig r3926): yves | 2007-08-21 10:49:01 -0400

debian packaging


r66169 (orig r3923): efunneko | 2007-08-20 16:57:43 -0400

Added support for the IN operator within limits. This should be accompanied by an array ref of values to be compared against. It also allows an array ref to be passed with the '=' operator to accomplish the same thing

r66164 (orig r3918): sterling | 2007-08-20 15:56:18 -0400

Fixing the name of the branch.

r66163 (orig r3917): sterling | 2007-08-20 15:54:42 -0400

Creating a new branch to develop improvements on indexes and relationships.

r66157 (orig r3911): trs | 2007-08-16 15:59:16 -0400

r26169@zot: tom | 2007-08-16 15:58:56 -0400 Backup r3908 for now since it breaks existing code


r66154 (orig r3908): sterling | 2007-08-16 10:02:48 -0400

r8684@dynpc145: andrew | 2007-08-16 08:55:32 -0500 Added support for virtual record columns.


r66153 (orig r3907): sterling | 2007-08-16 10:02:26 -0400

r8682@dynpc145: andrew | 2007-08-15 11:17:32 -0500 Added more code comments, minor perl tidy, and removed a redundant call to set the column type.


r65006 (orig r3743): falcone | 2007-07-31 16:26:13 -0400

r23202@ketch: falcone | 2007-07-31 16:25:03 -0400


r64931 (orig r3741): jesse | 2007-07-30 20:27:30 -0400

r64930@pinglin: jesse | 2007-07-30 20:27:14 -0400


r64929 (orig r3740): jesse | 2007-07-30 19:55:14 -0400

r64923@pinglin: jesse | 2007-07-30 19:54:31 -0400


r64902 (orig r3729): jesse | 2007-07-28 20:27:31 -0400

r64901@pinglin: jesse | 2007-07-28 18:29:15 -0500


r60774 (orig r3694): sartak | 2007-07-16 12:49:13 -0400

Fix 'uninitialized value' warnings

r60655 (orig r3692): jesse | 2007-07-14 00:06:17 -0400

r60634@pinglin: jesse | 2007-07-13 20:14:44 -0400


r60350 (orig r3644): trs | 2007-07-10 01:32:48 -0400

r25085@zot: tom | 2007-07-10 01:32:08 -0400 Fix type for Pg

0.41 Mon Apr 16 16:16:12 EDT 2007

0.40 Sun Apr 15 11:19:45 EDT 2007

Visible differences are:

0.39_9999 Fri Jan 26 21:30:48 CST 2007

0.39_999 Fri Jan 26 21:30:48 CST 2007

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

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 };

0.39_99 Fri Jan 26 19:57:48 CST 2007

0.34 Sun Jan 28 21:28:00 CST 2007

0.32 Fri Jan 26 20:51:12 CST 2007

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

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 };

0.31 Fri Jan 26 19:52:08 CST 2007

0.30 Wed Jan 17 15:29:44 EST 2007

0.28, 0.29 Thu Nov 23 22:11:37 EST 2006

0.27 Thu Nov 23 22:06:09 EST 2006

0.26 Mon Nov 13 11:11:31 EST 2006

Usability

Core code

Installation

Testing

Doc

0.25 Tue Sep 12 23:52:45 BST 2006

     use MyApp::Record schema {
         ...;
     }

can work even if MyApp::Record overrides Jifty::Record's column building methods. We do that by arranging the schema callback to run after the @ISA chain is set up.

     package Wifty::Model::Page;
     use Jifty::DBI::Schema;
 
     schema {
     # ... your columns here ...
     };

because &schema will unregister all symbols exported by Jifty::DBI::Schema after it runs the column initialization code. Backward compatibility is preserved -- as long as you don't name your record model "Schema"...

::Cachable::load_from_cache

::Cachable::_set

::Cachable::delete

::Cachable::fetch

0.24 Tue Aug 8 23:33:34 EDT 2006

0.23 Thu Jun 15 14:12:20 CEST 2006

0.21 Wed May 3 14:14:41 EDT 2006

0.20 Fri Apr 21 10:23:14 EDT 2006

0.19 Sun Apr 2 18:59:53 JST 2006

0.18 Fri Mar 31 22:15:59 JST 2006

0.17 Sun Mar 5 00:41:41 PST 2006

0.16 Sat Mar 4 18:02:44 PST 2006

0.15

0.09 Thu Dec 29 07:56:30 EST 2005

0.08 Sun Dec 25 14:34:12 EST 2005

0.06 Fri Dec 23 15:44:17 EST 2005

0.05_03

Forward-ported features from DBIx::SearchBuilder: 1.37_01 Thu Dec 8 15:56:50 EST 2005

1.36 Fri Dec 2 18:04:21 EST 2005

1.35 Wed Nov 2 22:36:02 EST 2005

1.34 Wed Nov 2 22:26:15 EST 2005

0.05_02

column owner =>

refers_to MyApp::User by 'email';

0.05_01 Tue Nov 8 16:29:02 EST 2005