Compat fixes + 0.2 release
This commit is contained in:
parent
15954f4ad5
commit
3fd424c6e3
12 changed files with 24 additions and 12 deletions
12
ChangeLog
12
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
|
0.1 - 2025-02-25
|
||||||
- Initial release
|
- Initial release
|
||||||
|
|
|
||||||
2
FU.pm
2
FU.pm
|
|
@ -1,4 +1,4 @@
|
||||||
package FU 0.1;
|
package FU 0.2;
|
||||||
use v5.36;
|
use v5.36;
|
||||||
use Carp 'confess', 'croak';
|
use Carp 'confess', 'croak';
|
||||||
use IO::Socket;
|
use IO::Socket;
|
||||||
|
|
|
||||||
2
FU.xs
2
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)
|
void _set_type(fupg_conn *c, SV *name, SV *sendsv, SV *recvsv)
|
||||||
CODE:
|
CODE:
|
||||||
fupg_set_type(c, name, sendsv, recvsv);
|
fupg_set_type(aTHX_ c, name, sendsv, recvsv);
|
||||||
XSRETURN(1);
|
XSRETURN(1);
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
# Internal module used by FU.pm
|
# Internal module used by FU.pm
|
||||||
package FU::DebugImpl 0.1;
|
package FU::DebugImpl 0.2;
|
||||||
use v5.36;
|
use v5.36;
|
||||||
use experimental 'for_list';
|
use experimental 'for_list';
|
||||||
use FU;
|
use FU;
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
package FU::Log 0.1;
|
package FU::Log 0.2;
|
||||||
use v5.36;
|
use v5.36;
|
||||||
use Exporter 'import';
|
use Exporter 'import';
|
||||||
use POSIX 'strftime';
|
use POSIX 'strftime';
|
||||||
|
|
|
||||||
2
FU/Pg.pm
2
FU/Pg.pm
|
|
@ -1,4 +1,4 @@
|
||||||
package FU::Pg 0.1;
|
package FU::Pg 0.2;
|
||||||
use v5.36;
|
use v5.36;
|
||||||
use FU::XS;
|
use FU::XS;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
package FU::SQL 0.1;
|
package FU::SQL 0.2;
|
||||||
use v5.36;
|
use v5.36;
|
||||||
use Exporter 'import';
|
use Exporter 'import';
|
||||||
use Carp 'confess';
|
use Carp 'confess';
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
package FU::Util 0.1;
|
package FU::Util 0.2;
|
||||||
|
|
||||||
use v5.36;
|
use v5.36;
|
||||||
use FU::XS;
|
use FU::XS;
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
package FU::Validate 0.1;
|
package FU::Validate 0.2;
|
||||||
|
|
||||||
use v5.36;
|
use v5.36;
|
||||||
use experimental 'builtin', 'for_list';
|
use experimental 'builtin', 'for_list';
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
package FU::XMLWriter 0.1;
|
package FU::XMLWriter 0.2;
|
||||||
use v5.36;
|
use v5.36;
|
||||||
use Carp 'confess';
|
use Carp 'confess';
|
||||||
use Exporter 'import';
|
use Exporter 'import';
|
||||||
|
|
|
||||||
2
FU/XS.pm
2
FU/XS.pm
|
|
@ -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.1;
|
package FU::XS 0.2;
|
||||||
use Carp; # may be called by XS.
|
use Carp; # may be called by XS.
|
||||||
use XSLoader;
|
use XSLoader;
|
||||||
XSLoader::load('FU');
|
XSLoader::load('FU');
|
||||||
|
|
|
||||||
|
|
@ -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) {
|
static void fupg_set_type(pTHX_ fupg_conn *c, SV *name, SV *sendsv, SV *recvsv) {
|
||||||
fupg_override o;
|
fupg_override o;
|
||||||
o.send = fupg_resolve_builtin(sendsv, &o.sendcb);
|
o.send = fupg_resolve_builtin(aTHX_ sendsv, &o.sendcb);
|
||||||
o.recv = fupg_resolve_builtin(recvsv, &o.recvcb);
|
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))
|
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");
|
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
|
/* Can't currently happen since we have no records in the builtin type
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue