# HG changeset patch # User Dmitry Volyntsev # Date 1555432333 -10800 # Node ID 5209dfad8fc9aeeabdbfb11784a43de2b27ea341 # Parent d16ca4d163c48fa2985b4e1be02d2e1e6d8a6c28 njs-0.3.1 diff -r d16ca4d163c4 -r 5209dfad8fc9 xml/en/docs/njs/changes.xml --- a/xml/en/docs/njs/changes.xml Tue Apr 16 18:02:11 2019 +0300 +++ b/xml/en/docs/njs/changes.xml Tue Apr 16 19:32:13 2019 +0300 @@ -9,9 +9,135 @@
+
+ + +Release Date: +16 April 2019 + + + +Core: + + + + +Feature: +added arrow functions support. +Thanks to 洪志道 (Hong Zhi Dao) and Artem S. Povalyukhin. + + + + + +Feature: +added Object.getOwnPropertyNames(). +Thanks to Artem S. Povalyukhin. + + + + + +Feature: +added Object.getOwnPropertyDescriptors(). +Thanks to Artem S. Povalyukhin. + + + + + +Feature: +making __proto__ accessor descriptor of Object instances +mutable. + + + + + +Feature: +added shebang support in CLI. + + + + + +Feature: +added support for module mode execution in CLI. In module +mode global this is unavailable. + + + + + +Bugfix: +fixed editline detection. + + + + + +Bugfix: +fixed Function.prototype.bind(). +Thanks to 洪志道 (Hong Zhi Dao). + + + + + +Bugfix: +fixed checking of duplication of parameters for functions. +Thanks to 洪志道 (Hong Zhi Dao). + + + + + +Bugfix: +fixed function declaration with the same name as a variable. +Thanks to 洪志道 (Hong Zhi Dao). + + + + + +Improvement: +code related to parsing of objects, variables and +functions is refactored. +Thanks to 洪志道 (Hong Zhi Dao). + + + + + +Improvement: +console.log() improved for outputting large values. + + + + + +Improvement: +console.log() improved for outputting strings in a +compliant way (without escaping and quotes). + + + + + +Improvement: +using ES6 version of ToInt32(), ToUint32(), ToLength(). + + + + + + +
+ +
diff -r d16ca4d163c4 -r 5209dfad8fc9 xml/en/docs/njs/compatibility.xml --- a/xml/en/docs/njs/compatibility.xml Tue Apr 16 18:02:11 2019 +0300 +++ b/xml/en/docs/njs/compatibility.xml Tue Apr 16 19:32:13 2019 +0300 @@ -9,7 +9,7 @@
@@ -240,6 +240,11 @@ (0.3.0) + +ES6 arrow functions +(0.3.1) + + diff -r d16ca4d163c4 -r 5209dfad8fc9 xml/index.xml --- a/xml/index.xml Tue Apr 16 18:02:11 2019 +0300 +++ b/xml/index.xml Tue Apr 16 19:32:13 2019 +0300 @@ -9,6 +9,14 @@ +njs-0.3.1 +version has been released, featuring ES6 arrow functions support +and more. + + + + + nginx-1.15.12 mainline version has been released. diff -r d16ca4d163c4 -r 5209dfad8fc9 xml/ru/docs/njs/compatibility.xml --- a/xml/ru/docs/njs/compatibility.xml Tue Apr 16 18:02:11 2019 +0300 +++ b/xml/ru/docs/njs/compatibility.xml Tue Apr 16 19:32:13 2019 +0300 @@ -9,7 +9,7 @@
@@ -242,6 +242,11 @@ (0.3.0) + +ES6 поддержка стрелочных функций +(0.3.1) + +