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