changeset 2909:1a91221b2901

njs-0.7.9.
author Yaroslav Zhuravlev <yar@nginx.com>
date Thu, 17 Nov 2022 15:15:43 +0000
parents b2e5a376622d
children 5f1d472f6a97
files xml/en/docs/njs/changes.xml xml/index.xml
diffstat 2 files changed, 110 insertions(+), 12 deletions(-) [+]
line wrap: on
line diff
--- a/xml/en/docs/njs/changes.xml	Wed Nov 16 15:52:18 2022 +0000
+++ b/xml/en/docs/njs/changes.xml	Thu Nov 17 15:15:43 2022 +0000
@@ -9,9 +9,99 @@
 <article name="Changes"
         link="/en/docs/njs/changes.html"
         lang="en"
-        rev="55"
+        rev="56"
         toc="no">
 
+<section id="njs0.7.9" name="Changes with njs 0.7.9">
+
+<para>
+Release Date:
+17 November 2022
+</para>
+
+<para>
+nginx modules:
+<list type="bullet">
+
+<listitem>
+<para>
+Bugfix:
+fixed
+<link doc="reference.xml" id="ngx_fetch"><literal>Fetch</literal></link>
+Response prototype reinitialization.
+When at least one <literal>js_import</literal> directive was declared in both
+<link doc="../http/ngx_http_js_module.xml" id="js_import">HTTP</link>
+and
+<link doc="../stream/ngx_stream_js_module.xml" id="js_import">Stream</link>,
+<link doc="reference.xml" id="ngx_fetch"><literal>ngx.fetch()</literal></link>
+returned inapproriate response in Stream.
+The bug was introduced in <link id="njs0.7.7">0.7.7</link>.
+</para>
+</listitem>
+
+</list>
+</para>
+
+<para>
+Core:
+<list type="bullet">
+
+<listitem>
+<para>
+Bugfix:
+fixed <literal>String.prototype.replace(re)</literal>
+if <literal>re.exec()</literal> returns non-flat array.
+</para>
+</listitem>
+
+<listitem>
+<para>
+Bugfix:
+fixed <literal>Array.prototype.fill()</literal>
+when <literal>start</literal> object changes <literal>this</literal>.
+</para>
+</listitem>
+
+<listitem>
+<para>
+Bugfix:
+fixed description for
+<link doc="reference.xml" id="fs_mkdirsync"><literal>fs.mkdir()</literal></link>
+and
+<link doc="reference.xml" id="fs_rmdirsync"><literal>fs.rmdir()</literal></link>
+methods.
+</para>
+</listitem>
+
+<listitem>
+<para>
+Bugfix:
+fixed <literal>%TypedArray%.prototype.set(s)</literal>
+when <literal>s</literal> element changes <literal>this</literal>.
+</para>
+</listitem>
+
+<listitem>
+<para>
+Bugfix:
+fixed <literal>Array.prototype.splice(s,d)</literal>
+when <literal>d</literal> resizes <literal>this</literal> during eval.
+</para>
+</listitem>
+
+<listitem>
+<para>
+Bugfix:
+fixed <literal>for-in</literal> loop with left and right hand side expressions.
+</para>
+</listitem>
+
+</list>
+</para>
+
+</section>
+
+
 <section id="njs0.7.8" name="Changes with njs 0.7.8">
 
 <para>
@@ -1130,14 +1220,14 @@
 <para>
 Bugfix:
 fixed resolve/reject callback for
-<literal> Promise.prototype.finally()</literal> .
-</para>
-</listitem>
-
-<listitem>
-<para>
-Bugfix:
-fixed <literal> %TypedArray%.prototype.join()</literal>
+<literal>Promise.prototype.finally()</literal> .
+</para>
+</listitem>
+
+<listitem>
+<para>
+Bugfix:
+fixed <literal>%TypedArray%.prototype.join()</literal>
 with detached buffer.
 </para>
 </listitem>
@@ -1367,7 +1457,7 @@
 <listitem>
 <para>
 Bugfix:
-fixed for-in iteration of typed array values.
+fixed <literal>for-in</literal> iteration of typed array values.
 Thanks to Artem S. Povalyukhin.
 </para>
 </listitem>
@@ -4350,7 +4440,7 @@
 <listitem>
 <para>
 Bugfix:
-fixed type of iteration variable in for-in with array values.
+fixed type of iteration variable in <literal>for-in</literal> with array values.
 </para>
 </listitem>
 
@@ -4459,7 +4549,7 @@
 <listitem>
 <para>
 Bugfix:
-fixed handling of “this” keyword in various scopes.
+fixed handling of <literal>this</literal> keyword in various scopes.
 </para>
 </listitem>
 
--- a/xml/index.xml	Wed Nov 16 15:52:18 2022 +0000
+++ b/xml/index.xml	Thu Nov 17 15:15:43 2022 +0000
@@ -7,6 +7,14 @@
 
 <news name="nginx news" link="/" lang="en">
 
+<event date="2022-11-17">
+<para>
+<link doc="en/docs/njs/index.xml">njs-0.7.9</link>
+version has been
+<link doc="en/docs/njs/changes.xml" id="njs0.7.9">released</link>.
+</para>
+</event>
+
 <event date="2022-10-25">
 <para>
 <link doc="en/docs/njs/index.xml">njs-0.7.8</link>