Path to this page:
./
devel/libnjs,
NGINX JavaScript static library
Branch: CURRENT,
Version: 0.8.9,
Package name: libnjs-0.8.9,
Maintainer: osaThe library of the njs scripting language. njs, is a subset of the JavaScript
language that allows extending nginx functionality. njs is created in
compliance with ECMAScript 5.1 (strict mode) with some ECMAScript 6 and later
extensions. The compliance is still evolving.
Package options: ssl
Master sites:
Filesize: 879.733 KB
Version history: (Expand)
- (2025-01-14) Updated to version: libnjs-0.8.9
- (2025-01-05) Updated to version: libnjs-0.8.8
- (2024-11-15) Updated to version: libnjs-0.8.7nb3
- (2024-11-01) Updated to version: libnjs-0.8.7nb2
- (2024-11-01) Updated to version: libnjs-0.8.7nb1
- (2024-10-23) Updated to version: libnjs-0.8.7
CVS history: (Expand)
2025-01-14 18:45:00 by Sergey A. Osokin | Files touched by this commit (11) | |
Log message:
*/*: update NGINX JavaScript 0.8.8 -> 0.8.9
Bump PKGREVISIONs for www/nginx, www/nginx-devel, www/unit.
<ChangeLog>
nginx modules:
*) Bugfix: removed extra VM creation per server.
Previously, when js_import was declared in http or stream blocks,
an extra copy of the VM instance was created for each server
block. This was not needed and consumed a lot of memory for
configurations with many server blocks.
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.
</ChangeLog>
|
2025-01-05 19:13:19 by Sergey A. Osokin | Files touched by this commit (10) | |
Log message:
*/*: update NGINX JavaScript 0.8.7 -> 0.8.8
Bump PKGREVISION for www/nginx, www/nginx-devel.
<ChangeLog>
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.
</ChangeLog>
|
2024-11-14 23:22:33 by Thomas Klausner | Files touched by this commit (2429) |
Log message:
*: recursive bump for icu 76 shlib major version bump
|
2024-11-01 13:55:19 by Thomas Klausner | Files touched by this commit (2426) |
Log message:
*: revbump for icu downgrade
|
2024-11-01 01:54:33 by Thomas Klausner | Files touched by this commit (2427) |
Log message:
*: recursive bump for icu 76.1 shlib bump
|
2024-10-23 15:15:19 by Sergey A. Osokin | Files touched by this commit (11) | |
Log message:
*/*: update NGINX JavaScript 0.8.5 -> 0.8.7
Bump PKGREVISIONs for www/nginx, www/nginx-devel, www/unit.
<ChangeLog>
Changes with njs 0.8.7 22 Oct 2024
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 02 Oct 2024
nginx modules:
*) Feature: introduced QuickJS engine.
*) Feature: added optional nocache flag for js_set directive.
Thanks to Thomas P.
*) Feature: exposed capture group variables in HTTP module.
Thanks to Thomas P.
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().
</ChangeLog>
|
2024-09-22 05:02:36 by Sergey A. Osokin | Files touched by this commit (3) |
Log message:
devel/libnjs: fix prefix path in the pkgconfig file
Bump PKGREVISION.
|
2024-06-27 18:03:25 by Sergey A. Osokin | Files touched by this commit (15) | |
Log message:
*/*: update NGINX JavaScript 0.8.4 -> 0.8.5
Bump PKGREVISIONs for www/nginx, www/nginx-devel, www/unit.
<ChangeLog>
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 shared dictionary methods
add(), set() and incr().
*) 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 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().
</ChangeLog>
|