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