diff options
-rw-r--r-- | Build.PL | 5 | ||||
-rw-r--r-- | COPYING | 2 | ||||
-rw-r--r-- | ChangeLog | 24 | ||||
-rw-r--r-- | lib/TUWF.pm | 2 | ||||
-rw-r--r-- | lib/TUWF.pod | 2 | ||||
-rw-r--r-- | lib/TUWF/DB.pm | 2 | ||||
-rw-r--r-- | lib/TUWF/DB.pod | 2 | ||||
-rw-r--r-- | lib/TUWF/Intro.pod | 2 | ||||
-rw-r--r-- | lib/TUWF/Misc.pm | 2 | ||||
-rw-r--r-- | lib/TUWF/Misc.pod | 2 | ||||
-rw-r--r-- | lib/TUWF/Request.pm | 2 | ||||
-rw-r--r-- | lib/TUWF/Request.pod | 2 | ||||
-rw-r--r-- | lib/TUWF/Response.pm | 2 | ||||
-rw-r--r-- | lib/TUWF/Response.pod | 2 | ||||
-rw-r--r-- | lib/TUWF/XML.pm | 2 | ||||
-rw-r--r-- | lib/TUWF/XML.pod | 2 |
16 files changed, 41 insertions, 16 deletions
@@ -4,7 +4,7 @@ use Module::Build; Module::Build->new( dist_name => 'TUWF', - dist_version => '1.1', + dist_version => '1.2', dist_author => 'Yoran Heling <projects@yorhel.nl>', dist_abstract => 'The Ultimate Website Framework', license => 'mit', @@ -20,7 +20,8 @@ Module::Build->new( }, meta_merge => { resources => { - repository => 'https://g.blicky.net/tuwf.git/' + repository => 'https://g.blicky.net/tuwf.git/', + homepage => 'https://dev.yorhel.nl/tuwf' }, }, create_makefile_pl => 'traditional', @@ -1,4 +1,4 @@ -Copyright (c) 2008-2017 Yoran Heling +Copyright (c) 2008-2018 Yoran Heling Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the @@ -1,3 +1,27 @@ +1.2 - 2018-02-18 + - 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 - Disallow exclamation mark in email address validation - Add reqProtocol() method diff --git a/lib/TUWF.pm b/lib/TUWF.pm index 1c67ab3..7487ab7 100644 --- a/lib/TUWF.pm +++ b/lib/TUWF.pm @@ -7,7 +7,7 @@ use strict; use warnings; use Carp 'croak'; -our $VERSION = '1.1'; +our $VERSION = '1.2'; # Store the object in a global variable for some functions that don't get it diff --git a/lib/TUWF.pod b/lib/TUWF.pod index 7d59cfa..292bfe6 100644 --- a/lib/TUWF.pod +++ b/lib/TUWF.pod @@ -840,7 +840,7 @@ L<https://g.blicky.net/tuwf.git/|https://g.blicky.net/tuwf.git/>. =head1 COPYRIGHT -Copyright (c) 2008-2017 Yoran Heling. +Copyright (c) 2008-2018 Yoran Heling. This module is part of the TUWF framework and is free software available under the liberal MIT license. See the COPYING file in the TUWF distribution for the diff --git a/lib/TUWF/DB.pm b/lib/TUWF/DB.pm index aae8e41..d50774f 100644 --- a/lib/TUWF/DB.pm +++ b/lib/TUWF/DB.pm @@ -7,7 +7,7 @@ use Carp 'croak'; use Exporter 'import'; use Time::HiRes 'time'; -our $VERSION = '1.1'; +our $VERSION = '1.2'; our @EXPORT = qw| dbInit dbh dbCheck dbDisconnect dbCommit dbRollBack dbExec dbVal dbRow dbAll dbPage diff --git a/lib/TUWF/DB.pod b/lib/TUWF/DB.pod index 5982654..e520e19 100644 --- a/lib/TUWF/DB.pod +++ b/lib/TUWF/DB.pod @@ -252,7 +252,7 @@ L<TUWF> =head1 COPYRIGHT -Copyright (c) 2008-2017 Yoran Heling. +Copyright (c) 2008-2018 Yoran Heling. This module is part of the TUWF framework and is free software available under the liberal MIT license. See the COPYING file in the TUWF distribution for the diff --git a/lib/TUWF/Intro.pod b/lib/TUWF/Intro.pod index c7fd409..deb0236 100644 --- a/lib/TUWF/Intro.pod +++ b/lib/TUWF/Intro.pod @@ -290,7 +290,7 @@ L<https://dev.yorhel.nl/tuwf|https://dev.yorhel.nl/tuwf>. =head1 COPYRIGHT -Copyright (c) 2008-2017 Yoran Heling. +Copyright (c) 2008-2018 Yoran Heling. This module is part of the TUWF framework and is free software available under the liberal MIT license. See the COPYING file in the TUWF distribution for the diff --git a/lib/TUWF/Misc.pm b/lib/TUWF/Misc.pm index 16236b6..1ccd2b8 100644 --- a/lib/TUWF/Misc.pm +++ b/lib/TUWF/Misc.pm @@ -11,7 +11,7 @@ use Encode 'encode_utf8'; use Scalar::Util 'looks_like_number'; -our $VERSION = '1.1'; +our $VERSION = '1.2'; our @EXPORT = ('formValidate', 'mail'); our @EXPORT_OK = ('uri_escape', 'kv_validate'); diff --git a/lib/TUWF/Misc.pod b/lib/TUWF/Misc.pod index ca141ad..6e2b6ca 100644 --- a/lib/TUWF/Misc.pod +++ b/lib/TUWF/Misc.pod @@ -280,7 +280,7 @@ L<TUWF>, L<URI::Escape>. =head1 COPYRIGHT -Copyright (c) 2008-2017 Yoran Heling. +Copyright (c) 2008-2018 Yoran Heling. This module is part of the TUWF framework and is free software available under the liberal MIT license. See the COPYING file in the TUWF distribution for the diff --git a/lib/TUWF/Request.pm b/lib/TUWF/Request.pm index f77042c..5d7647f 100644 --- a/lib/TUWF/Request.pm +++ b/lib/TUWF/Request.pm @@ -7,7 +7,7 @@ use Encode 'decode_utf8', 'encode_utf8'; use Exporter 'import'; use Carp 'croak'; -our $VERSION = '1.1'; +our $VERSION = '1.2'; our @EXPORT = qw| reqInit reqGets reqGet reqPosts reqPost reqParams reqParam reqJSON reqUploadMIMEs reqUploadMIME reqUploadRaws reqUploadRaw reqSaveUpload diff --git a/lib/TUWF/Request.pod b/lib/TUWF/Request.pod index d35edc2..6b65e58 100644 --- a/lib/TUWF/Request.pod +++ b/lib/TUWF/Request.pod @@ -218,7 +218,7 @@ L<TUWF> =head1 COPYRIGHT -Copyright (c) 2008-2017 Yoran Heling. +Copyright (c) 2008-2018 Yoran Heling. This module is part of the TUWF framework and is free software available under the liberal MIT license. See the COPYING file in the TUWF distribution for the diff --git a/lib/TUWF/Response.pm b/lib/TUWF/Response.pm index 07799e8..07c01ed 100644 --- a/lib/TUWF/Response.pm +++ b/lib/TUWF/Response.pm @@ -9,7 +9,7 @@ use POSIX 'strftime'; use Carp 'croak'; -our $VERSION = '1.1'; +our $VERSION = '1.2'; our @EXPORT = qw| resInit resHeader resCookie resBuffer resFd resStatus resRedirect resNotFound resJSON resBinary resFile resFinish diff --git a/lib/TUWF/Response.pod b/lib/TUWF/Response.pod index a6ef6ad..87d8bfd 100644 --- a/lib/TUWF/Response.pod +++ b/lib/TUWF/Response.pod @@ -251,7 +251,7 @@ L<TUWF> =head1 COPYRIGHT -Copyright (c) 2008-2017 Yoran Heling. +Copyright (c) 2008-2018 Yoran Heling. This module is part of the TUWF framework and is free software available under the liberal MIT license. See the COPYING file in the TUWF distribution for the diff --git a/lib/TUWF/XML.pm b/lib/TUWF/XML.pm index 86d05b1..7730ab7 100644 --- a/lib/TUWF/XML.pm +++ b/lib/TUWF/XML.pm @@ -10,7 +10,7 @@ use Exporter 'import'; use Carp 'carp', 'croak'; -our $VERSION = '1.1'; +our $VERSION = '1.2'; our(@EXPORT_OK, %EXPORT_TAGS, $OBJ); # List::Util provides a uniq() since 1.45, but for some reason my Perl comes diff --git a/lib/TUWF/XML.pod b/lib/TUWF/XML.pod index 7a0e529..2253b66 100644 --- a/lib/TUWF/XML.pod +++ b/lib/TUWF/XML.pod @@ -396,7 +396,7 @@ instead of whatever is available on CPAN. =head1 COPYRIGHT -Copyright (c) 2008-2017 Yoran Heling. +Copyright (c) 2008-2018 Yoran Heling. This module is part of the TUWF framework and is free software available under the liberal MIT license. See the COPYING file in the TUWF distribution for the |