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