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