Mercurial > hg > nginx-site
comparison xml/en/docs/njs/changes.xml @ 2414:3b7223f9aac8
njs-0.3.4
author | Yaroslav Zhuravlev <yar@nginx.com> |
---|---|
date | Tue, 13 Aug 2019 18:09:40 +0300 |
parents | dbf68c949522 |
children | 02b3f97df446 |
comparison
equal
deleted
inserted
replaced
2413:c6581f9aefa3 | 2414:3b7223f9aac8 |
---|---|
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="21" | 12 rev="22" |
13 toc="no"> | 13 toc="no"> |
14 | |
15 <section id="njs0.3.4" name="Changes with 0.3.4"> | |
16 | |
17 <para> | |
18 Release Date: | |
19 13 August 2019 | |
20 </para> | |
21 | |
22 <para> | |
23 Core: | |
24 <list type="bullet"> | |
25 | |
26 <listitem> | |
27 <para> | |
28 Feature: | |
29 added <literal>Object</literal> shorthand methods and computed property names. | |
30 Thanks to 洪志道 (Hong Zhi Dao) and Artem S. Povalyukhin. | |
31 </para> | |
32 </listitem> | |
33 | |
34 <listitem> | |
35 <para> | |
36 Feature: | |
37 added getter/setter literal support. | |
38 Thanks to 洪志道 (Hong Zhi Dao) and Artem S. Povalyukhin. | |
39 </para> | |
40 </listitem> | |
41 | |
42 <listitem> | |
43 <para> | |
44 Feature: | |
45 added | |
46 <link doc="reference.xml" id="renamesync"><literal>fs.renameSync()</literal></link>. | |
47 </para> | |
48 </listitem> | |
49 | |
50 <listitem> | |
51 <para> | |
52 Feature: | |
53 added | |
54 <link doc="reference.xml" id="string_trimend"><literal>String.prototype.trimEnd()</literal></link> | |
55 and | |
56 <link doc="reference.xml" id="string_trimstart"><literal>String.prototype.trimStart()</literal></link>. | |
57 </para> | |
58 </listitem> | |
59 | |
60 <listitem> | |
61 <para> | |
62 Improvement: | |
63 added memory-sanitizer support. | |
64 </para> | |
65 </listitem> | |
66 | |
67 <listitem> | |
68 <para> | |
69 Improvement: | |
70 Unicode case tables updated to version 12.1. | |
71 </para> | |
72 </listitem> | |
73 | |
74 <listitem> | |
75 <para> | |
76 Improvement: | |
77 added UTF8 validation for string literals. | |
78 </para> | |
79 </listitem> | |
80 | |
81 <listitem> | |
82 <para> | |
83 Bugfix: | |
84 fixed reading files with zero size in | |
85 <link doc="reference.xml" id="readfilesync"><literal>fs.readFileSync()</literal></link>. | |
86 </para> | |
87 </listitem> | |
88 | |
89 <listitem> | |
90 <para> | |
91 Bugfix: | |
92 extended the list of space separators in | |
93 <link doc="reference.xml" id="string_trim"><literal>String.prototype.trim()</literal></link>. | |
94 </para> | |
95 </listitem> | |
96 | |
97 <listitem> | |
98 <para> | |
99 Bugfix: | |
100 fixed using of uninitialized value in | |
101 <link doc="reference.xml" id="string_padstart"><literal>String.prototype.padStart()</literal></link>. | |
102 </para> | |
103 </listitem> | |
104 | |
105 <listitem> | |
106 <para> | |
107 Bugfix: | |
108 fixed | |
109 <link doc="reference.xml" id="string_replace"><literal>String.prototype.replace()</literal></link> for <literal>$0</literal> and <literal>$&</literal> replacement string. | |
110 </para> | |
111 </listitem> | |
112 | |
113 <listitem> | |
114 <para> | |
115 Bugfix: | |
116 fixed | |
117 <link doc="reference.xml" id="string_replace"><literal>String.prototype.replace()</literal></link> | |
118 for byte strings with regex argument. | |
119 </para> | |
120 </listitem> | |
121 | |
122 <listitem> | |
123 <para> | |
124 Bugfix: | |
125 fixed global match in | |
126 <link doc="reference.xml" id="string_replace"><literal>String.prototype.replace()</literal></link> | |
127 with regexp argument. | |
128 </para> | |
129 </listitem> | |
130 | |
131 <listitem> | |
132 <para> | |
133 Bugfix: | |
134 fixed | |
135 <literal>Array.prototype.slice()</literal> | |
136 for primitive types. | |
137 </para> | |
138 </listitem> | |
139 | |
140 <listitem> | |
141 <para> | |
142 Bugfix: | |
143 fixed heap-buffer-overflow while importing module. | |
144 </para> | |
145 </listitem> | |
146 | |
147 <listitem> | |
148 <para> | |
149 Bugfix: | |
150 fixed UTF-8 character escaping. | |
151 </para> | |
152 </listitem> | |
153 | |
154 <listitem> | |
155 <para> | |
156 Bugfix: | |
157 fixed | |
158 <link doc="reference.xml" id="object_values"><literal>Object.values()</literal></link> | |
159 and | |
160 <link doc="reference.xml" id="object_entries"><literal>Object.entries()</literal></link> | |
161 for shared objects. | |
162 </para> | |
163 </listitem> | |
164 | |
165 <listitem> | |
166 <para> | |
167 Bugfix: | |
168 fixed uninitialized memory access in | |
169 <link doc="reference.xml" id="string_match"><literal>String.prototype.match()</literal></link>. | |
170 </para> | |
171 </listitem> | |
172 | |
173 <listitem> | |
174 <para> | |
175 Bugfix: | |
176 fixed | |
177 <link doc="reference.xml" id="string_match"><literal>String.prototype.match()</literal></link> | |
178 for byte strings with regex argument. | |
179 </para> | |
180 </listitem> | |
181 | |
182 <listitem> | |
183 <para> | |
184 Bugfix: | |
185 fixed | |
186 <literal>Array.prototype.lastIndexOf()</literal> | |
187 with undefined arguments. | |
188 </para> | |
189 </listitem> | |
190 | |
191 <listitem> | |
192 <para> | |
193 Bugfix: | |
194 fixed | |
195 <link doc="reference.xml" id="string_substring"><literal>String.prototype.substring()</literal></link> | |
196 with empty substring. | |
197 </para> | |
198 </listitem> | |
199 | |
200 <listitem> | |
201 <para> | |
202 Bugfix: | |
203 fixed invalid memory access in | |
204 <link doc="reference.xml" id="string_substring"><literal>String.prototype.substring()</literal></link>. | |
205 </para> | |
206 </listitem> | |
207 | |
208 <listitem> | |
209 <para> | |
210 Bugfix: | |
211 fixed | |
212 <link doc="reference.xml" id="string_fromcharcode"><literal>String.fromCharCode()</literal></link> | |
213 for code points more than <literal>65535</literal> and <literal>NaN</literal>. | |
214 </para> | |
215 </listitem> | |
216 | |
217 <listitem> | |
218 <para> | |
219 Bugfix: | |
220 fixed | |
221 <link doc="reference.xml" id="string_tolowercase"><literal>String.prototype.toLowerCase()</literal></link> | |
222 and | |
223 <link doc="reference.xml" id="string_touppercase"><literal>String.prototype.toUpperCase()</literal></link>. | |
224 </para> | |
225 </listitem> | |
226 | |
227 <listitem> | |
228 <para> | |
229 Bugfix: | |
230 fixed <literal>Error()</literal> constructor with no arguments. | |
231 </para> | |
232 </listitem> | |
233 | |
234 <listitem> | |
235 <para> | |
236 Bugfix: | |
237 fixed <literal>in</literal> operator for values with accessor descriptors. | |
238 </para> | |
239 </listitem> | |
240 | |
241 <listitem> | |
242 <para> | |
243 Bugfix: | |
244 fixed | |
245 <literal>Object.defineProperty()</literal> | |
246 for non-boolean descriptor props. | |
247 </para> | |
248 </listitem> | |
249 | |
250 <listitem> | |
251 <para> | |
252 Bugfix: | |
253 fixed | |
254 <literal>Error.prototype.toString()</literal> | |
255 with UTF8 string properties. | |
256 </para> | |
257 </listitem> | |
258 | |
259 <listitem> | |
260 <para> | |
261 Bugfix: | |
262 fixed | |
263 <literal>Error.prototype.toString()</literal> | |
264 with non-string values for <literal>name</literal> and <literal>message</literal>. | |
265 </para> | |
266 </listitem> | |
267 | |
268 </list> | |
269 </para> | |
270 | |
271 </section> | |
272 | |
14 | 273 |
15 <section id="njs0.3.3" name="Changes with 0.3.3"> | 274 <section id="njs0.3.3" name="Changes with 0.3.3"> |
16 | 275 |
17 <para> | 276 <para> |
18 Release Date: | 277 Release Date: |
71 | 330 |
72 <listitem> | 331 <listitem> |
73 <para> | 332 <para> |
74 Feature: | 333 Feature: |
75 added | 334 added |
76 <link doc="reference.xml" id="global_process"><literal>process</literal></link> | 335 <link doc="reference.xml" id="process"><literal>process</literal></link> |
77 global object. | 336 global object. |
78 </para> | 337 </para> |
79 </listitem> | 338 </listitem> |
80 | 339 |
81 <listitem> | 340 <listitem> |
160 Bugfix: | 419 Bugfix: |
161 fixed escaping lone closing square brackets in | 420 fixed escaping lone closing square brackets in |
162 <literal>RegExp()</literal> constructor. | 421 <literal>RegExp()</literal> constructor. |
163 </para> | 422 </para> |
164 </listitem> | 423 </listitem> |
165 | |
166 | |
167 | 424 |
168 <listitem> | 425 <listitem> |
169 <para> | 426 <para> |
170 Bugfix: | 427 Bugfix: |
171 fixed handling zero byte characters inside RegExp pattern strings. | 428 fixed handling zero byte characters inside RegExp pattern strings. |