changeset 2935:918ec12be507

njs-0.7.10.
author Yaroslav Zhuravlev <yar@nginx.com>
date Tue, 07 Feb 2023 17:42:18 +0000
parents 41870b949ac9
children 295a9f982c4c
files xml/en/docs/njs/changes.xml xml/en/docs/njs/compatibility.xml xml/en/docs/njs/reference.xml xml/index.xml
diffstat 4 files changed, 152 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,126 @@
 <article name="Changes"
         link="/en/docs/njs/changes.html"
         lang="en"
-        rev="57"
+        rev="58"
         toc="no">
 
+<section id="njs0.7.10" name="Changes with njs 0.7.10">
+
+<para>
+Release Date:
+07 February 2023
+</para>
+
+<para>
+nginx modules:
+<list type="bullet">
+
+<listitem>
+<para>
+Feature:
+added
+<link doc="reference.xml" id="request"><literal>Request</literal></link>,
+<link doc="reference.xml" id="response"><literal>Response</literal></link>,
+and
+<link doc="reference.xml" id="headers"><literal>Headers</literal></link>
+ctors in
+<link doc="reference.xml" id="ngx_fetch">Fetch API</link>.
+</para>
+</listitem>
+
+<listitem>
+<para>
+Bugfix:
+fixed nginx logger callback for calls in the master process.
+</para>
+</listitem>
+
+</list>
+</para>
+
+<para>
+Core:
+<list type="bullet">
+
+<listitem>
+<para>
+Feature:
+added signal support in CLI.
+</para>
+</listitem>
+
+<listitem>
+<para>
+Feature:
+added
+<link doc="reference.xml" id="xml"><literal>xml</literal></link>
+module for working with XML documents.
+</para>
+</listitem>
+
+<listitem>
+<para>
+Feature:
+extended support for symmetric and asymmetric keys in WebCrypto.
+Most notably <literal>JWK</literal> format for
+<link doc="reference.xml" id="crypto_subtle_import_key"><literal>importKey()</literal></link>
+was added.
+</para>
+</listitem>
+
+<listitem>
+<para>
+Feature:
+extended support for symmetric and asymmetric keys in
+<link doc="reference.xml" id="builtin_crypto">WebCrypto API</link>.
+Most notably <literal>JWK</literal> format for
+<link doc="reference.xml" id="crypto_subtle_import_key"><literal>importKey()</literal></link>
+was added.
+<link doc="reference.xml" id="crypto_subtle_generate_key"><literal>generateKey()</literal></link>
+and
+<link doc="reference.xml" id="crypto_subtle_export_key"><literal>exportKey()</literal></link>
+were also implemented.
+</para>
+</listitem>
+
+<listitem>
+<para>
+Feature:
+added
+<literal>String.prototype.replaceAll()</literal>.
+</para>
+</listitem>
+
+<listitem>
+<para>
+Bugfix:
+fixed <literal>for(expr1;</literal> conditional syntax error handling.
+</para>
+</listitem>
+
+<listitem>
+<para>
+Bugfix:
+<literal>Object.values()</literal>
+and
+<literal>Object.entries()</literal>
+with external objects.
+</para>
+</listitem>
+
+<listitem>
+<para>
+Bugfix:
+fixed <literal>RegExp.prototype[@@replace]()</literal>.
+</para>
+</listitem>
+
+</list>
+</para>
+
+</section>
+
+
 <section id="njs0.7.9" name="Changes with njs 0.7.9">
 
 <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="35"
+        rev="36"
         toc="no">
 
 <section>
@@ -263,6 +263,12 @@ ES9:
 </listitem>
 
 <listitem>
+ES12:
+<literal>replaceAll</literal>
+(<link doc="changes.xml" id="njs0.7.10">0.7.10</link>)
+</listitem>
+
+<listitem>
 non-standard:
 <link doc="reference.xml" id="string_bytesfrom"><literal>bytesFrom</literal></link>
 (<link doc="changes.xml" id="njs0.2.3">0.2.3</link>),
@@ -905,6 +911,18 @@ methods
 <link doc="reference.xml" id="textencoder_encodeinto"><literal>encodeInto</literal></link>
 </listitem>
 
+<listitem id="xml">
+<link doc="reference.xml" id="xml"><literal>XML</literal></link>
+methods
+(<link doc="changes.xml" id="njs0.7.10">0.7.10</link>):
+<link doc="reference.xml" id="xml_parse"><literal>parse()</literal></link>,
+<link doc="reference.xml" id="xml_c14n"><literal>xml.c14n()</literal></link>,
+<link doc="reference.xml" id="xml_exclusiveC14n"><literal>xml.exclusiveC14n()</literal></link>,
+<link doc="reference.xml" id="xml_doc"><literal>XMLDoc</literal></link>,
+<link doc="reference.xml" id="xml_node"><literal>XMLNode</literal></link>,
+<link doc="reference.xml" id="xml_xmlattr"><literal>XMLAttr</literal></link>
+</listitem>
+
 <listitem>
 ES6 modules support:
 default <literal>export</literal> and
--- a/xml/en/docs/njs/reference.xml
+++ b/xml/en/docs/njs/reference.xml
@@ -5258,7 +5258,7 @@ a shorthand syntax for
 an array of all children tags named <value>xxx</value>
 </tag-desc>
 
-<tag-name><literal>node.$tags$</literal></tag-name>
+<tag-name><literal>node.$tags</literal></tag-name>
 <tag-desc>
 an array of all children tags
 </tag-desc>
--- a/xml/index.xml
+++ b/xml/index.xml
@@ -7,6 +7,20 @@
 
 <news name="nginx news" link="/" lang="en">
 
+<event date="2023-02-07">
+<para>
+<link doc="en/docs/njs/index.xml">njs-0.7.10</link>
+version has been
+<link doc="en/docs/njs/changes.xml" id="njs0.7.10">released</link>,
+featuring extended
+<link doc="en/docs/njs/reference.xml" id="builtin_crypto">WebCrypto API</link>,
+extended
+<link doc="en/docs/njs/reference.xml" id="ngx_fetch">Fetch API</link>
+and
+<link doc="en/docs/njs/reference.xml" id="xml">xml</link> module.
+</para>
+</event>
+
 <event date="2022-12-15">
 <para>
 <link url="https://unit.nginx.org/">unit-1.29.0</link>