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