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