[njs] Version 0.4.0.

Dmitry Volyntsev xeioex at nginx.com
Thu Apr 23 11:30:56 UTC 2020


details:   https://hg.nginx.org/njs/rev/6144aafa1472
branches:  
changeset: 1380:6144aafa1472
user:      Dmitry Volyntsev <xeioex at nginx.com>
date:      Thu Apr 23 10:46:54 2020 +0000
description:
Version 0.4.0.

diffstat:

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

diffs (41 lines):

diff -r 3df09cf5345c -r 6144aafa1472 CHANGES
--- a/CHANGES	Tue Apr 21 12:37:00 2020 +0000
+++ b/CHANGES	Thu Apr 23 10:46:54 2020 +0000
@@ -1,3 +1,37 @@
+
+Changes with njs 0.4.0                                           23 Apr 2020
+
+    nginx modules:
+
+    *) Feature: added js_import directive.
+
+    *) Feature: added support for multi-value headers in r.headersOut.
+
+    *) Improvement: iteration over r.headersOut with special headers.
+
+    *) Improvement: iteration over r.headersOut with duplicates.
+
+    *) Change: r.responseBody property handler now returns "undefined"
+       instead of throwing an exception if response body is not available.
+
+    Core:
+
+    *) Feature: added script arguments support in CLI.
+
+    *) Feature: converting externals values to native js objects.
+
+    *) Bugfix: fixed NULL-pointer dereference in "__proto__" property
+       handler.
+
+    *) Bugfix: fixed handling of no-newline at the end of the script.
+
+    *) Bugfix: fixed RegExp() constructor with empty pattern and
+       non-empty flags.
+
+    *) Bugfix: fixed String.prototype.replace() when function
+       returns non-string.
+
+    *) Bugfix: fixed reading of pseudofiles in "fs".
 
 Changes with njs 0.3.9                                           03 Mar 2020
 


More information about the nginx-devel mailing list