comparison xml/en/docs/njs/changes.xml @ 2570:44792f1ee284

Added IDs to methods in njs Reference.
author Yaroslav Zhuravlev <yar@nginx.com>
date Thu, 16 Jul 2020 08:22:37 +0100
parents 2edc64c05b0e
children 88b4976778d2
comparison
equal deleted inserted replaced
2569:2edc64c05b0e 2570:44792f1ee284
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="34" 12 rev="35"
13 toc="no"> 13 toc="no">
14 14
15 <section id="njs0.4.2" name="Changes with njs 0.4.2"> 15 <section id="njs0.4.2" name="Changes with njs 0.4.2">
16 16
17 <para> 17 <para>
340 340
341 <listitem> 341 <listitem>
342 <para> 342 <para>
343 Feature: 343 Feature:
344 added detached mode for 344 added detached mode for
345 <link doc="reference.xml" id="subrequest"><literal>r.subrequest()</literal></link>. 345 <link doc="reference.xml" id="r_subrequest"><literal>r.subrequest()</literal></link>.
346 Responses to detached subrequests are ignored. 346 Responses to detached subrequests are ignored.
347 Unlike ordinary subrequests, 347 Unlike ordinary subrequests,
348 a detached subrequest can be created inside a variable handler. 348 a detached subrequest can be created inside a variable handler.
349 </para> 349 </para>
350 </listitem> 350 </listitem>
509 509
510 <listitem> 510 <listitem>
511 <para> 511 <para>
512 Feature: 512 Feature:
513 added <literal>Promise</literal> support for 513 added <literal>Promise</literal> support for
514 <link doc="reference.xml" id="subrequest"><literal>r.subrequest()</literal></link>. 514 <link doc="reference.xml" id="r_subrequest"><literal>r.subrequest()</literal></link>.
515 If a callback is not provided, 515 If a callback is not provided,
516 <link doc="reference.xml" id="subrequest"><literal>r.subrequest()</literal></link> 516 <link doc="reference.xml" id="r_subrequest"><literal>r.subrequest()</literal></link>
517 returns an ordinary 517 returns an ordinary
518 <literal>Promise</literal> object 518 <literal>Promise</literal> object
519 that resolves to a subrequest response object. 519 that resolves to a subrequest response object.
520 </para> 520 </para>
521 </listitem> 521 </listitem>
1447 1447
1448 <listitem> 1448 <listitem>
1449 <para> 1449 <para>
1450 Improvement: 1450 Improvement:
1451 working with unknown methods in 1451 working with unknown methods in
1452 <link doc="reference.xml" id="subrequest"><literal>r.subrequest()</literal></link>. 1452 <link doc="reference.xml" id="r_subrequest"><literal>r.subrequest()</literal></link>.
1453 </para> 1453 </para>
1454 </listitem> 1454 </listitem>
1455 1455
1456 <listitem> 1456 <listitem>
1457 <para> 1457 <para>
1458 Improvement: 1458 Improvement:
1459 added support for null as a second argument of 1459 added support for null as a second argument of
1460 <link doc="reference.xml" id="subrequest"><literal>r.subrequest()</literal></link>. 1460 <link doc="reference.xml" id="r_subrequest"><literal>r.subrequest()</literal></link>.
1461 </para> 1461 </para>
1462 </listitem> 1462 </listitem>
1463 1463
1464 <listitem> 1464 <listitem>
1465 <para> 1465 <para>
2130 2130
2131 <listitem> 2131 <listitem>
2132 <para> 2132 <para>
2133 Bugfix: 2133 Bugfix:
2134 fixed 2134 fixed
2135 <link doc="reference.xml" id="subrequest"><literal>r.subrequest()</literal></link> 2135 <link doc="reference.xml" id="r_subrequest"><literal>r.subrequest()</literal></link>
2136 for empty body value. 2136 for empty body value.
2137 </para> 2137 </para>
2138 </listitem> 2138 </listitem>
2139 2139
2140 <listitem> 2140 <listitem>