Mercurial > hg > nginx-site
comparison xml/en/docs/njs/changes.xml @ 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 | 9bf87153b1b3 |
children | 8ad2ea80e0c2 |
comparison
equal
deleted
inserted
replaced
2496:9dddac1420fe | 2497:805c4b84cc61 |
---|---|
7 <!DOCTYPE article SYSTEM "../../../../dtd/article.dtd"> | 7 <!DOCTYPE article SYSTEM "../../../../dtd/article.dtd"> |
8 | 8 |
9 <article name="Changes" | 9 <article name="Changes" |
10 link="/en/docs/njs/changes.html" | 10 link="/en/docs/njs/changes.html" |
11 lang="en" | 11 lang="en" |
12 rev="26" | 12 rev="27" |
13 toc="no"> | 13 toc="no"> |
14 | 14 |
15 <section id="njs0.3.8" name="Changes with njs 0.3.8"> | 15 <section id="njs0.3.8" name="Changes with njs 0.3.8"> |
16 | 16 |
17 <para> | 17 <para> |
24 <list type="bullet"> | 24 <list type="bullet"> |
25 | 25 |
26 <listitem> | 26 <listitem> |
27 <para> | 27 <para> |
28 Feature: | 28 Feature: |
29 added <literal>Promise</literal> support | 29 added <literal>Promise</literal> support for |
30 for <literal>r.subrequest()</literal>. | 30 <link doc="reference.xml" id="subrequest"><literal>r.subrequest()</literal></link>. |
31 If a callback is not provided, | 31 If a callback is not provided, |
32 <literal>r.subrequest()</literal> returns an ordinary | 32 <link doc="reference.xml" id="subrequest"><literal>r.subrequest()</literal></link> |
33 returns an ordinary | |
33 <literal>Promise</literal> object | 34 <literal>Promise</literal> object |
34 that resolves to a subrequest response object. | 35 that resolves to a subrequest response object. |
35 </para> | 36 </para> |
36 </listitem> | 37 </listitem> |
37 | 38 |
38 <listitem> | 39 <listitem> |
39 <para> | 40 <para> |
40 Change: | 41 Change: |
41 <literal>r.parent</literal> property handler now returns | 42 <link doc="reference.xml" id="r_parent"><literal>r.parent()</literal></link> |
43 property handler now returns | |
42 <literal>undefined</literal> | 44 <literal>undefined</literal> |
43 instead of throwing an exception if a parent object is not available. | 45 instead of throwing an exception if a parent object is not available. |
44 </para> | 46 </para> |
45 </listitem> | 47 </listitem> |
46 | 48 |
87 </listitem> | 89 </listitem> |
88 | 90 |
89 <listitem> | 91 <listitem> |
90 <para> | 92 <para> |
91 Feature: | 93 Feature: |
92 added externals support for <literal>JSON.stringify()</literal>. | 94 added externals support for |
95 <link doc="reference.xml" id="core_json_stringify"><literal>JSON.stringify()</literal></link>. | |
93 </para> | 96 </para> |
94 </listitem> | 97 </listitem> |
95 | 98 |
96 <listitem> | 99 <listitem> |
97 <para> | 100 <para> |
104 <listitem> | 107 <listitem> |
105 <para> | 108 <para> |
106 Feature: | 109 Feature: |
107 added <literal>Object.setPrototypeOf()</literal>. | 110 added <literal>Object.setPrototypeOf()</literal>. |
108 Thanks to Artem S. Povalyukhin. | 111 Thanks to Artem S. Povalyukhin. |
112 </para> | |
113 </listitem> | |
114 | |
115 <listitem> | |
116 <para> | |
117 Feature: | |
118 introduced nullish coalescing operator. | |
109 </para> | 119 </para> |
110 </listitem> | 120 </listitem> |
111 | 121 |
112 <listitem> | 122 <listitem> |
113 <para> | 123 <para> |
129 | 139 |
130 <listitem> | 140 <listitem> |
131 <para> | 141 <para> |
132 Bugfix: | 142 Bugfix: |
133 fixed | 143 fixed |
134 <literal>JSON.stringify()</literal> | 144 <link doc="reference.xml" id="core_json_stringify"><literal>JSON.stringify()</literal></link> |
135 with unprintable values and replacer function. | 145 with unprintable values and replacer function. |
136 </para> | 146 </para> |
137 </listitem> | 147 </listitem> |
138 | 148 |
139 <listitem> | 149 <listitem> |