MAUKE / Function-Parameters-1.0401 / Changes

Revision history for Function-Parameters

1.0401  2013-10-09
        - enable type checks by default

1.0301  2013-09-16
        - support 'defaults' to base keywords on existing keyword types
        - 'check_argument_count' no longer controls type checks
        - new 'check_argument_types' property controls type checks
        - new 'strict' property does what 'check_argument_count' used to
        - new 'runtime' property lets you define functions at runtime
        - some more tests

1.0202  2013-08-28
        - make t/foreign/Fun/name.t less fragile to support newer Carp
        - support older Moo without ->meta support

1.0201  2013-08-13
        - custom (per-keyword) type reification
        - actually use documented defaults for custom keywords

1.0104  2013-06-16
        - support unicode in custom keywords
        - actually validate default attributes

1.0103  2013-06-09
        - properly allow non-moose-based custom type constraints (#85851)

1.0102  2013-03-08
        - prepare for internals changes in the upcoming 5.18 release
          (https://rt.cpan.org/Ticket/Display.html?id=83439)
        - only allocate memory after recognizing a keyword like 'fun'
          (might speed up parsing a little)

1.0101  2013-02-05
        - new reflection API to inspect parameter information of functions
        - Moose types in parameter lists
        - more tests

1.0004  2012-11-26
        - fix test relying on hash ordering

1.0003  2012-11-19
        - clean up internals
        - fix build errors on some platforms
        - fix module metadata
        - some more tests

1.00    2012-11-01
        - add named parameters with ':$foo, :$bar' syntax
        - rewrite documentation
        - more tests (some of them copied from similar modules on CPAN)

0.10    2012-10-21
        - add ':strict' import target
        - support $invocant: parameter syntax

0.09    2012-10-14
        - fix wrong line number for statement immediately following a function

0.08    2012-07-19
        - support UTF-8 in function/parameter names
        - better detection of invalid prototypes

0.07    2012-06-25
        - completely rework internals to generate optrees directly
          (no more generating/reparsing source)
        - simplify / fewer dependencies
        - new feature: default arguments (on by default)
        - new feature: strict argument count checks (off by default)
                       enabled by "*_strict" variants of symbolic types

0.06    2012-06-19
        - complete rewrite in XS
        - require perl 5.14+
        - hopefully fix bug where it would get the line numbers wrong
        - we're a lexical pragma now; remove import_into()
        - more fine-grained control over behavior of generated keywords:
           * function name can be optional/required/prohibited
           * invocant name can be any variable, not just $self
           * default attributes (and method now defaults to ':method')

0.05    2011-08-02
        - complete rewrite
        - hopefully fix bug where it would swallow compilation errors or get the line numbers wrong
        - method keyword!
        - more flexible keyword customization

0.04    2010-03-03
        - allow renaming the function keyword
        - provide import_into so you can mess with other packages

0.03    2009-12-14
        First version, released on an unsuspecting world.




Hosting generously
sponsored by Bytemark