Version 0.5

This commit is contained in:
Yorhel 2025-04-24 14:16:17 +02:00
parent 4833456898
commit e88ad65232
13 changed files with 31 additions and 11 deletions

View file

@ -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 0.4 - 2025-03-19
- FU::Validate: Support arrayref schemas - FU::Validate: Support arrayref schemas
- FU::Validate: Rename 'values' option to 'elems' - FU::Validate: Rename 'values' option to 'elems'

4
FU.pm
View file

@ -1,4 +1,4 @@
package FU 0.4; package FU 0.5;
use v5.36; use v5.36;
use Carp 'confess', 'croak'; use Carp 'confess', 'croak';
use IO::Socket; use IO::Socket;
@ -1055,7 +1055,7 @@ certainly not great if you plan to transfer large files.
=back =back
The rest of this document is reference documentation; there's no easy 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 Unless specifically mentioned otherwise, all methods and functions taking or
returning strings deal with perl Unicode strings, not raw bytes. returning strings deal with perl Unicode strings, not raw bytes.

View file

@ -1,5 +1,5 @@
# Internal module used by FU.pm # Internal module used by FU.pm
package FU::DebugImpl 0.4; package FU::DebugImpl 0.5;
use v5.36; use v5.36;
use experimental 'for_list'; use experimental 'for_list';
use FU; use FU;

View file

@ -1,4 +1,4 @@
package FU::Log 0.4; package FU::Log 0.5;
use v5.36; use v5.36;
use Exporter 'import'; use Exporter 'import';
use POSIX 'strftime'; use POSIX 'strftime';

View file

@ -1,4 +1,4 @@
package FU::MultipartFormData 0.4; package FU::MultipartFormData 0.5;
use v5.36; use v5.36;
use Carp 'confess'; use Carp 'confess';
use FU::Util 'utf8_decode'; use FU::Util 'utf8_decode';

View file

@ -1,4 +1,4 @@
package FU::Pg 0.4; package FU::Pg 0.5;
use v5.36; use v5.36;
use FU::XS; use FU::XS;

View file

@ -1,4 +1,4 @@
package FU::SQL 0.4; package FU::SQL 0.5;
use v5.36; use v5.36;
use Exporter 'import'; use Exporter 'import';
use Carp 'confess'; use Carp 'confess';

View file

@ -1,4 +1,4 @@
package FU::Util 0.4; package FU::Util 0.5;
use v5.36; use v5.36;
use FU::XS; use FU::XS;

View file

@ -1,4 +1,4 @@
package FU::Validate 0.4; package FU::Validate 0.5;
use v5.36; use v5.36;
use experimental 'builtin', 'for_list'; use experimental 'builtin', 'for_list';

View file

@ -1,4 +1,4 @@
package FU::XMLWriter 0.4; package FU::XMLWriter 0.5;
use v5.36; use v5.36;
use Carp 'confess'; use Carp 'confess';
use Exporter 'import'; use Exporter 'import';

View file

@ -1,5 +1,5 @@
# This module is for internal use by other FU modules. # 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 Carp; # may be called by XS.
use XSLoader; use XSLoader;
XSLoader::load('FU'); XSLoader::load('FU');

View file

@ -17,6 +17,7 @@ WriteMakefile(
dynamic_config => 0, dynamic_config => 0,
'meta-spec' => { version => 2 }, 'meta-spec' => { version => 2 },
resources => { resources => {
homepage => 'https://dev.yorhel.nl/fu',
repository => { repository => {
web => 'https://code.blicky.net/yorhel/fu', web => 'https://code.blicky.net/yorhel/fu',
type => 'git', type => 'git',

View file

@ -3,6 +3,8 @@
FU (Framework Ultimatum) is a web development framework for Perl and a FU (Framework Ultimatum) is a web development framework for Perl and a
collection of handy utility modules. 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). *Contributing:* Refer to my [contribution guidelines](https://dev.yorhel.nl/contributing).
## Project Status ## Project Status