Mercurial > hg > nginx-site
comparison xml/en/docs/njs/changes.xml @ 2863:cf91f42cf7e7
njs-0.7.5.
author | Yaroslav Zhuravlev <yar@nginx.com> |
---|---|
date | Tue, 21 Jun 2022 17:49:58 +0100 |
parents | d9ef72e0217f |
children | f6f8ade13fcb |
comparison
equal
deleted
inserted
replaced
2862:cf7551842617 | 2863:cf91f42cf7e7 |
---|---|
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="51" | 12 rev="52" |
13 toc="no"> | 13 toc="no"> |
14 | |
15 <section id="njs0.7.5" name="Changes with njs 0.7.5"> | |
16 | |
17 <para> | |
18 Release Date: | |
19 21 June 2022 | |
20 </para> | |
21 | |
22 <para> | |
23 nginx modules: | |
24 <list type="bullet"> | |
25 | |
26 <listitem> | |
27 <para> | |
28 Change: | |
29 adapting to changes in nginx header structures. | |
30 </para> | |
31 </listitem> | |
32 | |
33 <listitem> | |
34 <para> | |
35 Bugfix: | |
36 fixed | |
37 <link doc="reference.xml" id="r_headers_out"><literal>r.headersOut{}</literal></link> | |
38 special getters when value is absent. | |
39 </para> | |
40 </listitem> | |
41 | |
42 <listitem> | |
43 <para> | |
44 Change: | |
45 returning undefined value instead of an empty string for | |
46 <literal>Content-Type</literal> when the header is absent. | |
47 </para> | |
48 </listitem> | |
49 | |
50 </list> | |
51 </para> | |
52 | |
53 <para> | |
54 Core: | |
55 <list type="bullet"> | |
56 | |
57 <listitem> | |
58 <para> | |
59 Bugfix: | |
60 fixed catching of the exception thrown from an awaited function. | |
61 </para> | |
62 </listitem> | |
63 | |
64 <listitem> | |
65 <para> | |
66 Bugfix: | |
67 fixed function value initialization. | |
68 </para> | |
69 </listitem> | |
70 | |
71 <listitem> | |
72 <para> | |
73 Bugfix: | |
74 fixed interpreter when await fails. | |
75 </para> | |
76 </listitem> | |
77 | |
78 <listitem> | |
79 <para> | |
80 Bugfix: | |
81 fixed typed-array constructor when source array is changed while iterating. | |
82 </para> | |
83 </listitem> | |
84 | |
85 <listitem> | |
86 <para> | |
87 Bugfix:fixed | |
88 <literal>String.prototype.replace()</literal> | |
89 with byte strings. | |
90 </para> | |
91 </listitem> | |
92 | |
93 <listitem> | |
94 <para> | |
95 Bugfix: | |
96 fixed template literal from producing byte-strings. | |
97 </para> | |
98 </listitem> | |
99 | |
100 <listitem> | |
101 <para> | |
102 Bugfix: | |
103 fixed array iterator with sparse arrays. | |
104 </para> | |
105 </listitem> | |
106 | |
107 <listitem> | |
108 <para> | |
109 Bugfix: | |
110 fixed memory free while converting a flat array to a slow array. | |
111 </para> | |
112 </listitem> | |
113 | |
114 <listitem> | |
115 <para> | |
116 Bugfix: | |
117 properly handling <literal>NJS_DECLINE</literal> in | |
118 <literal>promise</literal> native functions. | |
119 </para> | |
120 </listitem> | |
121 | |
122 <listitem> | |
123 <para> | |
124 Bugfix: | |
125 fixed working with an array-like object in | |
126 <literal>Promise.all()</literal> | |
127 and friends. | |
128 </para> | |
129 </listitem> | |
130 | |
131 </list> | |
132 </para> | |
133 | |
134 </section> | |
135 | |
14 | 136 |
15 <section id="njs0.7.4" name="Changes with njs 0.7.4"> | 137 <section id="njs0.7.4" name="Changes with njs 0.7.4"> |
16 | 138 |
17 <para> | 139 <para> |
18 Release Date: | 140 Release Date: |
583 <listitem> | 705 <listitem> |
584 <para> | 706 <para> |
585 Feature: | 707 Feature: |
586 added remaining <literal>Promise</literal> constructor methods. | 708 added remaining <literal>Promise</literal> constructor methods. |
587 The following methods were added: | 709 The following methods were added: |
588 <literal>Promise.all()</literal> , | 710 <literal>Promise.all()</literal>, |
589 <literal>Promise.allSettled()</literal> , | 711 <literal>Promise.allSettled()</literal>, |
590 <literal>Promise.any()</literal> , | 712 <literal>Promise.any()</literal>, |
591 <literal>Promise.race()</literal> . | 713 <literal>Promise.race()</literal>. |
592 </para> | 714 </para> |
593 </listitem> | 715 </listitem> |
594 | 716 |
595 <listitem> | 717 <listitem> |
596 <para> | 718 <para> |