changeset 2762:37edee5922d4

njs-0.6.2.
author Yaroslav Zhuravlev <yar@nginx.com>
date Tue, 31 Aug 2021 16:32:58 +0100
parents 137bb01e7a3b
children 5a7d41e3cb83
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, 115 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/xml/en/docs/njs/changes.xml	Tue Aug 31 18:18:53 2021 +0300
+++ b/xml/en/docs/njs/changes.xml	Tue Aug 31 16:32:58 2021 +0100
@@ -9,9 +9,97 @@
 <article name="Changes"
         link="/en/docs/njs/changes.html"
         lang="en"
-        rev="45"
+        rev="46"
         toc="no">
 
+<section id="njs0.6.2" name="Changes with njs 0.6.2">
+
+<para>
+Release Date:
+31 August 2021
+</para>
+
+<para>
+nginx modules:
+<list type="bullet">
+
+<listitem>
+<para>
+Bugfix:
+fixed CPU hog when
+<literal>js_filter</literal> is registered in both directions.
+</para>
+</listitem>
+
+</list>
+</para>
+
+<para>
+Core:
+<list type="bullet">
+
+<listitem>
+<para>
+Feature:
+introduced <literal>AggregateError</literal> implementation.
+</para>
+</listitem>
+
+<listitem>
+<para>
+Feature:
+added remaining <literal>Promise</literal> constructor methods.
+The following methods were added:
+<literal>Promise.all()</literal> ,
+<literal>Promise.allSettled()</literal> ,
+<literal>Promise.any()</literal> ,
+<literal>Promise.race()</literal> .
+</para>
+</listitem>
+
+<listitem>
+<para>
+Improvement:
+removed recursion from code generator.
+</para>
+</listitem>
+
+<listitem>
+<para>
+Bugfix:
+fixed rest parameter parsing without binding identifier.
+</para>
+</listitem>
+
+<listitem>
+<para>
+Bugfix:
+fixed resolve/reject callback for
+<literal> Promise.prototype.finally()</literal> .
+</para>
+</listitem>
+
+<listitem>
+<para>
+Bugfix:
+fixed <literal> %TypedArray%.prototype.join()</literal>
+with detached buffer.
+</para>
+</listitem>
+
+<listitem>
+<para>
+Bugfix:
+fixed memory leak in interactive shell.
+</para>
+</listitem>
+</list>
+
+</para>
+
+</section>
+
+
 <section id="njs0.6.1" name="Changes with njs 0.6.1">
 
 <para>
--- a/xml/en/docs/njs/compatibility.xml	Tue Aug 31 18:18:53 2021 +0300
+++ b/xml/en/docs/njs/compatibility.xml	Tue Aug 31 16:32:58 2021 +0100
@@ -9,7 +9,7 @@
 <article name="Compatibility"
         link="/en/docs/njs/compatibility.html"
         lang="en"
-        rev="32"
+        rev="33"
         toc="no">
 
 <section>
@@ -576,8 +576,15 @@
 <list type="bullet">
 <listitem>
 ES6:
+<literal>any()</literal>
+(<link doc="changes.xml" id="njs0.6.2">0.6.2</link>),
+<literal> all()</literal>
+(<link doc="changes.xml" id="njs0.6.2">0.6.2</link>),
+<literal> allSettled()</literal>
+(<link doc="changes.xml" id="njs0.6.2">0.6.2</link>),
 <literal>reject</literal>,
-<literal>resolve</literal>
+<literal>resolve</literal>,
+<literal>race()</literal> (<link doc="changes.xml" id="njs0.6.2">0.6.2</link>)
 </listitem>
 </list>
 
--- a/xml/index.xml	Tue Aug 31 18:18:53 2021 +0300
+++ b/xml/index.xml	Tue Aug 31 16:32:58 2021 +0100
@@ -14,6 +14,14 @@
 </para>
 </event>
 
+<event date="2021-08-31">
+<para>
+<link doc="en/docs/njs/index.xml">njs-0.6.2</link>
+version has been
+<link doc="en/docs/njs/changes.xml" id="njs0.6.2">released</link>.
+</para>
+</event>
+
 <event date="2021-08-19">
 <para>
 <link url="https://unit.nginx.org/">unit-1.25.0</link> version has been
--- a/xml/ru/docs/njs/compatibility.xml	Tue Aug 31 18:18:53 2021 +0300
+++ b/xml/ru/docs/njs/compatibility.xml	Tue Aug 31 16:32:58 2021 +0100
@@ -9,7 +9,7 @@
 <article name="Совместимость"
         link="/ru/docs/njs/compatibility.html"
         lang="ru"
-        rev="32"
+        rev="33"
         toc="no">
 
 <section>
@@ -572,8 +572,15 @@
 <list type="bullet">
 <listitem>
 ES6:
+<literal>any()</literal>
+(<link doc="changes.xml" id="njs0.6.2">0.6.2</link>),
+<literal> all()</literal>
+(<link doc="changes.xml" id="njs0.6.2">0.6.2</link>),
+<literal> allSettled()</literal>
+(<link doc="changes.xml" id="njs0.6.2">0.6.2</link>),
 <literal>reject</literal>,
-<literal>resolve</literal>
+<literal>resolve</literal>,
+<literal>race()</literal> (<link doc="changes.xml" id="njs0.6.2">0.6.2</link>)
 </listitem>
 </list>