# HG changeset patch # User Yaroslav Zhuravlev # Date 1574174220 -10800 # Node ID d4be176c63452ffe49c73241d504fe1fbf0730e8 # Parent 07c4f2c66c97f590c5e3a62b03b1c9b066d98d72 njs-0.3.7 diff -r 07c4f2c66c97 -r d4be176c6345 xml/en/docs/njs/changes.xml --- a/xml/en/docs/njs/changes.xml Tue Nov 19 17:55:03 2019 +0300 +++ b/xml/en/docs/njs/changes.xml Tue Nov 19 17:37:00 2019 +0300 @@ -9,9 +9,195 @@
+
+ + +Release Date: +19 November 2019 + + + +nginx modules: + + + + +Improvement: +refactored iteration over external objects. + + + + + + + +Core: + + + + +Feature: +added Object.assign(). + + + + + +Feature: +added Array.prototype.copyWithin(). + + + + + +Feature: +added support for labels in console.time(). + + + + + +Change: +removed console.help() from CLI. + + + + + +Improvement: +moved constructors and top-level objects to global object. + + + + + +Improvement: +arguments validation for configure script. + + + + + +Improvement: +refactored JSON methods. + + + + + +Bugfix: +fixed heap-buffer-overflow in +njs_array_reverse_iterator() function. +The following functions were affected: +Array.prototype.lastIndexOf(), +Array.prototype.reduceRight(). + + + + + +Bugfix: +fixed +[[Prototype]] slot of NativeErrors. + + + + + +Bugfix: +fixed +NativeError.prototype.message properties. + + + + + +Bugfix: +added conversion of +this value to object in +Array.prototype functions. + + + + + +Bugfix: +fixed iterator for +Array.prototype.find() and +Array.prototype.findIndex() +functions. + + + + + +Bugfix: +fixed +Array.prototype.includes() and +Array.prototype.join() with +undefined argument. + + + + + +Bugfix: +fixed constructor property of +Hash and +Hmac +objects. + + + + + +Bugfix: +fixed __proto__ property of getters and setters. + + + + + +Bugfix: +fixed Date object string formatting. + + + + + +Bugfix: +fixed handling of +NaN and -0 arguments in +Math.min() and +Math.max(). + + + + + +Bugfix: +fixed Math.round() +according to the specification. + + + + + +Bugfix: +reimplemented bound functions +according to the specification. + + + + + + +
+ +
diff -r 07c4f2c66c97 -r d4be176c6345 xml/en/docs/njs/compatibility.xml --- a/xml/en/docs/njs/compatibility.xml Tue Nov 19 17:55:03 2019 +0300 +++ b/xml/en/docs/njs/compatibility.xml Tue Nov 19 17:37:00 2019 +0300 @@ -9,7 +9,7 @@
@@ -278,6 +278,12 @@ +ES6: +assign +(0.3.7) + + + ES8: entries (0.2.7), @@ -348,6 +354,8 @@ ES6: +copyWithin +(0.3.7), fill, find, findIndex diff -r 07c4f2c66c97 -r d4be176c6345 xml/index.xml --- a/xml/index.xml Tue Nov 19 17:55:03 2019 +0300 +++ b/xml/index.xml Tue Nov 19 17:37:00 2019 +0300 @@ -14,6 +14,14 @@ + + +njs-0.3.7 +version has been +released. + + + unit-1.13.0 diff -r 07c4f2c66c97 -r d4be176c6345 xml/ru/docs/njs/compatibility.xml --- a/xml/ru/docs/njs/compatibility.xml Tue Nov 19 17:55:03 2019 +0300 +++ b/xml/ru/docs/njs/compatibility.xml Tue Nov 19 17:37:00 2019 +0300 @@ -9,7 +9,7 @@
@@ -280,6 +280,12 @@ +ES6: +assign +(0.3.7) + + + ES8: entries (0.2.7),