]> git.kaiwu.me - njs.git/commitdiff
Version 0.5.1. 0.5.1
authorDmitry Volyntsev <xeioex@nginx.com>
Tue, 16 Feb 2021 13:24:47 +0000 (13:24 +0000)
committerDmitry Volyntsev <xeioex@nginx.com>
Tue, 16 Feb 2021 13:24:47 +0000 (13:24 +0000)
CHANGES

diff --git a/CHANGES b/CHANGES
index 68be54cb90e2cd2653a03836c67b4937cd5f7686..aff4d32080a76f257e387648c0ca16eb325a241f 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,4 +1,37 @@
 
+Changes with njs 0.5.1                                        16 Feb 2021
+
+    nginx modules:
+
+    *) Feature: introduced ngx.fetch() method implementing Fetch API.
+       The following init options are supported:
+       body, headers, buffer_size (nginx specific),
+       max_response_body_size (nginx specific), method.
+
+       The following properties and methods of Response object are
+       implemented: arrayBuffer(), bodyUsed, json(), headers, ok,
+       redirect, status, statusText, text(), type, url.
+
+       The following properties and methods of Header object are
+       implemented: get(), getAll(), has().
+
+       Notable limitations: only the http:// scheme is supported,
+       redirects are not handled.
+
+       In collaboration with 洪志道 (Hong Zhi Dao).
+
+    *) Feature: added the "js_header_filter" directive.
+
+    *) Bugfix: fixed processing buffered data in body filter
+       in stream module.
+
+    Core:
+
+    *) Bugfix: fixed safe mode bypass in Function constructor.
+
+    *) Bugfix: fixed Date.prototype.toISOString() with invalid date
+       values.
+
 Changes with njs 0.5.0                                         01 Dec 2020
 
     nginx modules: