TUWF Release History
- 1.5 - 2023-01-18 - File:
TUWF-1.5.tar.gz
Size:
93.3 KiB (95.525 bytes)
PGP:
TUWF-1.5.tar.gz.asc
MD5:
9fbcd45d1561f7c41533f1da111c9207
SHA1:
d7af585277ae8ca8d2250cea8c9a8aba2977d3a7
SHA-256:
67a8ca9c5cbf42ea4308c4cc0f0cef20a8ce497c17d72857b9d2f50a19a3e4be
TUWF-1.5.tar.gz
- Add tuwf->req() method for storing request-local data
- Add tuwf->captures() as alternative to handler arguments
- Add support for Max-Age and SameSite properties in resCookie()
- Add support for JSON::PP and Cpanel::JSON::PP
- Add support for calling dbPage() in scalar context
- Add “onerror” and “undefbool” built-in validations
- Add support for subroutine arguments to ‘default’ validation
option
- Add TUWF::Validate::Interop::elm_decoder() (undocumented)
- Add support for undef and concat attributes in TUWF::XML
- Add TUWF::XML::xml_string() function
- Add summary tag to TUWF::XML
- Add “db_connect” hook
- Add “fastcgi_max_requests” setting
- Add support for graceful process shutdown in FastCGI mode
- Add support for output compression for resJSON, resFile and
resBinary
- Fix handling recursion from the log_format subroutine
- Fix encoding of HTTP response headers
- Fix calling error_404_handler before the “after” hooks.
- Fix handling of SIGCHLD when using the builtin HTTP server
- Fix logging during startup
- Fix input modification on TUWF::Validate with unknown=>“reject”
hashes
- Fix handling of HTTP DELETE requests
- Fix handling for HTTP 204 responses
- Remove error on resFile() path traversal, just return a 404
instead
- Disallow IP address hosts as part of email validation
- Use Perl built-in utf8 functions instead of Encode module
- 1.4 - 2019-07-06 - File:
TUWF-1.4.tar.gz
Size:
88.5 KiB (90.633 bytes)
PGP:
TUWF-1.4.tar.gz.asc
MD5:
8474c6847ab439d0eb70ef49a4cfc53c
SHA1:
ce47cd2535de0386dff569f23b033f685eb01b3f
SHA-256:
0d8654ccf5467aec90484161cc1aea66039a5a143b4190d2d7547cfa3f8e9a82
TUWF-1.4.tar.gz
- Version bump because CPAN doesn’t like patch versions
- 1.3.1 - 2019-07-06 - File:
TUWF-1.3.1.tar.gz
Size:
88.5 KiB (90.619 bytes)
PGP:
TUWF-1.3.1.tar.gz.asc
MD5:
d57a50cde172297aa6feee69a51c94b6
SHA1:
34f0f33c009670d5bd8be43d32e6ea4e39323d1d
SHA-256:
33077d947be543f27b754c0fdfb9550599b2c50f3908cc4d753cc913fe29ff80
TUWF-1.3.1.tar.gz
- Fix some tests (hopefully)
- 1.3 - 2019-06-17 - File:
TUWF-1.3.tar.gz
Size:
88.5 KiB (90.611 bytes)
PGP:
TUWF-1.3.tar.gz.asc
MD5:
e92aff54ef0d3e4d2b022398db5be0a7
SHA1:
3a01553334f3265c72cb00135098476cc30a5ef6
SHA-256:
449bf61c4743baa4fd316746428769bbf6c8697429311c8ebc202fd1899edf3c
TUWF-1.3.tar.gz
- Add TUWF::Validate module for generic data structure validation
- Add tuwf->compile() and tuwf->validate() interfaces for input
validation
- Add ‘custom_validations’ setting
- Add setting to write emails to the log file instead of mailing
them
- Add (undocumented) TUWF::Validate::Interop module for JSON coercion,
HTML5 validation patterns and Elm code generation.
- Fix logging of JSON request body on error
- 1.2 - 2018-02-18 - File:
TUWF-1.2.tar.gz
Size:
67.3 KiB (68.866 bytes)
PGP:
TUWF-1.2.tar.gz.asc
MD5:
5028482611a415c22993adab05b9698e
SHA1:
3b336c065e9f8a37b2f387f9ff645c2ab2da5485
SHA-256:
5031aa3e4339c441cf301239f057826184e5304f5c3fbf46b8c03e8adf190606
TUWF-1.2.tar.gz
- Add tuwf() exported function as alias to $self or $TUWF::OBJ
- Add TUWF::get/put/post/etc() as better alternative to
TUWF::register()
- Add TUWF::hook() as better alternative to
(pre|post)_request_handler
- Add capture() to access route captures
- Add standandlone HTTP dev server (requires
HTTP::Server::Simple)
- Add pass() and done() methods to prematurely abort the current
handler
- Add ‘import_modules’ setting
- TUWF::Request: Add reqJSON()
- TUWF::Request: Disallow control characters in HTTP request data
- TUWF::Response: Add resJSON()
- TUWF::Response: Add resBinary()
- TUWF::Response: Add resFile() + mime_types/mime_default
settings
- TUWF::Response: Allow setting headers before resRedirect()
- TUWF::Response: resRedirect() now sets a relative ‘Location’ HTTP
header
- TUWF::DB: Add DB query logging and profiling to non-TUWF database
functions
- TUWF::DB: Add dbVal()
- TUWF::XML: Add functional-style DSL
- TUWF::XML: Add HTML5 support
- TUWF::XML: Add different naming convention support
- TUWF::XML: Add ‘mkclass’ utility function
- Improved error pages
- Various documentation improvements
- 1.1 - 2017-11-26 - File:
TUWF-1.1.tar.gz
Size:
52.2 KiB (53.459 bytes)
PGP:
TUWF-1.1.tar.gz.asc
MD5:
4629606ce88c28e2ea767bf7b356fe9c
SHA1:
7f2c4018674f7009db5d3d30218d379210c3a972
SHA-256:
117fe1cbe1c7bbdba131f5fd5afd0b4dd3564f8c85377d2151a2973022f83baf
TUWF-1.1.tar.gz
- Disallow exclamation mark in email address validation
- Add reqProtocol() method
- Add reqFCGI() method
- Remove ‘X-Powered-By’ header
- Fix handling of space character in load_recursive()
- 1.0 - 2015-09-17 - File:
TUWF-1.0.tar.gz
Size:
51.8 KiB (53.071 bytes)
PGP:
TUWF-1.0.tar.gz.asc
MD5:
fe6ed1c21b43bd8b57cee447c3093d28
SHA1:
c4be0e1b08896053bbccec0194583b7ab03e1cbc
SHA-256:
344324512783ce8fce17477940be8f7999774f8f39c06d1aabae949ae85b9000
TUWF-1.0.tar.gz
- !! Some backwards-imcompatible changes, marked * !!
- kv_validate() improvements:
- Fix maxcount option
- Fix non-array argument to ‘func’
- Added some default templates: num, int, uint, ascii, email,
weburl
- * Removed ‘min’ and ‘max’ options, these now require the num
template
- Add ‘inherit’ option for template definitions
- Allow templates to provide default values for ‘required’, ‘default’,
‘rmwhitespace’, ‘multi’, ‘mincount’ and ‘maxcount’
- Add tests
- * reqPath() now includes the leading slash
- * reqGet(), reqPost(), reqParam(), reqUploadMIME() and
reqUploadRaw() now only work in scalar context.
- * Add plural versions of the above methods (reqGets() etc) that only
work in list context.
- Add reqQuery()
- Fix warning with Perl 5.22
- 0.2 - 2012-01-19 - File:
TUWF-0.2.tar.gz
Size:
46.7 KiB (47.795 bytes)
PGP:
TUWF-0.2.tar.gz.asc
MD5:
8d2e443764dea673d2a30379cd9fa149
SHA1:
0d3e86975e47f07fe12b25dc1753cb6a105cc6df
SHA-256:
996f740f2756ece0682a4bbc878d19804ca990e9f6a976873d2639e0a78e26ab
TUWF-0.2.tar.gz
- Fixed bug with in-place utf8_decode() in recent Perls
- Lowered minimum Perl version to 5.8.0
- 0.1 - 2011-02-07 - File:
TUWF-0.1.tar.gz
Size:
46.1 KiB (47.254 bytes)
PGP:
TUWF-0.1.tar.gz.asc
MD5:
3dec988da6388fa32cbaeaa6a6a94b14
SHA1:
aadd234dc1b703340df636801cd66b477fdb8b45
SHA-256:
290da5b46241a462b94b8f2fe384fd59ad39193f8a0c8da4fb6d0b75ad8e9d6f
TUWF-0.1.tar.gz