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