|
|
|
|
@@ -1,3 +1,143 @@
|
|
|
|
|
-------------------------------------------------------------------
|
|
|
|
|
Tue Jul 29 07:14:04 UTC 2025 - Alessio Biancalana <dottorblaster@opensuse.org>
|
|
|
|
|
|
|
|
|
|
- update to 0.9.1:
|
|
|
|
|
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
|
|
|
|
|
closures.
|
|
|
|
|
* Bugfix: fixed RegExp compilation of patterns with
|
|
|
|
|
escaped '[' characters.
|
|
|
|
|
|
|
|
|
|
Changes with njs 0.9.0:
|
|
|
|
|
Core:
|
|
|
|
|
* Feature: refactored working with built-in strings, symbols
|
|
|
|
|
and small integers.
|
|
|
|
|
Performance improvements (arewefastyet/benchmarks/v8-v7 benchmark):
|
|
|
|
|
Richards: +57% (631 → 989)
|
|
|
|
|
Crypto: +7% (1445 → 1551)
|
|
|
|
|
RayTrace: +37% (562 → 772)
|
|
|
|
|
NavierStokes: +20% (2062 → 2465)
|
|
|
|
|
Overall score: +29% (1014 → 1307)
|
|
|
|
|
* Bugfix: fixed regexp undefined value of captured group.
|
|
|
|
|
* Bugfix: fixed GCC 15 build with -Wunterminated-string-initialization.
|
|
|
|
|
|
|
|
|
|
Changes with njs 0.8.10:
|
|
|
|
|
nginx modules:
|
|
|
|
|
* Feature: reading r.requestText or r.requestBuffer from
|
|
|
|
|
a temp file.
|
|
|
|
|
Previously, an exception was thrown when accessing r.requestText
|
|
|
|
|
or r.requestBuffer if a client request body size exceeded
|
|
|
|
|
client_body_buffer_size.
|
|
|
|
|
* Improvement: improved reporting of unhandled promise rejections.
|
|
|
|
|
* Bugfix: fixed name corruption in variable and header processing.
|
|
|
|
|
* Bugfix: fixed SharedDict.incr() with empty init argument
|
|
|
|
|
for QuickJS engine.
|
|
|
|
|
* Bugfix: accepting response headers with underscore characters
|
|
|
|
|
in Fetch API.
|
|
|
|
|
Core:
|
|
|
|
|
* Change: fixed serializeToString().
|
|
|
|
|
Previously, serializeToString() was exclusiveC14n() which returned
|
|
|
|
|
string instead of Buffer. According to the published documentation it
|
|
|
|
|
should be c14n().
|
|
|
|
|
* Feature: added WebCrypto API for QuickJS engine.
|
|
|
|
|
* Feature: added TextEncoder/TextDecoder for QuickJS engine.
|
|
|
|
|
* Feature: added querystring module for QuickJS engine.
|
|
|
|
|
* Feature: added crypto module for QuickJS engine.
|
|
|
|
|
* Feature: added xml module for QuickJS engine.
|
|
|
|
|
* Feature: added support for QuickJS-NG library.
|
|
|
|
|
* Bugfix: fixed buffer.concat() with a single argument in quickjs.
|
|
|
|
|
* Bugfix: added missed syntax error for await in template literal.
|
|
|
|
|
* Bugfix: fixed non-NULL terminated strings formatting in
|
|
|
|
|
exceptions for QuickJS engine.
|
|
|
|
|
* Bugfix: fixed compatibility with recent change in QuickJS
|
|
|
|
|
and QuickJS-NG.
|
|
|
|
|
|
|
|
|
|
Changes with njs 0.8.9:
|
|
|
|
|
nginx modules:
|
|
|
|
|
* Bugfix: removed extra VM creation per server.
|
|
|
|
|
This issue was introduced in 9b674412 (0.8.6) and was partially
|
|
|
|
|
fixed for location blocks only in 685b64f0 (0.8.7).
|
|
|
|
|
Core:
|
|
|
|
|
* Feature: added fs module for QuickJS engine.
|
|
|
|
|
|
|
|
|
|
Changes with njs 0.8.8:
|
|
|
|
|
nginx modules:
|
|
|
|
|
* Feature: implemented shared dictionary for QuickJS engine.
|
|
|
|
|
* Improvement: js_preload_object is refactored.
|
|
|
|
|
* Bugfix: fixed limit rated output.
|
|
|
|
|
* Bugfix: optimized use of SSL contexts for
|
|
|
|
|
js_fetch_trusted_certificate directive.
|
|
|
|
|
Core:
|
|
|
|
|
* Feature: implemented process object for QuickJS engine.
|
|
|
|
|
* Feature: implemented process.kill() method.
|
|
|
|
|
* Bugfix: fixed tests with libxml2 2.13 and later.
|
|
|
|
|
* Bugfix: fixed promise resolving when Promise is inherited.
|
|
|
|
|
* Bugfix: fixed absolute scope in cloned VMs.
|
|
|
|
|
|
|
|
|
|
Changes with njs 0.8.7:
|
|
|
|
|
nginx modules:
|
|
|
|
|
* Bugfix: eliminated unnecessary VM creation.
|
|
|
|
|
Previously, njs consumed memory proportionally to the number of
|
|
|
|
|
nginx locations. The issue was introduced in 9b674412 (0.8.6).
|
|
|
|
|
* Improvement: added strict syntax validation for js_body_filter.
|
|
|
|
|
* Improvement: improved error messages for module loading
|
|
|
|
|
failures.
|
|
|
|
|
Core:
|
|
|
|
|
* Feature: implemented fs.readlink() and friends.
|
|
|
|
|
* Improvement: implemented lazy stack symbolization.
|
|
|
|
|
* Bugfix: fixed heap-buffer-overflow in Buffer.prototype.indexOf().
|
|
|
|
|
The issue was introduced in 5d15a8d6 (0.8.6).
|
|
|
|
|
* Bugfix: fixed Buffer.prototype.lastIndexOf() when `from` is
|
|
|
|
|
provided.
|
|
|
|
|
|
|
|
|
|
Changes with njs 0.8.6:
|
|
|
|
|
nginx modules:
|
|
|
|
|
* Feature: introduced QuickJS engine.
|
|
|
|
|
* Feature: added optional nocache flag for js_set directive.
|
|
|
|
|
* Feature: exposed capture group variables in HTTP module.
|
|
|
|
|
Core:
|
|
|
|
|
* Feature: added Buffer module for QuickJS engine.
|
|
|
|
|
* Bugfix: fixed handling of empty labelled statement in a function.
|
|
|
|
|
* Bugfix: fixed Function constructor handling when called without
|
|
|
|
|
arguments.
|
|
|
|
|
* Bugfix: fixed Buffer.prototype.writeInt8() and friends.
|
|
|
|
|
* Bugfix: fixed Buffer.prototype.writeFloat() and friends.
|
|
|
|
|
* Bugfix: fixed Buffer.prototype.lastIndexOf().
|
|
|
|
|
* Bugfix: fixed Buffer.prototype.write().
|
|
|
|
|
* Bugfix: fixed maybe-uninitialized warnings in error creation.
|
|
|
|
|
* Bugfix: fixed 'ctx.codepoint' initialization in UTF-8 decoding.
|
|
|
|
|
* Bugfix: fixed 'length' initialization in Array.prototype.pop().
|
|
|
|
|
* Bugfix: fixed handling of encode arg in fs.readdir() and
|
|
|
|
|
fs.realpath().
|
|
|
|
|
|
|
|
|
|
-------------------------------------------------------------------
|
|
|
|
|
Mon Jul 22 12:42:55 UTC 2024 - Adam Majer <adam.majer@suse.de>
|
|
|
|
|
|
|
|
|
|
|