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