[njs] Version 0.7.7.

Dmitry Volyntsev xeioex at nginx.com
Tue Aug 30 04:34:01 UTC 2022


details:   https://hg.nginx.org/njs/rev/1592d46d9076
branches:  
changeset: 1940:1592d46d9076
user:      Dmitry Volyntsev <xeioex at nginx.com>
date:      Mon Aug 29 21:18:20 2022 -0700
description:
Version 0.7.7.

diffstat:

 CHANGES |  34 ++++++++++++++++++++++++++++++++++
 1 files changed, 34 insertions(+), 0 deletions(-)

diffs (41 lines):

diff -r 456ac02d226e -r 1592d46d9076 CHANGES
--- a/CHANGES	Mon Aug 29 21:09:12 2022 -0700
+++ b/CHANGES	Mon Aug 29 21:18:20 2022 -0700
@@ -1,3 +1,37 @@
+Changes with njs 0.7.7                                        30 Aug 2022
+
+    nginx modules:
+
+    *) Feature: the number of nginx configuration contexts where
+       js directives can be specified is extended.
+
+       HTTP: js_import, js_path, js_set and js_var are allowed
+       in server and location contexts. js_content, js_body_filter
+       and js_header_filter are allowed in 'if' context.
+
+       Stream: js_import, js_path, js_set and js_var are allowed
+       in server context.
+
+    *) Feature: added r.internal property.
+
+    *) Bugfix: fixed reading response body in fetch API.
+
+    *) Bugfix: fixed "js_fetch_timeout" in stream module.
+
+    *) Bugfix: fixed socket leak with 0 fetch timeout.
+
+    Core:
+
+    *) Feature: extended "fs" module.  Added fs.openSync(),
+       fs.promises.open(), fs.fstatSync(), fs.readSync(),
+       fs.writeSync().
+
+       The following properties of FileHandle are implemented:
+       fd, read(), stat(), write(), close().
+
+    *) Bugfix: fixed parseInt(), parseFloat(), Symbol.for()
+       with no arguments.
+
 Changes with njs 0.7.6                                        19 Jul 2022
 
     nginx modules:



More information about the nginx-devel mailing list