Mercurial > hg > nginx-site
annotate xml/en/docs/njs/changes.xml @ 2371:16bad57a412a
Fixed typos (ticket #1769).
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Wed, 17 Apr 2019 13:50:25 +0300 |
parents | 5209dfad8fc9 |
children | 3e31ef06a7e3 |
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" |
2369 | 12 rev="17" |
2130 | 13 toc="no"> |
14 | |
2369 | 15 <section id="njs0.3.1" name="Changes with 0.3.1"> |
16 | |
17 <para> | |
18 Release Date: | |
19 16 April 2019 | |
20 </para> | |
21 | |
22 <para> | |
23 Core: | |
24 <list type="bullet"> | |
25 | |
26 <listitem> | |
27 <para> | |
28 Feature: | |
29 added arrow functions support. | |
30 Thanks to 洪志道 (Hong Zhi Dao) and Artem S. Povalyukhin. | |
31 </para> | |
32 </listitem> | |
33 | |
34 <listitem> | |
35 <para> | |
36 Feature: | |
37 added Object.getOwnPropertyNames(). | |
38 Thanks to Artem S. Povalyukhin. | |
39 </para> | |
40 </listitem> | |
41 | |
42 <listitem> | |
43 <para> | |
44 Feature: | |
45 added Object.getOwnPropertyDescriptors(). | |
46 Thanks to Artem S. Povalyukhin. | |
47 </para> | |
48 </listitem> | |
49 | |
50 <listitem> | |
51 <para> | |
52 Feature: | |
53 making __proto__ accessor descriptor of Object instances | |
54 mutable. | |
55 </para> | |
56 </listitem> | |
57 | |
58 <listitem> | |
59 <para> | |
60 Feature: | |
61 added shebang support in CLI. | |
62 </para> | |
63 </listitem> | |
64 | |
65 <listitem> | |
66 <para> | |
67 Feature: | |
68 added support for module mode execution in CLI. In module | |
69 mode global this is unavailable. | |
70 </para> | |
71 </listitem> | |
72 | |
73 <listitem> | |
74 <para> | |
75 Bugfix: | |
76 fixed editline detection. | |
77 </para> | |
78 </listitem> | |
79 | |
80 <listitem> | |
81 <para> | |
82 Bugfix: | |
83 fixed Function.prototype.bind(). | |
84 Thanks to 洪志道 (Hong Zhi Dao). | |
85 </para> | |
86 </listitem> | |
87 | |
88 <listitem> | |
89 <para> | |
90 Bugfix: | |
91 fixed checking of duplication of parameters for functions. | |
92 Thanks to 洪志道 (Hong Zhi Dao). | |
93 </para> | |
94 </listitem> | |
95 | |
96 <listitem> | |
97 <para> | |
98 Bugfix: | |
99 fixed function declaration with the same name as a variable. | |
100 Thanks to 洪志道 (Hong Zhi Dao). | |
101 </para> | |
102 </listitem> | |
103 | |
104 <listitem> | |
105 <para> | |
106 Improvement: | |
107 code related to parsing of objects, variables and | |
108 functions is refactored. | |
109 Thanks to 洪志道 (Hong Zhi Dao). | |
110 </para> | |
111 </listitem> | |
112 | |
113 <listitem> | |
114 <para> | |
115 Improvement: | |
116 console.log() improved for outputting large values. | |
117 </para> | |
118 </listitem> | |
119 | |
120 <listitem> | |
121 <para> | |
122 Improvement: | |
123 console.log() improved for outputting strings in a | |
124 compliant way (without escaping and quotes). | |
125 </para> | |
126 </listitem> | |
127 | |
128 <listitem> | |
129 <para> | |
130 Improvement: | |
131 using ES6 version of ToInt32(), ToUint32(), ToLength(). | |
132 </para> | |
133 </listitem> | |
134 | |
135 </list> | |
136 </para> | |
137 | |
138 </section> | |
139 | |
140 | |
2353 | 141 <section id="njs0.3.0" name="Changes with 0.3.0"> |
142 | |
143 <para> | |
144 Release Date: | |
145 26 March 2019 | |
146 </para> | |
147 | |
148 <para> | |
149 nginx modules: | |
150 <list type="bullet"> | |
151 | |
152 <listitem> | |
153 <para> | |
154 Feature: | |
155 added the <literal>js_path</literal> directive for | |
156 <link doc="../http/ngx_http_js_module.xml" id="js_path">http</link> and | |
157 <link doc="../stream/ngx_stream_js_module.xml" id="js_path">stream</link>. | |
158 </para> | |
159 </listitem> | |
160 | |
161 <listitem> | |
162 <para> | |
163 Change: | |
164 returning undefined value instead of empty strings | |
165 for absent properties in the following objects: | |
166 <link doc="reference.xml" id="r_args"><literal>r.args{}</literal></link>, | |
167 <link doc="reference.xml" id="r_headers_in"><literal>r.headersIn{}</literal></link>, | |
168 <link doc="reference.xml" id="r_headers_out"><literal>r.headersOut{}</literal></link>, | |
169 <link doc="reference.xml" id="r_variables"><literal>r.variables{}</literal></link>, | |
170 <link doc="reference.xml" id="s_variables"><literal>s.variables{}</literal></link>. | |
171 </para> | |
172 </listitem> | |
173 | |
174 <listitem> | |
175 <para> | |
176 Change: | |
177 returning undefined value instead of throwing an exception for | |
178 <link doc="reference.xml" id="r_request_body"><literal>r.requestBody</literal></link> | |
179 when request body is unavailable. | |
180 </para> | |
181 </listitem> | |
182 | |
183 <listitem> | |
184 <para> | |
185 Bugfix: | |
186 fixed crash while iterating over | |
187 <link doc="reference.xml" id="r_args"><literal>r.args{}</literal></link> | |
188 when a value is absent in a key-value pair. | |
189 </para> | |
190 </listitem> | |
191 | |
192 </list> | |
193 </para> | |
194 | |
195 <para> | |
196 Core: | |
197 <list type="bullet"> | |
198 | |
199 <listitem> | |
200 <para> | |
201 Feature: | |
202 added initial ES6 modules support. | |
203 Default import and default export statements are supported. | |
204 Thanks to 洪志道 (Hong Zhi Dao). | |
205 </para> | |
206 </listitem> | |
207 | |
208 <listitem> | |
209 <para> | |
210 Feature: | |
211 added <literal>Object.prototype.propertyIsEnumerable()</literal>. | |
212 </para> | |
213 </listitem> | |
214 | |
215 <listitem> | |
216 <para> | |
217 Feature: | |
218 reporting file name and function name in disassembler output. | |
219 </para> | |
220 </listitem> | |
221 | |
222 <listitem> | |
223 <para> | |
224 Bugfix: | |
225 fixed function redeclarations in interactive shell. | |
226 Thanks to 洪志道 (Hong Zhi Dao). | |
227 </para> | |
228 </listitem> | |
229 | |
230 <listitem> | |
231 <para> | |
232 Bugfix: | |
233 fixed RegExp literals parsing. | |
234 </para> | |
235 </listitem> | |
236 | |
237 <listitem> | |
238 <para> | |
239 Bugfix: | |
240 fixed setting length of UTF8 string in | |
241 <link doc="reference.xml" id="readfilesync"><literal>fs.readFileSync()</literal></link>. | |
242 </para> | |
243 </listitem> | |
244 | |
245 <listitem> | |
246 <para> | |
247 Bugfix: | |
248 fixed <literal>nxt_file_dirname()</literal> for paths with no dir component. | |
249 </para> | |
250 </listitem> | |
251 | |
252 </list> | |
253 </para> | |
254 | |
255 </section> | |
256 | |
257 | |
2331 | 258 <section id="njs0.2.8" name="Changes with 0.2.8"> |
259 | |
260 <para> | |
261 Release Date: | |
262 26 February 2019 | |
263 </para> | |
264 | |
265 <para> | |
266 nginx modules: | |
267 <list type="bullet"> | |
268 | |
269 <listitem> | |
270 <para> | |
271 Change: | |
272 properties of HTTP request deprecated in <link id="njs0.2.2">0.2.2</link> | |
273 are removed. | |
274 </para> | |
275 </listitem> | |
276 | |
277 <listitem> | |
278 <para> | |
279 Feature: | |
280 added support for delete operation in | |
281 <link doc="reference.xml" id="r_headers_out"><literal>r.headersOut{}</literal></link>. | |
282 </para> | |
283 </listitem> | |
284 | |
285 <listitem> | |
286 <para> | |
287 Feature: | |
288 added support for setting nginx variables. | |
289 </para> | |
290 </listitem> | |
291 | |
292 <listitem> | |
293 <para> | |
294 Bugfix: | |
295 fixed | |
296 <link doc="reference.xml" id="subrequest"><literal>r.subrequest()</literal></link> | |
297 for empty body value. | |
298 </para> | |
299 </listitem> | |
300 | |
301 <listitem> | |
302 <para> | |
303 Improvement: | |
304 setting special response headers in | |
305 <link doc="reference.xml" id="r_headers_out"><literal>r.headersOut{}</literal></link>. | |
306 </para> | |
307 </listitem> | |
308 | |
309 </list> | |
310 </para> | |
311 | |
312 <para> | |
313 Core: | |
314 <list type="bullet"> | |
315 | |
316 <listitem> | |
317 <para> | |
318 Feature: | |
319 added labels support. | |
320 </para> | |
321 </listitem> | |
322 | |
323 <listitem> | |
324 <para> | |
325 Feature: | |
326 added <literal>setImmediate()</literal> method. | |
327 </para> | |
328 </listitem> | |
329 | |
330 <listitem> | |
331 <para> | |
332 Feature: | |
333 added support for shorthand property names for Object literals. | |
334 </para> | |
335 </listitem> | |
336 | |
337 <listitem> | |
338 <para> | |
339 Bugfix: | |
340 fixed <literal>Function.prototype.bind()</literal>. | |
341 </para> | |
342 </listitem> | |
343 | |
344 <listitem> | |
345 <para> | |
346 Bugfix: | |
347 fixed parsing of string literals containing newline characters. | |
348 </para> | |
349 </listitem> | |
350 | |
351 <listitem> | |
352 <para> | |
353 Bugfix: | |
354 fixed line number in reporting variable reference errors. | |
355 </para> | |
356 </listitem> | |
357 | |
358 <listitem> | |
359 <para> | |
360 Bugfix: | |
361 fixed creation of long UTF8 strings. | |
362 </para> | |
363 </listitem> | |
364 | |
365 <listitem> | |
366 <para> | |
367 Bugfix: | |
368 fixed | |
369 setting special response headers in | |
370 <link doc="reference.xml" id="string_split"><literal>String.prototype.split()</literal></link> | |
371 for Unicode strings. | |
372 </para> | |
373 </listitem> | |
374 | |
375 <listitem> | |
376 <para> | |
377 Bugfix: | |
378 fixed heap-buffer-overflow in | |
379 <link doc="reference.xml" id="string_split"><literal>String.prototype.split()</literal></link>. | |
380 </para> | |
381 </listitem> | |
382 | |
383 <listitem> | |
384 <para> | |
385 Bugfix: | |
386 fixed <literal>Array.prototype.fill()</literal>. | |
387 Thanks to Artem S. Povalyukhin. | |
388 </para> | |
389 </listitem> | |
390 | |
391 <listitem> | |
392 <para> | |
393 Improvement: | |
394 code related to function invocation is refactored. | |
395 Thanks to 洪志道 (Hong Zhi Dao). | |
396 </para> | |
397 </listitem> | |
398 | |
399 <listitem> | |
400 <para> | |
401 Improvement: | |
402 code related to variables is refactored. | |
403 Thanks to 洪志道 (Hong Zhi Dao). | |
404 </para> | |
405 </listitem> | |
406 | |
407 <listitem> | |
408 <para> | |
409 Improvement: parser is refactored. | |
410 Thanks to 洪志道 (Hong Zhi Dao). | |
411 </para> | |
412 </listitem> | |
413 | |
414 <listitem> | |
415 <para> | |
416 Improvement: | |
417 reporting filenames in exceptions. | |
418 </para> | |
419 </listitem> | |
420 | |
421 </list> | |
422 </para> | |
423 | |
424 </section> | |
425 | |
426 | |
2312 | 427 <section id="njs0.2.7" name="Changes with 0.2.7"> |
428 | |
429 <para> | |
430 Release Date: | |
431 25 December 2018 | |
432 </para> | |
433 | |
434 <para> | |
435 Core: | |
436 <list type="bullet"> | |
437 | |
438 <listitem> | |
439 <para> | |
440 Feature: | |
441 rest parameters syntax (destructuring is not supported). | |
442 Thanks to Alexander Pyshchev. | |
443 </para> | |
444 </listitem> | |
445 | |
446 <listitem> | |
447 <para> | |
448 Feature: | |
449 added | |
450 <link doc="reference.xml" id="object_entries"><literal>Object.entries()</literal></link> | |
451 method. | |
452 </para> | |
453 </listitem> | |
454 | |
455 <listitem> | |
456 <para> | |
457 Feature: | |
458 added | |
459 <link doc="reference.xml" id="object_values"><literal>Object.values()</literal></link> | |
460 method. | |
461 </para> | |
462 </listitem> | |
463 | |
464 <listitem> | |
465 <para> | |
466 Improvement: | |
467 code generator refactored and simplified. | |
468 </para> | |
469 </listitem> | |
470 | |
471 <listitem> | |
472 <para> | |
473 Bugfix: | |
474 fixed automatic semicolon insertion. | |
475 </para> | |
476 </listitem> | |
477 | |
478 <listitem> | |
479 <para> | |
480 Bugfix: | |
481 fixed assignment expression from compound assignment. | |
482 </para> | |
483 </listitem> | |
484 | |
485 <listitem> | |
486 <para> | |
487 Bugfix: | |
488 fixed comparison of Byte and UTF8 strings. | |
489 </para> | |
490 </listitem> | |
491 | |
492 <listitem> | |
493 <para> | |
494 Bugfix: | |
495 fixed type of iteration variable in for-in with array values. | |
496 </para> | |
497 </listitem> | |
498 | |
499 <listitem> | |
500 <para> | |
501 Bugfix: | |
2315
ae56e4613280
Corrected language in njs.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2312
diff
changeset
|
502 fixed building on platforms without librt. |
2312 | 503 </para> |
504 </listitem> | |
505 | |
506 <listitem> | |
507 <para> | |
508 Bugfix: | |
2315
ae56e4613280
Corrected language in njs.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2312
diff
changeset
|
509 miscellaneous bugs have been fixed. |
2312 | 510 </para> |
511 </listitem> | |
512 | |
513 </list> | |
514 </para> | |
515 | |
516 </section> | |
517 | |
518 | |
2285 | 519 <section id="njs0.2.6" name="Changes with 0.2.6"> |
520 | |
521 <para> | |
522 Release Date: | |
523 27 November 2018 | |
524 </para> | |
525 | |
526 <para> | |
527 Core: | |
528 <list type="bullet"> | |
529 | |
530 <listitem> | |
531 <para> | |
532 Feature: | |
533 making built-in prototypes mutable. | |
534 </para> | |
535 </listitem> | |
536 | |
537 <listitem> | |
538 <para> | |
539 Feature: | |
540 making global object mutable. | |
541 </para> | |
542 </listitem> | |
543 | |
544 <listitem> | |
545 <para> | |
546 Feature: | |
547 <literal>console.time()</literal> and | |
548 <literal>console.timeEnd()</literal> methods. | |
549 </para> | |
550 </listitem> | |
551 | |
552 <listitem> | |
553 <para> | |
554 Feature: | |
555 allowing variables and functions to be redeclared. | |
556 </para> | |
557 </listitem> | |
558 | |
559 <listitem> | |
560 <para> | |
561 Feature: | |
562 extending <literal>Object.defineProperty()</literal> spec conformance. | |
563 </para> | |
564 </listitem> | |
565 | |
566 <listitem> | |
567 <para> | |
568 Feature: | |
569 introduced quiet mode for CLI to handle simple expressions from stdin. | |
570 </para> | |
571 </listitem> | |
572 | |
573 <listitem> | |
574 <para> | |
575 Feature: | |
576 introduced compact form of backtraces to handle stack overflows. | |
577 </para> | |
578 </listitem> | |
579 | |
580 <listitem> | |
581 <para> | |
582 Improvement: | |
583 improved wording for various exceptions. | |
584 </para> | |
585 </listitem> | |
586 | |
587 <listitem> | |
588 <para> | |
589 Bugfix: | |
590 fixed closure values handling. | |
591 </para> | |
592 </listitem> | |
593 | |
594 <listitem> | |
595 <para> | |
596 Bugfix: | |
597 fixed equality operator for various value types. | |
598 </para> | |
599 </listitem> | |
600 | |
601 <listitem> | |
602 <para> | |
603 Bugfix: | |
604 fixed handling of “this” keyword in various scopes. | |
605 </para> | |
606 </listitem> | |
607 | |
608 <listitem> | |
609 <para> | |
610 Bugfix: | |
611 fixed handling non-object values in <literal>Object.keys()</literal>. | |
612 </para> | |
613 </listitem> | |
614 | |
615 <listitem> | |
616 <para> | |
617 Bugfix: | |
618 fixed parsing of throw statement inside <literal>if</literal> statement. | |
619 </para> | |
620 </listitem> | |
621 | |
622 <listitem> | |
623 <para> | |
624 Bugfix: | |
625 fixed parsing of newline after throw statement. | |
626 </para> | |
627 </listitem> | |
628 | |
629 <listitem> | |
630 <para> | |
631 Bugfix: | |
632 fixed parsing of statements in if statement without newline. | |
633 </para> | |
634 </listitem> | |
635 | |
636 <listitem> | |
637 <para> | |
638 Bugfix: | |
639 fixed size <literal>uint32_t</literal> overflow | |
640 in <literal>njs_array_expand()</literal>. | |
641 </para> | |
642 </listitem> | |
643 | |
644 <listitem> | |
645 <para> | |
646 Bugfix: | |
647 fixed <literal>typeof</literal> operator | |
648 for <literal>object_value</literal> type. | |
649 </para> | |
650 </listitem> | |
651 | |
652 <listitem> | |
653 <para> | |
654 Bugfix: | |
2315
ae56e4613280
Corrected language in njs.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2312
diff
changeset
|
655 miscellaneous bugs have been fixed. |
2285 | 656 </para> |
657 </listitem> | |
658 | |
659 </list> | |
660 </para> | |
661 | |
662 </section> | |
663 | |
664 | |
2264 | 665 <section id="njs0.2.5" name="Changes with 0.2.5"> |
666 | |
667 <para> | |
668 Release Date: | |
669 30 October 2018 | |
670 </para> | |
671 | |
672 <para> | |
673 nginx modules: | |
674 <list type="bullet"> | |
675 | |
676 <listitem> | |
677 <para> | |
678 Bugfix: | |
679 fixed counting pending events in stream module. | |
680 </para> | |
681 </listitem> | |
682 | |
683 <listitem> | |
684 <para> | |
685 Bugfix: | |
686 fixed <literal>s.off()</literal> in stream module. | |
687 </para> | |
688 </listitem> | |
689 | |
690 <listitem> | |
691 <para> | |
692 Bugfix: | |
693 fixed processing of data chunks in <literal>js_filter</literal> in stream module. | |
694 </para> | |
695 </listitem> | |
696 | |
697 <listitem> | |
698 <para> | |
699 Bugfix: | |
700 fixed http <literal>status</literal> and | |
701 <literal>contentType</literal> getter in http module. | |
702 </para> | |
703 </listitem> | |
704 | |
705 <listitem> | |
706 <para> | |
707 Bugfix: | |
708 fixed http response and parent getters in http module. | |
709 </para> | |
710 </listitem> | |
711 | |
712 </list> | |
713 </para> | |
714 | |
715 <para> | |
716 Core: | |
717 <list type="bullet"> | |
718 | |
719 <listitem> | |
720 <para> | |
721 Feature: | |
722 arguments object support. | |
723 </para> | |
724 </listitem> | |
725 | |
726 <listitem> | |
727 <para> | |
728 Feature: | |
729 non-integer fractions support. | |
730 </para> | |
731 </listitem> | |
732 | |
733 <listitem> | |
734 <para> | |
735 Improvement: | |
736 handling non-array values in <literal>Array.prototype.slice()</literal>. | |
737 </para> | |
738 </listitem> | |
739 | |
740 <listitem> | |
741 <para> | |
742 Bugfix: | |
743 fixed <literal>Array.prototype.length</literal> setter | |
744 </para> | |
745 </listitem> | |
746 | |
747 <listitem> | |
748 <para> | |
749 Bugfix: | |
750 fixed <literal>njs_array_alloc()</literal> for length > 2**31. | |
751 </para> | |
752 </listitem> | |
753 | |
754 <listitem> | |
755 <para> | |
756 Bugfix: | |
757 handling int overflow in <literal>njs_array_alloc()</literal> on 32bit archs. | |
758 </para> | |
759 </listitem> | |
760 | |
761 <listitem> | |
762 <para> | |
763 Bugfix: | |
764 fixed code size mismatch error message. | |
765 </para> | |
766 </listitem> | |
767 | |
768 <listitem> | |
769 <para> | |
770 Bugfix: | |
771 fixed delete operator in a loop. | |
772 </para> | |
773 </listitem> | |
774 | |
775 <listitem> | |
776 <para> | |
777 Bugfix: | |
778 fixed <literal>Object.getOwnPropertyDescriptor()</literal> for complex object | |
779 (inherited from <literal>Array</literal> and <literal>string</literal> values). | |
780 </para> | |
781 </listitem> | |
782 | |
783 <listitem> | |
784 <para> | |
785 Bugfix: | |
786 fixed <literal>Object.prototype.hasOwnProperty()</literal> | |
787 for non-object properties | |
788 </para> | |
789 </listitem> | |
790 | |
791 <listitem> | |
792 <para> | |
793 Bugfix: | |
2315
ae56e4613280
Corrected language in njs.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2312
diff
changeset
|
794 miscellaneous bugs have been fixed. |
2264 | 795 </para> |
796 </listitem> | |
797 | |
798 </list> | |
799 </para> | |
800 | |
801 </section> | |
802 | |
803 | |
2237
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
804 <section id="njs0.2.4" name="Changes with 0.2.4"> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
805 |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
806 <para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
807 Release Date: |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
808 18 September 2018 |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
809 </para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
810 |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
811 <para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
812 nginx modules: |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
813 <list type="bullet"> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
814 |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
815 <listitem> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
816 <para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
817 Change: |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
818 stream module handlers refactored. |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
819 </para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
820 |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
821 <para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
822 New methods and properties: |
2250
a314f4aeb199
Fixed path to njs reference in Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2246
diff
changeset
|
823 <link doc="reference.xml" id="s_on">s.on()</link>, |
a314f4aeb199
Fixed path to njs reference in Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2246
diff
changeset
|
824 <link doc="reference.xml" id="s_off">s.off()</link>, |
a314f4aeb199
Fixed path to njs reference in Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2246
diff
changeset
|
825 <link doc="reference.xml" id="s_allow">s.allow()</link>, |
a314f4aeb199
Fixed path to njs reference in Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2246
diff
changeset
|
826 <link doc="reference.xml" id="s_done">s.done()</link>, |
a314f4aeb199
Fixed path to njs reference in Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2246
diff
changeset
|
827 <link doc="reference.xml" id="s_decline">s.decline()</link>, |
a314f4aeb199
Fixed path to njs reference in Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2246
diff
changeset
|
828 <link doc="reference.xml" id="s_deny">s.deny()</link>. |
2237
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
829 </para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
830 |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
831 <para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
832 Removed properties of the |
2250
a314f4aeb199
Fixed path to njs reference in Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2246
diff
changeset
|
833 <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
|
834 <literal>s.OK</literal>, |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
835 <literal>s.ABORT</literal>, |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
836 <literal>s.AGAIN</literal>, |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
837 <literal>s.DECLINED</literal>, |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
838 <literal>s.ERROR</literal> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
839 (replaced with |
2250
a314f4aeb199
Fixed path to njs reference in Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2246
diff
changeset
|
840 <link doc="reference.xml" id="s_allow">s.allow()</link>, |
a314f4aeb199
Fixed path to njs reference in Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2246
diff
changeset
|
841 <link doc="reference.xml" id="s_done">s.done()</link>, |
a314f4aeb199
Fixed path to njs reference in Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2246
diff
changeset
|
842 <link doc="reference.xml" id="s_deny">s.deny()</link>). |
2237
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
843 </para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
844 |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
845 <para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
846 <literal>s.buffer</literal> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
847 (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
|
848 the corresponding callback, for writing use |
2250
a314f4aeb199
Fixed path to njs reference in Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2246
diff
changeset
|
849 <link doc="reference.xml" id="s_send">s.send()</link>). |
2237
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
850 </para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
851 |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
852 <para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
853 <literal>s.fromUpstream</literal> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
854 (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
|
855 </para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
856 |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
857 <para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
858 <literal>s.eof</literal> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
859 (replaced with <literal></literal> |
2250
a314f4aeb199
Fixed path to njs reference in Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2246
diff
changeset
|
860 <link doc="reference.xml" id="s_on_callback_last">flags.last</link>). |
2237
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
861 </para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
862 |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
863 </listitem> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
864 |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
865 </list> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
866 </para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
867 |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
868 <para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
869 Core: |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
870 <list type="bullet"> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
871 |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
872 <listitem> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
873 <para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
874 Feature: |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
875 added <literal>Function.prototype.length</literal>. |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
876 </para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
877 </listitem> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
878 |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
879 <listitem> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
880 <para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
881 Feature: |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
882 introduced sandboxing mode. |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
883 </para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
884 </listitem> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
885 |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
886 <listitem> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
887 <para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
888 Improvement: |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
889 added exception strings where appropriate. |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
890 </para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
891 </listitem> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
892 |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
893 <listitem> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
894 <para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
895 Improvement: |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
896 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
|
897 </para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
898 </listitem> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
899 |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
900 <listitem> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
901 <para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
902 Bugfix: |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
903 throwing <literal>TypeError</literal> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
904 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
|
905 </para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
906 </listitem> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
907 |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
908 <listitem> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
909 <para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
910 Bugfix: |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
911 fixed <literal>Object.defineProperty()</literal> for existing properties. |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
912 </para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
913 </listitem> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
914 |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
915 <listitem> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
916 <para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
917 Bugfix: |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
918 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
|
919 </para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
920 </listitem> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
921 |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
922 <listitem> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
923 <para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
924 Bugfix: |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
925 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
|
926 </para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
927 </listitem> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
928 |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
929 <listitem> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
930 <para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
931 Bugfix: |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
932 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
|
933 </para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
934 </listitem> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
935 |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
936 <listitem> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
937 <para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
938 Bugfix: |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
939 fixed <literal>Object.prototype.toString</literal> for different value types. |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
940 </para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
941 </listitem> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
942 |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
943 <listitem> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
944 <para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
945 Bugfix: |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
946 fixed <literal>Object()</literal> constructor for object types arguments. |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
947 </para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
948 </listitem> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
949 |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
950 <listitem> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
951 <para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
952 Bugfix: |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
953 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
|
954 </para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
955 </listitem> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
956 |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
957 <listitem> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
958 <para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
959 Bugfix: |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
960 fixed <literal>String.slice()</literal> for undefined arguments. |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
961 </para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
962 </listitem> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
963 |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
964 <listitem> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
965 <para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
966 Bugfix: |
2315
ae56e4613280
Corrected language in njs.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2312
diff
changeset
|
967 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
|
968 </para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
969 </listitem> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
970 |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
971 </list> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
972 </para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
973 |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
974 </section> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
975 |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
976 |
2213 | 977 <section id="njs0.2.3" name="Changes with 0.2.3"> |
978 | |
979 <para> | |
980 Release Date: | |
981 31 July 2018 | |
982 </para> | |
983 | |
984 <para> | |
985 nginx modules: | |
986 <list type="bullet"> | |
987 | |
988 <listitem> | |
989 <para> | |
990 Bugfix: | |
991 making a subrequest from a <literal>Reply</literal> object caused | |
992 a segmentation fault. | |
993 </para> | |
994 </listitem> | |
995 | |
996 <listitem> | |
997 <para> | |
998 Bugfix: | |
999 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
|
1000 <link doc="reference.xml" id="http">HTTP Request</link> |
2213 | 1001 object caused a segmentation fault. |
1002 </para> | |
1003 </listitem> | |
1004 | |
1005 </list> | |
1006 </para> | |
1007 | |
1008 <para> | |
1009 Core: | |
1010 <list type="bullet"> | |
1011 | |
1012 <listitem> | |
1013 <para> | |
1014 Feature: | |
1015 added the pretty string representation for values. | |
1016 </para> | |
1017 </listitem> | |
1018 | |
1019 <listitem> | |
1020 <para> | |
1021 Feature: | |
1022 correctly printing floating point numbers. | |
1023 </para> | |
1024 </listitem> | |
1025 | |
1026 <listitem> | |
1027 <para> | |
1028 Feature: | |
1029 correctly parsing floating point numbers. | |
1030 </para> | |
1031 </listitem> | |
1032 | |
1033 <listitem> | |
1034 <para> | |
1035 Feature: | |
2250
a314f4aeb199
Fixed path to njs reference in Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2246
diff
changeset
|
1036 <link doc="reference.xml" id="string_bytesfrom">String.bytesFrom()</link> method |
2213 | 1037 (decoding <literal>hex</literal>, |
1038 <literal>base64</literal>, | |
1039 <literal>base64url</literal> into a byte string). | |
1040 </para> | |
1041 </listitem> | |
1042 | |
1043 <listitem> | |
1044 <para> | |
1045 Feature: | |
2250
a314f4aeb199
Fixed path to njs reference in Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2246
diff
changeset
|
1046 <link doc="reference.xml" id="string_padstart">String.padStart()</link> and |
a314f4aeb199
Fixed path to njs reference in Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2246
diff
changeset
|
1047 <link doc="reference.xml" id="string_padend">String.padEnd()</link> methods. |
2213 | 1048 </para> |
1049 </listitem> | |
1050 | |
1051 <listitem> | |
1052 <para> | |
1053 Feature: | |
1054 added support of binary literals. | |
1055 </para> | |
1056 </listitem> | |
1057 | |
1058 <listitem> | |
1059 <para> | |
1060 Improvement: | |
1061 added information about illegal token in number parsing. | |
1062 </para> | |
1063 </listitem> | |
1064 | |
1065 <listitem> | |
1066 <para> | |
1067 Improvement: | |
1068 allowed uppercased <literal>O</literal> in octal literal values. | |
1069 </para> | |
1070 </listitem> | |
1071 | |
1072 <listitem> | |
1073 <para> | |
1074 Improvement: | |
1075 added support for multiple arguments in <literal>console.log()</literal>. | |
1076 </para> | |
1077 </listitem> | |
1078 | |
1079 <listitem> | |
1080 <para> | |
1081 Bugfix: | |
1082 fixed applying <literal>call()</literal> to methods of external values. | |
1083 </para> | |
1084 </listitem> | |
1085 | |
1086 <listitem> | |
1087 <para> | |
1088 Bugfix: | |
1089 fixed addition operator applied to an object. | |
1090 </para> | |
1091 </listitem> | |
1092 | |
1093 <listitem> | |
1094 <para> | |
1095 Bugfix: | |
1096 fixed exception handling in <literal>njs_vm_value_to_ext_string()</literal>. | |
1097 </para> | |
1098 </listitem> | |
1099 | |
1100 <listitem> | |
1101 <para> | |
1102 Bugfix: | |
1103 fixed <literal>Number()</literal> with boolean, null and undefined arguments. | |
1104 </para> | |
1105 </listitem> | |
1106 | |
1107 <listitem> | |
1108 <para> | |
1109 Bugfix: | |
1110 fixed error handling of setting non-numeric <literal>Array.length</literal>. | |
1111 </para> | |
1112 </listitem> | |
1113 | |
1114 <listitem> | |
1115 <para> | |
1116 Bugfix: | |
1117 fixed autocompletion for global objects. | |
1118 </para> | |
1119 </listitem> | |
1120 | |
1121 <listitem> | |
1122 <para> | |
1123 Bugfix: | |
2315
ae56e4613280
Corrected language in njs.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2312
diff
changeset
|
1124 miscellaneous bugs have been fixed. |
2213 | 1125 </para> |
1126 </listitem> | |
1127 | |
1128 </list> | |
1129 </para> | |
1130 | |
1131 </section> | |
1132 | |
1133 | |
2184
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
1134 <section id="njs0.2.2" name="Changes with 0.2.2"> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
1135 |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
1136 <para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
1137 Release Date: |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
1138 19 June 2018 |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
1139 </para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
1140 |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
1141 <para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
1142 nginx modules: |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
1143 <list type="bullet"> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
1144 |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
1145 <listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
1146 <para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
1147 Change: |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
1148 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
|
1149 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
|
1150 New members of <literal>Request</literal>: |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
1151 |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
1152 <list type="bullet"> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
1153 |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
1154 <listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
1155 <para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
1156 <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
|
1157 </para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
1158 </listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
1159 |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
1160 <listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
1161 <para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
1162 <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
|
1163 </para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
1164 </listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
1165 |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
1166 <listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
1167 <para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
1168 <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
|
1169 </para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
1170 </listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
1171 |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
1172 <listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
1173 <para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
1174 <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
|
1175 </para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
1176 </listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
1177 |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
1178 <listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
1179 <para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
1180 <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
|
1181 </para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
1182 </listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
1183 |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
1184 <listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
1185 <para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
1186 <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
|
1187 </para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
1188 </listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
1189 |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
1190 <listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
1191 <para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
1192 <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
|
1193 </para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
1194 </listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
1195 |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
1196 <listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
1197 <para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
1198 <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
|
1199 </para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
1200 </listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
1201 |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
1202 <listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
1203 <para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
1204 <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
|
1205 </para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
1206 </listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
1207 |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
1208 <listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
1209 <para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
1210 <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
|
1211 </para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
1212 </listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
1213 |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
1214 </list> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
1215 Deprecated members of <literal>Request</literal>: |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
1216 |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
1217 <list type="bullet"> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
1218 |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
1219 <listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
1220 <para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
1221 <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
|
1222 or <literal>req.responseBody</literal>) |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
1223 </para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
1224 </listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
1225 |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
1226 <listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
1227 <para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
1228 <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
|
1229 or <literal>req.headersOut</literal>) |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
1230 </para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
1231 </listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
1232 |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
1233 <listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
1234 <para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
1235 <literal>req.response</literal> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
1236 </para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
1237 </listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
1238 |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
1239 </list> |
2363
7952cd8af485
Documenting njs properties removal in njs-0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2353
diff
changeset
|
1240 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
|
1241 |
7952cd8af485
Documenting njs properties removal in njs-0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2353
diff
changeset
|
1242 <list type="bullet"> |
7952cd8af485
Documenting njs properties removal in njs-0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2353
diff
changeset
|
1243 |
7952cd8af485
Documenting njs properties removal in njs-0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2353
diff
changeset
|
1244 <listitem> |
7952cd8af485
Documenting njs properties removal in njs-0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2353
diff
changeset
|
1245 <para> |
7952cd8af485
Documenting njs properties removal in njs-0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2353
diff
changeset
|
1246 <literal>res.contentLength</literal> (use |
7952cd8af485
Documenting njs properties removal in njs-0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2353
diff
changeset
|
1247 <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
|
1248 </para> |
7952cd8af485
Documenting njs properties removal in njs-0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2353
diff
changeset
|
1249 </listitem> |
7952cd8af485
Documenting njs properties removal in njs-0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2353
diff
changeset
|
1250 |
7952cd8af485
Documenting njs properties removal in njs-0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2353
diff
changeset
|
1251 <listitem> |
7952cd8af485
Documenting njs properties removal in njs-0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2353
diff
changeset
|
1252 <para> |
7952cd8af485
Documenting njs properties removal in njs-0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2353
diff
changeset
|
1253 <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
|
1254 </para> |
7952cd8af485
Documenting njs properties removal in njs-0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2353
diff
changeset
|
1255 </listitem> |
7952cd8af485
Documenting njs properties removal in njs-0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2353
diff
changeset
|
1256 |
7952cd8af485
Documenting njs properties removal in njs-0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2353
diff
changeset
|
1257 </list> |
7952cd8af485
Documenting njs properties removal in njs-0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2353
diff
changeset
|
1258 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
|
1259 <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
|
1260 </para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
1261 </listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
1262 |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
1263 <listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
1264 <para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
1265 Feature: |
2250
a314f4aeb199
Fixed path to njs reference in Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2246
diff
changeset
|
1266 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
|
1267 method. |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
1268 </para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
1269 </listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
1270 |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
1271 </list> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
1272 </para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
1273 |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
1274 <para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
1275 Core: |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
1276 <list type="bullet"> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
1277 |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
1278 <listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
1279 <para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
1280 Bugfix: |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
1281 fixed heap-buffer-overflow in <literal>crypto.createHmac()</literal>. |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
1282 </para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
1283 </listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
1284 |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
1285 </list> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
1286 </para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
1287 |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
1288 </section> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
1289 |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
1290 |
2172
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
1291 <section id="njs0.2.1" name="Changes with 0.2.1"> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
1292 |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
1293 <para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
1294 Release Date: |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
1295 31 May 2018 |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
1296 </para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
1297 |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
1298 <para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
1299 nginx modules: |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
1300 <list type="bullet"> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
1301 |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
1302 <listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
1303 <para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
1304 Feature: |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
1305 HTTP request body getter. |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
1306 </para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
1307 </listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
1308 |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
1309 <listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
1310 <para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
1311 Improvement: |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
1312 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
|
1313 </para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
1314 </listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
1315 |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
1316 <listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
1317 <para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
1318 Improvement: |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
1319 improved logging for |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
1320 <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
|
1321 <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
|
1322 </para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
1323 </listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
1324 |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
1325 <listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
1326 <para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
1327 Improvement: |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
1328 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
|
1329 <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
|
1330 </para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
1331 </listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
1332 |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
1333 <listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
1334 <para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
1335 Improvement: |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
1336 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
|
1337 <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
|
1338 </para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
1339 </listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
1340 |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
1341 <listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
1342 <para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
1343 Bugfix: fixed error logging in |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
1344 <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
|
1345 </para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
1346 </listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
1347 |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
1348 </list> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
1349 </para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
1350 |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
1351 <para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
1352 Core: |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
1353 <list type="bullet"> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
1354 |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
1355 <listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
1356 <para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
1357 Feature: |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
1358 added array length setter. |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
1359 </para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
1360 </listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
1361 |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
1362 <listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
1363 <para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
1364 Improvement: |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
1365 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
|
1366 <literal>njs.h</literal>. |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
1367 </para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
1368 </listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
1369 |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
1370 <listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
1371 <para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
1372 Bugfix: |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
1373 fixed crypto <literal>update()</literal> method after |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
1374 <literal>digest()</literal> is called. |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
1375 </para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
1376 </listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
1377 |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
1378 <listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
1379 <para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
1380 Bugfix: |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
1381 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
|
1382 and > 64. |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
1383 </para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
1384 </listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
1385 |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
1386 <listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
1387 <para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
1388 Bugfix: |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
1389 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
|
1390 </para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
1391 </listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
1392 |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
1393 <listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
1394 <para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
1395 Bugfix: |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
1396 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
|
1397 <literal>JSON.stringify()</literal>. |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
1398 </para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
1399 </listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
1400 |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
1401 <listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
1402 <para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
1403 Bugfix: |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
1404 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
|
1405 </para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
1406 </listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
1407 |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
1408 <listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
1409 <para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
1410 Bugfix: |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
1411 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
|
1412 <literal>Object.getOwnPropertyDescriptor()</literal>. |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
1413 </para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
1414 </listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
1415 |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
1416 <listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
1417 <para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
1418 Bugfix: |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
1419 fixed handling of properties in |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
1420 <literal>Object.getOwnPropertyDescriptor()</literal>. |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
1421 </para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
1422 </listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
1423 |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
1424 <listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
1425 <para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
1426 Bugfix: |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
1427 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
|
1428 </para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
1429 </listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
1430 |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
1431 <listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
1432 <para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
1433 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
|
1434 </para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
1435 </listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
1436 |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
1437 <listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
1438 <para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
1439 Bugfix: |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
1440 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
|
1441 </para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
1442 </listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
1443 |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
1444 <listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
1445 <para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
1446 Bugfix: |
2315
ae56e4613280
Corrected language in njs.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2312
diff
changeset
|
1447 miscellaneous bugs have been fixed. |
2172
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
1448 </para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
1449 </listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
1450 |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
1451 </list> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
1452 </para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
1453 |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
1454 </section> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
1455 |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
1456 |
2130 | 1457 <section id="njs0.2.0" name="Changes with 0.2.0"> |
1458 | |
1459 <para> | |
1460 Release Date: | |
1461 3 Apr 2018 | |
1462 </para> | |
1463 | |
1464 <para> | |
1465 <list type="bullet"> | |
1466 | |
1467 <listitem> | |
1468 <para> | |
1469 Feature: | |
1470 reporting njs version by CLI. | |
1471 </para> | |
1472 </listitem> | |
1473 | |
1474 <listitem> | |
1475 <para> | |
1476 Feature: | |
1477 textual description for type converting exceptions. | |
1478 </para> | |
1479 </listitem> | |
1480 | |
1481 <listitem> | |
1482 Feature: | |
1483 <literal>setTimeout()</literal> and | |
2148
94a598ee1d49
Minor corrections in "njs About" and "njs Changes".
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2130
diff
changeset
|
1484 <literal>clearTimeout()</literal> methods. |
2130 | 1485 </listitem> |
1486 | |
1487 <listitem> | |
1488 <para> | |
1489 Feature: | |
1490 Byte string to | |
1491 <literal>hex</literal>, | |
1492 <literal>base64</literal>, | |
1493 <literal>base64url</literal> encodings. | |
1494 </para> | |
1495 </listitem> | |
1496 | |
1497 <listitem> | |
1498 <para> | |
1499 Feature: | |
1500 <link url="https://nodejs.org/api/crypto.html#crypto_class_hash">Node.js style</link> | |
1501 <literal>Crypto</literal> methods. | |
1502 </para> | |
1503 </listitem> | |
1504 | |
1505 <listitem> | |
1506 <para> | |
1507 Feature: | |
1508 HTTP and stream | |
1509 <literal>warn()</literal> and | |
1510 <literal>error()</literal> methods. | |
1511 </para> | |
1512 </listitem> | |
1513 | |
1514 <listitem> | |
1515 <para> | |
1516 Feature: | |
1517 HTTP <literal>subrequest()</literal> method. | |
1518 </para> | |
1519 </listitem> | |
1520 | |
1521 <listitem> | |
1522 <para> | |
1523 Feature: | |
1524 HTTP <literal>return()</literal> method. | |
1525 </para> | |
1526 </listitem> | |
1527 | |
1528 <listitem> | |
1529 <para> | |
1530 Bugfix: | |
1531 miscellaneous bugs have been fixed in the core and | |
1532 interactive shell. | |
1533 </para> | |
1534 </listitem> | |
1535 | |
1536 </list> | |
1537 </para> | |
1538 | |
1539 </section> | |
1540 | |
1541 <section id="njs0.1.15" name="Changes with 0.1.15"> | |
1542 | |
1543 <para> | |
1544 Release Date: | |
1545 20 Nov 2017 | |
1546 </para> | |
1547 | |
1548 <para> | |
1549 <list type="bullet"> | |
1550 | |
1551 <listitem> | |
1552 <para> | |
1553 Feature: | |
1554 <literal>Error</literal>, | |
1555 <literal>EvalError</literal>, | |
1556 <literal>InternalError</literal>, | |
1557 <literal>RangeError</literal>, | |
1558 <literal>ReferenceError</literal>, | |
1559 <literal>SyntaxError</literal>, | |
1560 <literal>TypeError</literal>, | |
1561 <literal>URIError</literal> objects. | |
1562 </para> | |
1563 </listitem> | |
1564 | |
1565 <listitem> | |
1566 <para> | |
1567 Feature: | |
1568 octal literals support. | |
1569 </para> | |
1570 </listitem> | |
1571 | |
1572 <listitem> | |
1573 <para> | |
1574 Feature: | |
2148
94a598ee1d49
Minor corrections in "njs About" and "njs Changes".
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2130
diff
changeset
|
1575 <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
|
1576 <literal>File system</literal> access methods: |
2130 | 1577 <literal>fs.readFile()</literal>, |
1578 <literal>fs.readFileSync()</literal>, | |
1579 <literal>fs.appendFile()</literal>, | |
1580 <literal>fs.appendFileSync()</literal>, | |
1581 <literal>fs.writeFile()</literal>, | |
2148
94a598ee1d49
Minor corrections in "njs About" and "njs Changes".
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2130
diff
changeset
|
1582 <literal>fs.writeFileSync()</literal>. |
2130 | 1583 </para> |
1584 </listitem> | |
1585 | |
1586 <listitem> | |
1587 <para> | |
1588 Feature: | |
1589 nginx modules print backtrace on exception. | |
1590 </para> | |
1591 </listitem> | |
1592 | |
1593 <listitem> | |
1594 <para> | |
1595 Bugfix: | |
1596 miscellaneous bugs have been fixed. | |
1597 </para> | |
1598 </listitem> | |
1599 | |
1600 </list> | |
1601 </para> | |
1602 | |
1603 </section> | |
1604 | |
1605 | |
1606 <section id="njs0.1.14" name="Changes with 0.1.14"> | |
1607 | |
1608 <para> | |
1609 Release Date: | |
1610 09 Oct 2017 | |
1611 </para> | |
1612 | |
1613 <para> | |
1614 <list type="bullet"> | |
1615 | |
1616 <listitem> | |
1617 <para> | |
1618 Feature: | |
1619 JSON object. | |
1620 </para> | |
1621 </listitem> | |
1622 | |
1623 <listitem> | |
1624 <para> | |
1625 Feature: | |
1626 object level completions in interactive shell. | |
1627 </para> | |
1628 </listitem> | |
1629 | |
1630 <listitem> | |
1631 <para> | |
1632 Feature: | |
1633 various configure improvements. | |
1634 </para> | |
1635 </listitem> | |
1636 | |
1637 <listitem> | |
1638 <para> | |
1639 Bugfix: | |
1640 miscellaneous bugs have been fixed in the core and | |
1641 interactive shell. | |
1642 </para> | |
1643 </listitem> | |
1644 | |
1645 </list> | |
1646 </para> | |
1647 | |
1648 </section> | |
1649 | |
1650 | |
1651 <section id="njs0.1.13" name="Changes with 0.1.13"> | |
1652 | |
1653 <para> | |
1654 Release Date: | |
1655 31 Aug 2017 | |
1656 </para> | |
1657 | |
1658 <para> | |
1659 <list type="bullet"> | |
1660 | |
1661 <listitem> | |
1662 <para> | |
1663 Feature: | |
1664 <literal>console.log()</literal> and | |
1665 <literal>console.help()</literal> | |
1666 methods in interactive shell. | |
1667 </para> | |
1668 </listitem> | |
1669 | |
1670 <listitem> | |
1671 <para> | |
1672 Feature: | |
1673 interactive shell prints backtrace on exception. | |
1674 </para> | |
1675 </listitem> | |
1676 | |
1677 <listitem> | |
1678 <para> | |
1679 Feature: | |
1680 interactive shell by default | |
1681 if <literal>libedit</literal> is available. | |
1682 </para> | |
1683 </listitem> | |
1684 | |
1685 <listitem> | |
1686 <para> | |
1687 Bugfix: | |
1688 processing of large files from | |
1689 <literal>stdin</literal> in command line mode. | |
1690 </para> | |
1691 </listitem> | |
1692 | |
1693 <listitem> | |
1694 <para> | |
1695 Bugfix: | |
1696 improved <literal>editline</literal> detection. | |
1697 </para> | |
1698 </listitem> | |
1699 | |
1700 </list> | |
1701 </para> | |
1702 | |
1703 </section> | |
1704 | |
1705 | |
1706 <section id="njs0.1.12" name="Changes with 0.1.12"> | |
1707 | |
1708 <para> | |
1709 Release Date: | |
1710 08 Aug 2017 | |
1711 </para> | |
1712 | |
1713 <para> | |
1714 <list type="bullet"> | |
1715 | |
1716 <listitem> | |
1717 <para> | |
1718 Feature: | |
1719 Interactive shell. | |
1720 </para> | |
1721 </listitem> | |
1722 | |
1723 <listitem> | |
1724 <para> | |
1725 Bugfix: | |
1726 in <literal>Object.isSealed()</literal>. | |
1727 </para> | |
1728 </listitem> | |
1729 | |
1730 </list> | |
1731 </para> | |
1732 | |
1733 </section> | |
1734 | |
1735 | |
1736 <section id="njs0.1.11" name="Changes with 0.1.11"> | |
1737 | |
1738 <para> | |
1739 Release Date: | |
1740 27 Jun 2017 | |
1741 </para> | |
1742 | |
1743 <para> | |
1744 <list type="bullet"> | |
1745 | |
1746 <listitem> | |
1747 <para> | |
1748 Feature: | |
1749 <literal>Object.keys()</literal>, | |
1750 <literal>Object.prototype.hasOwnProperty()</literal> | |
1751 methods. | |
1752 </para> | |
1753 </listitem> | |
1754 | |
1755 <listitem> | |
1756 <para> | |
1757 Feature: | |
1758 <literal>Object.defineProperty()</literal>, | |
1759 <literal>Object.defineProperties()</literal>, | |
1760 <literal>Object.getOwnPropertyDescriptor()</literal> | |
1761 methods. | |
1762 </para> | |
1763 </listitem> | |
1764 | |
1765 <listitem> | |
1766 <para> | |
1767 Feature: | |
1768 <literal>Object.getPrototypeOf()</literal>, | |
1769 <literal>Object.prototype.isPrototypeOf()</literal> | |
1770 methods. | |
1771 </para> | |
1772 </listitem> | |
1773 | |
1774 <listitem> | |
1775 <para> | |
1776 Feature: | |
1777 <literal>Object.preventExtensions()</literal>, | |
1778 <literal>Object.isExtensible()</literal>, | |
1779 <literal>Object.freeze()</literal>, | |
1780 <literal>Object.isFrozen()</literal>, | |
1781 <literal>Object.seal()</literal>, | |
1782 <literal>Object.isSealed()</literal> | |
1783 methods. | |
1784 </para> | |
1785 </listitem> | |
1786 | |
1787 <listitem> | |
1788 <para> | |
1789 Feature: | |
2148
94a598ee1d49
Minor corrections in "njs About" and "njs Changes".
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2130
diff
changeset
|
1790 scientific notation (<literal>3.35e10</literal>) literals support. |
2130 | 1791 </para> |
1792 </listitem> | |
1793 | |
1794 <listitem> | |
1795 <para> | |
1796 Feature: | |
2148
94a598ee1d49
Minor corrections in "njs About" and "njs Changes".
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2130
diff
changeset
|
1797 hexadecimal (<literal>0x1123</literal>) literals support. |
2130 | 1798 </para> |
1799 </listitem> | |
1800 | |
1801 <listitem> | |
1802 <para> | |
1803 Bugfix: | |
1804 processing of large array indexes. | |
1805 </para> | |
1806 </listitem> | |
1807 | |
1808 <listitem> | |
1809 <para> | |
1810 Bugfix: | |
1811 in <literal>parseInt()</literal> and | |
1812 <literal>Date.parse()</literal>. | |
1813 </para> | |
1814 </listitem> | |
1815 | |
1816 </list> | |
1817 </para> | |
1818 | |
1819 </section> | |
1820 | |
1821 | |
1822 <section id="njs0.1.10" name="Changes with 0.1.10"> | |
1823 | |
1824 <para> | |
1825 Release Date: | |
1826 04 Apr 2017 | |
1827 </para> | |
1828 | |
1829 <para> | |
1830 <list type="bullet"> | |
1831 | |
1832 <listitem> | |
1833 <para> | |
1834 Feature: | |
1835 nested functions and function closures. | |
1836 </para> | |
1837 </listitem> | |
1838 | |
1839 <listitem> | |
1840 <para> | |
1841 Feature: | |
1842 <literal>Array.of()</literal>, | |
1843 <literal>Array.prototype.fill()</literal>, | |
1844 <literal>Array.prototype.find()</literal>, | |
1845 <literal>Array.prototype.findIndex()</literal> | |
1846 methods. | |
1847 </para> | |
1848 </listitem> | |
1849 | |
1850 <listitem> | |
1851 <para> | |
1852 Bugfix: | |
1853 miscellaneous bugs and segmentation faults have been fixed. | |
1854 </para> | |
1855 </listitem> | |
1856 | |
1857 </list> | |
1858 </para> | |
1859 | |
1860 </section> | |
1861 | |
1862 | |
1863 <section id="njs0.1.9" name="Changes with 0.1.9"> | |
1864 | |
1865 <para> | |
1866 Release Date: | |
1867 01 Feb 2017 | |
1868 </para> | |
1869 | |
1870 <para> | |
1871 <list type="bullet"> | |
1872 | |
1873 <listitem> | |
1874 <para> | |
1875 Bugfix: | |
2148
94a598ee1d49
Minor corrections in "njs About" and "njs Changes".
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2130
diff
changeset
|
1876 global variables were not initialized when njs was used |
2130 | 1877 in nginx. |
1878 </para> | |
1879 </listitem> | |
1880 | |
1881 </list> | |
1882 </para> | |
1883 | |
1884 </section> | |
1885 | |
1886 | |
1887 <section id="njs0.1.8" name="Changes with 0.1.8"> | |
1888 | |
1889 <para> | |
1890 Release Date: | |
1891 24 Jan 2017 | |
1892 </para> | |
1893 | |
1894 <para> | |
1895 <list type="bullet"> | |
1896 | |
1897 <listitem> | |
1898 <para> | |
1899 Change: | |
1900 the <literal>strict</literal> mode is enforced, | |
1901 variables must be explicitly declared. | |
1902 </para> | |
1903 </listitem> | |
1904 | |
1905 | |
1906 <listitem> | |
1907 <para> | |
1908 Feature: | |
1909 <literal>for</literal> and | |
1910 <literal>for-in</literal> loops support variable declaration. | |
1911 </para> | |
1912 </listitem> | |
1913 | |
1914 <listitem> | |
1915 <para> | |
1916 Bugfix: | |
1917 global and function scopes have been fixed. | |
1918 </para> | |
1919 </listitem> | |
1920 | |
1921 <listitem> | |
1922 <para> | |
1923 Bugfix: | |
1924 now <literal>for-in</literal> loop does not discard the last value | |
1925 of property variable. | |
1926 </para> | |
1927 </listitem> | |
1928 | |
1929 <listitem> | |
1930 <para> | |
1931 Bugfix: | |
1932 miscellaneous bugs and segmentation faults have been fixed. | |
1933 </para> | |
1934 </listitem> | |
1935 | |
1936 </list> | |
1937 </para> | |
1938 | |
1939 </section> | |
1940 | |
1941 | |
1942 <section id="njs0.1.7" name="Changes with 0.1.7"> | |
1943 | |
1944 <para> | |
1945 Release Date: | |
1946 27 Dec 2016 | |
1947 </para> | |
1948 | |
1949 <para> | |
1950 <list type="bullet"> | |
1951 | |
1952 <listitem> | |
1953 <para> | |
1954 Change: | |
1955 the <link doc="../http/ngx_http_js_module.xml" id="js_include"/> directive | |
1956 has been disabled at server and location levels. | |
1957 </para> | |
1958 </listitem> | |
1959 | |
1960 <listitem> | |
1961 <para> | |
1962 Feature: | |
1963 exponentiation operators. | |
1964 </para> | |
1965 </listitem> | |
1966 | |
1967 <listitem> | |
1968 <para> | |
1969 Bugfix: | |
1970 miscellaneous bugs and segmentation faults have been fixed. | |
1971 </para> | |
1972 </listitem> | |
1973 | |
1974 </list> | |
1975 </para> | |
1976 | |
1977 </section> | |
1978 | |
1979 | |
1980 <section id="njs0.1.6" name="Changes with 0.1.6"> | |
1981 | |
1982 <para> | |
1983 Release Date: | |
1984 13 Dec 2016 | |
1985 </para> | |
1986 | |
1987 <para> | |
1988 <list type="bullet"> | |
1989 | |
1990 <listitem> | |
1991 <para> | |
1992 Change: | |
1993 the <link doc="../http/ngx_http_js_module.xml" id="js_set"/> directive | |
1994 has been disabled at server and location levels. | |
1995 </para> | |
1996 </listitem> | |
1997 | |
1998 <listitem> | |
1999 <para> | |
2000 Feature: | |
2001 ES6 <literal>Math</literal> methods. | |
2002 </para> | |
2003 </listitem> | |
2004 | |
2005 <listitem> | |
2006 <para> | |
2007 Bugfix: | |
2008 miscellaneous bugs and segmentation faults have been fixed. | |
2009 </para> | |
2010 </listitem> | |
2011 | |
2012 </list> | |
2013 </para> | |
2014 | |
2015 </section> | |
2016 | |
2017 </article> |