lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Hi!

I've released version 1.5.2 of the validate-args package, which provides
a framework for function argument and table validation.

This is a major upgrade from the last public release (1.2.4).  A few
highlights:

      * lists of elements are recognized
      * types may now be also be expressed as complex validation
        specifications
      * named arguments may now be processed in a specific order
      * "catch-all" specifications may be provided for parameters
        without explicitly specified types

A rockspec and a complete tarball are available here:

https://bitbucket.org/djerius/validate.args/downloads/validate-args-1.5.2-1.rockspec
https://bitbucket.org/djerius/validate.args/downloads/validate-args-1.5.2.tar.gz

A more detailed list of changes is here:

https://bitbucket.org/djerius/validate.args/src/4d99a3eeefce/NEWS

Diab