From c01d2f2fabb949b6c046bc8674ab7caeea3e3d3a Mon Sep 17 00:00:00 2001 From: Dmitry Volyntsev Date: Tue, 18 Sep 2018 15:13:41 +0300 Subject: [PATCH] Version 0.2.4. --- CHANGES | 56 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) diff --git a/CHANGES b/CHANGES index 4e1bc2d5..c5662e76 100644 --- a/CHANGES +++ b/CHANGES @@ -1,4 +1,60 @@ +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 nginx modules: -- 2.47.3