Changes for version 0.001001 - 2026-01-28

  • Bug Fixes
    • Fix for hard to trigger refcount issues with shift and pop methods.
    • Fix segfaults in older versions of Perl caused by trying to POPs without checking the function we called returned a value at all. Now always check a value was returned first!
  • Other
    • Added: Internal structures which have an 'element_type' now also can have an 'element_type_tiny' which is a pointer back to the original Type::Tiny type. If this is provided, then error handling should be even better.
    • Change missing parameter error messages to 'Wrong number of parameters' for closer consistency with Type::Params.
    • Check indices passed to get, set, and accessor methods are actually integers.
    • Check parameters passed to sort methods are actually coderefs.
    • Check strings passed to join methods are actually strings.
    • Defer to Type::Tiny's error handling when a type check fails, so that error messages are at least approximately the same.
    • Issue 'Wrong number of parameters' errors when too many parameters are given.
    • More consistency in whether the invocant is counted as a parameter (it always is now) when reporting which parameter number had an issue.
    • The push and unshift methods now return the new array length.

Modules

XS parts for Sub::HandlesVia; no user-serviceable parts inside