diff --git a/ChangeLog b/ChangeLog index f9c7266..3f18b6b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,20 @@ +0.5 - 2025-04-24 + - FU::Util: Set O_CLOEXEC on fds received through `fdpass_recv()` + - FU::Util: Fix interpretation of false options in `json_format()` and + `json_parse()` + - FU::Validate: Add `coerce()` and `empty()` utility methods + - FU::Validate: Limit values of int/uint input to 64 bits + - FU::Validate: Normalize num/int/uint inputs to Perl numeric types + - FU::Pg: Add `escape_literal()` and `escape_identifier()` methods + - FU::Pg: Use less memory for `kvv()`, `kva()` and `kvh()` methods + - FU::Pg: Disallow chaining of `cache()`, `text()`, `text_params()` and + `text_results()` methods on connection and transaction objects + - FU: Throw and catch FU::Validate errors without wrapping in `fu->error()` + - FU: Add `-progname` option and add diagnostics to process names + - FU: Whole bunch of misc fixes + - Doc fixes + - Fix nul-termination of some XS-created strings + 0.4 - 2025-03-19 - FU::Validate: Support arrayref schemas - FU::Validate: Rename 'values' option to 'elems' diff --git a/FU.pm b/FU.pm index 423c6e1..1f71a91 100644 --- a/FU.pm +++ b/FU.pm @@ -1,4 +1,4 @@ -package FU 0.4; +package FU 0.5; use v5.36; use Carp 'confess', 'croak'; use IO::Socket; @@ -1055,7 +1055,7 @@ certainly not great if you plan to transfer large files. =back The rest of this document is reference documentation; there's no easy -introductionary cookbook-style docs yet, sorry about that. +introductory cookbook-style docs yet, sorry about that. Unless specifically mentioned otherwise, all methods and functions taking or returning strings deal with perl Unicode strings, not raw bytes. diff --git a/FU/DebugImpl.pm b/FU/DebugImpl.pm index d7f0334..a0de7ea 100644 --- a/FU/DebugImpl.pm +++ b/FU/DebugImpl.pm @@ -1,5 +1,5 @@ # Internal module used by FU.pm -package FU::DebugImpl 0.4; +package FU::DebugImpl 0.5; use v5.36; use experimental 'for_list'; use FU; diff --git a/FU/Log.pm b/FU/Log.pm index 24dafbf..e2da4a2 100644 --- a/FU/Log.pm +++ b/FU/Log.pm @@ -1,4 +1,4 @@ -package FU::Log 0.4; +package FU::Log 0.5; use v5.36; use Exporter 'import'; use POSIX 'strftime'; diff --git a/FU/MultipartFormData.pm b/FU/MultipartFormData.pm index 7c4f467..a92e4d7 100644 --- a/FU/MultipartFormData.pm +++ b/FU/MultipartFormData.pm @@ -1,4 +1,4 @@ -package FU::MultipartFormData 0.4; +package FU::MultipartFormData 0.5; use v5.36; use Carp 'confess'; use FU::Util 'utf8_decode'; diff --git a/FU/Pg.pm b/FU/Pg.pm index e43776e..f43c7f8 100644 --- a/FU/Pg.pm +++ b/FU/Pg.pm @@ -1,4 +1,4 @@ -package FU::Pg 0.4; +package FU::Pg 0.5; use v5.36; use FU::XS; diff --git a/FU/SQL.pm b/FU/SQL.pm index 15adbb1..2f8566d 100644 --- a/FU/SQL.pm +++ b/FU/SQL.pm @@ -1,4 +1,4 @@ -package FU::SQL 0.4; +package FU::SQL 0.5; use v5.36; use Exporter 'import'; use Carp 'confess'; diff --git a/FU/Util.pm b/FU/Util.pm index e823d79..5b262fb 100644 --- a/FU/Util.pm +++ b/FU/Util.pm @@ -1,4 +1,4 @@ -package FU::Util 0.4; +package FU::Util 0.5; use v5.36; use FU::XS; diff --git a/FU/Validate.pm b/FU/Validate.pm index dd767c7..b315784 100644 --- a/FU/Validate.pm +++ b/FU/Validate.pm @@ -1,4 +1,4 @@ -package FU::Validate 0.4; +package FU::Validate 0.5; use v5.36; use experimental 'builtin', 'for_list'; diff --git a/FU/XMLWriter.pm b/FU/XMLWriter.pm index 35e0702..1e9bb90 100644 --- a/FU/XMLWriter.pm +++ b/FU/XMLWriter.pm @@ -1,4 +1,4 @@ -package FU::XMLWriter 0.4; +package FU::XMLWriter 0.5; use v5.36; use Carp 'confess'; use Exporter 'import'; diff --git a/FU/XS.pm b/FU/XS.pm index f9660c8..52cc757 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 0.4; +package FU::XS 0.5; use Carp; # may be called by XS. use XSLoader; XSLoader::load('FU'); diff --git a/Makefile.PL b/Makefile.PL index 326fdb4..c107fa1 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -17,6 +17,7 @@ WriteMakefile( dynamic_config => 0, 'meta-spec' => { version => 2 }, resources => { + homepage => 'https://dev.yorhel.nl/fu', repository => { web => 'https://code.blicky.net/yorhel/fu', type => 'git', diff --git a/README.md b/README.md index bf545b6..d29e00c 100644 --- a/README.md +++ b/README.md @@ -3,6 +3,8 @@ FU (Framework Ultimatum) is a web development framework for Perl and a collection of handy utility modules. +*Website:* More information @ [dev.yorhel.nl/fu](https://dev.yorhel.nl/fu). + *Contributing:* Refer to my [contribution guidelines](https://dev.yorhel.nl/contributing). ## Project Status