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