comparison xml/en/docs/njs/changes.xml @ 2601:5528961da54d

njs-0.4.4.
author Yaroslav Zhuravlev <yar@nginx.com>
date Tue, 29 Sep 2020 18:22:17 +0100
parents 7035221dbe37
children 0ce45b4edb75
comparison
equal deleted inserted replaced
2600:2fd28cd4f2f8 2601:5528961da54d
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="37" 12 rev="38"
13 toc="no"> 13 toc="no">
14
15 <section id="njs0.4.4" name="Changes with njs 0.4.4">
16
17 <para>
18 Release Date:
19 29 September 2020
20 </para>
21
22 <para>
23 nginx modules:
24 <list type="bullet">
25
26 <listitem>
27 <para>
28 Bugfix:
29 fixed location merge.
30 </para>
31 </listitem>
32
33 <listitem>
34 <para>
35 Bugfix:
36 fixed
37 <link doc="reference.xml" id="r_http_version"><literal>r.httpVersion</literal></link>
38 for HTTP/2.
39 </para>
40 </listitem>
41
42 </list>
43 </para>
44
45 <para>
46 Core:
47 <list type="bullet">
48
49 <listitem>
50 <para>
51 Feature:
52 added support for numeric separators (ES12).
53 </para>
54 </listitem>
55
56 <listitem>
57 <para>
58 Feature:
59 added remaining methods for
60 <literal>%TypedArray%.prototype</literal>.
61 The following methods were added:
62 <literal>every()</literal>,
63 <literal>filter()</literal>,
64 <literal>find()</literal>,
65 <literal>findIndex()</literal>,
66 <literal>forEach()</literal>,
67 <literal>includes()</literal>,
68 <literal>indexOf()</literal>,
69 <literal>lastIndexOf()</literal>,
70 <literal>map()</literal>,
71 <literal>reduce()</literal>,
72 <literal>reduceRight()</literal>,
73 <literal>reverse()</literal>,
74 <literal>some()</literal>.
75 </para>
76 </listitem>
77
78 <listitem>
79 <para>
80 Feature:
81 added <literal>%TypedArray%</literal> remaining methods.
82 The following methods were added:
83 <literal>from()</literal>,
84 <literal>of()</literal>.
85 </para>
86 </listitem>
87
88 <listitem>
89 <para>
90 Feature:
91 added <literal>DataView</literal> object.
92 </para>
93 </listitem>
94 <listitem>
95 <para>
96 Feature:
97 added <literal>Buffer</literal> object implementation.
98 </para>
99 </listitem>
100
101 <listitem>
102 <para>
103 Feature:
104 added support for <literal>ArrayBuffer</literal> in
105 <link doc="reference.xml" id="textdecoder_decode"><literal>TextDecoder.prototype.decode()</literal></link>
106 </para>
107 </listitem>
108
109 <listitem>
110 <para>
111 Feature:
112 added support for <literal>Buffer</literal> object in
113 <link doc="reference.xml" id="crypto"><literal>crypto</literal></link>
114 methods.
115 </para>
116 </listitem>
117
118 <listitem>
119 <para>
120 Feature:
121 added support for <literal>Buffer</literal> object in
122 <link doc="reference.xml" id="njs_api_fs"><literal>fs</literal></link>
123 methods.
124 </para>
125 </listitem>
126
127 <listitem>
128 <para>
129 Change:
130 <link doc="reference.xml" id="crypto_hash_digest"><literal>Hash.prototype.digest()</literal></link>
131 and
132 <link doc="reference.xml" id="crypto_hmac_digest"><literal>Hmac.prototype.digest()</literal></link>
133 now return a <literal>Buffer</literal> instance instead of a byte string when
134 encoding is not provided.
135 </para>
136 </listitem>
137
138 <listitem>
139 <para>
140 Change:
141 <link doc="reference.xml" id="readfilesync"><literal>fs.readFile()</literal></link>
142 and friends now return a <literal>Buffer</literal> instance
143 instead of a byte string when encoding is not provided.
144 </para>
145 </listitem>
146
147 <listitem>
148 <para>
149 Bugfix:
150 fixed function <literal>prototype</literal> property handler while setting.
151 </para>
152 </listitem>
153
154 <listitem>
155 <para>
156 Bugfix:
157 fixed function <literal>constructor</literal> property handler while setting.
158 </para>
159 </listitem>
160
161 <listitem>
162 <para>
163 Bugfix:
164 fixed <literal>String.prototype.indexOf()</literal>
165 for byte strings.
166 </para>
167 </listitem>
168
169 <listitem>
170 <para>
171 Bugfix:
172 fixed <literal>RegExpBuiltinExec()</literal>
173 with a global flag and byte strings.
174 </para>
175 </listitem>
176
177 <listitem>
178 <para>
179 Bugfix:
180 fixed <literal>RegExp.prototype[Symbol.replace]</literal>
181 the when replacement value is a function.
182 </para>
183 </listitem>
184
185 <listitem>
186 <para>
187 Bugfix:
188 fixed
189 <link doc="reference.xml" id="textdecoder_decode"><literal>TextDecoder.prototype.decode()</literal></link>
190 with non-zero <literal>TypedArray</literal> offset.
191 </para>
192 </listitem>
193
194 </list>
195 </para>
196
197 </section>
198
14 199
15 <section id="njs0.4.3" name="Changes with njs 0.4.3"> 200 <section id="njs0.4.3" name="Changes with njs 0.4.3">
16 201
17 <para> 202 <para>
18 Release Date: 203 Release Date: