]> git.kaiwu.me - njs.git/commitdiff
Version 0.4.0. 0.4.0
authorDmitry Volyntsev <xeioex@nginx.com>
Thu, 23 Apr 2020 10:46:54 +0000 (10:46 +0000)
committerDmitry Volyntsev <xeioex@nginx.com>
Thu, 23 Apr 2020 10:46:54 +0000 (10:46 +0000)
CHANGES

diff --git a/CHANGES b/CHANGES
index a1498f9ffae8f61179f0ffe384d2b2e906fb62f3..5ad86b39e94c417372081904c7b6ddbe88ad6f97 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,4 +1,38 @@
 
+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
 
     nginx modules: