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