diff --git a/Changes b/Changes index db7320c..16fb00b 100644 --- a/Changes +++ b/Changes @@ -1,5 +1,17 @@ Revision history for YATT::Lite +0.101_103 2023-12-05 + * GH-214 - Drop use of deprecated `given` syntax + * GH-211 - Allow `*.ydo` to reurn PSGI tuple directly + * GH-209 - Fix incorrect error of dynamic module loading while rendering + * GH-207 - Fix error_response handling for per_role_docroot mode + * GH-206 - Fix is_index mis-detection + * GH-205 - `&yatt:script_uri;` now cares HTTP_X_FORWARDED_PROTO + * GH-204 - (Emacs) fix yatt-mode background face + * GH-203 - Allow loading multiple app.psgi in a process + + * Drop perl 5.10 + 0.101_102 2020-10-17 * GH-202 - fixed some test failures diff --git a/Lite.pm b/Lite.pm index 3426689..1d59d1f 100644 --- a/Lite.pm +++ b/Lite.pm @@ -4,7 +4,7 @@ use warnings qw(FATAL all NONFATAL misc); use 5.010; no if $] >= 5.017011, warnings => "experimental"; use Carp qw(carp croak confess); -our $VERSION = '0.101_102'; +our $VERSION = '0.101_103'; use mro 'c3'; use Scalar::Util qw/weaken/; diff --git a/MANIFEST b/MANIFEST index f75d9b5..055ccf4 100644 --- a/MANIFEST +++ b/MANIFEST @@ -2,6 +2,7 @@ .htaccess .shipit .travis.yml +.github/workflows/perl_linux.yml Build.PL Changes cpanfile @@ -17,6 +18,7 @@ Lite.pod Lite/Breakpoint.pm Lite/CGen.pm Lite/CGen/Perl.pm +Lite/CGen/README.md Lite/Connection.pm Lite/Constants.pm Lite/Core.pm @@ -110,6 +112,7 @@ misc/cpan/MyBuilder.pm misc/gnu-source-highlight/sh_yatt.js misc/gnu-source-highlight/yatt.lang README.md +samples/runplack-env-dev.cgi samples/basic/1/.symlinks samples/basic/1/app.psgi samples/basic/1/html/envelope.ytmpl @@ -194,17 +197,6 @@ samples/basic/3/t/fcgi_offline.t samples/basic/3/t/http_localhost.t samples/basic/3/t/offline.t samples/basic/3/t/psgi_offline.t -samples/basic/4/.symlinks -samples/basic/4/app.psgi -samples/basic/4/html/.htyattrc.pl -samples/basic/4/html/index.yatt -samples/basic/4/t/.htaccess -samples/basic/4/t/.symlinks -samples/basic/4/t/1-basic.xhf -samples/basic/4/t/fcgi_offline.t -samples/basic/4/t/http_localhost.t -samples/basic/4/t/offline.t -samples/basic/4/t/psgi_offline.t samples/basic/5/.symlinks samples/basic/5/app.psgi samples/basic/5/html/dot.htaccess @@ -701,6 +693,7 @@ t/psgi_pi.t t/psgi_raise_response.t t/psgi_root_index.t t/psgi_sess2/app.d/public/index.yatt +t/psgi_sess2/app.d/public/.htyattrc.pl t/psgi_sess2/app.psgi t/psgi_sess2/app.t t/psgi_site_config.t @@ -735,6 +728,17 @@ t/tkt172_moderror_in_entity/lib/MyBackendFOOBAR.pm t/tkt172_moderror_in_entity/psgi.t t/tkt172_moderror_in_entity/public/index.yatt t/tkt172_moderror_in_entity/ytmpl/error.ytmpl +t/tkt203_multiple_psgi/bar/app.psgi +t/tkt203_multiple_psgi/bar/public/.htyattrc.pl +t/tkt203_multiple_psgi/baz.psgi +t/tkt203_multiple_psgi/baz/.htyattrc.pl +t/tkt203_multiple_psgi/foo/app.psgi +t/tkt203_multiple_psgi/foo/public/.htyattrc.pl +t/tkt203_multiple_psgi/test.t +t/tkt209_modcatcherror_in_entity/lib/MyBackendFOOBAR.pm +t/tkt209_modcatcherror_in_entity/psgi.t +t/tkt209_modcatcherror_in_entity/public/index.yatt +t/tkt209_modcatcherror_in_entity/ytmpl/error.ytmpl t/typealias.t t/types.t t/use.t @@ -757,6 +761,7 @@ t/xhf/lite/7-foreach.xhf t/xhf/lite/8-newline.xhf t/xhf/lite/9-raise.xhf t/xhfdump.t +t/yaml_tiny_error.t vendor/apple/.symlinks vendor/apple/ApacheConfig.pm vendor/apple/apple-enable-cgi.pl diff --git a/MANIFEST.SKIP b/MANIFEST.SKIP index 8cb6c54..51244cc 100644 --- a/MANIFEST.SKIP +++ b/MANIFEST.SKIP @@ -45,6 +45,7 @@ \.# \.rej$ \.db$ +\.tar\.gz$ # Avoid OS-specific files/dirs # Mac OSX metadata @@ -84,3 +85,7 @@ samples/benchmarks/template/[^/]+\.out$ samples/.*?/data/\.ht_[^/]+$ + +samples/.*?/html/\.htaccess$ +samples/.*?/html/cgi-bin/\.htaccess$ +samples/.*?/html/cgi-bin/runyatt\.cgi$ diff --git a/META.json b/META.json index 69bcf19..50f43f6 100644 --- a/META.json +++ b/META.json @@ -4,7 +4,7 @@ "\"KOBAYASI, Hiroaki\" " ], "dynamic_config" : 1, - "generated_by" : "Module::Build version 0.4231", + "generated_by" : "Module::Build version 0.4234", "license" : [ "perl_5" ], @@ -32,12 +32,11 @@ "Sub::Inspector" : "0", "Test::Requires" : "0", "Text::Glob" : "0", - "Time::Piece" : "0", - "YAML::Tiny" : "0" + "Time::Piece" : "0" }, "requires" : { "CGI" : "4.40", - "Cookie::Baker::XS" : "0", + "Cookie::Baker" : "0", "Devel::StackTrace" : "0", "File::AddInc" : "0", "File::Path" : "0", @@ -63,7 +62,6 @@ "CGI::Emulate::PSGI" : "0", "CGI::Session" : "0", "DBD::SQLite" : "0", - "DBD::mysql" : "0", "DBIx::Class" : "0", "Email::Sender" : "0", "Email::Simple" : "0", @@ -82,7 +80,8 @@ "Test::More" : "0", "Test::Refcount" : "0", "Test::WWW::Mechanize::PSGI" : "0", - "Time::HiRes" : "0" + "Time::HiRes" : "0", + "YAML::Tiny" : "0" } } }, @@ -95,6 +94,6 @@ "url" : "https://github.com/hkoba/yatt_lite" } }, - "version" : "0.101_102", - "x_serialization_backend" : "JSON::PP version 4.04" + "version" : "0.101_103", + "x_serialization_backend" : "JSON::PP version 4.16" } diff --git a/META.yml b/META.yml index 7dd9cf3..38996f0 100644 --- a/META.yml +++ b/META.yml @@ -7,7 +7,6 @@ build_requires: CGI::Emulate::PSGI: '0' CGI::Session: '0' DBD::SQLite: '0' - DBD::mysql: '0' DBIx::Class: '0' Email::Sender: '0' Email::Simple: '0' @@ -27,11 +26,12 @@ build_requires: Test::Refcount: '0' Test::WWW::Mechanize::PSGI: '0' Time::HiRes: '0' + YAML::Tiny: '0' configure_requires: Module::Build: '0' Module::CPANfile: '0' dynamic_config: 1 -generated_by: 'Module::Build version 0.4231, CPAN::Meta::Converter version 2.150010' +generated_by: 'Module::Build version 0.4234, CPAN::Meta::Converter version 2.150010' license: perl meta-spec: url: http://module-build.sourceforge.net/META-spec-v1.4.html @@ -49,10 +49,9 @@ recommends: Test::Requires: '0' Text::Glob: '0' Time::Piece: '0' - YAML::Tiny: '0' requires: CGI: '4.40' - Cookie::Baker::XS: '0' + Cookie::Baker: '0' Devel::StackTrace: '0' File::AddInc: '0' File::Path: '0' @@ -73,5 +72,5 @@ requires: resources: license: http://dev.perl.org/licenses/ repository: https://github.com/hkoba/yatt_lite -version: 0.101_102 +version: 0.101_103 x_serialization_backend: 'CPAN::Meta::YAML version 0.018' diff --git a/cpanfile b/cpanfile index 838403f..23b3a27 100644 --- a/cpanfile +++ b/cpanfile @@ -39,7 +39,6 @@ requires 'HTML::Entities'; recommends 'Sub::Identify'; recommends 'Sub::Inspector'; -recommends 'YAML::Tiny'; recommends 'Devel::StackTrace::WithLexicals' => 0.08; recommends 'Test::Requires'; # which is required by Sub::Inspector @@ -91,4 +90,6 @@ on test => sub { requires 'Email::Simple'; requires 'CGI::Emulate::PSGI'; requires 'CGI::Compile'; + + requires 'YAML::Tiny'; };