# HG changeset patch # User Yaroslav Zhuravlev # Date 1545741467 -10800 # Node ID 1a6524706c703556e717ffbc4a574ab6c76daa73 # Parent 6ca49554d5fea51ae1f2ff760151e295987e84fe njs-0.2.7 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,101 @@
+
+ + +Release Date: +25 December 2018 + + + +Core: + + + + +Feature: +rest parameters syntax (destructuring is not supported). +Thanks to Alexander Pyshchev. + + + + + +Feature: +added +Object.entries() +method. + + + + + +Feature: +added +Object.values() +method. + + + + + +Improvement: +code generator refactored and simplified. + + + + + +Bugfix: +fixed automatic semicolon insertion. + + + + + +Bugfix: +fixed assignment expression from compound assignment. + + + + + +Bugfix: +fixed comparison of Byte and UTF8 strings. + + + + + +Bugfix: +fixed type of iteration variable in for-in with array values. + + + + + +Bugfix: +fixed building on paltforms without librt. + + + + + +Bugfix: +miscellaneous additional bugs have been fixed. + + + + + + +
+ +
diff --git a/xml/en/docs/njs/compatibility.xml b/xml/en/docs/njs/compatibility.xml --- a/xml/en/docs/njs/compatibility.xml +++ b/xml/en/docs/njs/compatibility.xml @@ -9,7 +9,7 @@
+ rev="6">
@@ -124,6 +124,14 @@ ES5.1: seal, isSealed + + +ES8: +entries +(0.2.7), +values +(0.2.7) + @@ -179,6 +187,11 @@ ES5.1 arguments objec +ES6 rest parameters syntax (without destructuring support) +(0.2.7) + + + ES5.1 global functions: isFinite, isNaN, parseFloat, parseInt, diff --git a/xml/en/docs/njs/reference.xml b/xml/en/docs/njs/reference.xml --- a/xml/en/docs/njs/reference.xml +++ b/xml/en/docs/njs/reference.xml @@ -9,7 +9,7 @@
+ rev="17">
@@ -459,6 +459,33 @@ the s.allow()
+
+ + +The Object constructor corresponds to a standard JS object. + + +Object.entries(object) + +returns an array of all enumerable property +[key, value] pairs +of the given object +(0.2.7). + + +Object.values(object) + +returns an array of all enumerable property values +of the given object +(0.2.7). + + + + + +
+ +
diff --git a/xml/index.xml b/xml/index.xml --- a/xml/index.xml +++ b/xml/index.xml @@ -7,6 +7,14 @@ + + +njs-0.2.7 +version has been released, featuring rest parameters syntax, +and more. + + + unit-1.7 diff --git a/xml/ru/docs/njs/compatibility.xml b/xml/ru/docs/njs/compatibility.xml --- a/xml/ru/docs/njs/compatibility.xml +++ b/xml/ru/docs/njs/compatibility.xml @@ -9,7 +9,7 @@
+ rev="6">
@@ -124,6 +124,14 @@ ES5.1: seal, isSealed + + +ES8: +entries +(0.2.7), +values +(0.2.7) + @@ -179,6 +187,11 @@ ES5.1 объект arguments (0.2.5) +ES6 синтаксис rest параметров (без поддержки деструктуризации) +(0.2.7) + + + ES5.1 глобальные функции: isFinite, isNaN, parseFloat, parseInt,