changeset 2497:805c4b84cc61

Added missing feature and links to njs-0.3.8 Changes.
author Yaroslav Zhuravlev <yar@nginx.com>
date Mon, 03 Feb 2020 18:42:07 +0000
parents 9dddac1420fe
children 9ceda894f3d7
files xml/en/docs/njs/changes.xml xml/en/docs/njs/reference.xml
diffstat 2 files changed, 19 insertions(+), 9 deletions(-) [+]
line wrap: on
line diff
--- a/xml/en/docs/njs/changes.xml
+++ b/xml/en/docs/njs/changes.xml
@@ -9,7 +9,7 @@
 <article name="Changes"
         link="/en/docs/njs/changes.html"
         lang="en"
-        rev="26"
+        rev="27"
         toc="no">
 
 <section id="njs0.3.8" name="Changes with njs 0.3.8">
@@ -26,10 +26,11 @@ nginx modules:
 <listitem>
 <para>
 Feature:
-added <literal>Promise</literal> support
-for <literal>r.subrequest()</literal>.
+added <literal>Promise</literal> support for
+<link doc="reference.xml" id="subrequest"><literal>r.subrequest()</literal></link>.
 If a callback is not provided,
-<literal>r.subrequest()</literal> returns an ordinary
+<link doc="reference.xml" id="subrequest"><literal>r.subrequest()</literal></link>
+returns an ordinary
 <literal>Promise</literal> object
 that resolves to a subrequest response object.
 </para>
@@ -38,7 +39,8 @@ that resolves to a subrequest response o
 <listitem>
 <para>
 Change:
-<literal>r.parent</literal> property handler now returns
+<link doc="reference.xml" id="r_parent"><literal>r.parent()</literal></link>
+property handler now returns
 <literal>undefined</literal>
 instead of throwing an exception if a parent object is not available.
 </para>
@@ -89,7 +91,8 @@ Thanks to Artem S. Povalyukhin.
 <listitem>
 <para>
 Feature:
-added externals support for <literal>JSON.stringify()</literal>.
+added externals support for
+<link doc="reference.xml" id="core_json_stringify"><literal>JSON.stringify()</literal></link>.
 </para>
 </listitem>
 
@@ -111,6 +114,13 @@ Thanks to Artem S. Povalyukhin.
 
 <listitem>
 <para>
+Feature:
+introduced nullish coalescing operator.
+</para>
+</listitem>
+
+<listitem>
+<para>
 Bugfix:
 fixed
 <literal>Object.getPrototypeOf()</literal>
@@ -131,7 +141,7 @@ according to the specification.
 <para>
 Bugfix:
 fixed
-<literal>JSON.stringify()</literal>
+<link doc="reference.xml" id="core_json_stringify"><literal>JSON.stringify()</literal></link>
 with unprintable values and replacer function.
 </para>
 </listitem>
--- a/xml/en/docs/njs/reference.xml
+++ b/xml/en/docs/njs/reference.xml
@@ -9,7 +9,7 @@
 <article name="Reference"
         link="/en/docs/njs/reference.html"
         lang="en"
-        rev="34">
+        rev="35">
 
 <section id="summary">
 
@@ -104,7 +104,7 @@ it is considered a named location.
 HTTP method, read-only
 </tag-desc>
 
-<tag-name><literal>r.parent</literal></tag-name>
+<tag-name id="r_parent"><literal>r.parent</literal></tag-name>
 <tag-desc>
 references the parent request object
 </tag-desc>