]> git.kaiwu.me - njs.git/commitdiff
Version 0.2.2. 0.2.2
authorDmitry Volyntsev <xeioex@nginx.com>
Tue, 19 Jun 2018 11:04:59 +0000 (14:04 +0300)
committerDmitry Volyntsev <xeioex@nginx.com>
Tue, 19 Jun 2018 11:04:59 +0000 (14:04 +0300)
CHANGES

diff --git a/CHANGES b/CHANGES
index ce700d84983b3383bbe3112d8652c516e0d8c345..e09f7cd2089c5235e6d131df5a62d7b4d02529bb 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,7 +1,38 @@
 
+Changes with njs 0.2.2                                           19 Jun 2018
+
+    nginx modules:
+
+    *) Change: merged HTTP Response and Reply into Request.
+        New members of Request:
+        req.status (res.status)
+        req.parent (reply.parent)
+        req.requestBody (req.body)
+        req.responseBody (reply.body)
+        req.headersIn (req.headers)
+        req.headersOut (res.headers)
+        req.sendHeader() (res.sendHeader())
+        req.send() (res.send())
+        req.finish() (res.finish())
+        req.return() (res.return())
+
+        Deprecated members of Request:
+        req.body (use req.requestBody or req.responseBody)
+        req.headers (use req.headersIn or req.headersOut)
+        req.response
+
+        The deprecated properties will be removed in the following
+        releases.
+
+    *) Feature: HTTP internalRedirect() method.
+
+    Core:
+
+    *) Bugfix: fixed heap-buffer-overflow in crypto.createHmac().
+
 Changes with njs 0.2.1                                           31 May 2018
 
-    Nginx modules:
+    nginx modules:
 
     *) Feature: HTTP request body getter.