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