# HG changeset patch # User Yaroslav Zhuravlev # Date 1587642843 -3600 # Node ID 140a8a9f1dac510003cdc5c7f1d9cdcb305ddfd4 # Parent 33468af2eaf7d3bcbb1792aac8d45bbdd2a9f344 njs-0.4.0. diff --git a/xml/en/docs/njs/changes.xml b/xml/en/docs/njs/changes.xml --- a/xml/en/docs/njs/changes.xml +++ b/xml/en/docs/njs/changes.xml @@ -9,9 +9,132 @@
+
+ + +Release Date: +23 April 2020 + + + +nginx modules: + + + + +Feature: +added support for multi-value headers in +r.headersOut{}. + + + + + +Feature: +added js_import directive for +http and +stream. + + + + + +Improvement: +improved iteration over +r.headersOut{} +with special headers. + + + + + +Improvement: +improved iteration over +r.headersOut{} +with duplicates. + + + + + +Change: +r.responseBody +property handler now returns +undefined +instead of throwing an exception if the 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. + + + + + + +
+ +
diff --git a/xml/index.xml b/xml/index.xml --- a/xml/index.xml +++ b/xml/index.xml @@ -7,6 +7,18 @@ + + +njs-0.4.0 +version has been +released, +featuring +js_import +directive and multi-valued headers support in +r.headersOut. + + + nginx-1.18.0