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