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