nginx modules:
* Feature: added Fetch API for QuickJS engine.
* Feature: added state file for a shared dictionary.
* Bugfix: fixed handling of Content-Length header when
a body is provided for Fetch API.
* Bugfix: fixed qjs engine after bellard/quickjs@458c34d2.
* Bugfix: fixed NULL pointer dereference when processing
If-* headers.
Core:
* Feature: added ECDH support for WebCrypto.
* Improvement: reduced memory consumption by the object hash.
The new hash uses 42% less memory per element.
* Improvement: reduced memory consumption for concatenation of
numbers and strings.
* Improvement: reduced memory consumption of
String.prototype.concat() with scalar values.
* Bugfix: fixed segfault in njs_property_query().
The issue was introduced in b28e50b1 (0.9.0).
* Bugfix: fixed Function constructor template injection.
* Bugfix: fixed GCC compilation with O3 optimization level.
* Bugfix: fixed constant is too large for 'long' warning
on MIPS -mabi=n32.
* Bugfix: fixed compilation with GCC 4.1.
* Bugfix: fixed %TypedArray%.from() with the buffer is detached
by the mapper.
* Bugfix: fixed %TypedArray%.prototype.slice() with overlapping
buffers.
* Bugfix: fixed handling of detached buffers for typed arrays.
* Bugfix: fixed frame saving for async functions with
OBS-URL: https://build.opensuse.org/package/show/server:http/nginx-module-njs?expand=0&rev=7
- update to 0.8.5:
nginx modules:
* Change: r.variables.var, r.requestText, r.responseText,
s.variables.var, and the data argument of the s.on() callback with
upload or download event types will now convert bytes invalid in
UTF-8 encoding into the replacement character. When working with
binary data, use r.rawVariables.var, r.requestBuffer,
r.responseBuffer, s.rawVariables.var, and the upstream or
downstream event type for s.on() instead.
* Feature: added timeout argument for add(), set(), and incr() methods of a shared dictionary.
* Bugfix: fixed checking for duplicate js_set variables.
* Bugfix: fixed request Host header when the port is non-standard.
* Bugfix: fixed handling of a zero-length request body in ngx.fetch() and r.subrequest().
* Bugfix: fixed heap-buffer-overflow in Headers.get().
* Bugfix: fixed r.subrequest() error handling.
Core:
* Feature: added zlib module for QuickJS engine.
* Bugfix: fixed zlib.inflate().
* Bugfix: fixed String.prototype.replaceAll() with a zero-length argument.
* Bugfix: fixed retval handling after an exception in Array.prototype.toSpliced(),
Array.prototype.toReversed(), Array.prototype.toSorted().
* Bugfix: fixed RegExp.prototype[@@replace]() with replacements containing
$', $` and strings with Unicode characters.
* Bugfix: fixed a one-byte overread in decodeURI() and decodeURIComponent().
* Bugfix: fixed tracking of argument scope.
* Bugfix: fixed integer overflow in Date.parse().
Changes with njs 0.8.4
nginx modules:
* Feature: the Server header for outgoing header can be set.
* Improvement: validating URI and args arguments in r.subrequest().
OBS-URL: https://build.opensuse.org/request/show/1189037
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nginx-module-njs?expand=0&rev=3
nginx modules:
* Change: r.variables.var, r.requestText, r.responseText,
s.variables.var, and the data argument of the s.on() callback with
upload or download event types will now convert bytes invalid in
UTF-8 encoding into the replacement character. When working with
binary data, use r.rawVariables.var, r.requestBuffer,
r.responseBuffer, s.rawVariables.var, and the upstream or
downstream event type for s.on() instead.
* Feature: added timeout argument for add(), set(), and incr() methods of a shared dictionary.
* Bugfix: fixed checking for duplicate js_set variables.
* Bugfix: fixed request Host header when the port is non-standard.
* Bugfix: fixed handling of a zero-length request body in ngx.fetch() and r.subrequest().
* Bugfix: fixed heap-buffer-overflow in Headers.get().
* Bugfix: fixed r.subrequest() error handling.
Core:
* Feature: added zlib module for QuickJS engine.
* Bugfix: fixed zlib.inflate().
* Bugfix: fixed String.prototype.replaceAll() with a zero-length argument.
* Bugfix: fixed retval handling after an exception in Array.prototype.toSpliced(),
Array.prototype.toReversed(), Array.prototype.toSorted().
* Bugfix: fixed RegExp.prototype[@@replace]() with replacements containing
$', $` and strings with Unicode characters.
* Bugfix: fixed a one-byte overread in decodeURI() and decodeURIComponent().
* Bugfix: fixed tracking of argument scope.
* Bugfix: fixed integer overflow in Date.parse().
Changes with njs 0.8.4
nginx modules:
* Feature: the Server header for outgoing header can be set.
* Improvement: validating URI and args arguments in r.subrequest().
OBS-URL: https://build.opensuse.org/package/show/server:http/nginx-module-njs?expand=0&rev=5