changeset 2466:d4be176c6345

njs-0.3.7
author Yaroslav Zhuravlev <yar@nginx.com>
date Tue, 19 Nov 2019 17:37:00 +0300
parents 07c4f2c66c97
children ee775a6ca22e
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, 211 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,195 @@
 <article name="Changes"
         link="/en/docs/njs/changes.html"
         lang="en"
-        rev="24"
+        rev="25"
         toc="no">
 
+<section id="njs0.3.7" name="Changes with njs 0.3.7">
+
+<para>
+Release Date:
+19 November 2019
+</para>
+
+<para>
+nginx modules:
+<list type="bullet">
+
+<listitem>
+<para>
+Improvement:
+refactored iteration over external objects.
+</para>
+</listitem>
+
+</list>
+</para>
+
+<para>
+Core:
+<list type="bullet">
+
+<listitem>
+<para>
+Feature:
+added <literal>Object.assign()</literal>.
+</para>
+</listitem>
+
+<listitem>
+<para>
+Feature:
+added <literal>Array.prototype.copyWithin()</literal>.
+</para>
+</listitem>
+
+<listitem>
+<para>
+Feature:
+added support for labels in <literal>console.time()</literal>.
+</para>
+</listitem>
+
+<listitem>
+<para>
+Change:
+removed <literal>console.help()</literal> from CLI.
+</para>
+</listitem>
+
+<listitem>
+<para>
+Improvement:
+moved constructors and top-level objects to global object.
+</para>
+</listitem>
+
+<listitem>
+<para>
+Improvement:
+arguments validation for configure script.
+</para>
+</listitem>
+
+<listitem>
+<para>
+Improvement:
+refactored JSON methods.
+</para>
+</listitem>
+
+<listitem>
+<para>
+Bugfix:
+fixed heap-buffer-overflow in
+<literal>njs_array_reverse_iterator()</literal> function.
+The following functions were affected:
+<literal>Array.prototype.lastIndexOf()</literal>,
+<literal>Array.prototype.reduceRight()</literal>.
+</para>
+</listitem>
+
+<listitem>
+<para>
+Bugfix:
+fixed
+<literal>[[Prototype]]</literal> slot of <literal>NativeErrors</literal>.
+</para>
+</listitem>
+
+<listitem>
+<para>
+Bugfix:
+fixed
+<literal>NativeError.prototype.message</literal> properties.
+</para>
+</listitem>
+
+<listitem>
+<para>
+Bugfix:
+added conversion of
+<literal>this</literal> value to object in
+<literal>Array.prototype functions</literal>.
+</para>
+</listitem>
+
+<listitem>
+<para>
+Bugfix:
+fixed iterator for
+<literal>Array.prototype.find()</literal> and
+<literal>Array.prototype.findIndex()</literal>
+functions.
+</para>
+</listitem>
+
+<listitem>
+<para>
+Bugfix:
+fixed
+<literal>Array.prototype.includes()</literal> and
+<literal>Array.prototype.join()</literal> with
+<literal>undefined</literal> argument.
+</para>
+</listitem>
+
+<listitem>
+<para>
+Bugfix:
+fixed <literal>constructor</literal> property of
+<literal>Hash</literal> and
+<literal>Hmac</literal>
+objects.
+</para>
+</listitem>
+
+<listitem>
+<para>
+Bugfix:
+fixed <literal>__proto__</literal> property of getters and setters.
+</para>
+</listitem>
+
+<listitem>
+<para>
+Bugfix:
+fixed <literal>Date</literal> object string formatting.
+</para>
+</listitem>
+
+<listitem>
+<para>
+Bugfix:
+fixed handling of
+<literal>NaN</literal> and <literal>-0</literal> arguments in
+<literal>Math.min()</literal> and
+<literal>Math.max()</literal>.
+</para>
+</listitem>
+
+<listitem>
+<para>
+Bugfix:
+fixed <literal>Math.round()</literal>
+according to the specification.
+</para>
+</listitem>
+
+<listitem>
+<para>
+Bugfix:
+reimplemented <literal>bound</literal> functions
+according to the specification.
+</para>
+</listitem>
+
+</list>
+</para>
+
+</section>
+
+
 <section id="njs0.3.6" name="Changes with njs 0.3.6">
 
 <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="19"
+        rev="20"
         toc="no">
 
 <section>
@@ -278,6 +278,12 @@ since <link doc="changes.xml" id="njs0.3
 </listitem>
 
 <listitem>
+ES6:
+<literal>assign</literal>
+(<link doc="changes.xml" id="njs0.3.7">0.3.7</link>)
+</listitem>
+
+<listitem>
 ES8:
 <link doc="reference.xml" id="object_entries"><literal>entries</literal></link>
 (<link doc="changes.xml" id="njs0.2.7">0.2.7</link>),
@@ -348,6 +354,8 @@ ES5.1:
 
 <listitem>
 ES6:
+<literal>copyWithin</literal>
+(<link doc="changes.xml" id="njs0.3.7">0.3.7</link>),
 <literal>fill</literal>,
 <literal>find</literal>,
 <literal>findIndex</literal>
--- a/xml/index.xml
+++ b/xml/index.xml
@@ -14,6 +14,14 @@ mainline version has been released.
 </para>
 </event>
 
+<event date="2019-11-19">
+<para>
+<link doc="en/docs/njs/index.xml">njs-0.3.7</link>
+version has been
+<link doc="en/docs/njs/changes.xml" id="njs0.3.7">released</link>.
+</para>
+</event>
+
 <event date="2019-11-14">
 <para>
 <link url="https://unit.nginx.org/">unit-1.13.0</link>
--- 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="19"
+        rev="20"
         toc="no">
 
 <section>
@@ -280,6 +280,12 @@ ES5.1:
 </listitem>
 
 <listitem>
+ES6:
+<literal>assign</literal>
+(<link doc="changes.xml" id="njs0.3.7">0.3.7</link>)
+</listitem>
+
+<listitem>
 ES8:
 <link doc="reference.xml" id="object_entries"><literal>entries</literal></link>
 (<link doc="changes.xml" id="njs0.2.7">0.2.7</link>),