# HG changeset patch # User Yaroslav Zhuravlev # Date 1613493093 0 # Node ID 6e5ef4a0707fe64853a046c1133e4f222d4b7b89 # Parent eb417a9a089b773e39f44858d55b8ba7ec76f827 njs-0.5.1. 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,100 @@
+
+ + +Release Date: +16 February 2021 + + + +nginx modules: + + + + +Feature: +introduced +ngx.fetch() +method implementing Fetch API. + + + +The following properties and methods of +Response +object are implemented: +arrayBuffer(), +bodyUsed, +json(), +headers, +ok, +redirect, +status, +statusText, +text(), +type, +url. + + + +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. + + + + + + +
+ +
diff --git a/xml/index.xml b/xml/index.xml --- a/xml/index.xml +++ b/xml/index.xml @@ -9,6 +9,18 @@ +njs-0.5.1 +version has been +released, +featuring +Fetch API and + +directive. + + + + + nginx-1.19.7 mainline version has been released.