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