changeset 2817:d84856836c20

njs-0.7.1
author Yaroslav Zhuravlev <yar@nginx.com>
date Tue, 28 Dec 2021 19:23:21 +0300
parents ae1d713a06e2
children 2594d336342d
files xml/en/docs/njs/changes.xml xml/index.xml
diffstat 2 files changed, 130 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/xml/en/docs/njs/changes.xml	Tue Dec 28 18:38:35 2021 +0300
+++ b/xml/en/docs/njs/changes.xml	Tue Dec 28 19:23:21 2021 +0300
@@ -9,9 +9,130 @@
 <article name="Changes"
         link="/en/docs/njs/changes.html"
         lang="en"
-        rev="47"
+        rev="48"
         toc="no">
 
+<section id="njs0.7.1" name="Changes with njs 0.7.1">
+
+<para>
+Release Date:
+28 December 2021
+</para>
+
+<para>
+nginx modules:
+<list type="bullet">
+
+<listitem>
+<para>
+Change:
+the <link doc="../http/ngx_http_js_module.xml" id="js_include"/> directive
+deprecated since <link id="njs0.4.0">0.4.0</link> was removed.
+</para>
+</listitem>
+
+<listitem>
+<para>
+Change:
+PCRE/PCRE2-specific code was moved to the modules.
+This ensures that njs uses the same RegExp library as nginx.
+</para>
+</listitem>
+
+</list>
+</para>
+
+<para>
+Core:
+<list type="bullet">
+
+<listitem>
+<para>
+Bugfix:
+fixed
+<literal>decodeURI()</literal> and
+<literal>decodeURIComponent()</literal>
+with invalid byte strings.
+The bug was introduced in
+<link id="njs0.4.3">0.4.3</link>.
+</para>
+</listitem>
+
+<listitem>
+<para>
+Bugfix:
+fixed heap-use-after-free in <literal>await</literal> frame.
+The bug was introduced in
+<link id="njs0.7.0">0.7.0</link>.
+</para>
+</listitem>
+
+<listitem>
+<para>
+Bugfix:
+fixed WebCrypto <literal>sign()</literal> and
+<literal>verify()</literal> methods with OpenSSL 3.0.
+</para>
+</listitem>
+
+<listitem>
+<para>
+Bugfix:
+fixed exception throwing when RegExp match fails.
+The bug was introduced in
+<link id="njs0.1.15">0.1.15</link>.
+</para>
+</listitem>
+
+<listitem>
+<para>
+Bugfix:
+fixed catching of exception thrown in <literal>try</literal> block
+of <literal>async</literal> function.
+The bug was introduced in
+<link id="njs0.7.0">0.7.0</link>.
+</para>
+</listitem>
+
+<listitem>
+<para>
+Bugfix:
+fixed execution of <literal>async</literal> function in synchronous context.
+The bug was introduced in
+<link id="njs0.7.0">0.7.0</link>.
+</para>
+</listitem>
+
+<listitem>
+<para>
+Bugfix:
+fixed function redeclaration in CLI when interactive mode is on.
+The bug was introduced in
+<link id="njs0.6.2">0.6.2</link>.
+</para>
+</listitem>
+
+<listitem>
+<para>
+Bugfix:
+fixed <literal>typeof</literal> operator with
+<literal>DataView</literal> object.
+</para>
+</listitem>
+
+<listitem>
+<para>
+Bugfix: eliminated information leak in <literal>Buffer.from()</literal>.
+</para>
+</listitem>
+
+</list>
+
+</para>
+
+</section>
+
+
 <section id="njs0.7.0" name="Changes with njs 0.7.0">
 
 <para>
--- a/xml/index.xml	Tue Dec 28 18:38:35 2021 +0300
+++ b/xml/index.xml	Tue Dec 28 19:23:21 2021 +0300
@@ -9,6 +9,14 @@
 
 <event date="2021-12-28">
 <para>
+<link doc="en/docs/njs/index.xml">njs-0.7.1</link>
+version has been
+<link doc="en/docs/njs/changes.xml" id="njs0.7.1">released</link>.
+</para>
+</event>
+
+<event date="2021-12-28">
+<para>
 <link doc="en/download.xml">nginx-1.21.5</link>
 mainline version has been released.
 </para>