CHI-Cascade
view release on metacpan or search on metacpan
0.21 2012-02-16
- A detection of circle dependencies is improved (not tested)
0.20 2012-02-09
- Some optimization
- Few fixes of documentation
- Added option 'depends_catch' to rule as catcher callback for dependencies
0.19 2012-01-25
- Fixed bug of die like "Can't call method "is_value" on an undefined value
at /usr/local/share/perl5/CHI/Cascade.pm line 190"
0.18 2012-01-25
- Now if recompute function dies with exception of CHI::Cascade::Value type
(introduced in v.0.13) CHI::Cascade::run method will return old value of
target value from cache if exception's value is 'undef' and cache value
exists. Before the run method always returned a value of exception.
- Imroved the documentation for CHI::Cascade::rule/code
- Added the documentation of CHI::Cascade::Value
0.17 2011-12-13
- Added a callback function in rule as 'recomputed'
0.16 2011-12-13
- Changed API for coderef's subroutines in 'depends' of rules. Now first
parameter is reference to CHI::Cascade::Rule object and other are
'qr_params'
- CHI::Cascade::Rule object now has a method 'cascade' which returns a
CHI::Cascade instance for this rule. You can use it in 'depends'
subroutines
0.15 2011-12-07
- Corrections if cascade rules have a 'depends' option as coderef. Backward
compatible. Now coderef can return arrayref of dependencies. Before it
could return only one dependence as plain text. No tests yet for this
- Tests are rewritten and optimised
- Added a FastMmap driver's tests
- Added tests when dependencies are coderef (t/lib/test_02.pm)
0.14 2011-11-29
- Improved tests in accordance with reports version 0.13
- Fixed few misprints in Changes & TODO files
0.13 2011-11-18
- Fix bug - sometimes generated warnging for trigger time (was undefined)
- Now a compute code can throw die with CHI::Cascade::Value object - this value
will be returned from run method but value will not be saved in cache as
computed value
- Improved a behavior with some buggy situations with cache (cache doesn't
save a value by some reasons for example)
0.12 2011-11-14
- More stable version as i think ;-) Please use it
- Improved signal handling in tests (for memcached killing)
- Fixed bug - dependencies as sub {} didn't get a qr_params properly
- Fixed rule's bug
0.11 2011-11-14
- Fixed bug (sometime dead locks were after target locking)
- Added 'busy_lock' option in contructor and to 'rule' method
- All 'set's in cache executed with expire as 'never' (excluding locking of
targets)
0.1 2011-11-14
- Changed API of execution 'code' of rules
- Now you can use instances of CHI::Cascade::Rule in your target codes
- Now you can pass any parameters to target codes described in rules
0.05 2011-11-12
- More improved the test t/03_memcached_multi.t
- Tests with memcached for root user are not started (passed)
Now they are started
- More ready distributive
0.03 2011-11-11
- Fixed bugs in tests (for example not be stopped memcached)
- New test - multi-process reading/getting from memcached (with forks)
- Added documentation about constructor and methods.
0.02 2011-11-11
- Added repo meta info of github.com repository
- few changes of Makefile.PL ('README' file is generated by auto)
- Added 'Changes' file ;-)
- Added TODO file
0.01 2011-11-10
- First release
( run in 1.482 second using v1.01-cache-2.11-cpan-f56aa216473 )