From 715f4a748b705456db479f4b44d01a4049fb95a3 Mon Sep 17 00:00:00 2001 From: Yorhel Date: Thu, 4 Sep 2025 11:30:24 +0200 Subject: [PATCH] Version 1.3 --- ChangeLog | 8 ++++++++ FU.pm | 2 +- FU/DebugImpl.pm | 2 +- FU/Log.pm | 2 +- FU/MultipartFormData.pm | 2 +- FU/Pg.pm | 2 +- FU/SQL.pm | 2 +- FU/Util.pm | 2 +- FU/Validate.pm | 2 +- FU/XMLWriter.pm | 2 +- FU/XS.pm | 2 +- 11 files changed, 18 insertions(+), 10 deletions(-) diff --git a/ChangeLog b/ChangeLog index a5cb275..f5ecc19 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +1.3 - 2025-09-04 + - FU::Validate: Scalar validations now reject control characters by default + - FU::Validate: Add `allow_control` option to override above behavior + - FU::Util: JSON and URI parsing now always permit control characters + - FU::Util: More strict UTF-8 validation on path & URI decoding + - FU::Util: Deprecate `decode_utf8()` + - FU::Util: Deprecate `allow_control` option in `json_parse()` + 1.2 - 2025-07-06 - FU::Pg: Throw error on non-boolean-looking Perl values for boolean bind parameters diff --git a/FU.pm b/FU.pm index 2fabf2a..f1493a7 100644 --- a/FU.pm +++ b/FU.pm @@ -1,4 +1,4 @@ -package FU 1.2; +package FU 1.3; use v5.36; use Carp 'confess', 'croak'; use IO::Socket; diff --git a/FU/DebugImpl.pm b/FU/DebugImpl.pm index 7e8ddac..13e4eb4 100644 --- a/FU/DebugImpl.pm +++ b/FU/DebugImpl.pm @@ -1,5 +1,5 @@ # Internal module used by FU.pm -package FU::DebugImpl 1.2; +package FU::DebugImpl 1.3; use v5.36; use utf8; use experimental 'for_list'; diff --git a/FU/Log.pm b/FU/Log.pm index 64f95c8..f3b1fcf 100644 --- a/FU/Log.pm +++ b/FU/Log.pm @@ -1,4 +1,4 @@ -package FU::Log 1.2; +package FU::Log 1.3; use v5.36; use Exporter 'import'; use POSIX 'strftime'; diff --git a/FU/MultipartFormData.pm b/FU/MultipartFormData.pm index 14ce323..ca21512 100644 --- a/FU/MultipartFormData.pm +++ b/FU/MultipartFormData.pm @@ -1,4 +1,4 @@ -package FU::MultipartFormData 1.2; +package FU::MultipartFormData 1.3; use v5.36; use Carp 'confess'; use FU::Util 'utf8_decode'; diff --git a/FU/Pg.pm b/FU/Pg.pm index cd48ab2..75bc3af 100644 --- a/FU/Pg.pm +++ b/FU/Pg.pm @@ -1,4 +1,4 @@ -package FU::Pg 1.2; +package FU::Pg 1.3; use v5.36; use FU::XS; diff --git a/FU/SQL.pm b/FU/SQL.pm index 7ff1242..3e0869c 100644 --- a/FU/SQL.pm +++ b/FU/SQL.pm @@ -1,4 +1,4 @@ -package FU::SQL 1.2; +package FU::SQL 1.3; use v5.36; use Exporter 'import'; use Carp 'confess'; diff --git a/FU/Util.pm b/FU/Util.pm index 77635a2..da8b869 100644 --- a/FU/Util.pm +++ b/FU/Util.pm @@ -1,4 +1,4 @@ -package FU::Util 1.2; +package FU::Util 1.3; use v5.36; use FU::XS; diff --git a/FU/Validate.pm b/FU/Validate.pm index fa3bdcc..f170bfc 100644 --- a/FU/Validate.pm +++ b/FU/Validate.pm @@ -1,4 +1,4 @@ -package FU::Validate 1.2; +package FU::Validate 1.3; use v5.36; use experimental 'builtin', 'for_list'; diff --git a/FU/XMLWriter.pm b/FU/XMLWriter.pm index 33cdea4..5364c5e 100644 --- a/FU/XMLWriter.pm +++ b/FU/XMLWriter.pm @@ -1,4 +1,4 @@ -package FU::XMLWriter 1.2; +package FU::XMLWriter 1.3; use v5.36; use Carp 'confess'; use Exporter 'import'; diff --git a/FU/XS.pm b/FU/XS.pm index a3d5337..b22fbbb 100644 --- a/FU/XS.pm +++ b/FU/XS.pm @@ -1,5 +1,5 @@ # This module is for internal use by other FU modules. -package FU::XS 1.2; +package FU::XS 1.3; use Carp; # may be called by XS. use XSLoader; XSLoader::load('FU');