comparison xml/en/docs/njs/changes.xml @ 2909:1a91221b2901

njs-0.7.9.
author Yaroslav Zhuravlev <yar@nginx.com>
date Thu, 17 Nov 2022 15:15:43 +0000
parents cb5c3541cc30
children 5f1d472f6a97
comparison
equal deleted inserted replaced
2908:b2e5a376622d 2909:1a91221b2901
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="55" 12 rev="56"
13 toc="no"> 13 toc="no">
14
15 <section id="njs0.7.9" name="Changes with njs 0.7.9">
16
17 <para>
18 Release Date:
19 17 November 2022
20 </para>
21
22 <para>
23 nginx modules:
24 <list type="bullet">
25
26 <listitem>
27 <para>
28 Bugfix:
29 fixed
30 <link doc="reference.xml" id="ngx_fetch"><literal>Fetch</literal></link>
31 Response prototype reinitialization.
32 When at least one <literal>js_import</literal> directive was declared in both
33 <link doc="../http/ngx_http_js_module.xml" id="js_import">HTTP</link>
34 and
35 <link doc="../stream/ngx_stream_js_module.xml" id="js_import">Stream</link>,
36 <link doc="reference.xml" id="ngx_fetch"><literal>ngx.fetch()</literal></link>
37 returned inapproriate response in Stream.
38 The bug was introduced in <link id="njs0.7.7">0.7.7</link>.
39 </para>
40 </listitem>
41
42 </list>
43 </para>
44
45 <para>
46 Core:
47 <list type="bullet">
48
49 <listitem>
50 <para>
51 Bugfix:
52 fixed <literal>String.prototype.replace(re)</literal>
53 if <literal>re.exec()</literal> returns non-flat array.
54 </para>
55 </listitem>
56
57 <listitem>
58 <para>
59 Bugfix:
60 fixed <literal>Array.prototype.fill()</literal>
61 when <literal>start</literal> object changes <literal>this</literal>.
62 </para>
63 </listitem>
64
65 <listitem>
66 <para>
67 Bugfix:
68 fixed description for
69 <link doc="reference.xml" id="fs_mkdirsync"><literal>fs.mkdir()</literal></link>
70 and
71 <link doc="reference.xml" id="fs_rmdirsync"><literal>fs.rmdir()</literal></link>
72 methods.
73 </para>
74 </listitem>
75
76 <listitem>
77 <para>
78 Bugfix:
79 fixed <literal>%TypedArray%.prototype.set(s)</literal>
80 when <literal>s</literal> element changes <literal>this</literal>.
81 </para>
82 </listitem>
83
84 <listitem>
85 <para>
86 Bugfix:
87 fixed <literal>Array.prototype.splice(s,d)</literal>
88 when <literal>d</literal> resizes <literal>this</literal> during eval.
89 </para>
90 </listitem>
91
92 <listitem>
93 <para>
94 Bugfix:
95 fixed <literal>for-in</literal> loop with left and right hand side expressions.
96 </para>
97 </listitem>
98
99 </list>
100 </para>
101
102 </section>
103
14 104
15 <section id="njs0.7.8" name="Changes with njs 0.7.8"> 105 <section id="njs0.7.8" name="Changes with njs 0.7.8">
16 106
17 <para> 107 <para>
18 Release Date: 108 Release Date:
1128 1218
1129 <listitem> 1219 <listitem>
1130 <para> 1220 <para>
1131 Bugfix: 1221 Bugfix:
1132 fixed resolve/reject callback for 1222 fixed resolve/reject callback for
1133 <literal> Promise.prototype.finally()</literal> . 1223 <literal>Promise.prototype.finally()</literal> .
1134 </para> 1224 </para>
1135 </listitem> 1225 </listitem>
1136 1226
1137 <listitem> 1227 <listitem>
1138 <para> 1228 <para>
1139 Bugfix: 1229 Bugfix:
1140 fixed <literal> %TypedArray%.prototype.join()</literal> 1230 fixed <literal>%TypedArray%.prototype.join()</literal>
1141 with detached buffer. 1231 with detached buffer.
1142 </para> 1232 </para>
1143 </listitem> 1233 </listitem>
1144 1234
1145 <listitem> 1235 <listitem>
1365 </listitem> 1455 </listitem>
1366 1456
1367 <listitem> 1457 <listitem>
1368 <para> 1458 <para>
1369 Bugfix: 1459 Bugfix:
1370 fixed for-in iteration of typed array values. 1460 fixed <literal>for-in</literal> iteration of typed array values.
1371 Thanks to Artem S. Povalyukhin. 1461 Thanks to Artem S. Povalyukhin.
1372 </para> 1462 </para>
1373 </listitem> 1463 </listitem>
1374 1464
1375 </list> 1465 </list>
4348 </listitem> 4438 </listitem>
4349 4439
4350 <listitem> 4440 <listitem>
4351 <para> 4441 <para>
4352 Bugfix: 4442 Bugfix:
4353 fixed type of iteration variable in for-in with array values. 4443 fixed type of iteration variable in <literal>for-in</literal> with array values.
4354 </para> 4444 </para>
4355 </listitem> 4445 </listitem>
4356 4446
4357 <listitem> 4447 <listitem>
4358 <para> 4448 <para>
4457 </listitem> 4547 </listitem>
4458 4548
4459 <listitem> 4549 <listitem>
4460 <para> 4550 <para>
4461 Bugfix: 4551 Bugfix:
4462 fixed handling of “this” keyword in various scopes. 4552 fixed handling of <literal>this</literal> keyword in various scopes.
4463 </para> 4553 </para>
4464 </listitem> 4554 </listitem>
4465 4555
4466 <listitem> 4556 <listitem>
4467 <para> 4557 <para>