Path to this page:
Subject: CVS commit: pkgsrc/lang/qore
From: Niclas Rosenvik
Date: 2023-09-30 13:02:07
Message id: 20230930110207.80EC9FBDB@cvs.NetBSD.org
Log Message:
lang/qore: update to version 1.19.1
Changes from release notes:
New Features in Qore:
New user modules:
GoogleDataProvider
GoogleRestClient
HueRestClient
ConnectionProvider module
added a logger interface to the abstract base connection class.
added a connection-defined feature list to connection info.
FileLocationHandler module
implemented support for non-blocking I/O from file handlers.
Logger module
added LoggerInterface and LoggerWrapper classes.
added the following function and methods to support base64-url
encoding of data:
make_base64_url_string()
<string>::toBase64Url()
<binary>::toBase64Url()
added the following class and new methods to support OAuth2
and non-blocking polling functionality:
FilePollOperation class
ReadOnlyFile::startPollRead()
HTTPClient::getUsername()
HTTPClient::getPassword()
added the encode_chars option to the HTTPClient class
Bug Fixes in Qore:
ConnectionProvider module
assume connections are up until they are proven to be down
fixed a bug where the InvalidConnection class would report an
invalid url hash.
RestClient module
implemented consistent support for OAuth2 authorization flows
including for OAuth2 with non-blocking I/O and non-blocking
retrieval of Swagger schemas for REST clients.
fixed a bug where polling pings did not respect connection
options or the validator.
fixed a bugs handling the signal mask that could cause
hard-to-debug problems such as deadlocks in JIT in the JVM on
macOS aarch64.
fixed a bug handling non-blocking I/O for socket connections on
Darwin / macOS.
fixed a bug where function and method variants did not report
varargs in the signature.
fixed a bug where an access exception could be raised when a
reference to a private member was used in a static class method.
fixed a bug where the stack guard was not properly enforced when
the JVM assumed enforcement responsibility; in addition, due to
the fact that thread stacks are allocated from overcommitted
memory, reducing the thread stack size to 512KB had no effect on
the memory size of Qore programs but did affect Qore, Java, and
Python programs, therefore the stack limit for all threads was
reset to 8MB as of this release.
HttpServer
allow context info to be cleared after handling each request to
ensure that context info (like thread-local data) does not leak
into other connections on the same thread.
RestClient
do not try to get another OAuth2 token if the token was just
retrieved.
fixed a bug where user variants would not always set the varargs
flags from ellipses.
fixed an extraneous SOCKET-NOT-OPEN exception when running
socket callbacks after a socket was closed.
Files: