Mercurial > hg > nginx-site
annotate xml/en/docs/njs/changes.xml @ 2566:ca1ccafab5ef
njs-0.4.2.
author | Yaroslav Zhuravlev <yar@nginx.com> |
---|---|
date | Tue, 07 Jul 2020 17:33:05 +0100 |
parents | baf8cbfa3df1 |
children | 2edc64c05b0e |
rev | line source |
---|---|
2130 | 1 <?xml version="1.0"?> |
2 | |
3 <!-- | |
4 Copyright (C) Nginx, Inc. | |
5 --> | |
6 | |
7 <!DOCTYPE article SYSTEM "../../../../dtd/article.dtd"> | |
8 | |
2246
32ba43abf9cd
Renamed njs API, njs Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2237
diff
changeset
|
9 <article name="Changes" |
32ba43abf9cd
Renamed njs API, njs Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2237
diff
changeset
|
10 link="/en/docs/njs/changes.html" |
2130 | 11 lang="en" |
2566 | 12 rev="33" |
2130 | 13 toc="no"> |
14 | |
2566 | 15 <section id="njs0.4.2" name="Changes with njs 0.4.2"> |
16 | |
17 <para> | |
18 Release Date: | |
19 07 July 2020 | |
20 </para> | |
21 | |
22 <para> | |
23 Core: | |
24 <list type="bullet"> | |
25 | |
26 <listitem> | |
27 <para> | |
28 Feature: | |
29 added <literal>RegExp.prototype[Symbol.replace]</literal>. | |
30 </para> | |
31 </listitem> | |
32 | |
33 <listitem> | |
34 <para> | |
35 Feature: | |
36 introduced line level backtrace. | |
37 </para> | |
38 </listitem> | |
39 | |
40 <listitem> | |
41 <para> | |
42 Feature: | |
43 added <literal>%TypedArray%.prototype.sort()</literal>. | |
44 </para> | |
45 </listitem> | |
46 | |
47 <listitem> | |
48 <para> | |
49 Feature: | |
50 extended | |
51 <link doc="reference.xml" id="njs_api_fs"><literal>fs</literal></link> module. | |
52 Added | |
53 <link doc="reference.xml" id="fs_mkdirsync"><literal>mkdir()</literal></link>, | |
54 <link doc="reference.xml" id="fs_readdirsync"><literal>readdir()</literal></link>, | |
55 <link doc="reference.xml" id="fs_rmdirsync"><literal>rmdir()</literal></link>, | |
56 and friends. | |
57 </para> | |
58 </listitem> | |
59 | |
60 <listitem> | |
61 <para> | |
62 Improvement: | |
63 parser refactoring. | |
64 </para> | |
65 </listitem> | |
66 | |
67 <listitem> | |
68 <para> | |
69 Bugfix: | |
70 fixed TypedScript API description for HTTP headers. | |
71 </para> | |
72 </listitem> | |
73 | |
74 <listitem> | |
75 <para> | |
76 Bugfix: | |
77 fixed TypedScript API description for <literal>NjsByteString</literal> type. | |
78 </para> | |
79 </listitem> | |
80 | |
81 <listitem> | |
82 <para> | |
83 Bugfix: | |
84 fixed | |
85 <link doc="reference.xml" id="string_repeat"><literal>String.prototype.repeat()</literal></link> | |
86 according to the specification. | |
87 </para> | |
88 </listitem> | |
89 | |
90 <listitem> | |
91 <para> | |
92 Bugfix: | |
93 fixed | |
94 <link doc="reference.xml" id="string_replace"><literal>String.prototype.replace()</literal></link> | |
95 according to the specification. | |
96 </para> | |
97 </listitem> | |
98 | |
99 <listitem> | |
100 <para> | |
101 Bugfix: | |
102 fixed parsing of flags for regexp literals. | |
103 </para> | |
104 </listitem> | |
105 | |
106 <listitem> | |
107 <para> | |
108 Bugfix: | |
109 fixed index generation for global objects in generator. | |
110 </para> | |
111 </listitem> | |
112 | |
113 <listitem> | |
114 <para> | |
115 Bugfix: | |
116 fixed <literal>%TypedArray%.prototype.copyWithin()</literal> | |
117 with nonzero byte offset. | |
118 </para> | |
119 </listitem> | |
120 | |
121 <listitem> | |
122 <para> | |
123 Bugfix: | |
124 fixed <literal>Array.prototype.splice()</literal> | |
125 for sparse arrays. | |
126 </para> | |
127 </listitem> | |
128 | |
129 <listitem> | |
130 <para> | |
131 Bugfix: | |
132 fixed <literal>Array.prototype.reverse()</literal> | |
133 for sparse arrays. | |
134 </para> | |
135 </listitem> | |
136 | |
137 <listitem> | |
138 <para> | |
139 Bugfix: | |
140 fixed <literal>Array.prototype.sort()</literal> | |
141 for sparse arrays. | |
142 </para> | |
143 </listitem> | |
144 | |
145 </list> | |
146 </para> | |
147 | |
148 </section> | |
149 | |
150 | |
2547 | 151 <section id="njs0.4.1" name="Changes with njs 0.4.1"> |
152 | |
153 <para> | |
154 Release Date: | |
155 19 May 2020 | |
156 </para> | |
157 | |
158 <para> | |
159 nginx modules: | |
160 <list type="bullet"> | |
161 | |
162 <listitem> | |
163 <para> | |
164 Feature: | |
165 added support for multi-value headers in | |
166 <link doc="reference.xml" id="r_headers_in"><literal>r.headersIn{}</literal></link>. | |
167 </para> | |
168 </listitem> | |
169 | |
170 <listitem> | |
171 <para> | |
172 Feature: | |
173 introduced <literal>raw headers</literal> API: | |
174 <link doc="reference.xml" id="r_raw_headers_in"><literal>r.rawHeadersIn{}</literal></link> | |
175 and | |
176 <link doc="reference.xml" id="r_raw_headers_out"><literal>r.rawHeadersOut{}</literal></link>. | |
177 </para> | |
178 </listitem> | |
179 | |
180 <listitem> | |
181 <para> | |
182 Feature: | |
183 added <link doc="typescript.xml">TypeScript</link> API description. | |
184 </para> | |
185 </listitem> | |
186 | |
187 </list> | |
188 </para> | |
189 | |
190 <para> | |
191 Core: | |
192 <list type="bullet"> | |
193 | |
194 <listitem> | |
195 <para> | |
196 Bugfix: | |
197 fixed <literal>Array.prototype.slice()</literal> for sparse arrays. | |
198 </para> | |
199 </listitem> | |
200 | |
201 </list> | |
202 </para> | |
203 | |
204 </section> | |
205 | |
206 | |
2535 | 207 <section id="njs0.4.0" name="Changes with njs 0.4.0"> |
208 | |
209 <para> | |
210 Release Date: | |
211 23 April 2020 | |
212 </para> | |
213 | |
214 <para> | |
215 nginx modules: | |
216 <list type="bullet"> | |
217 | |
218 <listitem> | |
219 <para> | |
220 Feature: | |
221 added support for multi-value headers in | |
222 <link doc="reference.xml" id="r_headers_out"><literal>r.headersOut{}</literal></link>. | |
223 </para> | |
224 </listitem> | |
225 | |
226 <listitem> | |
227 <para> | |
228 Feature: | |
229 added <literal>js_import</literal> directive for | |
230 <link doc="../http/ngx_http_js_module.xml" id="js_import">http</link> and | |
231 <link doc="../stream/ngx_stream_js_module.xml" id="js_import">stream</link>. | |
232 </para> | |
233 </listitem> | |
234 | |
235 <listitem> | |
236 <para> | |
237 Improvement: | |
238 improved iteration over | |
239 <link doc="reference.xml" id="r_headers_out"><literal>r.headersOut{}</literal></link> | |
240 with special headers. | |
241 </para> | |
242 </listitem> | |
243 | |
244 <listitem> | |
245 <para> | |
246 Improvement: | |
247 improved iteration over | |
248 <link doc="reference.xml" id="r_headers_out"><literal>r.headersOut{}</literal></link> | |
249 with duplicates. | |
250 </para> | |
251 </listitem> | |
252 | |
253 <listitem> | |
254 <para> | |
255 Change: | |
256 <link doc="reference.xml" id="r_response_body"><literal>r.responseBody</literal></link> | |
257 property handler now returns | |
258 <literal>undefined</literal> | |
259 instead of throwing an exception if the response body is not available. | |
260 </para> | |
261 </listitem> | |
262 | |
263 </list> | |
264 </para> | |
265 | |
266 <para> | |
267 Core: | |
268 <list type="bullet"> | |
269 | |
270 <listitem> | |
271 <para> | |
272 Feature: | |
273 added script arguments support in CLI. | |
274 </para> | |
275 </listitem> | |
276 | |
277 <listitem> | |
278 <para> | |
279 Feature: | |
280 converting externals values to native js objects. | |
281 </para> | |
282 </listitem> | |
283 | |
284 <listitem> | |
285 <para> | |
286 Bugfix: | |
287 fixed NULL-pointer dereference | |
288 in <literal>__proto__</literal> property handler. | |
289 </para> | |
290 </listitem> | |
291 | |
292 <listitem> | |
293 <para> | |
294 Bugfix: | |
295 fixed handling of no-newline at the end of the script. | |
296 </para> | |
297 </listitem> | |
298 | |
299 <listitem> | |
300 <para> | |
301 Bugfix: | |
302 fixed <literal>RegExp()</literal> constructor | |
303 with empty pattern and non-empty flags. | |
304 </para> | |
305 </listitem> | |
306 | |
307 <listitem> | |
308 <para> | |
309 Bugfix: | |
310 fixed | |
311 <link doc="reference.xml" id="string_replace"><literal>String.prototype.replace()</literal></link> | |
312 when function returns non-string. | |
313 </para> | |
314 </listitem> | |
315 | |
316 <listitem> | |
317 <para> | |
318 Bugfix: | |
319 fixed reading of pseudofiles in | |
320 <link doc="reference.xml" id="njs_api_fs"><literal>fs</literal></link>. | |
321 </para> | |
322 </listitem> | |
323 | |
324 </list> | |
325 </para> | |
326 | |
327 </section> | |
328 | |
329 | |
2507 | 330 <section id="njs0.3.9" name="Changes with njs 0.3.9"> |
331 | |
332 <para> | |
333 Release Date: | |
334 03 March 2020 | |
335 </para> | |
336 | |
337 <para> | |
338 nginx modules: | |
339 <list type="bullet"> | |
340 | |
341 <listitem> | |
342 <para> | |
343 Feature: | |
344 added detached mode for | |
345 <link doc="reference.xml" id="subrequest"><literal>r.subrequest()</literal></link>. | |
346 Responses to detached subrequests are ignored. | |
347 Unlike ordinary subrequests, | |
348 a detached subrequest can be created inside a variable handler. | |
349 </para> | |
350 </listitem> | |
351 | |
352 </list> | |
353 </para> | |
354 | |
355 <para> | |
356 Core: | |
357 <list type="bullet"> | |
358 | |
359 <listitem> | |
360 <para> | |
361 Feature: | |
362 added <literal>promises</literal> API for | |
363 <link doc="reference.xml" id="njs_api_fs"><literal>fs</literal></link> module. | |
364 Thanks to Artem S. Povalyukhin. | |
365 </para> | |
366 </listitem> | |
367 | |
368 <listitem> | |
369 <para> | |
370 Feature: | |
371 extended <link doc="reference.xml" id="njs_api_fs"><literal>fs</literal></link> | |
372 module. | |
373 Added | |
374 <link doc="reference.xml" id="fs_accesssync"><literal>access()</literal></link>, | |
375 <link doc="reference.xml" id="fs_symlinksync"><literal>symlink()</literal></link>, | |
376 <link doc="reference.xml" id="fs_unlinksync"><literal>unlink()</literal></link>, | |
377 <link doc="reference.xml" id="fs_realpathsync"><literal>realpath()</literal></link>, | |
378 and friends. | |
379 Thanks to Artem S. Povalyukhin. | |
380 </para> | |
381 </listitem> | |
382 | |
383 <listitem> | |
384 <para> | |
385 Improvement: | |
386 introduced memory-efficient ordinary arrays. | |
387 </para> | |
388 </listitem> | |
389 | |
390 <listitem> | |
391 <para> | |
392 Improvement: | |
393 lexer refactoring. | |
394 </para> | |
395 </listitem> | |
396 | |
397 <listitem> | |
398 <para> | |
399 Bugfix: | |
400 fixed matching of native functions in backtraces. | |
401 </para> | |
402 </listitem> | |
403 | |
404 <listitem> | |
405 <para> | |
406 Bugfix: | |
407 fixed callback invocations in | |
408 <link doc="reference.xml" id="njs_api_fs"><literal>fs</literal></link> module. | |
409 Thanks to Artem S. Povalyukhin. | |
410 </para> | |
411 </listitem> | |
412 | |
413 <listitem> | |
414 <para> | |
415 Bugfix: | |
416 fixed <literal>Object.getOwnPropertySymbols()</literal>. | |
417 </para> | |
418 </listitem> | |
419 | |
420 <listitem> | |
421 <para> | |
422 Bugfix: | |
423 fixed heap-buffer-overflow in | |
424 <literal>njs_json_append_string()</literal>. | |
425 </para> | |
426 </listitem> | |
427 | |
428 <listitem> | |
429 <para> | |
430 Bugfix: | |
431 fixed | |
432 <link doc="reference.xml" id="encodeuri"><literal>encodeURI()</literal></link> | |
433 and | |
434 <link doc="reference.xml" id="decodeuri"><literal>decodeURI()</literal></link> | |
435 according to the specification. | |
436 </para> | |
437 </listitem> | |
438 | |
439 <listitem> | |
440 <para> | |
441 Bugfix: | |
442 fixed <literal>Number.prototype.toPrecision()</literal>. | |
443 </para> | |
444 </listitem> | |
445 | |
446 <listitem> | |
447 <para> | |
448 Bugfix: | |
449 fixed handling of space argument in | |
450 <link doc="reference.xml" id="core_json_stringify"><literal>JSON.stringify()</literal></link>. | |
451 </para> | |
452 </listitem> | |
453 | |
454 <listitem> | |
455 <para> | |
456 Bugfix: | |
457 fixed | |
458 <link doc="reference.xml" id="core_json_stringify"><literal>JSON.stringify()</literal></link> | |
459 with | |
460 <literal>Number()</literal> and | |
461 <literal>String()</literal> | |
462 objects. | |
463 </para> | |
464 </listitem> | |
465 | |
466 <listitem> | |
467 <para> | |
468 Bugfix: | |
469 fixed Unicode Escaping in | |
470 <link doc="reference.xml" id="core_json_stringify"><literal>JSON.stringify()</literal></link> | |
471 according to specification. | |
472 </para> | |
473 </listitem> | |
474 | |
475 <listitem> | |
476 <para> | |
477 Bugfix: | |
478 fixed non-native module importing. | |
479 Thanks to 洪志道 (Hong Zhi Dao). | |
480 </para> | |
481 </listitem> | |
482 | |
483 <listitem> | |
484 <para> | |
485 Bugfix: | |
486 fixed | |
487 <literal>njs.dump()</literal> with the | |
488 <literal>Date()</literal> | |
489 instance in a container. | |
490 </para> | |
491 </listitem> | |
492 | |
493 </list> | |
494 </para> | |
495 | |
496 </section> | |
497 | |
498 | |
2482
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
499 <section id="njs0.3.8" name="Changes with njs 0.3.8"> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
500 |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
501 <para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
502 Release Date: |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
503 21 January 2020 |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
504 </para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
505 |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
506 <para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
507 nginx modules: |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
508 <list type="bullet"> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
509 |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
510 <listitem> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
511 <para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
512 Feature: |
2497
805c4b84cc61
Added missing feature and links to njs-0.3.8 Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2482
diff
changeset
|
513 added <literal>Promise</literal> support for |
805c4b84cc61
Added missing feature and links to njs-0.3.8 Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2482
diff
changeset
|
514 <link doc="reference.xml" id="subrequest"><literal>r.subrequest()</literal></link>. |
2482
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
515 If a callback is not provided, |
2497
805c4b84cc61
Added missing feature and links to njs-0.3.8 Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2482
diff
changeset
|
516 <link doc="reference.xml" id="subrequest"><literal>r.subrequest()</literal></link> |
805c4b84cc61
Added missing feature and links to njs-0.3.8 Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2482
diff
changeset
|
517 returns an ordinary |
2482
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
518 <literal>Promise</literal> object |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
519 that resolves to a subrequest response object. |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
520 </para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
521 </listitem> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
522 |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
523 <listitem> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
524 <para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
525 Change: |
2514
da5355b68ddd
Removed brackets from r.parent in njs Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2510
diff
changeset
|
526 <link doc="reference.xml" id="r_parent"><literal>r.parent</literal></link> |
2497
805c4b84cc61
Added missing feature and links to njs-0.3.8 Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2482
diff
changeset
|
527 property handler now returns |
2482
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
528 <literal>undefined</literal> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
529 instead of throwing an exception if a parent object is not available. |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
530 </para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
531 </listitem> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
532 |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
533 </list> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
534 </para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
535 |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
536 <para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
537 Core: |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
538 <list type="bullet"> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
539 |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
540 <listitem> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
541 <para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
542 Feature: |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
543 added <literal>Promise</literal> support. |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
544 Implemented according to the specification without: |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
545 <literal>Promise.all()</literal>, |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
546 <literal>Promise.allSettled()</literal>, |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
547 <literal>Promise.race()</literal>. |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
548 </para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
549 </listitem> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
550 |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
551 <listitem> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
552 <para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
553 Feature: |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
554 added initial Typed-arrays support. |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
555 Thanks to Tiago Natel de Moura. |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
556 </para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
557 </listitem> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
558 |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
559 <listitem> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
560 <para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
561 Feature: |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
562 added <literal>ArrayBuffer</literal> support. |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
563 Thanks to Tiago Natel de Moura. |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
564 </para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
565 </listitem> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
566 |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
567 <listitem> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
568 <para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
569 Feature: |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
570 added initial <literal>Symbol</literal> support. |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
571 Thanks to Artem S. Povalyukhin. |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
572 </para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
573 </listitem> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
574 |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
575 <listitem> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
576 <para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
577 Feature: |
2497
805c4b84cc61
Added missing feature and links to njs-0.3.8 Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2482
diff
changeset
|
578 added externals support for |
805c4b84cc61
Added missing feature and links to njs-0.3.8 Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2482
diff
changeset
|
579 <link doc="reference.xml" id="core_json_stringify"><literal>JSON.stringify()</literal></link>. |
2482
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
580 </para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
581 </listitem> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
582 |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
583 <listitem> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
584 <para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
585 Feature: |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
586 added <literal>Object.is()</literal>. |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
587 Thanks to Artem S. Povalyukhin. |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
588 </para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
589 </listitem> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
590 |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
591 <listitem> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
592 <para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
593 Feature: |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
594 added <literal>Object.setPrototypeOf()</literal>. |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
595 Thanks to Artem S. Povalyukhin. |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
596 </para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
597 </listitem> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
598 |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
599 <listitem> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
600 <para> |
2497
805c4b84cc61
Added missing feature and links to njs-0.3.8 Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2482
diff
changeset
|
601 Feature: |
805c4b84cc61
Added missing feature and links to njs-0.3.8 Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2482
diff
changeset
|
602 introduced nullish coalescing operator. |
805c4b84cc61
Added missing feature and links to njs-0.3.8 Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2482
diff
changeset
|
603 </para> |
805c4b84cc61
Added missing feature and links to njs-0.3.8 Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2482
diff
changeset
|
604 </listitem> |
805c4b84cc61
Added missing feature and links to njs-0.3.8 Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2482
diff
changeset
|
605 |
805c4b84cc61
Added missing feature and links to njs-0.3.8 Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2482
diff
changeset
|
606 <listitem> |
805c4b84cc61
Added missing feature and links to njs-0.3.8 Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2482
diff
changeset
|
607 <para> |
2482
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
608 Bugfix: |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
609 fixed |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
610 <literal>Object.getPrototypeOf()</literal> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
611 according to the specification. |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
612 </para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
613 </listitem> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
614 |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
615 <listitem> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
616 <para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
617 Bugfix: |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
618 fixed |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
619 <literal>Object.prototype.valueOf()</literal> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
620 according to the specification. |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
621 </para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
622 </listitem> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
623 |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
624 <listitem> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
625 <para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
626 Bugfix: |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
627 fixed |
2497
805c4b84cc61
Added missing feature and links to njs-0.3.8 Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2482
diff
changeset
|
628 <link doc="reference.xml" id="core_json_stringify"><literal>JSON.stringify()</literal></link> |
2482
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
629 with unprintable values and replacer function. |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
630 </para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
631 </listitem> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
632 |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
633 <listitem> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
634 <para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
635 Bugfix: |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
636 fixed operator <literal>in</literal> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
637 according to the specification. |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
638 </para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
639 </listitem> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
640 |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
641 <listitem> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
642 <para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
643 Bugfix: |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
644 fixed |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
645 <literal>Object.defineProperties()</literal> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
646 according to the specification. |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
647 </para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
648 </listitem> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
649 |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
650 <listitem> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
651 <para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
652 Bugfix: |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
653 fixed |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
654 <literal>Object.create()</literal> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
655 according to the specification. |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
656 Thanks to Artem S. Povalyukhin. |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
657 </para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
658 </listitem> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
659 |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
660 <listitem> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
661 <para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
662 Bugfix: |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
663 fixed |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
664 <literal>Number.prototype.toString(radix)</literal> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
665 when fast-math is enabled. |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
666 </para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
667 </listitem> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
668 |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
669 <listitem> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
670 <para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
671 Bugfix: |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
672 fixed <literal>RegExp()</literal> instance properties. |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
673 </para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
674 </listitem> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
675 |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
676 <listitem> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
677 <para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
678 Bugfix: |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
679 fixed import segfault. |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
680 Thanks to 洪志道 (Hong Zhi Dao). |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
681 </para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
682 </listitem> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
683 |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
684 </list> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
685 </para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
686 |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
687 </section> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
688 |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
689 |
2466 | 690 <section id="njs0.3.7" name="Changes with njs 0.3.7"> |
691 | |
692 <para> | |
693 Release Date: | |
694 19 November 2019 | |
695 </para> | |
696 | |
697 <para> | |
698 nginx modules: | |
699 <list type="bullet"> | |
700 | |
701 <listitem> | |
702 <para> | |
703 Improvement: | |
704 refactored iteration over external objects. | |
705 </para> | |
706 </listitem> | |
707 | |
708 </list> | |
709 </para> | |
710 | |
711 <para> | |
712 Core: | |
713 <list type="bullet"> | |
714 | |
715 <listitem> | |
716 <para> | |
717 Feature: | |
718 added <literal>Object.assign()</literal>. | |
719 </para> | |
720 </listitem> | |
721 | |
722 <listitem> | |
723 <para> | |
724 Feature: | |
725 added <literal>Array.prototype.copyWithin()</literal>. | |
726 </para> | |
727 </listitem> | |
728 | |
729 <listitem> | |
730 <para> | |
731 Feature: | |
732 added support for labels in <literal>console.time()</literal>. | |
733 </para> | |
734 </listitem> | |
735 | |
736 <listitem> | |
737 <para> | |
738 Change: | |
739 removed <literal>console.help()</literal> from CLI. | |
740 </para> | |
741 </listitem> | |
742 | |
743 <listitem> | |
744 <para> | |
745 Improvement: | |
746 moved constructors and top-level objects to global object. | |
747 </para> | |
748 </listitem> | |
749 | |
750 <listitem> | |
751 <para> | |
752 Improvement: | |
753 arguments validation for configure script. | |
754 </para> | |
755 </listitem> | |
756 | |
757 <listitem> | |
758 <para> | |
759 Improvement: | |
760 refactored JSON methods. | |
761 </para> | |
762 </listitem> | |
763 | |
764 <listitem> | |
765 <para> | |
766 Bugfix: | |
767 fixed heap-buffer-overflow in | |
768 <literal>njs_array_reverse_iterator()</literal> function. | |
769 The following functions were affected: | |
770 <literal>Array.prototype.lastIndexOf()</literal>, | |
771 <literal>Array.prototype.reduceRight()</literal>. | |
772 </para> | |
773 </listitem> | |
774 | |
775 <listitem> | |
776 <para> | |
777 Bugfix: | |
778 fixed | |
779 <literal>[[Prototype]]</literal> slot of <literal>NativeErrors</literal>. | |
780 </para> | |
781 </listitem> | |
782 | |
783 <listitem> | |
784 <para> | |
785 Bugfix: | |
786 fixed | |
787 <literal>NativeError.prototype.message</literal> properties. | |
788 </para> | |
789 </listitem> | |
790 | |
791 <listitem> | |
792 <para> | |
793 Bugfix: | |
794 added conversion of | |
795 <literal>this</literal> value to object in | |
796 <literal>Array.prototype functions</literal>. | |
797 </para> | |
798 </listitem> | |
799 | |
800 <listitem> | |
801 <para> | |
802 Bugfix: | |
803 fixed iterator for | |
804 <literal>Array.prototype.find()</literal> and | |
805 <literal>Array.prototype.findIndex()</literal> | |
806 functions. | |
807 </para> | |
808 </listitem> | |
809 | |
810 <listitem> | |
811 <para> | |
812 Bugfix: | |
813 fixed | |
814 <literal>Array.prototype.includes()</literal> and | |
815 <literal>Array.prototype.join()</literal> with | |
816 <literal>undefined</literal> argument. | |
817 </para> | |
818 </listitem> | |
819 | |
820 <listitem> | |
821 <para> | |
822 Bugfix: | |
823 fixed <literal>constructor</literal> property of | |
824 <literal>Hash</literal> and | |
825 <literal>Hmac</literal> | |
826 objects. | |
827 </para> | |
828 </listitem> | |
829 | |
830 <listitem> | |
831 <para> | |
832 Bugfix: | |
833 fixed <literal>__proto__</literal> property of getters and setters. | |
834 </para> | |
835 </listitem> | |
836 | |
837 <listitem> | |
838 <para> | |
839 Bugfix: | |
840 fixed <literal>Date</literal> object string formatting. | |
841 </para> | |
842 </listitem> | |
843 | |
844 <listitem> | |
845 <para> | |
846 Bugfix: | |
847 fixed handling of | |
848 <literal>NaN</literal> and <literal>-0</literal> arguments in | |
849 <literal>Math.min()</literal> and | |
850 <literal>Math.max()</literal>. | |
851 </para> | |
852 </listitem> | |
853 | |
854 <listitem> | |
855 <para> | |
856 Bugfix: | |
857 fixed <literal>Math.round()</literal> | |
858 according to the specification. | |
859 </para> | |
860 </listitem> | |
861 | |
862 <listitem> | |
863 <para> | |
864 Bugfix: | |
865 reimplemented <literal>bound</literal> functions | |
866 according to the specification. | |
867 </para> | |
868 </listitem> | |
869 | |
870 </list> | |
871 </para> | |
872 | |
873 </section> | |
874 | |
875 | |
2456
de4f8f3d1fd6
Added njs product name to Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2446
diff
changeset
|
876 <section id="njs0.3.6" name="Changes with njs 0.3.6"> |
2446 | 877 |
878 <para> | |
879 Release Date: | |
880 22 October 2019 | |
881 </para> | |
882 | |
883 <para> | |
884 nginx modules: | |
885 <list type="bullet"> | |
886 | |
887 <listitem> | |
888 <para> | |
889 Improvement: | |
890 getting special headers from | |
891 <link doc="reference.xml" id="r_headers_in"><literal>r.headersIn{}</literal></link>. | |
892 </para> | |
893 </listitem> | |
894 | |
895 </list> | |
896 </para> | |
897 | |
898 <para> | |
899 Core: | |
900 <list type="bullet"> | |
901 | |
902 <listitem> | |
903 <para> | |
904 Feature: | |
905 added new <literal>Function()</literal> support. | |
906 </para> | |
907 </listitem> | |
908 | |
909 <listitem> | |
910 <para> | |
911 Feature: | |
912 added <literal>Number.prototype.toFixed()</literal>. | |
913 </para> | |
914 </listitem> | |
915 | |
916 <listitem> | |
917 <para> | |
918 Feature: | |
919 added <literal>Number.prototype.toPrecision()</literal>. | |
920 </para> | |
921 </listitem> | |
922 | |
923 <listitem> | |
924 <para> | |
925 Feature: | |
926 added <literal>Number.prototype.toExponential()</literal>. | |
927 </para> | |
928 </listitem> | |
929 | |
930 <listitem> | |
931 <para> | |
932 Improvement: | |
933 making <literal>prototype</literal> property of function instances writable. | |
934 </para> | |
935 </listitem> | |
936 | |
937 <listitem> | |
938 <para> | |
939 Improvement: | |
940 limiting recursion depth while compiling. | |
941 </para> | |
942 </listitem> | |
943 | |
944 <listitem> | |
945 <para> | |
946 Improvement: | |
947 moving global functions to the global object. | |
948 </para> | |
949 </listitem> | |
950 | |
951 <listitem> | |
952 <para> | |
953 Bugfix: | |
954 fixed prototype mutation for object literals. | |
955 </para> | |
956 </listitem> | |
957 | |
958 <listitem> | |
959 <para> | |
960 Bugfix: | |
961 fixed heap-buffer-overflow while parsing regexp literals. | |
962 </para> | |
963 </listitem> | |
964 | |
965 <listitem> | |
966 <para> | |
967 Bugfix: | |
968 fixed integer-overflow while parsing exponent of number literals. | |
969 </para> | |
970 </listitem> | |
971 | |
972 <listitem> | |
973 <para> | |
974 Bugfix: | |
975 fixed <literal>parseFloat()</literal>. | |
976 </para> | |
977 </listitem> | |
978 | |
979 <listitem> | |
980 <para> | |
981 Bugfix: | |
982 fixed <literal>Array.prototype</literal> functions | |
983 according to the specification. | |
984 The following functions were fixed: | |
985 <literal>every</literal>, | |
986 <literal>includes</literal>, | |
987 <literal>indexOf</literal>, | |
988 <literal>filter</literal>, | |
989 <literal>find</literal>, | |
990 <literal>findIndex</literal>, | |
991 <literal>forEach</literal>, | |
992 <literal>lastIndexOf</literal>, | |
993 <literal>map</literal>, | |
994 <literal>pop</literal>, | |
995 <literal>push</literal>, | |
996 <literal>reduce</literal>, | |
997 <literal>reduceRight</literal>, | |
998 <literal>shift</literal>, | |
999 <literal>some</literal>, | |
1000 <literal>unshift</literal>. | |
1001 </para> | |
1002 </listitem> | |
1003 | |
1004 <listitem> | |
1005 <para> | |
1006 Bugfix: | |
1007 fixed handing of accessor descriptors in <literal>Object.freeze()</literal>. | |
1008 </para> | |
1009 </listitem> | |
1010 | |
1011 <listitem> | |
1012 <para> | |
1013 Bugfix: | |
1014 fixed | |
1015 <link doc="reference.xml" id="string_replace"><literal>String.prototype.replace()</literal></link> | |
1016 when first argument is not a string. | |
1017 </para> | |
1018 </listitem> | |
1019 | |
1020 <listitem> | |
1021 <para> | |
1022 Bugfix: | |
1023 fixed stack-use-after-scope in <literal>Array.prototype.map()</literal>. | |
1024 </para> | |
1025 </listitem> | |
1026 | |
1027 <listitem> | |
1028 <para> | |
1029 Bugfix: | |
1030 <literal>Date.prototype.toUTCString()</literal> | |
1031 format was aligned to ES9. | |
1032 </para> | |
1033 </listitem> | |
1034 | |
1035 <listitem> | |
1036 <para> | |
1037 Bugfix: | |
1038 fixed buffer overflow in | |
1039 <literal>Number.prototype.toString(radix)</literal>. | |
1040 </para> | |
1041 </listitem> | |
1042 | |
1043 <listitem> | |
1044 <para> | |
1045 Bugfix: | |
1046 fixed | |
1047 <literal>Regexp.prototype.test()</literal> | |
1048 for regexps with backreferences. | |
1049 </para> | |
1050 </listitem> | |
1051 | |
1052 <listitem> | |
1053 <para> | |
1054 Bugfix: | |
1055 fixed | |
1056 <literal>Array.prototype.map()</literal> | |
1057 for objects with nonexistent values. | |
1058 </para> | |
1059 </listitem> | |
1060 | |
1061 <listitem> | |
1062 <para> | |
1063 Bugfix: | |
1064 fixed | |
1065 <literal>Array.prototype.pop()</literal> and | |
1066 <literal>shift()</literal> for sparse objects. | |
1067 </para> | |
1068 </listitem> | |
1069 | |
1070 <listitem> | |
1071 <para> | |
1072 Bugfix: | |
1073 fixed <literal>Date.UTC()</literal> according to the specification. | |
1074 </para> | |
1075 </listitem> | |
1076 | |
1077 <listitem> | |
1078 <para> | |
1079 Bugfix: | |
1080 fixed <literal>Date()</literal> constructor according to the specification. | |
1081 </para> | |
1082 </listitem> | |
1083 | |
1084 <listitem> | |
1085 <para> | |
1086 Bugfix: | |
1087 fixed type of <literal>Date.prototype</literal>. | |
1088 Thanks to Artem S. Povalyukhin. | |
1089 </para> | |
1090 </listitem> | |
1091 | |
1092 <listitem> | |
1093 <para> | |
1094 Bugfix: | |
1095 fixed <literal>Date.prototype.setTime()</literal>. | |
1096 Thanks to Artem S. Povalyukhin. | |
1097 </para> | |
1098 </listitem> | |
1099 | |
1100 <listitem> | |
1101 <para> | |
1102 Bugfix: | |
1103 fixed default number of arguments expected by built-in functions. | |
1104 </para> | |
1105 </listitem> | |
1106 | |
1107 <listitem> | |
1108 <para> | |
1109 Bugfix: | |
1110 fixed <literal>caller</literal> and <literal>arguments</literal> | |
1111 properties of a function instance. | |
1112 Thanks to Artem S. Povalyukhin. | |
1113 </para> | |
1114 </listitem> | |
1115 | |
1116 </list> | |
1117 </para> | |
1118 | |
1119 </section> | |
1120 | |
1121 | |
2456
de4f8f3d1fd6
Added njs product name to Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2446
diff
changeset
|
1122 <section id="njs0.3.5" name="Changes with njs 0.3.5"> |
2420 | 1123 |
1124 <para> | |
1125 Release Date: | |
1126 15 August 2019 | |
1127 </para> | |
1128 | |
1129 <para> | |
1130 Core: | |
1131 <list type="bullet"> | |
1132 | |
1133 <listitem> | |
1134 <para> | |
1135 Bugfix: | |
1136 fixed module importing using <literal>require()</literal>. | |
1137 The bug was introduced in <link id="0.3.4"/>. | |
1138 </para> | |
1139 </listitem> | |
1140 | |
1141 <listitem> | |
1142 <para> | |
1143 Bugfix: | |
1144 fixed <literal>[[SetPrototypeOf]]</literal>. | |
1145 </para> | |
1146 </listitem> | |
1147 | |
1148 </list> | |
1149 </para> | |
1150 | |
1151 </section> | |
1152 | |
1153 | |
2456
de4f8f3d1fd6
Added njs product name to Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2446
diff
changeset
|
1154 <section id="njs0.3.4" name="Changes with njs 0.3.4"> |
2414 | 1155 |
1156 <para> | |
1157 Release Date: | |
1158 13 August 2019 | |
1159 </para> | |
1160 | |
1161 <para> | |
1162 Core: | |
1163 <list type="bullet"> | |
1164 | |
1165 <listitem> | |
1166 <para> | |
1167 Feature: | |
1168 added <literal>Object</literal> shorthand methods and computed property names. | |
1169 Thanks to 洪志道 (Hong Zhi Dao) and Artem S. Povalyukhin. | |
1170 </para> | |
1171 </listitem> | |
1172 | |
1173 <listitem> | |
1174 <para> | |
1175 Feature: | |
1176 added getter/setter literal support. | |
1177 Thanks to 洪志道 (Hong Zhi Dao) and Artem S. Povalyukhin. | |
1178 </para> | |
1179 </listitem> | |
1180 | |
1181 <listitem> | |
1182 <para> | |
1183 Feature: | |
1184 added | |
2507 | 1185 <link doc="reference.xml" id="fs_renamesync"><literal>fs.renameSync()</literal></link>. |
2414 | 1186 </para> |
1187 </listitem> | |
1188 | |
1189 <listitem> | |
1190 <para> | |
1191 Feature: | |
1192 added | |
1193 <link doc="reference.xml" id="string_trimend"><literal>String.prototype.trimEnd()</literal></link> | |
1194 and | |
1195 <link doc="reference.xml" id="string_trimstart"><literal>String.prototype.trimStart()</literal></link>. | |
1196 </para> | |
1197 </listitem> | |
1198 | |
1199 <listitem> | |
1200 <para> | |
1201 Improvement: | |
1202 added memory-sanitizer support. | |
1203 </para> | |
1204 </listitem> | |
1205 | |
1206 <listitem> | |
1207 <para> | |
1208 Improvement: | |
1209 Unicode case tables updated to version 12.1. | |
1210 </para> | |
1211 </listitem> | |
1212 | |
1213 <listitem> | |
1214 <para> | |
1215 Improvement: | |
1216 added UTF8 validation for string literals. | |
1217 </para> | |
1218 </listitem> | |
1219 | |
1220 <listitem> | |
1221 <para> | |
1222 Bugfix: | |
1223 fixed reading files with zero size in | |
1224 <link doc="reference.xml" id="readfilesync"><literal>fs.readFileSync()</literal></link>. | |
1225 </para> | |
1226 </listitem> | |
1227 | |
1228 <listitem> | |
1229 <para> | |
1230 Bugfix: | |
1231 extended the list of space separators in | |
1232 <link doc="reference.xml" id="string_trim"><literal>String.prototype.trim()</literal></link>. | |
1233 </para> | |
1234 </listitem> | |
1235 | |
1236 <listitem> | |
1237 <para> | |
1238 Bugfix: | |
1239 fixed using of uninitialized value in | |
1240 <link doc="reference.xml" id="string_padstart"><literal>String.prototype.padStart()</literal></link>. | |
1241 </para> | |
1242 </listitem> | |
1243 | |
1244 <listitem> | |
1245 <para> | |
1246 Bugfix: | |
1247 fixed | |
1248 <link doc="reference.xml" id="string_replace"><literal>String.prototype.replace()</literal></link> for <literal>$0</literal> and <literal>$&</literal> replacement string. | |
1249 </para> | |
1250 </listitem> | |
1251 | |
1252 <listitem> | |
1253 <para> | |
1254 Bugfix: | |
1255 fixed | |
1256 <link doc="reference.xml" id="string_replace"><literal>String.prototype.replace()</literal></link> | |
1257 for byte strings with regex argument. | |
1258 </para> | |
1259 </listitem> | |
1260 | |
1261 <listitem> | |
1262 <para> | |
1263 Bugfix: | |
1264 fixed global match in | |
1265 <link doc="reference.xml" id="string_replace"><literal>String.prototype.replace()</literal></link> | |
1266 with regexp argument. | |
1267 </para> | |
1268 </listitem> | |
1269 | |
1270 <listitem> | |
1271 <para> | |
1272 Bugfix: | |
1273 fixed | |
1274 <literal>Array.prototype.slice()</literal> | |
1275 for primitive types. | |
1276 </para> | |
1277 </listitem> | |
1278 | |
1279 <listitem> | |
1280 <para> | |
1281 Bugfix: | |
1282 fixed heap-buffer-overflow while importing module. | |
1283 </para> | |
1284 </listitem> | |
1285 | |
1286 <listitem> | |
1287 <para> | |
1288 Bugfix: | |
1289 fixed UTF-8 character escaping. | |
1290 </para> | |
1291 </listitem> | |
1292 | |
1293 <listitem> | |
1294 <para> | |
1295 Bugfix: | |
1296 fixed | |
1297 <link doc="reference.xml" id="object_values"><literal>Object.values()</literal></link> | |
1298 and | |
1299 <link doc="reference.xml" id="object_entries"><literal>Object.entries()</literal></link> | |
1300 for shared objects. | |
1301 </para> | |
1302 </listitem> | |
1303 | |
1304 <listitem> | |
1305 <para> | |
1306 Bugfix: | |
1307 fixed uninitialized memory access in | |
1308 <link doc="reference.xml" id="string_match"><literal>String.prototype.match()</literal></link>. | |
1309 </para> | |
1310 </listitem> | |
1311 | |
1312 <listitem> | |
1313 <para> | |
1314 Bugfix: | |
1315 fixed | |
1316 <link doc="reference.xml" id="string_match"><literal>String.prototype.match()</literal></link> | |
1317 for byte strings with regex argument. | |
1318 </para> | |
1319 </listitem> | |
1320 | |
1321 <listitem> | |
1322 <para> | |
1323 Bugfix: | |
1324 fixed | |
1325 <literal>Array.prototype.lastIndexOf()</literal> | |
1326 with undefined arguments. | |
1327 </para> | |
1328 </listitem> | |
1329 | |
1330 <listitem> | |
1331 <para> | |
1332 Bugfix: | |
1333 fixed | |
1334 <link doc="reference.xml" id="string_substring"><literal>String.prototype.substring()</literal></link> | |
1335 with empty substring. | |
1336 </para> | |
1337 </listitem> | |
1338 | |
1339 <listitem> | |
1340 <para> | |
1341 Bugfix: | |
1342 fixed invalid memory access in | |
1343 <link doc="reference.xml" id="string_substring"><literal>String.prototype.substring()</literal></link>. | |
1344 </para> | |
1345 </listitem> | |
1346 | |
1347 <listitem> | |
1348 <para> | |
1349 Bugfix: | |
1350 fixed | |
1351 <link doc="reference.xml" id="string_fromcharcode"><literal>String.fromCharCode()</literal></link> | |
1352 for code points more than <literal>65535</literal> and <literal>NaN</literal>. | |
1353 </para> | |
1354 </listitem> | |
1355 | |
1356 <listitem> | |
1357 <para> | |
1358 Bugfix: | |
1359 fixed | |
1360 <link doc="reference.xml" id="string_tolowercase"><literal>String.prototype.toLowerCase()</literal></link> | |
1361 and | |
1362 <link doc="reference.xml" id="string_touppercase"><literal>String.prototype.toUpperCase()</literal></link>. | |
1363 </para> | |
1364 </listitem> | |
1365 | |
1366 <listitem> | |
1367 <para> | |
1368 Bugfix: | |
1369 fixed <literal>Error()</literal> constructor with no arguments. | |
1370 </para> | |
1371 </listitem> | |
1372 | |
1373 <listitem> | |
1374 <para> | |
1375 Bugfix: | |
1376 fixed <literal>in</literal> operator for values with accessor descriptors. | |
1377 </para> | |
1378 </listitem> | |
1379 | |
1380 <listitem> | |
1381 <para> | |
1382 Bugfix: | |
1383 fixed | |
1384 <literal>Object.defineProperty()</literal> | |
1385 for non-boolean descriptor props. | |
1386 </para> | |
1387 </listitem> | |
1388 | |
1389 <listitem> | |
1390 <para> | |
1391 Bugfix: | |
1392 fixed | |
1393 <literal>Error.prototype.toString()</literal> | |
1394 with UTF8 string properties. | |
1395 </para> | |
1396 </listitem> | |
1397 | |
1398 <listitem> | |
1399 <para> | |
1400 Bugfix: | |
1401 fixed | |
1402 <literal>Error.prototype.toString()</literal> | |
1403 with non-string values for <literal>name</literal> and <literal>message</literal>. | |
1404 </para> | |
1405 </listitem> | |
1406 | |
1407 </list> | |
1408 </para> | |
1409 | |
1410 </section> | |
1411 | |
1412 | |
2456
de4f8f3d1fd6
Added njs product name to Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2446
diff
changeset
|
1413 <section id="njs0.3.3" name="Changes with njs 0.3.3"> |
2402 | 1414 |
1415 <para> | |
1416 Release Date: | |
1417 25 June 2019 | |
1418 </para> | |
1419 | |
1420 <para> | |
1421 nginx modules: | |
1422 <list type="bullet"> | |
1423 | |
1424 <listitem> | |
1425 <para> | |
1426 Improvement: | |
1427 getting of special response headers in | |
1428 <link doc="reference.xml" id="r_headers_out"><literal>r.headersOut{}</literal></link>. | |
1429 </para> | |
1430 </listitem> | |
1431 | |
1432 <listitem> | |
1433 <para> | |
1434 Improvement: | |
1435 working with unknown methods in | |
1436 <link doc="reference.xml" id="subrequest"><literal>r.subrequest()</literal></link>. | |
1437 </para> | |
1438 </listitem> | |
1439 | |
1440 <listitem> | |
1441 <para> | |
1442 Improvement: | |
1443 added support for null as a second argument of | |
1444 <link doc="reference.xml" id="subrequest"><literal>r.subrequest()</literal></link>. | |
1445 </para> | |
1446 </listitem> | |
1447 | |
1448 <listitem> | |
1449 <para> | |
1450 Bugfix: | |
1451 fixed processing empty output chain in stream body filter. | |
1452 </para> | |
1453 </listitem> | |
1454 | |
1455 </list> | |
1456 </para> | |
1457 | |
1458 <para> | |
1459 Core: | |
1460 <list type="bullet"> | |
1461 | |
1462 <listitem> | |
1463 <para> | |
1464 Feature: | |
1465 added runtime support for property getter/setter. | |
1466 Thanks to 洪志道 (Hong Zhi Dao) and Artem S. Povalyukhin. | |
1467 </para> | |
1468 </listitem> | |
1469 | |
1470 <listitem> | |
1471 <para> | |
1472 Feature: | |
2405
dbf68c949522
Documented the "process" global object.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2402
diff
changeset
|
1473 added |
2414 | 1474 <link doc="reference.xml" id="process"><literal>process</literal></link> |
2405
dbf68c949522
Documented the "process" global object.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2402
diff
changeset
|
1475 global object. |
2402 | 1476 </para> |
1477 </listitem> | |
1478 | |
1479 <listitem> | |
1480 <para> | |
1481 Feature: | |
1482 writable most of built-in properties and methods. | |
1483 </para> | |
1484 </listitem> | |
1485 | |
1486 <listitem> | |
1487 <para> | |
1488 Feature: | |
1489 added generic implementation of | |
1490 <literal>Array.prototype.fill()</literal>. | |
1491 </para> | |
1492 </listitem> | |
1493 | |
1494 <listitem> | |
1495 <para> | |
1496 Bugfix: | |
1497 fixed integer-overflow in | |
1498 <link doc="reference.xml" id="string_concat"><literal>String.prototype.concat()</literal></link>. | |
1499 </para> | |
1500 </listitem> | |
1501 | |
1502 <listitem> | |
1503 <para> | |
1504 Bugfix: | |
1505 fixed setting of object properties. | |
1506 </para> | |
1507 </listitem> | |
1508 | |
1509 <listitem> | |
1510 <para> | |
1511 Bugfix: | |
1512 fixed | |
1513 <literal>Array.prototype.toString()</literal>. | |
1514 </para> | |
1515 </listitem> | |
1516 | |
1517 <listitem> | |
1518 <para> | |
1519 Bugfix: | |
1520 fixed | |
1521 <literal>Date.prototype.toJSON()</literal>. | |
1522 </para> | |
1523 </listitem> | |
1524 | |
1525 <listitem> | |
1526 <para> | |
1527 Bugfix: | |
1528 fixed overwriting “constructor” property of built-in prototypes. | |
1529 </para> | |
1530 </listitem> | |
1531 | |
1532 <listitem> | |
1533 <para> | |
1534 Bugfix: | |
1535 fixed processing of invalid surrogate pairs in strings. | |
1536 </para> | |
1537 </listitem> | |
1538 | |
1539 <listitem> | |
1540 <para> | |
1541 Bugfix: | |
1542 fixed processing of invalid surrogate pairs in JSON strings. | |
1543 </para> | |
1544 </listitem> | |
1545 | |
1546 <listitem> | |
1547 <para> | |
1548 Bugfix: | |
1549 fixed heap-buffer-overflow in | |
1550 <link doc="reference.xml" id="string_touppercase"><literal>toUpperCase()</literal></link> | |
1551 and | |
1552 <link doc="reference.xml" id="string_touppercase"><literal>toLowerCase()</literal></link>. | |
1553 </para> | |
1554 </listitem> | |
1555 | |
1556 <listitem> | |
1557 <para> | |
1558 Bugfix: | |
1559 fixed escaping lone closing square brackets in | |
1560 <literal>RegExp()</literal> constructor. | |
1561 </para> | |
1562 </listitem> | |
1563 | |
1564 <listitem> | |
1565 <para> | |
1566 Bugfix: | |
1567 fixed handling zero byte characters inside RegExp pattern strings. | |
1568 </para> | |
1569 </listitem> | |
1570 | |
1571 <listitem> | |
1572 <para> | |
1573 Bugfix: | |
1574 fixed | |
1575 <link doc="reference.xml" id="string_tobytes"><literal>String.prototype.toBytes()</literal></link> | |
1576 for ASCII strings. | |
1577 </para> | |
1578 </listitem> | |
1579 | |
1580 <listitem> | |
1581 <para> | |
1582 Bugfix: | |
1583 fixed truth value of JSON numbers in | |
1584 <link doc="reference.xml" id="core_json_parse"><literal>JSON.parse()</literal></link>. | |
1585 </para> | |
1586 </listitem> | |
1587 | |
1588 <listitem> | |
1589 <para> | |
1590 Bugfix: | |
1591 fixed use-of-uninitialized-value in | |
1592 <literal>njs_string_replace_join()</literal>. | |
1593 </para> | |
1594 </listitem> | |
1595 | |
1596 <listitem> | |
1597 <para> | |
1598 Bugfix: | |
1599 fixed <literal>parseInt('-0')</literal>. | |
1600 Thanks to Artem S. Povalyukhin. | |
1601 </para> | |
1602 </listitem> | |
1603 | |
1604 </list> | |
1605 </para> | |
1606 | |
1607 </section> | |
1608 | |
1609 | |
2456
de4f8f3d1fd6
Added njs product name to Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2446
diff
changeset
|
1610 <section id="njs0.3.2" name="Changes with njs 0.3.2"> |
2387 | 1611 |
1612 <para> | |
1613 Release Date: | |
1614 21 May 2019 | |
1615 </para> | |
1616 | |
1617 <para> | |
1618 Core: | |
1619 <list type="bullet"> | |
1620 | |
1621 <listitem> | |
1622 <para> | |
1623 Feature: | |
1624 added support for template literals. | |
1625 Thanks to 洪志道 (Hong Zhi Dao) and Artem S. Povalyukhin. | |
1626 </para> | |
1627 </listitem> | |
1628 | |
1629 <listitem> | |
1630 <para> | |
1631 Feature: | |
1632 executing command from command line arguments. | |
1633 </para> | |
1634 </listitem> | |
1635 | |
1636 <listitem> | |
1637 <para> | |
1638 Feature: | |
1639 added support for RegExp <literal>groups</literal> object (ES9). | |
1640 </para> | |
1641 </listitem> | |
1642 | |
1643 <listitem> | |
1644 <para> | |
1645 Feature: | |
1646 added block scoped function definitions support. | |
1647 </para> | |
1648 </listitem> | |
1649 | |
1650 <listitem> | |
1651 <para> | |
1652 Feature: | |
1653 added support for building with GNU Readline library. | |
1654 </para> | |
1655 </listitem> | |
1656 | |
1657 <listitem> | |
1658 <para> | |
1659 Feature: | |
1660 made configurable | |
1661 <literal>length</literal>, | |
1662 <literal>name</literal>, | |
1663 and most of built-in methods. | |
1664 </para> | |
1665 </listitem> | |
1666 | |
1667 <listitem> | |
1668 <para> | |
1669 Feature: | |
1670 made all constructor properties configurable. | |
1671 </para> | |
1672 </listitem> | |
1673 | |
1674 <listitem> | |
1675 <para> | |
1676 Bugfix: | |
1677 fixed <literal>Regexp.prototype.exec()</literal> for Unicode-only regexps. | |
1678 </para> | |
1679 </listitem> | |
1680 | |
1681 <listitem> | |
1682 <para> | |
1683 Bugfix: | |
1684 fixed <literal>njs_vm_value_dump()</literal> for empty string values. | |
1685 </para> | |
1686 </listitem> | |
1687 | |
1688 <listitem> | |
1689 <para> | |
1690 Bugfix: | |
1691 fixed RegExp constructor for regexp value arguments. | |
1692 </para> | |
1693 </listitem> | |
1694 | |
1695 <listitem> | |
1696 <para> | |
1697 Bugfix: | |
1698 fixed walking over prototypes chain during iteration over an object. | |
1699 </para> | |
1700 </listitem> | |
1701 | |
1702 <listitem> | |
1703 <para> | |
1704 Bugfix: | |
1705 fixed overflow in <literal>Array.prototype.concat()</literal>. | |
1706 </para> | |
1707 </listitem> | |
1708 | |
1709 <listitem> | |
1710 <para> | |
1711 Bugfix: | |
1712 fixed length calculation for UTF-8 string with escape characters. | |
1713 </para> | |
1714 </listitem> | |
1715 | |
1716 <listitem> | |
1717 <para> | |
1718 Bugfix: | |
1719 fixed parsing surrogate pair presents as UTF-16 escape sequences. | |
1720 </para> | |
1721 </listitem> | |
1722 | |
1723 <listitem> | |
1724 <para> | |
1725 Bugfix: | |
1726 fixed processing the “*” quantifier for | |
1727 <literal>String.prototype.match()</literal>. | |
1728 </para> | |
1729 </listitem> | |
1730 | |
1731 <listitem> | |
1732 <para> | |
1733 Bugfix: | |
1734 fixed <literal>Date()</literal> constructor with one argument. | |
1735 </para> | |
1736 </listitem> | |
1737 | |
1738 <listitem> | |
1739 <para> | |
1740 Bugfix: | |
1741 fixed arrays expansion. | |
1742 </para> | |
1743 </listitem> | |
1744 | |
1745 <listitem> | |
1746 <para> | |
1747 Bugfix: | |
1748 fixed heap-buffer-overflow in | |
1749 <literal>String.prototype.replace()</literal>. | |
1750 </para> | |
1751 </listitem> | |
1752 | |
1753 <listitem> | |
1754 <para> | |
1755 Bugfix: | |
1756 fixed heap-buffer-overflow in | |
1757 <literal>String.prototype.lastIndexOf()</literal>. | |
1758 </para> | |
1759 </listitem> | |
1760 | |
1761 <listitem> | |
1762 <para> | |
1763 Bugfix: | |
1764 fixed regexp literals parsing with escaped backslash | |
1765 and backslash in square brackets. | |
1766 </para> | |
1767 </listitem> | |
1768 | |
1769 <listitem> | |
1770 <para> | |
1771 Bugfix: | |
1772 fixed regexp literals with lone closing brackets. | |
1773 </para> | |
1774 </listitem> | |
1775 | |
1776 <listitem> | |
1777 <para> | |
1778 Bugfix: | |
1779 fixed uninitialized-memory-access in | |
1780 <literal>Object.defineProperties()</literal>. | |
1781 </para> | |
1782 </listitem> | |
1783 | |
1784 <listitem> | |
1785 <para> | |
1786 Bugfix: | |
1787 fixed processing the “*” quantifier for | |
1788 <literal>String.prototype.replace()</literal>. | |
1789 </para> | |
1790 </listitem> | |
1791 | |
1792 <listitem> | |
1793 <para> | |
1794 Bugfix: | |
1795 fixed <literal>Array.prototype.slice()</literal> for UTF8-invalid byte strings. | |
1796 </para> | |
1797 </listitem> | |
1798 | |
1799 <listitem> | |
1800 <para> | |
1801 Bugfix: | |
1802 fixed <literal>String.prototype.split()</literal> for UTF8-invalid byte strings. | |
1803 </para> | |
1804 </listitem> | |
1805 | |
1806 <listitem> | |
1807 <para> | |
1808 Bugfix: | |
1809 fixed handling of empty block statements. | |
1810 </para> | |
1811 </listitem> | |
1812 | |
1813 </list> | |
1814 </para> | |
1815 | |
1816 </section> | |
1817 | |
1818 | |
2456
de4f8f3d1fd6
Added njs product name to Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2446
diff
changeset
|
1819 <section id="njs0.3.1" name="Changes with njs 0.3.1"> |
2369 | 1820 |
1821 <para> | |
1822 Release Date: | |
1823 16 April 2019 | |
1824 </para> | |
1825 | |
1826 <para> | |
1827 Core: | |
1828 <list type="bullet"> | |
1829 | |
1830 <listitem> | |
1831 <para> | |
1832 Feature: | |
1833 added arrow functions support. | |
1834 Thanks to 洪志道 (Hong Zhi Dao) and Artem S. Povalyukhin. | |
1835 </para> | |
1836 </listitem> | |
1837 | |
1838 <listitem> | |
1839 <para> | |
1840 Feature: | |
2386
3e31ef06a7e3
Updated layout of njs 0.3.1 changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2369
diff
changeset
|
1841 added <literal>Object.getOwnPropertyNames()</literal>. |
2369 | 1842 Thanks to Artem S. Povalyukhin. |
1843 </para> | |
1844 </listitem> | |
1845 | |
1846 <listitem> | |
1847 <para> | |
1848 Feature: | |
2386
3e31ef06a7e3
Updated layout of njs 0.3.1 changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2369
diff
changeset
|
1849 added <literal>Object.getOwnPropertyDescriptors()</literal>. |
2369 | 1850 Thanks to Artem S. Povalyukhin. |
1851 </para> | |
1852 </listitem> | |
1853 | |
1854 <listitem> | |
1855 <para> | |
1856 Feature: | |
2386
3e31ef06a7e3
Updated layout of njs 0.3.1 changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2369
diff
changeset
|
1857 making <literal>__proto__</literal> accessor descriptor |
3e31ef06a7e3
Updated layout of njs 0.3.1 changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2369
diff
changeset
|
1858 of <literal>Object</literal> instances mutable. |
2369 | 1859 </para> |
1860 </listitem> | |
1861 | |
1862 <listitem> | |
1863 <para> | |
1864 Feature: | |
1865 added shebang support in CLI. | |
1866 </para> | |
1867 </listitem> | |
1868 | |
1869 <listitem> | |
1870 <para> | |
1871 Feature: | |
2386
3e31ef06a7e3
Updated layout of njs 0.3.1 changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2369
diff
changeset
|
1872 added support for module mode execution in CLI. |
3e31ef06a7e3
Updated layout of njs 0.3.1 changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2369
diff
changeset
|
1873 In module mode global, this is unavailable. |
2369 | 1874 </para> |
1875 </listitem> | |
1876 | |
1877 <listitem> | |
1878 <para> | |
1879 Bugfix: | |
1880 fixed editline detection. | |
1881 </para> | |
1882 </listitem> | |
1883 | |
1884 <listitem> | |
1885 <para> | |
1886 Bugfix: | |
2386
3e31ef06a7e3
Updated layout of njs 0.3.1 changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2369
diff
changeset
|
1887 fixed <literal>Function.prototype.bind()</literal>. |
2369 | 1888 Thanks to 洪志道 (Hong Zhi Dao). |
1889 </para> | |
1890 </listitem> | |
1891 | |
1892 <listitem> | |
1893 <para> | |
1894 Bugfix: | |
1895 fixed checking of duplication of parameters for functions. | |
1896 Thanks to 洪志道 (Hong Zhi Dao). | |
1897 </para> | |
1898 </listitem> | |
1899 | |
1900 <listitem> | |
1901 <para> | |
1902 Bugfix: | |
1903 fixed function declaration with the same name as a variable. | |
1904 Thanks to 洪志道 (Hong Zhi Dao). | |
1905 </para> | |
1906 </listitem> | |
1907 | |
1908 <listitem> | |
1909 <para> | |
1910 Improvement: | |
1911 code related to parsing of objects, variables and | |
1912 functions is refactored. | |
1913 Thanks to 洪志道 (Hong Zhi Dao). | |
1914 </para> | |
1915 </listitem> | |
1916 | |
1917 <listitem> | |
1918 <para> | |
1919 Improvement: | |
2386
3e31ef06a7e3
Updated layout of njs 0.3.1 changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2369
diff
changeset
|
1920 large-value output improved in <literal>console.log()</literal>. |
2369 | 1921 </para> |
1922 </listitem> | |
1923 | |
1924 <listitem> | |
1925 <para> | |
1926 Improvement: | |
2386
3e31ef06a7e3
Updated layout of njs 0.3.1 changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2369
diff
changeset
|
1927 string output improved in <literal>console.log()</literal> |
3e31ef06a7e3
Updated layout of njs 0.3.1 changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2369
diff
changeset
|
1928 in a compliant way (without escaping and quotes). |
2369 | 1929 </para> |
1930 </listitem> | |
1931 | |
1932 <listitem> | |
1933 <para> | |
1934 Improvement: | |
2386
3e31ef06a7e3
Updated layout of njs 0.3.1 changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2369
diff
changeset
|
1935 using ES6 version of |
3e31ef06a7e3
Updated layout of njs 0.3.1 changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2369
diff
changeset
|
1936 <literal>ToInt32()</literal>, |
3e31ef06a7e3
Updated layout of njs 0.3.1 changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2369
diff
changeset
|
1937 <literal>ToUint32()</literal>, |
3e31ef06a7e3
Updated layout of njs 0.3.1 changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2369
diff
changeset
|
1938 <literal>ToLength()</literal>. |
2369 | 1939 </para> |
1940 </listitem> | |
1941 | |
1942 </list> | |
1943 </para> | |
1944 | |
1945 </section> | |
1946 | |
1947 | |
2456
de4f8f3d1fd6
Added njs product name to Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2446
diff
changeset
|
1948 <section id="njs0.3.0" name="Changes with njs 0.3.0"> |
2353 | 1949 |
1950 <para> | |
1951 Release Date: | |
1952 26 March 2019 | |
1953 </para> | |
1954 | |
1955 <para> | |
1956 nginx modules: | |
1957 <list type="bullet"> | |
1958 | |
1959 <listitem> | |
1960 <para> | |
1961 Feature: | |
1962 added the <literal>js_path</literal> directive for | |
1963 <link doc="../http/ngx_http_js_module.xml" id="js_path">http</link> and | |
1964 <link doc="../stream/ngx_stream_js_module.xml" id="js_path">stream</link>. | |
1965 </para> | |
1966 </listitem> | |
1967 | |
1968 <listitem> | |
1969 <para> | |
1970 Change: | |
1971 returning undefined value instead of empty strings | |
1972 for absent properties in the following objects: | |
1973 <link doc="reference.xml" id="r_args"><literal>r.args{}</literal></link>, | |
1974 <link doc="reference.xml" id="r_headers_in"><literal>r.headersIn{}</literal></link>, | |
1975 <link doc="reference.xml" id="r_headers_out"><literal>r.headersOut{}</literal></link>, | |
1976 <link doc="reference.xml" id="r_variables"><literal>r.variables{}</literal></link>, | |
1977 <link doc="reference.xml" id="s_variables"><literal>s.variables{}</literal></link>. | |
1978 </para> | |
1979 </listitem> | |
1980 | |
1981 <listitem> | |
1982 <para> | |
1983 Change: | |
1984 returning undefined value instead of throwing an exception for | |
1985 <link doc="reference.xml" id="r_request_body"><literal>r.requestBody</literal></link> | |
1986 when request body is unavailable. | |
1987 </para> | |
1988 </listitem> | |
1989 | |
1990 <listitem> | |
1991 <para> | |
1992 Bugfix: | |
1993 fixed crash while iterating over | |
1994 <link doc="reference.xml" id="r_args"><literal>r.args{}</literal></link> | |
1995 when a value is absent in a key-value pair. | |
1996 </para> | |
1997 </listitem> | |
1998 | |
1999 </list> | |
2000 </para> | |
2001 | |
2002 <para> | |
2003 Core: | |
2004 <list type="bullet"> | |
2005 | |
2006 <listitem> | |
2007 <para> | |
2008 Feature: | |
2009 added initial ES6 modules support. | |
2010 Default import and default export statements are supported. | |
2011 Thanks to 洪志道 (Hong Zhi Dao). | |
2012 </para> | |
2013 </listitem> | |
2014 | |
2015 <listitem> | |
2016 <para> | |
2017 Feature: | |
2018 added <literal>Object.prototype.propertyIsEnumerable()</literal>. | |
2019 </para> | |
2020 </listitem> | |
2021 | |
2022 <listitem> | |
2023 <para> | |
2024 Feature: | |
2025 reporting file name and function name in disassembler output. | |
2026 </para> | |
2027 </listitem> | |
2028 | |
2029 <listitem> | |
2030 <para> | |
2031 Bugfix: | |
2032 fixed function redeclarations in interactive shell. | |
2033 Thanks to 洪志道 (Hong Zhi Dao). | |
2034 </para> | |
2035 </listitem> | |
2036 | |
2037 <listitem> | |
2038 <para> | |
2039 Bugfix: | |
2040 fixed RegExp literals parsing. | |
2041 </para> | |
2042 </listitem> | |
2043 | |
2044 <listitem> | |
2045 <para> | |
2046 Bugfix: | |
2047 fixed setting length of UTF8 string in | |
2048 <link doc="reference.xml" id="readfilesync"><literal>fs.readFileSync()</literal></link>. | |
2049 </para> | |
2050 </listitem> | |
2051 | |
2052 <listitem> | |
2053 <para> | |
2054 Bugfix: | |
2055 fixed <literal>nxt_file_dirname()</literal> for paths with no dir component. | |
2056 </para> | |
2057 </listitem> | |
2058 | |
2059 </list> | |
2060 </para> | |
2061 | |
2062 </section> | |
2063 | |
2064 | |
2456
de4f8f3d1fd6
Added njs product name to Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2446
diff
changeset
|
2065 <section id="njs0.2.8" name="Changes with njs 0.2.8"> |
2331 | 2066 |
2067 <para> | |
2068 Release Date: | |
2069 26 February 2019 | |
2070 </para> | |
2071 | |
2072 <para> | |
2073 nginx modules: | |
2074 <list type="bullet"> | |
2075 | |
2076 <listitem> | |
2077 <para> | |
2078 Change: | |
2079 properties of HTTP request deprecated in <link id="njs0.2.2">0.2.2</link> | |
2080 are removed. | |
2081 </para> | |
2082 </listitem> | |
2083 | |
2084 <listitem> | |
2085 <para> | |
2086 Feature: | |
2087 added support for delete operation in | |
2088 <link doc="reference.xml" id="r_headers_out"><literal>r.headersOut{}</literal></link>. | |
2089 </para> | |
2090 </listitem> | |
2091 | |
2092 <listitem> | |
2093 <para> | |
2094 Feature: | |
2095 added support for setting nginx variables. | |
2096 </para> | |
2097 </listitem> | |
2098 | |
2099 <listitem> | |
2100 <para> | |
2101 Bugfix: | |
2102 fixed | |
2103 <link doc="reference.xml" id="subrequest"><literal>r.subrequest()</literal></link> | |
2104 for empty body value. | |
2105 </para> | |
2106 </listitem> | |
2107 | |
2108 <listitem> | |
2109 <para> | |
2110 Improvement: | |
2111 setting special response headers in | |
2112 <link doc="reference.xml" id="r_headers_out"><literal>r.headersOut{}</literal></link>. | |
2113 </para> | |
2114 </listitem> | |
2115 | |
2116 </list> | |
2117 </para> | |
2118 | |
2119 <para> | |
2120 Core: | |
2121 <list type="bullet"> | |
2122 | |
2123 <listitem> | |
2124 <para> | |
2125 Feature: | |
2126 added labels support. | |
2127 </para> | |
2128 </listitem> | |
2129 | |
2130 <listitem> | |
2131 <para> | |
2132 Feature: | |
2133 added <literal>setImmediate()</literal> method. | |
2134 </para> | |
2135 </listitem> | |
2136 | |
2137 <listitem> | |
2138 <para> | |
2139 Feature: | |
2140 added support for shorthand property names for Object literals. | |
2141 </para> | |
2142 </listitem> | |
2143 | |
2144 <listitem> | |
2145 <para> | |
2146 Bugfix: | |
2147 fixed <literal>Function.prototype.bind()</literal>. | |
2148 </para> | |
2149 </listitem> | |
2150 | |
2151 <listitem> | |
2152 <para> | |
2153 Bugfix: | |
2154 fixed parsing of string literals containing newline characters. | |
2155 </para> | |
2156 </listitem> | |
2157 | |
2158 <listitem> | |
2159 <para> | |
2160 Bugfix: | |
2161 fixed line number in reporting variable reference errors. | |
2162 </para> | |
2163 </listitem> | |
2164 | |
2165 <listitem> | |
2166 <para> | |
2167 Bugfix: | |
2168 fixed creation of long UTF8 strings. | |
2169 </para> | |
2170 </listitem> | |
2171 | |
2172 <listitem> | |
2173 <para> | |
2174 Bugfix: | |
2175 fixed | |
2176 setting special response headers in | |
2177 <link doc="reference.xml" id="string_split"><literal>String.prototype.split()</literal></link> | |
2178 for Unicode strings. | |
2179 </para> | |
2180 </listitem> | |
2181 | |
2182 <listitem> | |
2183 <para> | |
2184 Bugfix: | |
2185 fixed heap-buffer-overflow in | |
2186 <link doc="reference.xml" id="string_split"><literal>String.prototype.split()</literal></link>. | |
2187 </para> | |
2188 </listitem> | |
2189 | |
2190 <listitem> | |
2191 <para> | |
2192 Bugfix: | |
2193 fixed <literal>Array.prototype.fill()</literal>. | |
2194 Thanks to Artem S. Povalyukhin. | |
2195 </para> | |
2196 </listitem> | |
2197 | |
2198 <listitem> | |
2199 <para> | |
2200 Improvement: | |
2201 code related to function invocation is refactored. | |
2202 Thanks to 洪志道 (Hong Zhi Dao). | |
2203 </para> | |
2204 </listitem> | |
2205 | |
2206 <listitem> | |
2207 <para> | |
2208 Improvement: | |
2209 code related to variables is refactored. | |
2210 Thanks to 洪志道 (Hong Zhi Dao). | |
2211 </para> | |
2212 </listitem> | |
2213 | |
2214 <listitem> | |
2215 <para> | |
2216 Improvement: parser is refactored. | |
2217 Thanks to 洪志道 (Hong Zhi Dao). | |
2218 </para> | |
2219 </listitem> | |
2220 | |
2221 <listitem> | |
2222 <para> | |
2223 Improvement: | |
2224 reporting filenames in exceptions. | |
2225 </para> | |
2226 </listitem> | |
2227 | |
2228 </list> | |
2229 </para> | |
2230 | |
2231 </section> | |
2232 | |
2233 | |
2456
de4f8f3d1fd6
Added njs product name to Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2446
diff
changeset
|
2234 <section id="njs0.2.7" name="Changes with njs 0.2.7"> |
2312 | 2235 |
2236 <para> | |
2237 Release Date: | |
2238 25 December 2018 | |
2239 </para> | |
2240 | |
2241 <para> | |
2242 Core: | |
2243 <list type="bullet"> | |
2244 | |
2245 <listitem> | |
2246 <para> | |
2247 Feature: | |
2248 rest parameters syntax (destructuring is not supported). | |
2249 Thanks to Alexander Pyshchev. | |
2250 </para> | |
2251 </listitem> | |
2252 | |
2253 <listitem> | |
2254 <para> | |
2255 Feature: | |
2256 added | |
2257 <link doc="reference.xml" id="object_entries"><literal>Object.entries()</literal></link> | |
2258 method. | |
2259 </para> | |
2260 </listitem> | |
2261 | |
2262 <listitem> | |
2263 <para> | |
2264 Feature: | |
2265 added | |
2266 <link doc="reference.xml" id="object_values"><literal>Object.values()</literal></link> | |
2267 method. | |
2268 </para> | |
2269 </listitem> | |
2270 | |
2271 <listitem> | |
2272 <para> | |
2273 Improvement: | |
2274 code generator refactored and simplified. | |
2275 </para> | |
2276 </listitem> | |
2277 | |
2278 <listitem> | |
2279 <para> | |
2280 Bugfix: | |
2281 fixed automatic semicolon insertion. | |
2282 </para> | |
2283 </listitem> | |
2284 | |
2285 <listitem> | |
2286 <para> | |
2287 Bugfix: | |
2288 fixed assignment expression from compound assignment. | |
2289 </para> | |
2290 </listitem> | |
2291 | |
2292 <listitem> | |
2293 <para> | |
2294 Bugfix: | |
2295 fixed comparison of Byte and UTF8 strings. | |
2296 </para> | |
2297 </listitem> | |
2298 | |
2299 <listitem> | |
2300 <para> | |
2301 Bugfix: | |
2302 fixed type of iteration variable in for-in with array values. | |
2303 </para> | |
2304 </listitem> | |
2305 | |
2306 <listitem> | |
2307 <para> | |
2308 Bugfix: | |
2315
ae56e4613280
Corrected language in njs.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2312
diff
changeset
|
2309 fixed building on platforms without librt. |
2312 | 2310 </para> |
2311 </listitem> | |
2312 | |
2313 <listitem> | |
2314 <para> | |
2315 Bugfix: | |
2315
ae56e4613280
Corrected language in njs.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2312
diff
changeset
|
2316 miscellaneous bugs have been fixed. |
2312 | 2317 </para> |
2318 </listitem> | |
2319 | |
2320 </list> | |
2321 </para> | |
2322 | |
2323 </section> | |
2324 | |
2325 | |
2456
de4f8f3d1fd6
Added njs product name to Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2446
diff
changeset
|
2326 <section id="njs0.2.6" name="Changes with njs 0.2.6"> |
2285 | 2327 |
2328 <para> | |
2329 Release Date: | |
2330 27 November 2018 | |
2331 </para> | |
2332 | |
2333 <para> | |
2334 Core: | |
2335 <list type="bullet"> | |
2336 | |
2337 <listitem> | |
2338 <para> | |
2339 Feature: | |
2340 making built-in prototypes mutable. | |
2341 </para> | |
2342 </listitem> | |
2343 | |
2344 <listitem> | |
2345 <para> | |
2346 Feature: | |
2347 making global object mutable. | |
2348 </para> | |
2349 </listitem> | |
2350 | |
2351 <listitem> | |
2352 <para> | |
2353 Feature: | |
2354 <literal>console.time()</literal> and | |
2355 <literal>console.timeEnd()</literal> methods. | |
2356 </para> | |
2357 </listitem> | |
2358 | |
2359 <listitem> | |
2360 <para> | |
2361 Feature: | |
2362 allowing variables and functions to be redeclared. | |
2363 </para> | |
2364 </listitem> | |
2365 | |
2366 <listitem> | |
2367 <para> | |
2368 Feature: | |
2369 extending <literal>Object.defineProperty()</literal> spec conformance. | |
2370 </para> | |
2371 </listitem> | |
2372 | |
2373 <listitem> | |
2374 <para> | |
2375 Feature: | |
2376 introduced quiet mode for CLI to handle simple expressions from stdin. | |
2377 </para> | |
2378 </listitem> | |
2379 | |
2380 <listitem> | |
2381 <para> | |
2382 Feature: | |
2383 introduced compact form of backtraces to handle stack overflows. | |
2384 </para> | |
2385 </listitem> | |
2386 | |
2387 <listitem> | |
2388 <para> | |
2389 Improvement: | |
2390 improved wording for various exceptions. | |
2391 </para> | |
2392 </listitem> | |
2393 | |
2394 <listitem> | |
2395 <para> | |
2396 Bugfix: | |
2397 fixed closure values handling. | |
2398 </para> | |
2399 </listitem> | |
2400 | |
2401 <listitem> | |
2402 <para> | |
2403 Bugfix: | |
2404 fixed equality operator for various value types. | |
2405 </para> | |
2406 </listitem> | |
2407 | |
2408 <listitem> | |
2409 <para> | |
2410 Bugfix: | |
2411 fixed handling of “this” keyword in various scopes. | |
2412 </para> | |
2413 </listitem> | |
2414 | |
2415 <listitem> | |
2416 <para> | |
2417 Bugfix: | |
2418 fixed handling non-object values in <literal>Object.keys()</literal>. | |
2419 </para> | |
2420 </listitem> | |
2421 | |
2422 <listitem> | |
2423 <para> | |
2424 Bugfix: | |
2425 fixed parsing of throw statement inside <literal>if</literal> statement. | |
2426 </para> | |
2427 </listitem> | |
2428 | |
2429 <listitem> | |
2430 <para> | |
2431 Bugfix: | |
2432 fixed parsing of newline after throw statement. | |
2433 </para> | |
2434 </listitem> | |
2435 | |
2436 <listitem> | |
2437 <para> | |
2438 Bugfix: | |
2439 fixed parsing of statements in if statement without newline. | |
2440 </para> | |
2441 </listitem> | |
2442 | |
2443 <listitem> | |
2444 <para> | |
2445 Bugfix: | |
2446 fixed size <literal>uint32_t</literal> overflow | |
2447 in <literal>njs_array_expand()</literal>. | |
2448 </para> | |
2449 </listitem> | |
2450 | |
2451 <listitem> | |
2452 <para> | |
2453 Bugfix: | |
2454 fixed <literal>typeof</literal> operator | |
2455 for <literal>object_value</literal> type. | |
2456 </para> | |
2457 </listitem> | |
2458 | |
2459 <listitem> | |
2460 <para> | |
2461 Bugfix: | |
2315
ae56e4613280
Corrected language in njs.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2312
diff
changeset
|
2462 miscellaneous bugs have been fixed. |
2285 | 2463 </para> |
2464 </listitem> | |
2465 | |
2466 </list> | |
2467 </para> | |
2468 | |
2469 </section> | |
2470 | |
2471 | |
2456
de4f8f3d1fd6
Added njs product name to Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2446
diff
changeset
|
2472 <section id="njs0.2.5" name="Changes with njs 0.2.5"> |
2264 | 2473 |
2474 <para> | |
2475 Release Date: | |
2476 30 October 2018 | |
2477 </para> | |
2478 | |
2479 <para> | |
2480 nginx modules: | |
2481 <list type="bullet"> | |
2482 | |
2483 <listitem> | |
2484 <para> | |
2485 Bugfix: | |
2486 fixed counting pending events in stream module. | |
2487 </para> | |
2488 </listitem> | |
2489 | |
2490 <listitem> | |
2491 <para> | |
2492 Bugfix: | |
2493 fixed <literal>s.off()</literal> in stream module. | |
2494 </para> | |
2495 </listitem> | |
2496 | |
2497 <listitem> | |
2498 <para> | |
2499 Bugfix: | |
2500 fixed processing of data chunks in <literal>js_filter</literal> in stream module. | |
2501 </para> | |
2502 </listitem> | |
2503 | |
2504 <listitem> | |
2505 <para> | |
2506 Bugfix: | |
2507 fixed http <literal>status</literal> and | |
2508 <literal>contentType</literal> getter in http module. | |
2509 </para> | |
2510 </listitem> | |
2511 | |
2512 <listitem> | |
2513 <para> | |
2514 Bugfix: | |
2515 fixed http response and parent getters in http module. | |
2516 </para> | |
2517 </listitem> | |
2518 | |
2519 </list> | |
2520 </para> | |
2521 | |
2522 <para> | |
2523 Core: | |
2524 <list type="bullet"> | |
2525 | |
2526 <listitem> | |
2527 <para> | |
2528 Feature: | |
2529 arguments object support. | |
2530 </para> | |
2531 </listitem> | |
2532 | |
2533 <listitem> | |
2534 <para> | |
2535 Feature: | |
2536 non-integer fractions support. | |
2537 </para> | |
2538 </listitem> | |
2539 | |
2540 <listitem> | |
2541 <para> | |
2542 Improvement: | |
2543 handling non-array values in <literal>Array.prototype.slice()</literal>. | |
2544 </para> | |
2545 </listitem> | |
2546 | |
2547 <listitem> | |
2548 <para> | |
2549 Bugfix: | |
2550 fixed <literal>Array.prototype.length</literal> setter | |
2551 </para> | |
2552 </listitem> | |
2553 | |
2554 <listitem> | |
2555 <para> | |
2556 Bugfix: | |
2557 fixed <literal>njs_array_alloc()</literal> for length > 2**31. | |
2558 </para> | |
2559 </listitem> | |
2560 | |
2561 <listitem> | |
2562 <para> | |
2563 Bugfix: | |
2564 handling int overflow in <literal>njs_array_alloc()</literal> on 32bit archs. | |
2565 </para> | |
2566 </listitem> | |
2567 | |
2568 <listitem> | |
2569 <para> | |
2570 Bugfix: | |
2571 fixed code size mismatch error message. | |
2572 </para> | |
2573 </listitem> | |
2574 | |
2575 <listitem> | |
2576 <para> | |
2577 Bugfix: | |
2578 fixed delete operator in a loop. | |
2579 </para> | |
2580 </listitem> | |
2581 | |
2582 <listitem> | |
2583 <para> | |
2584 Bugfix: | |
2585 fixed <literal>Object.getOwnPropertyDescriptor()</literal> for complex object | |
2586 (inherited from <literal>Array</literal> and <literal>string</literal> values). | |
2587 </para> | |
2588 </listitem> | |
2589 | |
2590 <listitem> | |
2591 <para> | |
2592 Bugfix: | |
2593 fixed <literal>Object.prototype.hasOwnProperty()</literal> | |
2594 for non-object properties | |
2595 </para> | |
2596 </listitem> | |
2597 | |
2598 <listitem> | |
2599 <para> | |
2600 Bugfix: | |
2315
ae56e4613280
Corrected language in njs.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2312
diff
changeset
|
2601 miscellaneous bugs have been fixed. |
2264 | 2602 </para> |
2603 </listitem> | |
2604 | |
2605 </list> | |
2606 </para> | |
2607 | |
2608 </section> | |
2609 | |
2610 | |
2456
de4f8f3d1fd6
Added njs product name to Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2446
diff
changeset
|
2611 <section id="njs0.2.4" name="Changes with njs 0.2.4"> |
2237
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2612 |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2613 <para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2614 Release Date: |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2615 18 September 2018 |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2616 </para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2617 |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2618 <para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2619 nginx modules: |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2620 <list type="bullet"> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2621 |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2622 <listitem> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2623 <para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2624 Change: |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2625 stream module handlers refactored. |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2626 </para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2627 |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2628 <para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2629 New methods and properties: |
2250
a314f4aeb199
Fixed path to njs reference in Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2246
diff
changeset
|
2630 <link doc="reference.xml" id="s_on">s.on()</link>, |
a314f4aeb199
Fixed path to njs reference in Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2246
diff
changeset
|
2631 <link doc="reference.xml" id="s_off">s.off()</link>, |
a314f4aeb199
Fixed path to njs reference in Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2246
diff
changeset
|
2632 <link doc="reference.xml" id="s_allow">s.allow()</link>, |
a314f4aeb199
Fixed path to njs reference in Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2246
diff
changeset
|
2633 <link doc="reference.xml" id="s_done">s.done()</link>, |
a314f4aeb199
Fixed path to njs reference in Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2246
diff
changeset
|
2634 <link doc="reference.xml" id="s_decline">s.decline()</link>, |
a314f4aeb199
Fixed path to njs reference in Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2246
diff
changeset
|
2635 <link doc="reference.xml" id="s_deny">s.deny()</link>. |
2237
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2636 </para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2637 |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2638 <para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2639 Removed properties of the |
2250
a314f4aeb199
Fixed path to njs reference in Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2246
diff
changeset
|
2640 <link doc="reference.xml" id="stream">Stream</link> object: |
2237
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2641 <literal>s.OK</literal>, |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2642 <literal>s.ABORT</literal>, |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2643 <literal>s.AGAIN</literal>, |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2644 <literal>s.DECLINED</literal>, |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2645 <literal>s.ERROR</literal> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2646 (replaced with |
2250
a314f4aeb199
Fixed path to njs reference in Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2246
diff
changeset
|
2647 <link doc="reference.xml" id="s_allow">s.allow()</link>, |
a314f4aeb199
Fixed path to njs reference in Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2246
diff
changeset
|
2648 <link doc="reference.xml" id="s_done">s.done()</link>, |
a314f4aeb199
Fixed path to njs reference in Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2246
diff
changeset
|
2649 <link doc="reference.xml" id="s_deny">s.deny()</link>). |
2237
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2650 </para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2651 |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2652 <para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2653 <literal>s.buffer</literal> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2654 (for reading replaced with data argument of |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2655 the corresponding callback, for writing use |
2250
a314f4aeb199
Fixed path to njs reference in Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2246
diff
changeset
|
2656 <link doc="reference.xml" id="s_send">s.send()</link>). |
2237
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2657 </para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2658 |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2659 <para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2660 <literal>s.fromUpstream</literal> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2661 (replaced with a callback for a corresponding event). |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2662 </para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2663 |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2664 <para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2665 <literal>s.eof</literal> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2666 (replaced with <literal></literal> |
2250
a314f4aeb199
Fixed path to njs reference in Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2246
diff
changeset
|
2667 <link doc="reference.xml" id="s_on_callback_last">flags.last</link>). |
2237
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2668 </para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2669 |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2670 </listitem> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2671 |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2672 </list> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2673 </para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2674 |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2675 <para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2676 Core: |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2677 <list type="bullet"> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2678 |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2679 <listitem> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2680 <para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2681 Feature: |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2682 added <literal>Function.prototype.length</literal>. |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2683 </para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2684 </listitem> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2685 |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2686 <listitem> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2687 <para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2688 Feature: |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2689 introduced sandboxing mode. |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2690 </para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2691 </listitem> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2692 |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2693 <listitem> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2694 <para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2695 Improvement: |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2696 added exception strings where appropriate. |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2697 </para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2698 </listitem> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2699 |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2700 <listitem> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2701 <para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2702 Improvement: |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2703 improved wording for primitive type conversion exception. |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2704 </para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2705 </listitem> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2706 |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2707 <listitem> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2708 <para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2709 Bugfix: |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2710 throwing <literal>TypeError</literal> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2711 for attempts to change frozen properties. |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2712 </para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2713 </listitem> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2714 |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2715 <listitem> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2716 <para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2717 Bugfix: |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2718 fixed <literal>Object.defineProperty()</literal> for existing properties. |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2719 </para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2720 </listitem> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2721 |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2722 <listitem> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2723 <para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2724 Bugfix: |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2725 respecting the enumerable attribute while iterating by for in. |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2726 </para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2727 </listitem> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2728 |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2729 <listitem> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2730 <para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2731 Bugfix: |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2732 respecting writable attribute for property handlers. |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2733 </para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2734 </listitem> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2735 |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2736 <listitem> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2737 <para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2738 Bugfix: |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2739 fixed exception handling in arguments of a function. |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2740 </para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2741 </listitem> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2742 |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2743 <listitem> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2744 <para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2745 Bugfix: |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2746 fixed <literal>Object.prototype.toString</literal> for different value types. |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2747 </para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2748 </listitem> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2749 |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2750 <listitem> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2751 <para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2752 Bugfix: |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2753 fixed <literal>Object()</literal> constructor for object types arguments. |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2754 </para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2755 </listitem> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2756 |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2757 <listitem> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2758 <para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2759 Bugfix: |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2760 fixed comparison of objects and strings. |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2761 </para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2762 </listitem> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2763 |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2764 <listitem> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2765 <para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2766 Bugfix: |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2767 fixed <literal>String.slice()</literal> for undefined arguments. |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2768 </para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2769 </listitem> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2770 |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2771 <listitem> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2772 <para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2773 Bugfix: |
2315
ae56e4613280
Corrected language in njs.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2312
diff
changeset
|
2774 miscellaneous bugs have been fixed. |
2237
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2775 </para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2776 </listitem> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2777 |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2778 </list> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2779 </para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2780 |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2781 </section> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2782 |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
2783 |
2456
de4f8f3d1fd6
Added njs product name to Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2446
diff
changeset
|
2784 <section id="njs0.2.3" name="Changes with njs 0.2.3"> |
2213 | 2785 |
2786 <para> | |
2787 Release Date: | |
2788 31 July 2018 | |
2789 </para> | |
2790 | |
2791 <para> | |
2792 nginx modules: | |
2793 <list type="bullet"> | |
2794 | |
2795 <listitem> | |
2796 <para> | |
2797 Bugfix: | |
2798 making a subrequest from a <literal>Reply</literal> object caused | |
2799 a segmentation fault. | |
2800 </para> | |
2801 </listitem> | |
2802 | |
2803 <listitem> | |
2804 <para> | |
2805 Bugfix: | |
2806 getting the parent property of the main | |
2250
a314f4aeb199
Fixed path to njs reference in Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2246
diff
changeset
|
2807 <link doc="reference.xml" id="http">HTTP Request</link> |
2213 | 2808 object caused a segmentation fault. |
2809 </para> | |
2810 </listitem> | |
2811 | |
2812 </list> | |
2813 </para> | |
2814 | |
2815 <para> | |
2816 Core: | |
2817 <list type="bullet"> | |
2818 | |
2819 <listitem> | |
2820 <para> | |
2821 Feature: | |
2822 added the pretty string representation for values. | |
2823 </para> | |
2824 </listitem> | |
2825 | |
2826 <listitem> | |
2827 <para> | |
2828 Feature: | |
2829 correctly printing floating point numbers. | |
2830 </para> | |
2831 </listitem> | |
2832 | |
2833 <listitem> | |
2834 <para> | |
2835 Feature: | |
2836 correctly parsing floating point numbers. | |
2837 </para> | |
2838 </listitem> | |
2839 | |
2840 <listitem> | |
2841 <para> | |
2842 Feature: | |
2250
a314f4aeb199
Fixed path to njs reference in Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2246
diff
changeset
|
2843 <link doc="reference.xml" id="string_bytesfrom">String.bytesFrom()</link> method |
2213 | 2844 (decoding <literal>hex</literal>, |
2845 <literal>base64</literal>, | |
2846 <literal>base64url</literal> into a byte string). | |
2847 </para> | |
2848 </listitem> | |
2849 | |
2850 <listitem> | |
2851 <para> | |
2852 Feature: | |
2250
a314f4aeb199
Fixed path to njs reference in Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2246
diff
changeset
|
2853 <link doc="reference.xml" id="string_padstart">String.padStart()</link> and |
a314f4aeb199
Fixed path to njs reference in Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2246
diff
changeset
|
2854 <link doc="reference.xml" id="string_padend">String.padEnd()</link> methods. |
2213 | 2855 </para> |
2856 </listitem> | |
2857 | |
2858 <listitem> | |
2859 <para> | |
2860 Feature: | |
2861 added support of binary literals. | |
2862 </para> | |
2863 </listitem> | |
2864 | |
2865 <listitem> | |
2866 <para> | |
2867 Improvement: | |
2868 added information about illegal token in number parsing. | |
2869 </para> | |
2870 </listitem> | |
2871 | |
2872 <listitem> | |
2873 <para> | |
2874 Improvement: | |
2875 allowed uppercased <literal>O</literal> in octal literal values. | |
2876 </para> | |
2877 </listitem> | |
2878 | |
2879 <listitem> | |
2880 <para> | |
2881 Improvement: | |
2882 added support for multiple arguments in <literal>console.log()</literal>. | |
2883 </para> | |
2884 </listitem> | |
2885 | |
2886 <listitem> | |
2887 <para> | |
2888 Bugfix: | |
2889 fixed applying <literal>call()</literal> to methods of external values. | |
2890 </para> | |
2891 </listitem> | |
2892 | |
2893 <listitem> | |
2894 <para> | |
2895 Bugfix: | |
2896 fixed addition operator applied to an object. | |
2897 </para> | |
2898 </listitem> | |
2899 | |
2900 <listitem> | |
2901 <para> | |
2902 Bugfix: | |
2903 fixed exception handling in <literal>njs_vm_value_to_ext_string()</literal>. | |
2904 </para> | |
2905 </listitem> | |
2906 | |
2907 <listitem> | |
2908 <para> | |
2909 Bugfix: | |
2910 fixed <literal>Number()</literal> with boolean, null and undefined arguments. | |
2911 </para> | |
2912 </listitem> | |
2913 | |
2914 <listitem> | |
2915 <para> | |
2916 Bugfix: | |
2917 fixed error handling of setting non-numeric <literal>Array.length</literal>. | |
2918 </para> | |
2919 </listitem> | |
2920 | |
2921 <listitem> | |
2922 <para> | |
2923 Bugfix: | |
2924 fixed autocompletion for global objects. | |
2925 </para> | |
2926 </listitem> | |
2927 | |
2928 <listitem> | |
2929 <para> | |
2930 Bugfix: | |
2315
ae56e4613280
Corrected language in njs.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2312
diff
changeset
|
2931 miscellaneous bugs have been fixed. |
2213 | 2932 </para> |
2933 </listitem> | |
2934 | |
2935 </list> | |
2936 </para> | |
2937 | |
2938 </section> | |
2939 | |
2940 | |
2456
de4f8f3d1fd6
Added njs product name to Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2446
diff
changeset
|
2941 <section id="njs0.2.2" name="Changes with njs 0.2.2"> |
2184
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2942 |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2943 <para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2944 Release Date: |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2945 19 June 2018 |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2946 </para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2947 |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2948 <para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2949 nginx modules: |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2950 <list type="bullet"> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2951 |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2952 <listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2953 <para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2954 Change: |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2955 merged HTTP <literal>Response</literal> and <literal>Reply</literal> |
2250
a314f4aeb199
Fixed path to njs reference in Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2246
diff
changeset
|
2956 into <link doc="reference.xml" id="http">HTTP Request</link>. |
2184
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2957 New members of <literal>Request</literal>: |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2958 |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2959 <list type="bullet"> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2960 |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2961 <listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2962 <para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2963 <literal>req.status</literal> (<literal>res.status</literal>) |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2964 </para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2965 </listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2966 |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2967 <listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2968 <para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2969 <literal>req.parent</literal> (<literal>reply.parent</literal>) |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2970 </para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2971 </listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2972 |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2973 <listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2974 <para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2975 <literal>req.requestBody</literal> (<literal>req.body</literal>) |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2976 </para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2977 </listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2978 |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2979 <listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2980 <para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2981 <literal>req.responseBody</literal> (<literal>reply.body</literal>) |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2982 </para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2983 </listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2984 |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2985 <listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2986 <para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2987 <literal>req.headersIn</literal> (<literal>req.headers</literal>) |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2988 </para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2989 </listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2990 |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2991 <listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2992 <para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2993 <literal>req.headersOut</literal> (<literal>res.headers</literal>) |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2994 </para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2995 </listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2996 |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2997 <listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2998 <para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
2999 <literal>req.sendHeader()</literal> (<literal>res.sendHeader()</literal>) |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
3000 </para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
3001 </listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
3002 |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
3003 <listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
3004 <para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
3005 <literal>req.send()</literal> (<literal>res.send()</literal>) |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
3006 </para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
3007 </listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
3008 |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
3009 <listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
3010 <para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
3011 <literal>req.finish()</literal> (<literal>res.finish()</literal>) |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
3012 </para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
3013 </listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
3014 |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
3015 <listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
3016 <para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
3017 <literal>req.return()</literal> (<literal>res.return()</literal>) |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
3018 </para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
3019 </listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
3020 |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
3021 </list> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
3022 Deprecated members of <literal>Request</literal>: |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
3023 |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
3024 <list type="bullet"> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
3025 |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
3026 <listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
3027 <para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
3028 <literal>req.body</literal> (use <literal>req.requestBody</literal> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
3029 or <literal>req.responseBody</literal>) |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
3030 </para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
3031 </listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
3032 |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
3033 <listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
3034 <para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
3035 <literal>req.headers</literal> (use <literal>req.headersIn</literal> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
3036 or <literal>req.headersOut</literal>) |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
3037 </para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
3038 </listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
3039 |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
3040 <listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
3041 <para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
3042 <literal>req.response</literal> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
3043 </para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
3044 </listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
3045 |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
3046 </list> |
2363
7952cd8af485
Documenting njs properties removal in njs-0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2353
diff
changeset
|
3047 Deprecated members of <literal>Response</literal>: |
7952cd8af485
Documenting njs properties removal in njs-0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2353
diff
changeset
|
3048 |
7952cd8af485
Documenting njs properties removal in njs-0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2353
diff
changeset
|
3049 <list type="bullet"> |
7952cd8af485
Documenting njs properties removal in njs-0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2353
diff
changeset
|
3050 |
7952cd8af485
Documenting njs properties removal in njs-0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2353
diff
changeset
|
3051 <listitem> |
7952cd8af485
Documenting njs properties removal in njs-0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2353
diff
changeset
|
3052 <para> |
7952cd8af485
Documenting njs properties removal in njs-0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2353
diff
changeset
|
3053 <literal>res.contentLength</literal> (use |
7952cd8af485
Documenting njs properties removal in njs-0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2353
diff
changeset
|
3054 <link doc="reference.xml" id="r_headers_out"><literal>req.headersOut</literal></link><literal>['Content-Length']</literal>) |
7952cd8af485
Documenting njs properties removal in njs-0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2353
diff
changeset
|
3055 </para> |
7952cd8af485
Documenting njs properties removal in njs-0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2353
diff
changeset
|
3056 </listitem> |
7952cd8af485
Documenting njs properties removal in njs-0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2353
diff
changeset
|
3057 |
7952cd8af485
Documenting njs properties removal in njs-0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2353
diff
changeset
|
3058 <listitem> |
7952cd8af485
Documenting njs properties removal in njs-0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2353
diff
changeset
|
3059 <para> |
7952cd8af485
Documenting njs properties removal in njs-0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2353
diff
changeset
|
3060 <literal>res.contentType</literal> (use <link doc="reference.xml" id="r_headers_out"><literal>req.headersOut</literal></link><literal>['Content-Type']</literal>) |
7952cd8af485
Documenting njs properties removal in njs-0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2353
diff
changeset
|
3061 </para> |
7952cd8af485
Documenting njs properties removal in njs-0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2353
diff
changeset
|
3062 </listitem> |
7952cd8af485
Documenting njs properties removal in njs-0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2353
diff
changeset
|
3063 |
7952cd8af485
Documenting njs properties removal in njs-0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2353
diff
changeset
|
3064 </list> |
7952cd8af485
Documenting njs properties removal in njs-0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2353
diff
changeset
|
3065 The deprecated properties will be removed in |
7952cd8af485
Documenting njs properties removal in njs-0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2353
diff
changeset
|
3066 <link id="njs0.2.8">next</link> releases. |
2184
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
3067 </para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
3068 </listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
3069 |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
3070 <listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
3071 <para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
3072 Feature: |
2250
a314f4aeb199
Fixed path to njs reference in Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2246
diff
changeset
|
3073 HTTP <link doc="reference.xml" id="r_internal_redirect">internalRedirect()</link> |
2184
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
3074 method. |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
3075 </para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
3076 </listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
3077 |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
3078 </list> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
3079 </para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
3080 |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
3081 <para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
3082 Core: |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
3083 <list type="bullet"> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
3084 |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
3085 <listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
3086 <para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
3087 Bugfix: |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
3088 fixed heap-buffer-overflow in <literal>crypto.createHmac()</literal>. |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
3089 </para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
3090 </listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
3091 |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
3092 </list> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
3093 </para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
3094 |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
3095 </section> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
3096 |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
3097 |
2456
de4f8f3d1fd6
Added njs product name to Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2446
diff
changeset
|
3098 <section id="njs0.2.1" name="Changes with njs 0.2.1"> |
2172
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3099 |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3100 <para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3101 Release Date: |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3102 31 May 2018 |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3103 </para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3104 |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3105 <para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3106 nginx modules: |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3107 <list type="bullet"> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3108 |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3109 <listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3110 <para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3111 Feature: |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3112 HTTP request body getter. |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3113 </para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3114 </listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3115 |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3116 <listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3117 <para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3118 Improvement: |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3119 moved njs vm to the <literal>main</literal> configuration. |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3120 </para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3121 </listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3122 |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3123 <listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3124 <para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3125 Improvement: |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3126 improved logging for |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3127 <link doc="../http/ngx_http_js_module.xml" id="js_set"/> and |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3128 <link doc="../http/ngx_http_js_module.xml" id="js_content"/> directives. |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3129 </para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3130 </listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3131 |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3132 <listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3133 <para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3134 Improvement: |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3135 setting status code to 500 by default in the |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3136 <link doc="../http/ngx_http_js_module.xml" id="js_content"/> handler |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3137 </para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3138 </listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3139 |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3140 <listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3141 <para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3142 Improvement: |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3143 added the debug for the returned status code in |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3144 <link doc="../http/ngx_http_js_module.xml" id="js_content"/> handler |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3145 </para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3146 </listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3147 |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3148 <listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3149 <para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3150 Bugfix: fixed error logging in |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3151 <link doc="../http/ngx_http_js_module.xml" id="js_include"/>. |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3152 </para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3153 </listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3154 |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3155 </list> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3156 </para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3157 |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3158 <para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3159 Core: |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3160 <list type="bullet"> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3161 |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3162 <listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3163 <para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3164 Feature: |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3165 added array length setter. |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3166 </para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3167 </listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3168 |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3169 <listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3170 <para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3171 Improvement: |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3172 public header <literal>cleanup. njscript.h</literal> is renamed to |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3173 <literal>njs.h</literal>. |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3174 </para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3175 </listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3176 |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3177 <listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3178 <para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3179 Bugfix: |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3180 fixed crypto <literal>update()</literal> method after |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3181 <literal>digest()</literal> is called. |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3182 </para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3183 </listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3184 |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3185 <listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3186 <para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3187 Bugfix: |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3188 fixed <literal>crypto.createHmac()</literal> for keys with size <= alg size |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3189 and > 64. |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3190 </para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3191 </listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3192 |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3193 <listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3194 <para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3195 Bugfix: |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3196 fixed <literal>JSON.stringify()</literal> for arrays with empty cells. |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3197 </para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3198 </listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3199 |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3200 <listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3201 <para> |
2510
051b111d06b3
Unified date format in njs Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2507
diff
changeset
|
3202 Bugfix: |
2172
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3203 fixed exception type for unsupported types in |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3204 <literal>JSON.stringify()</literal>. |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3205 </para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3206 </listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3207 |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3208 <listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3209 <para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3210 Bugfix: |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3211 fixed handling of undefined arguments of functions. |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3212 </para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3213 </listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3214 |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3215 <listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3216 <para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3217 Bugfix: |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3218 fixed handling of missing <literal>arg</literal> of |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3219 <literal>Object.getOwnPropertyDescriptor()</literal>. |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3220 </para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3221 </listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3222 |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3223 <listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3224 <para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3225 Bugfix: |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3226 fixed handling of properties in |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3227 <literal>Object.getOwnPropertyDescriptor()</literal>. |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3228 </para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3229 </listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3230 |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3231 <listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3232 <para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3233 Bugfix: |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3234 fixed the writeable flag of <literal>Array.length</literal> property. |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3235 </para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3236 </listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3237 |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3238 <listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3239 <para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3240 Bugfix: fixed return value type of <literal>clearTimeout()</literal>. |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3241 </para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3242 </listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3243 |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3244 <listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3245 <para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3246 Bugfix: |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3247 fixed <literal>njs_vm_external_bind()</literal>. |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3248 </para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3249 </listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3250 |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3251 <listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3252 <para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3253 Bugfix: |
2315
ae56e4613280
Corrected language in njs.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2312
diff
changeset
|
3254 miscellaneous bugs have been fixed. |
2172
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3255 </para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3256 </listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3257 |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3258 </list> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3259 </para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3260 |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3261 </section> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3262 |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
3263 |
2456
de4f8f3d1fd6
Added njs product name to Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2446
diff
changeset
|
3264 <section id="njs0.2.0" name="Changes with njs 0.2.0"> |
2130 | 3265 |
3266 <para> | |
3267 Release Date: | |
2510
051b111d06b3
Unified date format in njs Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2507
diff
changeset
|
3268 03 April 2018 |
2130 | 3269 </para> |
3270 | |
3271 <para> | |
3272 <list type="bullet"> | |
3273 | |
3274 <listitem> | |
3275 <para> | |
3276 Feature: | |
3277 reporting njs version by CLI. | |
3278 </para> | |
3279 </listitem> | |
3280 | |
3281 <listitem> | |
3282 <para> | |
3283 Feature: | |
3284 textual description for type converting exceptions. | |
3285 </para> | |
3286 </listitem> | |
3287 | |
3288 <listitem> | |
3289 Feature: | |
3290 <literal>setTimeout()</literal> and | |
2148
94a598ee1d49
Minor corrections in "njs About" and "njs Changes".
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2130
diff
changeset
|
3291 <literal>clearTimeout()</literal> methods. |
2130 | 3292 </listitem> |
3293 | |
3294 <listitem> | |
3295 <para> | |
3296 Feature: | |
3297 Byte string to | |
3298 <literal>hex</literal>, | |
3299 <literal>base64</literal>, | |
3300 <literal>base64url</literal> encodings. | |
3301 </para> | |
3302 </listitem> | |
3303 | |
3304 <listitem> | |
3305 <para> | |
3306 Feature: | |
3307 <link url="https://nodejs.org/api/crypto.html#crypto_class_hash">Node.js style</link> | |
3308 <literal>Crypto</literal> methods. | |
3309 </para> | |
3310 </listitem> | |
3311 | |
3312 <listitem> | |
3313 <para> | |
3314 Feature: | |
3315 HTTP and stream | |
3316 <literal>warn()</literal> and | |
3317 <literal>error()</literal> methods. | |
3318 </para> | |
3319 </listitem> | |
3320 | |
3321 <listitem> | |
3322 <para> | |
3323 Feature: | |
3324 HTTP <literal>subrequest()</literal> method. | |
3325 </para> | |
3326 </listitem> | |
3327 | |
3328 <listitem> | |
3329 <para> | |
3330 Feature: | |
3331 HTTP <literal>return()</literal> method. | |
3332 </para> | |
3333 </listitem> | |
3334 | |
3335 <listitem> | |
3336 <para> | |
3337 Bugfix: | |
3338 miscellaneous bugs have been fixed in the core and | |
3339 interactive shell. | |
3340 </para> | |
3341 </listitem> | |
3342 | |
3343 </list> | |
3344 </para> | |
3345 | |
3346 </section> | |
3347 | |
2456
de4f8f3d1fd6
Added njs product name to Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2446
diff
changeset
|
3348 <section id="njs0.1.15" name="Changes with njs 0.1.15"> |
2130 | 3349 |
3350 <para> | |
3351 Release Date: | |
2510
051b111d06b3
Unified date format in njs Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2507
diff
changeset
|
3352 20 November 2017 |
2130 | 3353 </para> |
3354 | |
3355 <para> | |
3356 <list type="bullet"> | |
3357 | |
3358 <listitem> | |
3359 <para> | |
3360 Feature: | |
3361 <literal>Error</literal>, | |
3362 <literal>EvalError</literal>, | |
3363 <literal>InternalError</literal>, | |
3364 <literal>RangeError</literal>, | |
3365 <literal>ReferenceError</literal>, | |
3366 <literal>SyntaxError</literal>, | |
3367 <literal>TypeError</literal>, | |
3368 <literal>URIError</literal> objects. | |
3369 </para> | |
3370 </listitem> | |
3371 | |
3372 <listitem> | |
3373 <para> | |
3374 Feature: | |
3375 octal literals support. | |
3376 </para> | |
3377 </listitem> | |
3378 | |
3379 <listitem> | |
3380 <para> | |
3381 Feature: | |
2148
94a598ee1d49
Minor corrections in "njs About" and "njs Changes".
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2130
diff
changeset
|
3382 <link url="https://nodejs.org/api/fs.html#fs_file_system">Node.js style</link> |
94a598ee1d49
Minor corrections in "njs About" and "njs Changes".
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2130
diff
changeset
|
3383 <literal>File system</literal> access methods: |
2130 | 3384 <literal>fs.readFile()</literal>, |
3385 <literal>fs.readFileSync()</literal>, | |
3386 <literal>fs.appendFile()</literal>, | |
3387 <literal>fs.appendFileSync()</literal>, | |
3388 <literal>fs.writeFile()</literal>, | |
2148
94a598ee1d49
Minor corrections in "njs About" and "njs Changes".
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2130
diff
changeset
|
3389 <literal>fs.writeFileSync()</literal>. |
2130 | 3390 </para> |
3391 </listitem> | |
3392 | |
3393 <listitem> | |
3394 <para> | |
3395 Feature: | |
3396 nginx modules print backtrace on exception. | |
3397 </para> | |
3398 </listitem> | |
3399 | |
3400 <listitem> | |
3401 <para> | |
3402 Bugfix: | |
3403 miscellaneous bugs have been fixed. | |
3404 </para> | |
3405 </listitem> | |
3406 | |
3407 </list> | |
3408 </para> | |
3409 | |
3410 </section> | |
3411 | |
3412 | |
2456
de4f8f3d1fd6
Added njs product name to Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2446
diff
changeset
|
3413 <section id="njs0.1.14" name="Changes with njs 0.1.14"> |
2130 | 3414 |
3415 <para> | |
3416 Release Date: | |
2510
051b111d06b3
Unified date format in njs Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2507
diff
changeset
|
3417 09 October 2017 |
2130 | 3418 </para> |
3419 | |
3420 <para> | |
3421 <list type="bullet"> | |
3422 | |
3423 <listitem> | |
3424 <para> | |
3425 Feature: | |
3426 JSON object. | |
3427 </para> | |
3428 </listitem> | |
3429 | |
3430 <listitem> | |
3431 <para> | |
3432 Feature: | |
3433 object level completions in interactive shell. | |
3434 </para> | |
3435 </listitem> | |
3436 | |
3437 <listitem> | |
3438 <para> | |
3439 Feature: | |
3440 various configure improvements. | |
3441 </para> | |
3442 </listitem> | |
3443 | |
3444 <listitem> | |
3445 <para> | |
3446 Bugfix: | |
3447 miscellaneous bugs have been fixed in the core and | |
3448 interactive shell. | |
3449 </para> | |
3450 </listitem> | |
3451 | |
3452 </list> | |
3453 </para> | |
3454 | |
3455 </section> | |
3456 | |
3457 | |
2456
de4f8f3d1fd6
Added njs product name to Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2446
diff
changeset
|
3458 <section id="njs0.1.13" name="Changes with njs 0.1.13"> |
2130 | 3459 |
3460 <para> | |
3461 Release Date: | |
2510
051b111d06b3
Unified date format in njs Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2507
diff
changeset
|
3462 31 August 2017 |
2130 | 3463 </para> |
3464 | |
3465 <para> | |
3466 <list type="bullet"> | |
3467 | |
3468 <listitem> | |
3469 <para> | |
3470 Feature: | |
3471 <literal>console.log()</literal> and | |
3472 <literal>console.help()</literal> | |
3473 methods in interactive shell. | |
3474 </para> | |
3475 </listitem> | |
3476 | |
3477 <listitem> | |
3478 <para> | |
3479 Feature: | |
3480 interactive shell prints backtrace on exception. | |
3481 </para> | |
3482 </listitem> | |
3483 | |
3484 <listitem> | |
3485 <para> | |
3486 Feature: | |
3487 interactive shell by default | |
3488 if <literal>libedit</literal> is available. | |
3489 </para> | |
3490 </listitem> | |
3491 | |
3492 <listitem> | |
3493 <para> | |
3494 Bugfix: | |
3495 processing of large files from | |
3496 <literal>stdin</literal> in command line mode. | |
3497 </para> | |
3498 </listitem> | |
3499 | |
3500 <listitem> | |
3501 <para> | |
3502 Bugfix: | |
3503 improved <literal>editline</literal> detection. | |
3504 </para> | |
3505 </listitem> | |
3506 | |
3507 </list> | |
3508 </para> | |
3509 | |
3510 </section> | |
3511 | |
3512 | |
2456
de4f8f3d1fd6
Added njs product name to Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2446
diff
changeset
|
3513 <section id="njs0.1.12" name="Changes with njs 0.1.12"> |
2130 | 3514 |
3515 <para> | |
3516 Release Date: | |
2510
051b111d06b3
Unified date format in njs Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2507
diff
changeset
|
3517 08 August 2017 |
2130 | 3518 </para> |
3519 | |
3520 <para> | |
3521 <list type="bullet"> | |
3522 | |
3523 <listitem> | |
3524 <para> | |
3525 Feature: | |
3526 Interactive shell. | |
3527 </para> | |
3528 </listitem> | |
3529 | |
3530 <listitem> | |
3531 <para> | |
3532 Bugfix: | |
3533 in <literal>Object.isSealed()</literal>. | |
3534 </para> | |
3535 </listitem> | |
3536 | |
3537 </list> | |
3538 </para> | |
3539 | |
3540 </section> | |
3541 | |
3542 | |
2456
de4f8f3d1fd6
Added njs product name to Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2446
diff
changeset
|
3543 <section id="njs0.1.11" name="Changes with njs 0.1.11"> |
2130 | 3544 |
3545 <para> | |
3546 Release Date: | |
2510
051b111d06b3
Unified date format in njs Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2507
diff
changeset
|
3547 27 June 2017 |
2130 | 3548 </para> |
3549 | |
3550 <para> | |
3551 <list type="bullet"> | |
3552 | |
3553 <listitem> | |
3554 <para> | |
3555 Feature: | |
3556 <literal>Object.keys()</literal>, | |
3557 <literal>Object.prototype.hasOwnProperty()</literal> | |
3558 methods. | |
3559 </para> | |
3560 </listitem> | |
3561 | |
3562 <listitem> | |
3563 <para> | |
3564 Feature: | |
3565 <literal>Object.defineProperty()</literal>, | |
3566 <literal>Object.defineProperties()</literal>, | |
3567 <literal>Object.getOwnPropertyDescriptor()</literal> | |
3568 methods. | |
3569 </para> | |
3570 </listitem> | |
3571 | |
3572 <listitem> | |
3573 <para> | |
3574 Feature: | |
3575 <literal>Object.getPrototypeOf()</literal>, | |
3576 <literal>Object.prototype.isPrototypeOf()</literal> | |
3577 methods. | |
3578 </para> | |
3579 </listitem> | |
3580 | |
3581 <listitem> | |
3582 <para> | |
3583 Feature: | |
3584 <literal>Object.preventExtensions()</literal>, | |
3585 <literal>Object.isExtensible()</literal>, | |
3586 <literal>Object.freeze()</literal>, | |
3587 <literal>Object.isFrozen()</literal>, | |
3588 <literal>Object.seal()</literal>, | |
3589 <literal>Object.isSealed()</literal> | |
3590 methods. | |
3591 </para> | |
3592 </listitem> | |
3593 | |
3594 <listitem> | |
3595 <para> | |
3596 Feature: | |
2148
94a598ee1d49
Minor corrections in "njs About" and "njs Changes".
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2130
diff
changeset
|
3597 scientific notation (<literal>3.35e10</literal>) literals support. |
2130 | 3598 </para> |
3599 </listitem> | |
3600 | |
3601 <listitem> | |
3602 <para> | |
3603 Feature: | |
2148
94a598ee1d49
Minor corrections in "njs About" and "njs Changes".
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2130
diff
changeset
|
3604 hexadecimal (<literal>0x1123</literal>) literals support. |
2130 | 3605 </para> |
3606 </listitem> | |
3607 | |
3608 <listitem> | |
3609 <para> | |
3610 Bugfix: | |
3611 processing of large array indexes. | |
3612 </para> | |
3613 </listitem> | |
3614 | |
3615 <listitem> | |
3616 <para> | |
3617 Bugfix: | |
3618 in <literal>parseInt()</literal> and | |
3619 <literal>Date.parse()</literal>. | |
3620 </para> | |
3621 </listitem> | |
3622 | |
3623 </list> | |
3624 </para> | |
3625 | |
3626 </section> | |
3627 | |
3628 | |
2456
de4f8f3d1fd6
Added njs product name to Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2446
diff
changeset
|
3629 <section id="njs0.1.10" name="Changes with njs 0.1.10"> |
2130 | 3630 |
3631 <para> | |
3632 Release Date: | |
2510
051b111d06b3
Unified date format in njs Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2507
diff
changeset
|
3633 04 April 2017 |
2130 | 3634 </para> |
3635 | |
3636 <para> | |
3637 <list type="bullet"> | |
3638 | |
3639 <listitem> | |
3640 <para> | |
3641 Feature: | |
3642 nested functions and function closures. | |
3643 </para> | |
3644 </listitem> | |
3645 | |
3646 <listitem> | |
3647 <para> | |
3648 Feature: | |
3649 <literal>Array.of()</literal>, | |
3650 <literal>Array.prototype.fill()</literal>, | |
3651 <literal>Array.prototype.find()</literal>, | |
3652 <literal>Array.prototype.findIndex()</literal> | |
3653 methods. | |
3654 </para> | |
3655 </listitem> | |
3656 | |
3657 <listitem> | |
3658 <para> | |
3659 Bugfix: | |
3660 miscellaneous bugs and segmentation faults have been fixed. | |
3661 </para> | |
3662 </listitem> | |
3663 | |
3664 </list> | |
3665 </para> | |
3666 | |
3667 </section> | |
3668 | |
3669 | |
2456
de4f8f3d1fd6
Added njs product name to Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2446
diff
changeset
|
3670 <section id="njs0.1.9" name="Changes with njs 0.1.9"> |
2130 | 3671 |
3672 <para> | |
3673 Release Date: | |
2510
051b111d06b3
Unified date format in njs Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2507
diff
changeset
|
3674 01 February 2017 |
2130 | 3675 </para> |
3676 | |
3677 <para> | |
3678 <list type="bullet"> | |
3679 | |
3680 <listitem> | |
3681 <para> | |
3682 Bugfix: | |
2148
94a598ee1d49
Minor corrections in "njs About" and "njs Changes".
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2130
diff
changeset
|
3683 global variables were not initialized when njs was used |
2130 | 3684 in nginx. |
3685 </para> | |
3686 </listitem> | |
3687 | |
3688 </list> | |
3689 </para> | |
3690 | |
3691 </section> | |
3692 | |
3693 | |
2456
de4f8f3d1fd6
Added njs product name to Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2446
diff
changeset
|
3694 <section id="njs0.1.8" name="Changes with njs 0.1.8"> |
2130 | 3695 |
3696 <para> | |
3697 Release Date: | |
2510
051b111d06b3
Unified date format in njs Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2507
diff
changeset
|
3698 24 January 2017 |
2130 | 3699 </para> |
3700 | |
3701 <para> | |
3702 <list type="bullet"> | |
3703 | |
3704 <listitem> | |
3705 <para> | |
3706 Change: | |
3707 the <literal>strict</literal> mode is enforced, | |
3708 variables must be explicitly declared. | |
3709 </para> | |
3710 </listitem> | |
3711 | |
3712 | |
3713 <listitem> | |
3714 <para> | |
3715 Feature: | |
3716 <literal>for</literal> and | |
3717 <literal>for-in</literal> loops support variable declaration. | |
3718 </para> | |
3719 </listitem> | |
3720 | |
3721 <listitem> | |
3722 <para> | |
3723 Bugfix: | |
3724 global and function scopes have been fixed. | |
3725 </para> | |
3726 </listitem> | |
3727 | |
3728 <listitem> | |
3729 <para> | |
3730 Bugfix: | |
3731 now <literal>for-in</literal> loop does not discard the last value | |
3732 of property variable. | |
3733 </para> | |
3734 </listitem> | |
3735 | |
3736 <listitem> | |
3737 <para> | |
3738 Bugfix: | |
3739 miscellaneous bugs and segmentation faults have been fixed. | |
3740 </para> | |
3741 </listitem> | |
3742 | |
3743 </list> | |
3744 </para> | |
3745 | |
3746 </section> | |
3747 | |
3748 | |
2456
de4f8f3d1fd6
Added njs product name to Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2446
diff
changeset
|
3749 <section id="njs0.1.7" name="Changes with njs 0.1.7"> |
2130 | 3750 |
3751 <para> | |
3752 Release Date: | |
2510
051b111d06b3
Unified date format in njs Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2507
diff
changeset
|
3753 27 December 2016 |
2130 | 3754 </para> |
3755 | |
3756 <para> | |
3757 <list type="bullet"> | |
3758 | |
3759 <listitem> | |
3760 <para> | |
3761 Change: | |
3762 the <link doc="../http/ngx_http_js_module.xml" id="js_include"/> directive | |
3763 has been disabled at server and location levels. | |
3764 </para> | |
3765 </listitem> | |
3766 | |
3767 <listitem> | |
3768 <para> | |
3769 Feature: | |
3770 exponentiation operators. | |
3771 </para> | |
3772 </listitem> | |
3773 | |
3774 <listitem> | |
3775 <para> | |
3776 Bugfix: | |
3777 miscellaneous bugs and segmentation faults have been fixed. | |
3778 </para> | |
3779 </listitem> | |
3780 | |
3781 </list> | |
3782 </para> | |
3783 | |
3784 </section> | |
3785 | |
3786 | |
2456
de4f8f3d1fd6
Added njs product name to Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2446
diff
changeset
|
3787 <section id="njs0.1.6" name="Changes with njs 0.1.6"> |
2130 | 3788 |
3789 <para> | |
3790 Release Date: | |
2510
051b111d06b3
Unified date format in njs Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2507
diff
changeset
|
3791 13 December 2016 |
2130 | 3792 </para> |
3793 | |
3794 <para> | |
3795 <list type="bullet"> | |
3796 | |
3797 <listitem> | |
3798 <para> | |
3799 Change: | |
3800 the <link doc="../http/ngx_http_js_module.xml" id="js_set"/> directive | |
3801 has been disabled at server and location levels. | |
3802 </para> | |
3803 </listitem> | |
3804 | |
3805 <listitem> | |
3806 <para> | |
3807 Feature: | |
3808 ES6 <literal>Math</literal> methods. | |
3809 </para> | |
3810 </listitem> | |
3811 | |
3812 <listitem> | |
3813 <para> | |
3814 Bugfix: | |
3815 miscellaneous bugs and segmentation faults have been fixed. | |
3816 </para> | |
3817 </listitem> | |
3818 | |
3819 </list> | |
3820 </para> | |
3821 | |
3822 </section> | |
3823 | |
3824 </article> |