diff --git a/ChangeLog b/ChangeLog index a571959..8a0bb73 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,2 +1,14 @@ +0.2 - 2025-02-28 + - FU: Add debug_info web interface + - FU: Add fu->denied and fu->notfound methods + - FU: Support randomized --max-reqs + - FU: Drop Zstd output compression support + - FU::PG: Support custom type overrides with $conn->set_type() + - FU::PG: Change default format for the 'date' type + - FU::PG: Add support for 'time', '$date_str' and '$hex' types + - FU::PG: Skip query prepare step when possible + - Fix portability for older compilers & longdouble Perls + - Fix some memory leaks + 0.1 - 2025-02-25 - Initial release diff --git a/FU.pm b/FU.pm index 55d8454..78c0fce 100644 --- a/FU.pm +++ b/FU.pm @@ -1,4 +1,4 @@ -package FU 0.1; +package FU 0.2; use v5.36; use Carp 'confess', 'croak'; use IO::Socket; diff --git a/FU.xs b/FU.xs index f00f5e5..3c6084a 100644 --- a/FU.xs +++ b/FU.xs @@ -235,7 +235,7 @@ void q(fupg_conn *c, SV *sv, ...) void _set_type(fupg_conn *c, SV *name, SV *sendsv, SV *recvsv) CODE: - fupg_set_type(c, name, sendsv, recvsv); + fupg_set_type(aTHX_ c, name, sendsv, recvsv); XSRETURN(1); diff --git a/FU/DebugImpl.pm b/FU/DebugImpl.pm index 0852b1c..1fc09cd 100644 --- a/FU/DebugImpl.pm +++ b/FU/DebugImpl.pm @@ -1,5 +1,5 @@ # Internal module used by FU.pm -package FU::DebugImpl 0.1; +package FU::DebugImpl 0.2; use v5.36; use experimental 'for_list'; use FU; diff --git a/FU/Log.pm b/FU/Log.pm index f22c1c3..17f809c 100644 --- a/FU/Log.pm +++ b/FU/Log.pm @@ -1,4 +1,4 @@ -package FU::Log 0.1; +package FU::Log 0.2; use v5.36; use Exporter 'import'; use POSIX 'strftime'; diff --git a/FU/Pg.pm b/FU/Pg.pm index deb5f4d..175bba3 100644 --- a/FU/Pg.pm +++ b/FU/Pg.pm @@ -1,4 +1,4 @@ -package FU::Pg 0.1; +package FU::Pg 0.2; use v5.36; use FU::XS; diff --git a/FU/SQL.pm b/FU/SQL.pm index e528b59..73f5613 100644 --- a/FU/SQL.pm +++ b/FU/SQL.pm @@ -1,4 +1,4 @@ -package FU::SQL 0.1; +package FU::SQL 0.2; use v5.36; use Exporter 'import'; use Carp 'confess'; diff --git a/FU/Util.pm b/FU/Util.pm index af5b4e4..275cac5 100644 --- a/FU/Util.pm +++ b/FU/Util.pm @@ -1,4 +1,4 @@ -package FU::Util 0.1; +package FU::Util 0.2; use v5.36; use FU::XS; diff --git a/FU/Validate.pm b/FU/Validate.pm index 69ea829..1538c5a 100644 --- a/FU/Validate.pm +++ b/FU/Validate.pm @@ -1,4 +1,4 @@ -package FU::Validate 0.1; +package FU::Validate 0.2; use v5.36; use experimental 'builtin', 'for_list'; diff --git a/FU/XMLWriter.pm b/FU/XMLWriter.pm index 0241007..0911ced 100644 --- a/FU/XMLWriter.pm +++ b/FU/XMLWriter.pm @@ -1,4 +1,4 @@ -package FU::XMLWriter 0.1; +package FU::XMLWriter 0.2; use v5.36; use Carp 'confess'; use Exporter 'import'; diff --git a/FU/XS.pm b/FU/XS.pm index f267ba3..d2f7d19 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.1; +package FU::XS 0.2; use Carp; # may be called by XS. use XSLoader; XSLoader::load('FU'); diff --git a/c/pgconn.c b/c/pgconn.c index 0acd17b..ace6ace 100644 --- a/c/pgconn.c +++ b/c/pgconn.c @@ -405,8 +405,8 @@ static const fupg_type *fupg_resolve_builtin(pTHX_ SV *name, SV **cb) { static void fupg_set_type(pTHX_ fupg_conn *c, SV *name, SV *sendsv, SV *recvsv) { fupg_override o; - o.send = fupg_resolve_builtin(sendsv, &o.sendcb); - o.recv = fupg_resolve_builtin(recvsv, &o.recvcb); + o.send = fupg_resolve_builtin(aTHX_ sendsv, &o.sendcb); + o.recv = fupg_resolve_builtin(aTHX_ recvsv, &o.recvcb); if ((o.send && o.send->send == fupg_send_array) || (o.recv && o.recv->recv == fupg_recv_array)) fu_confess("Cannot set a type to array, override the underlying element type instead"); /* Can't currently happen since we have no records in the builtin type