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