The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

Changes for version 1.4.2 - 2024-08-28

  • NEW
    • Non-breaking changes the cache_size_slice and slice_cache_size methods, in which the second argument is optional. This was done to be consistent with the re-worked reset method.
    • Non-breaking change to the reset method, which may now be used to change cache size and/oor slicing strategy.
    • The DBIx::Squirrel::Iterator package now has and exports new functions that expose aspects of the iterator’s current context to stages in a transformation pipeline.
  • REFACTOR / FIX
    • Removed redundant import (&List::Util::uniq). The function is not implemented on a couple of CPANTs builds, and it’s absence caused build failures. I stopped using it, but forgot to remove the import, in itself causing build failures on systems with an old List::Util.
    • In keeping with the DBI and for the sake of consistency, anything I once referred to as a “buffer” is now referred to as a cache, and this has resulted in the names of many things being changed. For now, there are no breaking changes in the public interface due to the presence of now deprecated aliases. I’ll remove these in 1.5.0. DOCUMENTATION
    • POD reflects some of the mentioned name changes.
    • New features documented.
  • TESTS
    • Some tests updated to reflect mentioned name changes.
    • Got a steer from TWATA to look at TRWYANT PPIx::Regexp for a possible solution to /Can’t locate object method “e” via package “warnings”/ in some Strawberry Perl builds. Thanks, both!
    • Riffing-off the suggestion above, I’ve ended up using Mons Andersons Test::More::UTF8 and preliminary results look good. One of the Win32 Strawberry Perl 5.14.4 build is now green (yay!)
  • TEST COVERAGE
    • File stmt bran cond sub pod time total
    • blib/lib/DBIx/Squirrel.pm 85.0 44.1 55.5 100.0 n/a 35.1 78.8 ...DBIx/Squirrel/Iterator.pm 69.9 40.3 73.9 72.0 0.0 7.8 58.6 ...x/Squirrel/ResultClass.pm 65.8 23.5 n/a 81.8 0.0 0.7 56.3 ...BIx/Squirrel/ResultSet.pm 67.0 20.0 n/a 81.8 0.0 1.4 61.1 ...ib/DBIx/Squirrel/Utils.pm 97.7 100.0 100.0 91.6 0.0 7.5 92.6 blib/lib/DBIx/Squirrel/db.pm 66.6 46.8 33.3 90.4 0.0 0.6 61.3 blib/lib/DBIx/Squirrel/dr.pm 84.2 50.0 33.3 90.0 0.0 43.4 67.5 blib/lib/DBIx/Squirrel/st.pm 69.5 50.0 22.2 96.0 0.0 3.0 63.3 Total 72.5 43.7 55.0 84.4 0.0 100.0 64.0

Changes for version 1.4.1 - 2024-08-28 (TRIAL RELEASE)

  • Testing release, trying to mop-up last remaining red blobs on CPANTs.

Modules

A DBI extension