[njs] Version 0.2.4.

Dmitry Volyntsev xeioex at nginx.com
Tue Sep 18 12:14:18 UTC 2018


details:   http://hg.nginx.org/njs/rev/3e6c38f64bdb
branches:  
changeset: 607:3e6c38f64bdb
user:      Dmitry Volyntsev <xeioex at nginx.com>
date:      Tue Sep 18 15:13:41 2018 +0300
description:
Version 0.2.4.

diffstat:

 CHANGES |  56 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 56 insertions(+), 0 deletions(-)

diffs (63 lines):

diff -r b00d4680635a -r 3e6c38f64bdb CHANGES
--- a/CHANGES	Mon Sep 17 18:47:00 2018 +0300
+++ b/CHANGES	Tue Sep 18 15:13:41 2018 +0300
@@ -1,3 +1,59 @@
+
+Changes with njs 0.2.4                                           18 Aug 2018
+
+    nginx modules:
+
+    *) Change: stream module handlers are refactored.
+
+       New methods and properties:
+       s.on(), s.off(), s.allow(), s.done(), s.decline(),
+       s.deny().
+
+       Removed properties of Stream object:
+       s.OK, s.ABORT, s.AGAIN, s.DECLINED, s.ERROR (replaced
+       with s.allow(), s.done([code]), s.deny()).
+
+       s.buffer (for reading replaced with data argument of
+       the corresponding callback, for writing use s.send()).
+
+       s.fromUpstream (replaced with a callback for a corresponding
+       event).
+
+       s.eof (replaced with flags.last).
+
+    Core:
+
+    *) Feature: added Function.prototype.length.
+
+    *) Feature: introduced sandboxing mode.
+
+    *) Improvement: added exception strings where appropriate.
+
+    *) Improvement: improved wording for primitive type conversion
+       exception.
+
+    *) Bugfix: throwing TypeError for attempts to change frozen
+       properties.
+
+    *) Bugfix: fixed Object.defineProperty() for existing properties.
+
+    *) Bugfix: respecting the enumerable attribute while iterating
+       by for in.
+
+    *) Bugfix: respecting writable attribute for property handlers.
+
+    *) Bugfix: fixed exception handling in arguments of a function.
+
+    *) Bugfix: fixed Object.prototype.toString for different
+       value types.
+
+    *) Bugfix: fixed Object() constructor for object types arguments.
+
+    *) Bugfix: fixed comparison of objects and strings.
+
+    *) Bugfix: fixed String.slice() for undefined arguments.
+
+    *) Bugfix: miscellaneous additional bugs have been fixed.
 
 Changes with njs 0.2.3                                           31 Jul 2018
 


More information about the nginx-devel mailing list