changeset 2369:5209dfad8fc9

njs-0.3.1
author Dmitry Volyntsev <xeioex@nginx.com>
date Tue, 16 Apr 2019 19:32:13 +0300
parents d16ca4d163c4
children 075d88b3749b
files xml/en/docs/njs/changes.xml xml/en/docs/njs/compatibility.xml xml/index.xml xml/ru/docs/njs/compatibility.xml
diffstat 4 files changed, 147 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/xml/en/docs/njs/changes.xml
+++ b/xml/en/docs/njs/changes.xml
@@ -9,9 +9,135 @@
 <article name="Changes"
         link="/en/docs/njs/changes.html"
         lang="en"
-        rev="16"
+        rev="17"
         toc="no">
 
+<section id="njs0.3.1" name="Changes with 0.3.1">
+
+<para>
+Release Date:
+16 April 2019
+</para>
+
+<para>
+Core:
+<list type="bullet">
+
+<listitem>
+<para>
+Feature:
+added arrow functions support.
+Thanks to 洪志道 (Hong Zhi Dao) and Artem S. Povalyukhin.
+</para>
+</listitem>
+
+<listitem>
+<para>
+Feature:
+added Object.getOwnPropertyNames().
+Thanks to Artem S. Povalyukhin.
+</para>
+</listitem>
+
+<listitem>
+<para>
+Feature:
+added Object.getOwnPropertyDescriptors().
+Thanks to Artem S. Povalyukhin.
+</para>
+</listitem>
+
+<listitem>
+<para>
+Feature:
+making __proto__ accessor descriptor of Object instances
+mutable.
+</para>
+</listitem>
+
+<listitem>
+<para>
+Feature:
+added shebang support in CLI.
+</para>
+</listitem>
+
+<listitem>
+<para>
+Feature:
+added support for module mode execution in CLI. In module
+mode global this is unavailable.
+</para>
+</listitem>
+
+<listitem>
+<para>
+Bugfix:
+fixed editline detection.
+</para>
+</listitem>
+
+<listitem>
+<para>
+Bugfix:
+fixed Function.prototype.bind().
+Thanks to 洪志道 (Hong Zhi Dao).
+</para>
+</listitem>
+
+<listitem>
+<para>
+Bugfix:
+fixed checking of duplication of parameters for functions.
+Thanks to 洪志道 (Hong Zhi Dao).
+</para>
+</listitem>
+
+<listitem>
+<para>
+Bugfix:
+fixed function declaration with the same name as a variable.
+Thanks to 洪志道 (Hong Zhi Dao).
+</para>
+</listitem>
+
+<listitem>
+<para>
+Improvement:
+code related to parsing of objects, variables and
+functions is refactored.
+Thanks to 洪志道 (Hong Zhi Dao).
+</para>
+</listitem>
+
+<listitem>
+<para>
+Improvement:
+console.log() improved for outputting large values.
+</para>
+</listitem>
+
+<listitem>
+<para>
+Improvement:
+console.log() improved for outputting strings in a
+compliant way (without escaping and quotes).
+</para>
+</listitem>
+
+<listitem>
+<para>
+Improvement:
+using ES6 version of ToInt32(), ToUint32(), ToLength().
+</para>
+</listitem>
+
+</list>
+</para>
+
+</section>
+
+
 <section id="njs0.3.0" name="Changes with 0.3.0">
 
 <para>
--- a/xml/en/docs/njs/compatibility.xml
+++ b/xml/en/docs/njs/compatibility.xml
@@ -9,7 +9,7 @@
 <article name="Compatibility"
         link="/en/docs/njs/compatibility.html"
         lang="en"
-        rev="8"
+        rev="9"
         toc="no">
 
 <section>
@@ -240,6 +240,11 @@ default <literal>export</literal> statem
 (<link doc="changes.xml" id="njs0.3.0">0.3.0</link>)
 </listitem>
 
+<listitem>
+ES6 arrow functions
+(<link doc="changes.xml" id="njs0.3.1">0.3.1</link>)
+</listitem>
+
 </list>
 </para>
 
--- a/xml/index.xml
+++ b/xml/index.xml
@@ -9,6 +9,14 @@
 
 <event date="2019-04-16">
 <para>
+<link doc="en/docs/njs/index.xml">njs-0.3.1</link>
+version has been released, featuring ES6 arrow functions support
+and <link doc="en/docs/njs/changes.xml" id="njs0.3.1">more</link>.
+</para>
+</event>
+
+<event date="2019-04-16">
+<para>
 <link doc="en/download.xml">nginx-1.15.12</link>
 mainline version has been released.
 </para>
--- a/xml/ru/docs/njs/compatibility.xml
+++ b/xml/ru/docs/njs/compatibility.xml
@@ -9,7 +9,7 @@
 <article name="Совместимость"
         link="/ru/docs/njs/compatibility.html"
         lang="ru"
-        rev="8"
+        rev="9"
         toc="no">
 
 <section>
@@ -242,6 +242,11 @@ ES6 поддержка модулей:
 (<link doc="changes.xml" id="njs0.3.0">0.3.0</link>)
 </listitem>
 
+<listitem>
+ES6 поддержка стрелочных функций
+(<link doc="changes.xml" id="njs0.3.1">0.3.1</link>)
+</listitem>
+
 </list>
 </para>