Mercurial > hg > nginx-site
annotate xml/en/docs/njs/changes.xml @ 3028:55f8ce8a8cb0
Linux packages: actualized supported Alpine Linux versions.
author | Konstantin Pavlov <thresh@nginx.com> |
---|---|
date | Mon, 11 Dec 2023 17:42:59 -0800 |
parents | 00c220310f53 |
children | e6b785b7e308 |
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" |
3023 | 12 rev="66" |
2130 | 13 toc="no"> |
14 | |
3023 | 15 <section id="njs0.8.2" name="Changes with njs 0.8.2"> |
16 | |
17 <para> | |
18 Release Date: | |
19 24 October 2023 | |
20 </para> | |
21 | |
22 <para> | |
23 nginx modules: | |
24 <list type="bullet"> | |
25 | |
26 <listitem> | |
27 <para> | |
28 Feature: | |
29 introduced | |
30 <link doc="reference.xml" id="console">console</link> object. | |
31 The following methods were introduced: | |
32 <link doc="reference.xml" id="console_error"><literal>error()</literal></link>, | |
33 <link doc="reference.xml" id="console_info"><literal>info()</literal></link>, | |
34 <link doc="reference.xml" id="console_log"><literal>log()</literal></link>, | |
35 <link doc="reference.xml" id="console_time"><literal>time()</literal></link>, | |
36 <link doc="reference.xml" id="console_time_end"><literal>timeEnd()</literal></link>, | |
37 <link doc="reference.xml" id="console_warn"><literal>warn()</literal></link>. | |
38 </para> | |
39 </listitem> | |
40 | |
41 <listitem> | |
42 <para> | |
43 Bugfix: | |
44 fixed | |
45 <literal>HEAD</literal> response handling with large Content-Length in | |
46 <link doc="reference.xml" id="ngx_fetch">Fetch API</link>. | |
47 </para> | |
48 </listitem> | |
49 | |
50 <listitem> | |
51 <para> | |
52 Bugfix: | |
53 fixed | |
54 <link doc="reference.xml" id="dict_items"><literal>items()</literal></link> | |
55 method for a shared dictionary. | |
56 </para> | |
57 </listitem> | |
58 | |
59 <listitem> | |
60 <para> | |
61 Bugfix: | |
62 fixed | |
63 <link doc="reference.xml" id="dict_delete"><literal>delete()</literal></link> | |
64 method for a shared dictionary. | |
65 </para> | |
66 </listitem> | |
67 | |
68 </list> | |
69 </para> | |
70 | |
71 <para> | |
72 Core: | |
73 <list type="bullet"> | |
74 | |
75 <listitem> | |
76 <para> | |
77 Feature: | |
78 extended | |
79 <link doc="reference.xml" id="njs_api_fs"><literal>fs</literal></link> module. | |
80 Added | |
81 <link doc="reference.xml" id="fs_existssync"><literal>fs.existsSync()</literal></link>. | |
82 </para> | |
83 </listitem> | |
84 | |
85 <listitem> | |
86 <para> | |
87 Bugfix: | |
88 fixed | |
89 <link doc="reference.xml" id="xml"><literal>xml</literal></link> module. | |
90 Broken XML exception handling in | |
91 <link doc="reference.xml" id="xml_parse"><literal>xml.parse()</literal></link> | |
92 method was fixed. | |
93 </para> | |
94 </listitem> | |
95 | |
96 <listitem> | |
97 <para> | |
98 Bugfix: | |
99 fixed | |
100 <literal>Regexp.prototype.exec()</literal> with global regexp and Unicode input. | |
101 </para> | |
102 </listitem> | |
103 | |
104 </list> | |
105 </para> | |
106 | |
107 </section> | |
108 | |
109 | |
3010 | 110 <section id="njs0.8.1" name="Changes with njs 0.8.1"> |
111 | |
112 <para> | |
113 Release Date: | |
114 12 September 2023 | |
115 </para> | |
116 | |
117 <para> | |
118 nginx modules: | |
119 <list type="bullet"> | |
120 | |
121 <listitem> | |
122 <para> | |
123 Feature: | |
124 introduced the <literal>js_periodic</literal> directive for | |
125 <link doc="../http/ngx_http_js_module.xml" id="js_periodic">http</link> | |
126 and | |
127 <link doc="../stream/ngx_stream_js_module.xml" id="js_periodic">stream</link> | |
128 that allows specifying a JS handler to run at regular intervals. | |
129 </para> | |
130 </listitem> | |
131 | |
132 <listitem> | |
133 <para> | |
134 Feature: | |
135 implemented | |
136 <link doc="reference.xml" id="dict_items"><literal>items()</literal></link> | |
137 method of a | |
138 <link doc="reference.xml" id="ngx_shared">shared dictionary</link>. | |
139 The method returns all the non-expired key-value pairs. | |
140 </para> | |
141 </listitem> | |
142 | |
143 <listitem> | |
144 <para> | |
145 Bugfix: | |
146 fixed | |
147 <link doc="reference.xml" id="dict_size"><literal>size()</literal></link> | |
148 and | |
149 <link doc="reference.xml" id="dict_keys"><literal>keys()</literal></link> | |
150 methods of a | |
151 <link doc="reference.xml" id="ngx_shared">shared dictionary</link>. | |
152 </para> | |
153 </listitem> | |
154 | |
155 <listitem> | |
156 <para> | |
157 Bugfix: | |
158 fixed erroneous exception in | |
159 <link doc="reference.xml" id="r_internal_redirect"><literal>r.internalRedirect()</literal></link> | |
160 introduced in <link id="njs0.8.0">0.8.0</link>. | |
161 </para> | |
162 </listitem> | |
163 | |
164 </list> | |
165 </para> | |
166 | |
167 <para> | |
168 Core: | |
169 <list type="bullet"> | |
170 | |
171 <listitem> | |
172 <para> | |
173 Bugfix: | |
174 fixed incorrect order of keys in | |
175 <literal>Object.getOwnPropertyNames()</literal>. | |
176 </para> | |
177 </listitem> | |
178 | |
179 </list> | |
180 </para> | |
181 | |
182 </section> | |
183 | |
184 | |
2991 | 185 <section id="njs0.8.0" name="Changes with njs 0.8.0"> |
186 | |
187 <para> | |
188 Release Date: | |
189 06 July 2023 | |
190 </para> | |
191 | |
192 <para> | |
193 nginx modules: | |
194 <list type="bullet"> | |
195 | |
196 <listitem> | |
197 <para> | |
198 Change: | |
199 removed special treatment of forbidden headers in | |
200 <link doc="reference.xml" id="ngx_fetch">Fetch API</link> | |
201 introduced in <link id="njs0.7.10">0.7.10</link>. | |
202 </para> | |
203 </listitem> | |
204 | |
205 <listitem> | |
206 <para> | |
207 Change: | |
208 removed deprecated since <link id="njs0.5.0">0.5.0</link> | |
2999
0e29ac906426
Removed obsolete brackets in njs changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2991
diff
changeset
|
209 <link doc="reference.xml" id="r_request_body"><literal>r.requestBody</literal></link> |
2991 | 210 and |
2999
0e29ac906426
Removed obsolete brackets in njs changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2991
diff
changeset
|
211 <link doc="reference.xml" id="r_response_body"><literal>r.responseBody</literal></link> |
2991 | 212 in |
213 <link doc="../http/ngx_http_js_module.xml"><literal>http</literal></link> | |
214 module. | |
215 </para> | |
216 </listitem> | |
217 | |
218 <listitem> | |
219 <para> | |
220 Change: | |
221 throwing an exception in | |
222 <link doc="reference.xml" id="r_internal_redirect"><literal>r.internalRedirect()</literal></link> | |
223 while filtering in | |
224 <link doc="../http/ngx_http_js_module.xml"><literal>http</literal></link> | |
225 module. | |
226 </para> | |
227 </listitem> | |
228 | |
229 <listitem> | |
230 <para> | |
231 Feature: | |
3007
3184864bbb3f
Added SharedDict to njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2999
diff
changeset
|
232 introduced more global |
3184864bbb3f
Added SharedDict to njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2999
diff
changeset
|
233 <link doc="reference.xml" id="ngx"><literal>nginx</literal></link> properties: |
2991 | 234 <link doc="reference.xml" id="ngx_build"><literal>ngx.build</literal></link>, |
235 <link doc="reference.xml" id="ngx_conf_file_path"><literal>ngx.conf_file_path</literal></link>, | |
236 <link doc="reference.xml" id="ngx_error_log_path"><literal>ngx.error_log_path</literal></link>, | |
237 <link doc="reference.xml" id="ngx_prefix"><literal>ngx.prefix</literal></link>, | |
238 <link doc="reference.xml" id="ngx_version"><literal>ngx.version</literal></link>, | |
239 <link doc="reference.xml" id="ngx_version_number"><literal>ngx.version_number</literal></link>, | |
240 and | |
241 <link doc="reference.xml" id="ngx_worker_id"><literal>ngx.worker_id</literal></link>. | |
242 </para> | |
243 </listitem> | |
244 | |
245 <listitem> | |
246 <para> | |
247 Feature: | |
248 introduced the <literal>js_shared_dict_zone</literal> directive for | |
249 <link doc="../http/ngx_http_js_module.xml" id="js_shared_dict_zone">http</link> | |
250 and | |
251 <link doc="../stream/ngx_stream_js_module.xml" id="js_shared_dict_zone">stream</link> | |
252 that allows declaring a dictionary shared between worker processes. | |
253 </para> | |
254 </listitem> | |
255 | |
256 <listitem> | |
257 <para> | |
3007
3184864bbb3f
Added SharedDict to njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2999
diff
changeset
|
258 Feature: |
3184864bbb3f
Added SharedDict to njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2999
diff
changeset
|
259 introduced global |
3184864bbb3f
Added SharedDict to njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2999
diff
changeset
|
260 <link doc="reference.xml" id="ngx_shared"><literal>nginx.shared</literal></link> |
3184864bbb3f
Added SharedDict to njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2999
diff
changeset
|
261 methods and properties for working with shared dictionaries. |
3184864bbb3f
Added SharedDict to njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2999
diff
changeset
|
262 </para> |
3184864bbb3f
Added SharedDict to njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2999
diff
changeset
|
263 </listitem> |
3184864bbb3f
Added SharedDict to njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2999
diff
changeset
|
264 |
3184864bbb3f
Added SharedDict to njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2999
diff
changeset
|
265 <listitem> |
3184864bbb3f
Added SharedDict to njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2999
diff
changeset
|
266 <para> |
2991 | 267 Improvement: |
268 added compile-time options to disable njs modules. | |
269 For example, to disable libxslt-related code: | |
270 <example> | |
271 NJS_LIBXSLT=NO ./configure .. --add-module=/path/to/njs/module | |
272 </example> | |
273 </para> | |
274 </listitem> | |
275 | |
276 <listitem> | |
277 <para> | |
278 Bugfix: | |
279 fixed | |
280 <link doc="reference.xml" id="r_status"><literal>r.status</literal></link> | |
281 setter when filtering in | |
282 <link doc="../http/ngx_http_js_module.xml"><literal>http</literal></link> | |
283 module. | |
284 </para> | |
285 </listitem> | |
286 | |
287 <listitem> | |
288 <para> | |
289 Bugfix: | |
290 fixed setting of Location header in | |
291 <link doc="../http/ngx_http_js_module.xml"><literal>http</literal></link> | |
292 module. | |
293 </para> | |
294 </listitem> | |
295 | |
296 </list> | |
297 </para> | |
298 | |
299 <para> | |
300 Core: | |
301 <list type="bullet"> | |
302 | |
303 <listitem> | |
304 <para> | |
305 Change: | |
306 native methods are provided with <literal>retval</literal> argument. | |
307 This change breaks compatibility with C extension for njs | |
308 requiring the modification of the code. | |
309 </para> | |
310 </listitem> | |
311 | |
312 <listitem> | |
313 <para> | |
314 Change: | |
315 non-compliant deprecated String methods were removed. | |
316 The following methods were removed: | |
317 <link doc="reference.xml" id="string_bytesfrom"><literal>String.bytesFrom()</literal></link>, | |
318 <link doc="reference.xml" id="string_frombytes"><literal>String.prototype.fromBytes()</literal></link>, | |
319 <link doc="reference.xml" id="string_fromutf8"><literal>String.prototype.fromUTF8()</literal></link>, | |
320 <link doc="reference.xml" id="string_tobytes"><literal>String.prototype.toBytes()</literal></link>, | |
321 <link doc="reference.xml" id="string_toutf8"><literal>String.prototype.toUTF8()</literal></link>, | |
322 <link doc="reference.xml" id="string_toutf8"><literal>String.prototype.toString(<value>encoding</value>)</literal></link>. | |
323 </para> | |
324 </listitem> | |
325 | |
326 <listitem> | |
327 <para> | |
328 Change: | |
329 removed support for building with GNU readline. | |
330 </para> | |
331 </listitem> | |
332 | |
333 <listitem> | |
334 <para> | |
335 Feature: | |
336 added ES13-compliant <literal>Array</literal> methods: | |
337 <literal>Array.from()</literal>, | |
338 <literal>Array.prototype.toSorted()</literal>, | |
339 <literal>Array.prototype.toSpliced()</literal>, | |
340 <literal>Array.prototype.toReversed()</literal>. | |
341 </para> | |
342 </listitem> | |
343 | |
344 <listitem> | |
345 <para> | |
346 Feature: | |
347 added ES13-compliant <literal>TypedArray</literal> methods: | |
348 <literal>%TypedArray%.prototype.toSorted()</literal>, | |
349 <literal>%TypedArray%.prototype.toSpliced()</literal>, | |
350 <literal>%TypedArray%.prototype.toReversed()</literal>. | |
351 </para> | |
352 </listitem> | |
353 | |
354 <listitem> | |
355 <para> | |
356 Feature: | |
357 added | |
358 <link doc="reference.xml" id="cryptokey"><literal>CryptoKey</literal></link> | |
359 properties in | |
360 <link doc="reference.xml" id="builtin_crypto">WebCrypto API</link>. | |
361 The following properties were added: | |
362 <link doc="reference.xml" id="cryptokey_alg"><literal>algorithm</literal></link>, | |
363 <link doc="reference.xml" id="cryptokey_extractable"><literal>extractable</literal></link>, | |
364 <link doc="reference.xml" id="cryptokey_type"><literal>type</literal></link>, | |
365 <link doc="reference.xml" id="cryptokey_usages"><literal>usages</literal></link>. | |
366 </para> | |
367 </listitem> | |
368 | |
369 <listitem> | |
370 <para> | |
371 Bugfix: | |
372 fixed <literal>retval</literal> of | |
373 <link doc="reference.xml" id="crypto_get_random_values"><literal>сrypto.getRandomValues()</literal></link>. | |
374 </para> | |
375 </listitem> | |
376 | |
377 <listitem> | |
378 <para> | |
379 Bugfix: | |
380 fixed evaluation of computed property names with function expressions. | |
381 </para> | |
382 </listitem> | |
383 | |
384 <listitem> | |
385 <para> | |
386 Bugfix: | |
387 fixed implicit name for a function expression declared in arrays. | |
388 </para> | |
389 </listitem> | |
390 | |
391 <listitem> | |
392 <para> | |
393 Bugfix: | |
394 fixed parsing of <literal>for-in</literal> loops. | |
395 </para> | |
396 </listitem> | |
397 | |
398 <listitem> | |
399 <para> | |
400 Bugfix: | |
401 fixed | |
402 <literal>Date.parse()</literal> with ISO-8601 format and UTC time offset. | |
403 </para> | |
404 </listitem> | |
405 | |
406 </list> | |
407 </para> | |
408 | |
409 </section> | |
410 | |
411 | |
2953 | 412 <section id="njs0.7.12" name="Changes with njs 0.7.12"> |
413 | |
414 <para> | |
415 Release Date: | |
416 10 April 2023 | |
417 </para> | |
418 | |
419 <para> | |
420 nginx modules: | |
421 <list type="bullet"> | |
422 | |
423 <listitem> | |
424 <para> | |
425 Bugfix: | |
426 fixed <literal>Headers()</literal> constructor in | |
427 <link doc="reference.xml" id="ngx_fetch">Fetch API</link>. | |
428 </para> | |
429 </listitem> | |
430 | |
431 </list> | |
432 </para> | |
433 | |
434 <para> | |
435 Core: | |
436 <list type="bullet"> | |
437 | |
438 <listitem> | |
439 <para> | |
440 Feature: | |
441 added | |
442 <link doc="reference.xml" id="crypto_hash_copy"><literal>Hash.copy()</literal></link> | |
443 method in | |
444 <link doc="reference.xml" id="crypto">crypto</link> module. | |
445 </para> | |
446 </listitem> | |
447 | |
448 <listitem> | |
449 <para> | |
450 Feature: | |
451 added | |
452 <link doc="reference.xml" id="zlib">zlib</link> | |
453 module. | |
454 </para> | |
455 </listitem> | |
456 | |
457 <listitem> | |
458 <para> | |
459 Improvement: | |
460 added support for | |
461 <literal>export {name as default}</literal> statement. | |
462 </para> | |
463 </listitem> | |
464 | |
465 <listitem> | |
466 <para> | |
467 Bugfix: | |
468 fixed <literal>Number</literal> constructor according to the spec. | |
469 </para> | |
470 </listitem> | |
471 | |
472 </list> | |
473 </para> | |
474 | |
475 </section> | |
476 | |
477 | |
2943 | 478 <section id="njs0.7.11" name="Changes with njs 0.7.11"> |
479 | |
480 <para> | |
481 Release Date: | |
482 09 March 2023 | |
483 </para> | |
484 | |
485 <para> | |
486 nginx modules: | |
487 <list type="bullet"> | |
488 | |
489 <listitem> | |
490 <para> | |
491 Bugfix: | |
492 added missed linking with | |
493 <link url="https://gitlab.gnome.org/GNOME/libxml2">libxml2</link> | |
494 for the dynamic module. | |
495 The bug was introduced in <link id="njs0.7.10">0.7.10</link>. | |
496 </para> | |
497 </listitem> | |
498 | |
499 </list> | |
500 </para> | |
501 | |
502 <para> | |
503 Core: | |
504 <list type="bullet"> | |
505 | |
506 <listitem> | |
507 <para> | |
508 Feature: | |
509 added | |
510 <link doc="reference.xml" id="xml_node">XMLNode API</link> | |
511 to modify XML documents. | |
512 </para> | |
513 </listitem> | |
514 | |
515 <listitem> | |
516 <para> | |
517 Change: | |
518 removed <literal>XML_PARSE_DTDVALID</literal> during parsing of an XML document | |
519 due to security implications. | |
520 The issue was introduced in <link id="njs0.7.10">0.7.10</link>. | |
521 When <literal>XML_PARSE_DTDVALID</literal> is enabled, | |
522 <link url="https://gitlab.gnome.org/GNOME/libxml2">libxml2</link> | |
523 parses and executes external entities present inside an XML document. | |
524 </para> | |
525 </listitem> | |
526 | |
527 <listitem> | |
528 <para> | |
529 Bugfix: | |
530 fixed the detection of <literal>await</literal> in arguments. | |
531 </para> | |
532 </listitem> | |
533 | |
534 <listitem> | |
535 <para> | |
536 Bugfix: | |
537 fixed <literal>Error()</literal> instance dumping | |
538 when “<literal>name</literal>” prop is not primitive. | |
539 </para> | |
540 </listitem> | |
541 | |
542 <listitem> | |
543 <para> | |
544 Bugfix: | |
545 fixed array instance with a <literal>getter</literal> property dumping. | |
546 </para> | |
547 </listitem> | |
548 | |
549 <listitem> | |
550 <para> | |
551 Bugfix: | |
2946
48a673f43844
Removed trailing whitespace.
Maxim Dounin <mdounin@mdounin.ru>
parents:
2943
diff
changeset
|
552 fixed <literal>njs_object_property()</literal> with |
2943 | 553 <literal>NJS_WHITEOUT</literal> properties. |
554 </para> | |
555 </listitem> | |
556 | |
557 <listitem> | |
558 <para> | |
559 Bugfix: | |
560 fixed <literal>func</literal> instance dumping | |
561 with “<literal>name</literal>” as getter. | |
562 </para> | |
563 </listitem> | |
564 | |
565 <listitem> | |
566 <para> | |
567 Bugfix: | |
568 fixed attaching of a stack to an error object. | |
569 </para> | |
570 </listitem> | |
571 | |
572 <listitem> | |
573 <para> | |
574 Bugfix: | |
575 fixed <literal>String.prototype.replace()</literal> with replacement | |
576 containing “<literal>$'</literal>”, “<literal>$`</literal>”. | |
577 </para> | |
578 </listitem> | |
579 | |
580 </list> | |
581 </para> | |
582 | |
583 </section> | |
584 | |
585 | |
2935 | 586 <section id="njs0.7.10" name="Changes with njs 0.7.10"> |
587 | |
588 <para> | |
589 Release Date: | |
590 07 February 2023 | |
591 </para> | |
592 | |
593 <para> | |
594 nginx modules: | |
595 <list type="bullet"> | |
596 | |
597 <listitem> | |
598 <para> | |
599 Feature: | |
600 added | |
601 <link doc="reference.xml" id="request"><literal>Request</literal></link>, | |
602 <link doc="reference.xml" id="response"><literal>Response</literal></link>, | |
603 and | |
604 <link doc="reference.xml" id="headers"><literal>Headers</literal></link> | |
605 ctors in | |
606 <link doc="reference.xml" id="ngx_fetch">Fetch API</link>. | |
607 </para> | |
608 </listitem> | |
609 | |
610 <listitem> | |
611 <para> | |
612 Bugfix: | |
613 fixed nginx logger callback for calls in the master process. | |
614 </para> | |
615 </listitem> | |
616 | |
617 </list> | |
618 </para> | |
619 | |
620 <para> | |
621 Core: | |
622 <list type="bullet"> | |
623 | |
624 <listitem> | |
625 <para> | |
626 Feature: | |
627 added signal support in CLI. | |
628 </para> | |
629 </listitem> | |
630 | |
631 <listitem> | |
632 <para> | |
633 Feature: | |
634 added | |
635 <link doc="reference.xml" id="xml"><literal>xml</literal></link> | |
636 module for working with XML documents. | |
637 </para> | |
638 </listitem> | |
639 | |
640 <listitem> | |
641 <para> | |
642 Feature: | |
643 extended support for symmetric and asymmetric keys in WebCrypto. | |
644 Most notably <literal>JWK</literal> format for | |
645 <link doc="reference.xml" id="crypto_subtle_import_key"><literal>importKey()</literal></link> | |
646 was added. | |
647 </para> | |
648 </listitem> | |
649 | |
650 <listitem> | |
651 <para> | |
652 Feature: | |
653 extended support for symmetric and asymmetric keys in | |
654 <link doc="reference.xml" id="builtin_crypto">WebCrypto API</link>. | |
655 Most notably <literal>JWK</literal> format for | |
656 <link doc="reference.xml" id="crypto_subtle_import_key"><literal>importKey()</literal></link> | |
657 was added. | |
658 <link doc="reference.xml" id="crypto_subtle_generate_key"><literal>generateKey()</literal></link> | |
659 and | |
660 <link doc="reference.xml" id="crypto_subtle_export_key"><literal>exportKey()</literal></link> | |
661 were also implemented. | |
662 </para> | |
663 </listitem> | |
664 | |
665 <listitem> | |
666 <para> | |
667 Feature: | |
668 added | |
669 <literal>String.prototype.replaceAll()</literal>. | |
670 </para> | |
671 </listitem> | |
672 | |
673 <listitem> | |
674 <para> | |
675 Bugfix: | |
676 fixed <literal>for(expr1;</literal> conditional syntax error handling. | |
677 </para> | |
678 </listitem> | |
679 | |
680 <listitem> | |
681 <para> | |
682 Bugfix: | |
683 <literal>Object.values()</literal> | |
684 and | |
685 <literal>Object.entries()</literal> | |
686 with external objects. | |
687 </para> | |
688 </listitem> | |
689 | |
690 <listitem> | |
691 <para> | |
692 Bugfix: | |
693 fixed <literal>RegExp.prototype[@@replace]()</literal>. | |
694 </para> | |
695 </listitem> | |
696 | |
697 </list> | |
698 </para> | |
699 | |
700 </section> | |
701 | |
702 | |
2909 | 703 <section id="njs0.7.9" name="Changes with njs 0.7.9"> |
704 | |
705 <para> | |
706 Release Date: | |
707 17 November 2022 | |
708 </para> | |
709 | |
710 <para> | |
711 nginx modules: | |
712 <list type="bullet"> | |
713 | |
714 <listitem> | |
715 <para> | |
716 Bugfix: | |
717 fixed | |
718 <link doc="reference.xml" id="ngx_fetch"><literal>Fetch</literal></link> | |
719 Response prototype reinitialization. | |
720 When at least one <literal>js_import</literal> directive was declared in both | |
721 <link doc="../http/ngx_http_js_module.xml" id="js_import">HTTP</link> | |
722 and | |
723 <link doc="../stream/ngx_stream_js_module.xml" id="js_import">Stream</link>, | |
724 <link doc="reference.xml" id="ngx_fetch"><literal>ngx.fetch()</literal></link> | |
725 returned inapproriate response in Stream. | |
726 The bug was introduced in <link id="njs0.7.7">0.7.7</link>. | |
727 </para> | |
728 </listitem> | |
729 | |
730 </list> | |
731 </para> | |
732 | |
733 <para> | |
734 Core: | |
735 <list type="bullet"> | |
736 | |
737 <listitem> | |
738 <para> | |
739 Bugfix: | |
740 fixed <literal>String.prototype.replace(re)</literal> | |
741 if <literal>re.exec()</literal> returns non-flat array. | |
742 </para> | |
743 </listitem> | |
744 | |
745 <listitem> | |
746 <para> | |
747 Bugfix: | |
748 fixed <literal>Array.prototype.fill()</literal> | |
749 when <literal>start</literal> object changes <literal>this</literal>. | |
750 </para> | |
751 </listitem> | |
752 | |
753 <listitem> | |
754 <para> | |
755 Bugfix: | |
756 fixed description for | |
757 <link doc="reference.xml" id="fs_mkdirsync"><literal>fs.mkdir()</literal></link> | |
758 and | |
759 <link doc="reference.xml" id="fs_rmdirsync"><literal>fs.rmdir()</literal></link> | |
760 methods. | |
761 </para> | |
762 </listitem> | |
763 | |
764 <listitem> | |
765 <para> | |
766 Bugfix: | |
767 fixed <literal>%TypedArray%.prototype.set(s)</literal> | |
768 when <literal>s</literal> element changes <literal>this</literal>. | |
769 </para> | |
770 </listitem> | |
771 | |
772 <listitem> | |
773 <para> | |
774 Bugfix: | |
775 fixed <literal>Array.prototype.splice(s,d)</literal> | |
776 when <literal>d</literal> resizes <literal>this</literal> during eval. | |
777 </para> | |
778 </listitem> | |
779 | |
780 <listitem> | |
781 <para> | |
782 Bugfix: | |
783 fixed <literal>for-in</literal> loop with left and right hand side expressions. | |
784 </para> | |
785 </listitem> | |
786 | |
787 </list> | |
788 </para> | |
789 | |
790 </section> | |
791 | |
792 | |
2905 | 793 <section id="njs0.7.8" name="Changes with njs 0.7.8"> |
794 | |
795 <para> | |
796 Release Date: | |
797 25 October 2022 | |
798 </para> | |
799 | |
800 <para> | |
801 nginx modules: | |
802 <list type="bullet"> | |
803 | |
804 <listitem> | |
805 <para> | |
806 Feature: | |
807 added | |
808 <link doc="../http/ngx_http_js_module.xml" id="js_preload_object"/> directive. | |
809 </para> | |
810 </listitem> | |
811 | |
812 <listitem> | |
813 <para> | |
814 Feature: | |
2910
5f1d472f6a97
Documented ngx.conf_prefix property in njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2909
diff
changeset
|
815 added |
5f1d472f6a97
Documented ngx.conf_prefix property in njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2909
diff
changeset
|
816 <link doc="reference.xml" id="ngx_conf_prefix"><literal>ngx.conf_prefix</literal></link><literal></literal> |
5f1d472f6a97
Documented ngx.conf_prefix property in njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2909
diff
changeset
|
817 property. |
2905 | 818 </para> |
819 </listitem> | |
820 | |
821 <listitem> | |
822 <para> | |
823 Feature: | |
824 added | |
825 <link doc="reference.xml" id="s_send_upstream"><literal>s.sendUpstream()</literal></link> | |
826 and | |
827 <link doc="reference.xml" id="s_send_downstream"><literal>s.sendDownstream()</literal></link> | |
828 in | |
829 <link doc="../stream/ngx_stream_js_module.xml">stream</link> module. | |
830 </para> | |
831 </listitem> | |
832 | |
833 <listitem> | |
834 <para> | |
835 Feature: | |
836 added support for <literal>HEAD</literal> method in | |
837 <link doc="reference.xml" id="ngx_fetch">Fetch API</link>. | |
838 </para> | |
839 </listitem> | |
840 | |
841 <listitem> | |
842 <para> | |
843 Improvement: | |
844 improved <literal>async</literal> callback support for | |
845 <link doc="reference.xml" id="s_send"><literal>s.send()</literal></link> | |
846 in | |
847 <link doc="../stream/ngx_stream_js_module.xml">stream</link> module. | |
848 </para> | |
849 </listitem> | |
850 | |
851 </list> | |
852 </para> | |
853 | |
854 <para> | |
855 Core: | |
856 <list type="bullet"> | |
857 | |
858 <listitem> | |
859 <para> | |
860 Feature: | |
861 added <literal>name</literal> instance property for a function object. | |
862 </para> | |
863 </listitem> | |
864 | |
865 <listitem> | |
866 <para> | |
867 Feature: | |
868 added | |
869 <link doc="reference.xml" id="njs_memory_stats"><literal>njs.memoryStats</literal></link> | |
870 object. | |
871 </para> | |
872 </listitem> | |
873 | |
874 <listitem> | |
875 <para> | |
876 Bugfix: | |
877 fixed | |
878 <literal>String.prototype.trimEnd()</literal> | |
879 with unicode string. | |
880 </para> | |
881 </listitem> | |
882 | |
883 <listitem> | |
884 <para> | |
885 Bugfix: | |
886 fixed <literal>Object.freeze()</literal> with fast arrays. | |
887 </para> | |
888 </listitem> | |
889 | |
890 <listitem> | |
891 <para> | |
892 Bugfix: | |
893 fixed <literal>Object.defineProperty()</literal> with fast arrays. | |
894 </para> | |
895 </listitem> | |
896 | |
897 <listitem> | |
898 <para> | |
899 Bugfix: | |
900 fixed <literal>async</literal> token as a property name of an object. | |
901 </para> | |
902 </listitem> | |
903 | |
904 <listitem> | |
905 <para> | |
906 Bugfix: | |
907 fixed property set instruction when key modifies base binding. | |
908 </para> | |
909 </listitem> | |
910 | |
911 <listitem> | |
912 <para> | |
913 Bugfix: | |
914 fixed complex assignments. | |
915 </para> | |
916 </listitem> | |
917 | |
918 <listitem> | |
919 <para> | |
920 Bugfix: | |
921 fixed handling of unhandled promise rejection. | |
922 </para> | |
923 </listitem> | |
924 | |
925 <listitem> | |
926 <para> | |
927 Bugfix: | |
928 fixed process.env | |
929 when duplicate environ variables are present. | |
930 </para> | |
931 </listitem> | |
932 | |
933 <listitem> | |
934 <para> | |
935 Bugfix: | |
936 fixed double declaration detection in modules. | |
937 </para> | |
938 </listitem> | |
939 | |
940 <listitem> | |
941 <para> | |
942 Bugfix: | |
943 fixed bound function calls according to the spec. | |
944 </para> | |
945 </listitem> | |
946 | |
947 <listitem> | |
948 <para> | |
949 Bugfix: | |
950 fixed break label for <literal>if</literal> statement. | |
951 </para> | |
952 </listitem> | |
953 | |
954 <listitem> | |
955 <para> | |
956 Bugfix: | |
957 fixed labeled empty statements. | |
958 </para> | |
959 </listitem> | |
960 | |
961 </list> | |
962 </para> | |
963 | |
964 </section> | |
965 | |
966 | |
2889 | 967 <section id="njs0.7.7" name="Changes with njs 0.7.7"> |
968 | |
969 <para> | |
970 Release Date: | |
971 30 August 2022 | |
972 </para> | |
973 | |
974 <para> | |
975 nginx modules: | |
976 <list type="bullet"> | |
977 | |
978 <listitem> | |
979 <para> | |
980 Feature: | |
981 the number of nginx configuration contexts where | |
982 js directives can be specified is extended. | |
983 | |
984 <list type="bullet"> | |
985 | |
986 <listitem id="contexts"> | |
987 <para> | |
988 HTTP: | |
989 the <link doc="../http/ngx_http_js_module.xml" id="js_import"/>, | |
990 <link doc="../http/ngx_http_js_module.xml" id="js_path"/>, | |
991 <link doc="../http/ngx_http_js_module.xml" id="js_set"/>, and | |
992 <link doc="../http/ngx_http_js_module.xml" id="js_var"/> directives | |
993 are allowed in | |
994 <literal>server</literal> and <literal>location</literal> contexts. | |
995 The <link doc="../http/ngx_http_js_module.xml" id="js_content"/>, | |
996 <link doc="../http/ngx_http_js_module.xml" id="js_body_filter"/> and | |
997 <link doc="../http/ngx_http_js_module.xml" id="js_header_filter"/> | |
998 are allowed in | |
999 <link doc="../http/ngx_http_rewrite_module.xml" id="if"/> context. | |
1000 </para> | |
1001 </listitem> | |
1002 | |
1003 <listitem> | |
1004 <para> | |
1005 Stream: | |
1006 the <link doc="../http/ngx_http_js_module.xml" id="js_import"/>, | |
1007 <link doc="../http/ngx_http_js_module.xml" id="js_path"/>, | |
1008 <link doc="../http/ngx_http_js_module.xml" id="js_set"/>, and | |
1009 <link doc="../http/ngx_http_js_module.xml" id="js_var"/> | |
1010 are allowed in | |
1011 <literal>server</literal> context. | |
1012 </para> | |
1013 </listitem> | |
1014 | |
1015 </list> | |
1016 | |
1017 </para> | |
1018 </listitem> | |
1019 | |
1020 <listitem> | |
1021 <para> | |
1022 Feature: | |
1023 added | |
1024 <link doc="reference.xml" id="r_internal"><literal>r.internal</literal></link> | |
1025 property. | |
1026 </para> | |
1027 </listitem> | |
1028 | |
1029 <listitem> | |
1030 <para> | |
1031 Bugfix: | |
1032 fixed reading response body in | |
1033 <link doc="reference.xml" id="ngx_fetch">Fetch API</link>. | |
1034 </para> | |
1035 </listitem> | |
1036 | |
1037 <listitem> | |
1038 <para> | |
1039 Bugfix: | |
1040 fixed | |
1041 <link doc="../stream/ngx_stream_js_module.xml" id="js_fetch_timeout"/> | |
1042 in <link doc="../stream/ngx_stream_js_module.xml">stream</link>. | |
1043 </para> | |
1044 </listitem> | |
1045 | |
1046 <listitem> | |
1047 <para> | |
1048 Bugfix: | |
1049 fixed socket leak with <literal>0</literal> fetch timeout. | |
1050 </para> | |
1051 </listitem> | |
1052 | |
1053 </list> | |
1054 </para> | |
1055 | |
1056 <para> | |
1057 Core: | |
1058 <list type="bullet"> | |
1059 | |
1060 <listitem> | |
1061 <para> | |
1062 Feature: | |
1063 extended | |
1064 <link doc="reference.xml" id="njs_api_fs"><literal>fs</literal></link> module. | |
1065 Added | |
1066 <link doc="reference.xml" id="fs_opensync"><literal>fs.openSync()</literal></link>, | |
1067 <link doc="reference.xml" id="fs_promises_open"><literal>fs.promises.open()</literal></link>, | |
1068 <link doc="reference.xml" id="fs_fstatsync"><literal>fs.fstatSync()</literal></link>, | |
1069 <link doc="reference.xml" id="fs_readsync"><literal>fs.readSync()</literal></link>, | |
1070 <link doc="reference.xml" id="fs_writesync_buf"><literal>fs.writeSync()</literal></link>. | |
1071 </para> | |
1072 | |
1073 <para> | |
1074 The following properties of | |
1075 <link doc="reference.xml" id="fs_filehandle"><literal>FileHandle</literal></link> | |
1076 are implemented: | |
1077 <literal>fd</literal>, | |
1078 <literal>read()</literal>, | |
1079 <literal>stat()</literal>, | |
1080 <literal>write()</literal>, | |
1081 <literal>close()</literal>. | |
1082 </para> | |
1083 </listitem> | |
1084 | |
1085 <listitem> | |
1086 <para> | |
1087 Bugfix: | |
1088 fixed <literal>parseInt()</literal>, | |
1089 <literal>parseFloat()</literal>, | |
1090 <literal>Symbol.for()</literal> | |
1091 with no arguments. | |
1092 </para> | |
1093 </listitem> | |
1094 | |
1095 </list> | |
1096 </para> | |
1097 | |
1098 </section> | |
1099 | |
1100 | |
2874 | 1101 <section id="njs0.7.6" name="Changes with njs 0.7.6"> |
1102 | |
1103 <para> | |
1104 Release Date: | |
1105 19 July 2022 | |
1106 </para> | |
1107 | |
1108 <para> | |
1109 nginx modules: | |
1110 <list type="bullet"> | |
1111 | |
1112 <listitem> | |
1113 <para> | |
1114 Feature: | |
1115 improved | |
1116 <link doc="reference.xml" id="r_args"><literal>r.args{}</literal></link> object. | |
1117 Added support for multiple arguments with the same key. | |
1118 Added case sensitivity for keys. | |
1119 Keys and values are percent-decoded now. | |
1120 </para> | |
1121 </listitem> | |
1122 | |
1123 <listitem> | |
1124 <para> | |
1125 Bugfix: | |
1126 fixed | |
1127 <link doc="reference.xml" id="r_headers_out"><literal>r.headersOut{}</literal></link> | |
1128 setter for special headers. | |
1129 </para> | |
1130 </listitem> | |
1131 | |
1132 </list> | |
1133 </para> | |
1134 | |
1135 <para> | |
1136 Core: | |
1137 <list type="bullet"> | |
1138 | |
1139 <listitem> | |
1140 <para> | |
1141 Feature: | |
1142 added <literal>Symbol.for()</literal> and <literal>Symbol.keyfor()</literal>. | |
1143 </para> | |
1144 </listitem> | |
1145 | |
1146 <listitem> | |
1147 <para> | |
1148 Feature: | |
1149 added | |
1150 <link doc="reference.xml" id="atob"><literal>atob()</literal></link> | |
1151 and | |
1152 <link doc="reference.xml" id="btoa"><literal>btoa()</literal></link> | |
1153 from | |
1154 <link url="https://html.spec.whatwg.org">WHATWG</link> spec. | |
1155 </para> | |
1156 </listitem> | |
1157 | |
1158 <listitem> | |
1159 <para> | |
1160 Bugfix: | |
1161 fixed large non-decimal literals. | |
1162 </para> | |
1163 </listitem> | |
1164 | |
1165 <listitem> | |
1166 <para> | |
1167 Bugfix: | |
1168 fixed Unicode argument trimming in <literal>parseInt()</literal>. | |
1169 </para> | |
1170 </listitem> | |
1171 | |
1172 <listitem> | |
1173 <para> | |
1174 Bugfix: | |
1175 fixed <literal>break</literal> instruction | |
1176 in <literal>try-catch</literal> block. | |
1177 </para> | |
1178 </listitem> | |
1179 | |
1180 <listitem> | |
1181 <para> | |
1182 Bugfix: | |
1183 fixed <literal>async</literal> function declaration in CLI. | |
1184 </para> | |
1185 </listitem> | |
1186 | |
1187 </list> | |
1188 </para> | |
1189 | |
1190 </section> | |
1191 | |
1192 | |
2863 | 1193 <section id="njs0.7.5" name="Changes with njs 0.7.5"> |
1194 | |
1195 <para> | |
1196 Release Date: | |
1197 21 June 2022 | |
1198 </para> | |
1199 | |
1200 <para> | |
1201 nginx modules: | |
1202 <list type="bullet"> | |
1203 | |
1204 <listitem> | |
1205 <para> | |
1206 Change: | |
1207 adapting to changes in nginx header structures. | |
1208 </para> | |
1209 </listitem> | |
1210 | |
1211 <listitem> | |
1212 <para> | |
1213 Bugfix: | |
1214 fixed | |
1215 <link doc="reference.xml" id="r_headers_out"><literal>r.headersOut{}</literal></link> | |
1216 special getters when value is absent. | |
1217 </para> | |
1218 </listitem> | |
1219 | |
1220 <listitem> | |
1221 <para> | |
1222 Change: | |
1223 returning undefined value instead of an empty string for | |
1224 <literal>Content-Type</literal> when the header is absent. | |
1225 </para> | |
1226 </listitem> | |
1227 | |
1228 </list> | |
1229 </para> | |
1230 | |
1231 <para> | |
1232 Core: | |
1233 <list type="bullet"> | |
1234 | |
1235 <listitem> | |
1236 <para> | |
1237 Bugfix: | |
1238 fixed catching of the exception thrown from an awaited function. | |
1239 </para> | |
1240 </listitem> | |
1241 | |
1242 <listitem> | |
1243 <para> | |
1244 Bugfix: | |
1245 fixed function value initialization. | |
1246 </para> | |
1247 </listitem> | |
1248 | |
1249 <listitem> | |
1250 <para> | |
1251 Bugfix: | |
1252 fixed interpreter when await fails. | |
1253 </para> | |
1254 </listitem> | |
1255 | |
1256 <listitem> | |
1257 <para> | |
1258 Bugfix: | |
1259 fixed typed-array constructor when source array is changed while iterating. | |
1260 </para> | |
1261 </listitem> | |
1262 | |
1263 <listitem> | |
1264 <para> | |
1265 Bugfix:fixed | |
1266 <literal>String.prototype.replace()</literal> | |
1267 with byte strings. | |
1268 </para> | |
1269 </listitem> | |
1270 | |
1271 <listitem> | |
1272 <para> | |
1273 Bugfix: | |
1274 fixed template literal from producing byte-strings. | |
1275 </para> | |
1276 </listitem> | |
1277 | |
1278 <listitem> | |
1279 <para> | |
1280 Bugfix: | |
1281 fixed array iterator with sparse arrays. | |
1282 </para> | |
1283 </listitem> | |
1284 | |
1285 <listitem> | |
1286 <para> | |
1287 Bugfix: | |
1288 fixed memory free while converting a flat array to a slow array. | |
1289 </para> | |
1290 </listitem> | |
1291 | |
1292 <listitem> | |
1293 <para> | |
1294 Bugfix: | |
2867
f6f8ade13fcb
Removed trailing whitespace.
Maxim Dounin <mdounin@mdounin.ru>
parents:
2863
diff
changeset
|
1295 properly handling <literal>NJS_DECLINE</literal> in |
2863 | 1296 <literal>promise</literal> native functions. |
1297 </para> | |
1298 </listitem> | |
1299 | |
1300 <listitem> | |
1301 <para> | |
1302 Bugfix: | |
1303 fixed working with an array-like object in | |
1304 <literal>Promise.all()</literal> | |
1305 and friends. | |
1306 </para> | |
1307 </listitem> | |
1308 | |
1309 </list> | |
1310 </para> | |
1311 | |
1312 </section> | |
1313 | |
1314 | |
2855 | 1315 <section id="njs0.7.4" name="Changes with njs 0.7.4"> |
1316 | |
1317 <para> | |
1318 Release Date: | |
1319 24 May 2022 | |
1320 </para> | |
1321 | |
1322 <para> | |
1323 nginx modules: | |
1324 <list type="bullet"> | |
1325 | |
1326 <listitem> | |
1327 <para> | |
1328 Feature: | |
1329 added extended directives for configuring | |
1330 <link doc="reference.xml" id="ngx_fetch">Fetch API</link>. | |
1331 The following directives were added for | |
1332 <link doc="../http/ngx_http_js_module.xml">http</link> and | |
1333 <link doc="../stream/ngx_stream_js_module.xml">stream</link>: | |
1334 <list type="bullet"> | |
1335 | |
1336 <listitem> | |
1337 <para> | |
1338 <link doc="../http/ngx_http_js_module.xml" id="js_fetch_timeout"/>, | |
1339 </para> | |
1340 </listitem> | |
1341 | |
1342 <listitem> | |
1343 <para> | |
1344 <link doc="../http/ngx_http_js_module.xml" id="js_fetch_verify"/>, | |
1345 </para> | |
1346 </listitem> | |
1347 | |
1348 <listitem> | |
1349 <para> | |
1350 <link doc="../http/ngx_http_js_module.xml" id="js_fetch_buffer_size"/>, | |
1351 </para> | |
1352 </listitem> | |
1353 | |
1354 <listitem> | |
1355 <para> | |
1356 <link doc="../http/ngx_http_js_module.xml" id="js_fetch_max_response_buffer_size"/>. | |
1357 </para> | |
1358 </listitem> | |
1359 | |
1360 </list> | |
1361 | |
1362 </para> | |
1363 </listitem> | |
1364 | |
1365 <listitem> | |
1366 <para> | |
1367 Change: | |
1368 <link doc="reference.xml" id="r_internal_redirect"><literal>r.internalRedirect()</literal></link> now accepts escaped URIs. | |
1369 </para> | |
1370 </listitem> | |
1371 | |
1372 <listitem> | |
1373 <para> | |
1374 Bugfix: | |
1375 fixed | |
1376 <link doc="reference.xml" id="response">Response</link> parsing | |
1377 with more than 8 headers in | |
1378 <link doc="reference.xml" id="ngx_fetch">Fetch API</link>. | |
1379 </para> | |
1380 </listitem> | |
1381 | |
1382 </list> | |
1383 </para> | |
1384 | |
1385 <para> | |
1386 Core: | |
1387 <list type="bullet"> | |
1388 | |
1389 <listitem> | |
1390 <para> | |
1391 Feature: | |
1392 added | |
1393 <link doc="reference.xml" id="njs_version_number"><literal>njs.version_number</literal></link> property. | |
1394 </para> | |
1395 </listitem> | |
1396 | |
1397 <listitem> | |
1398 <para> | |
1399 Feature: | |
1400 added compatibility with BoringSSL for | |
1401 <link doc="reference.xml" id="builtin_crypto">WebCrypto API</link>. | |
1402 </para> | |
1403 </listitem> | |
1404 | |
1405 <listitem> | |
1406 <para> | |
1407 Bugfix: | |
1408 fixed | |
1409 <literal>Array.prototype.sort()</literal> | |
1410 when arr size is changed in a comparator. | |
1411 </para> | |
1412 </listitem> | |
1413 | |
1414 <listitem> | |
1415 <para> | |
1416 Bugfix: | |
1417 fixed | |
1418 <literal>Array.prototype.slice()</literal> | |
1419 with slow <literal>this</literal> argument. | |
1420 </para> | |
1421 </listitem> | |
1422 | |
1423 <listitem> | |
1424 <para> | |
1425 Bugfix: | |
1426 fixed aggregation methods of <literal>Promise</literal> ctor | |
1427 with array-like object. | |
1428 </para> | |
1429 </listitem> | |
1430 | |
1431 <listitem> | |
1432 <para> | |
1433 Bugfix: | |
1434 fixed <literal>String.prototype.lastIndexOf()</literal> | |
2874 | 1435 with Unicode string as <literal>this</literal>. |
2855 | 1436 </para> |
1437 </listitem> | |
1438 | |
1439 <listitem> | |
1440 <para> | |
1441 Bugfix: | |
1442 fixed | |
1443 <literal>JSON.parse()</literal> | |
1444 when <literal>reviver</literal> function is provided. | |
1445 </para> | |
1446 </listitem> | |
1447 | |
1448 <listitem> | |
1449 <para> | |
1450 Bugfix: | |
1451 fixed | |
1452 <literal>Object.defineProperty()</literal> | |
1453 when a recursive descriptor is provided. | |
1454 </para> | |
1455 </listitem> | |
1456 | |
1457 <listitem> | |
1458 <para> | |
1459 Bugfix: | |
1460 fixed <literal>Array.prototype.fill()</literal> for typed-arrays. | |
1461 </para> | |
1462 </listitem> | |
1463 | |
1464 <listitem> | |
1465 <para> | |
1466 Bugfix: | |
1467 making function expression binding immutable according to the specs. | |
1468 </para> | |
1469 </listitem> | |
1470 | |
1471 <listitem> | |
1472 <para> | |
1473 Bugfix: | |
1474 fixed redefinition of special props in | |
1475 <literal>Object.defineProperty()</literal>. | |
1476 </para> | |
1477 </listitem> | |
1478 | |
1479 </list> | |
1480 </para> | |
1481 | |
1482 </section> | |
1483 | |
1484 | |
1485 | |
2839 | 1486 <section id="njs0.7.3" name="Changes with njs 0.7.3"> |
1487 | |
1488 <para> | |
1489 Release Date: | |
1490 12 April 2022 | |
1491 </para> | |
1492 | |
1493 <para> | |
1494 Core: | |
1495 <list type="bullet"> | |
1496 | |
1497 <listitem> | |
1498 <para> | |
1499 Feature: | |
1500 added support of module resolution callback. | |
1501 This feature allows the host environment to control | |
1502 how imported modules are loaded. | |
1503 </para> | |
1504 </listitem> | |
1505 | |
1506 <listitem> | |
1507 <para> | |
1508 Bugfix: | |
1509 fixed backtraces while traversing imported user modules. | |
1510 </para> | |
1511 </listitem> | |
1512 | |
1513 <listitem> | |
1514 <para> | |
1515 Bugfix: | |
1516 fixed | |
1517 <literal>Array.prototype.concat()</literal> | |
1518 when <literal>this</literal> is a slow array. | |
1519 </para> | |
1520 </listitem> | |
1521 | |
1522 <listitem> | |
1523 <para> | |
1524 Bugfix: | |
1525 fixed frame allocation from an awaited frame. | |
1526 </para> | |
1527 </listitem> | |
1528 | |
1529 <listitem> | |
1530 <para> | |
1531 Bugfix: | |
1532 fixed allocation of large array literals. | |
1533 </para> | |
1534 </listitem> | |
1535 | |
1536 <listitem> | |
1537 <para> | |
1538 Bugfix: | |
1539 fixed interpreter when <literal>toString</literal> conversion fails. | |
1540 </para> | |
1541 </listitem> | |
1542 | |
1543 </list> | |
1544 </para> | |
1545 | |
1546 </section> | |
1547 | |
1548 | |
2830 | 1549 <section id="njs0.7.2" name="Changes with njs 0.7.2"> |
1550 | |
1551 <para> | |
1552 Release Date: | |
1553 25 January 2022 | |
1554 </para> | |
1555 | |
1556 <para> | |
1557 Core: | |
1558 <list type="bullet"> | |
1559 | |
1560 <listitem> | |
1561 <para> | |
1562 Bugfix: | |
1563 fixed | |
1564 <literal>Array.prototype.join()</literal> | |
1565 when array is changed while iterating. | |
1566 </para> | |
1567 </listitem> | |
1568 | |
1569 <listitem> | |
1570 <para> | |
1571 Bugfix: | |
1572 fixed | |
1573 <literal>Array.prototype.slice()</literal> | |
1574 when array is changed while iterating. | |
1575 </para> | |
1576 </listitem> | |
1577 | |
1578 <listitem> | |
1579 <para> | |
1580 Bugfix: | |
1581 fixed | |
1582 <literal>Array.prototype.concat()</literal> | |
1583 when array is changed while iterating. | |
1584 </para> | |
1585 </listitem> | |
1586 | |
1587 <listitem> | |
1588 <para> | |
1589 Bugfix: | |
1590 fixed | |
1591 <literal>Array.prototype.reverse()</literal> | |
1592 when array is changed while iterating. | |
1593 </para> | |
1594 </listitem> | |
1595 | |
1596 <listitem> | |
1597 <para> | |
1598 Bugfix: | |
1599 fixed | |
1600 <literal>Buffer.concat()</literal> | |
1601 with subarrays. | |
1602 Thanks to Sylvain Etienne. | |
1603 </para> | |
1604 </listitem> | |
1605 | |
1606 <listitem> | |
1607 <para> | |
1608 Bugfix: | |
1609 fixed | |
1610 type confusion bug while resolving promises. | |
1611 </para> | |
1612 </listitem> | |
1613 | |
1614 <listitem> | |
1615 <para> | |
1616 Bugfix: | |
1617 fixed | |
1618 <literal>Function.prototype.apply()</literal> | |
1619 with large array arguments. | |
1620 </para> | |
1621 </listitem> | |
1622 | |
1623 <listitem> | |
1624 <para> | |
1625 Bugfix: | |
1626 fixed recursive <literal>async</literal> function calls. | |
1627 </para> | |
1628 </listitem> | |
1629 | |
1630 <listitem> | |
1631 <para> | |
1632 Bugfix: | |
1633 fixed function redeclaration. | |
1634 The bug was introduced in | |
1635 <link id="njs0.7.0">0.7.0</link>. | |
1636 </para> | |
1637 </listitem> | |
1638 | |
1639 </list> | |
1640 </para> | |
1641 | |
1642 </section> | |
1643 | |
1644 | |
2817 | 1645 <section id="njs0.7.1" name="Changes with njs 0.7.1"> |
1646 | |
1647 <para> | |
1648 Release Date: | |
1649 28 December 2021 | |
1650 </para> | |
1651 | |
1652 <para> | |
1653 nginx modules: | |
1654 <list type="bullet"> | |
1655 | |
1656 <listitem> | |
1657 <para> | |
1658 Change: | |
1659 the <link doc="../http/ngx_http_js_module.xml" id="js_include"/> directive | |
1660 deprecated since <link id="njs0.4.0">0.4.0</link> was removed. | |
1661 </para> | |
1662 </listitem> | |
1663 | |
1664 <listitem> | |
1665 <para> | |
1666 Change: | |
1667 PCRE/PCRE2-specific code was moved to the modules. | |
1668 This ensures that njs uses the same RegExp library as nginx. | |
1669 </para> | |
1670 </listitem> | |
1671 | |
1672 </list> | |
1673 </para> | |
1674 | |
1675 <para> | |
1676 Core: | |
1677 <list type="bullet"> | |
1678 | |
1679 <listitem> | |
1680 <para> | |
1681 Bugfix: | |
1682 fixed | |
1683 <literal>decodeURI()</literal> and | |
1684 <literal>decodeURIComponent()</literal> | |
1685 with invalid byte strings. | |
1686 The bug was introduced in | |
1687 <link id="njs0.4.3">0.4.3</link>. | |
1688 </para> | |
1689 </listitem> | |
1690 | |
1691 <listitem> | |
1692 <para> | |
1693 Bugfix: | |
1694 fixed heap-use-after-free in <literal>await</literal> frame. | |
1695 The bug was introduced in | |
1696 <link id="njs0.7.0">0.7.0</link>. | |
1697 </para> | |
1698 </listitem> | |
1699 | |
1700 <listitem> | |
1701 <para> | |
1702 Bugfix: | |
1703 fixed WebCrypto <literal>sign()</literal> and | |
1704 <literal>verify()</literal> methods with OpenSSL 3.0. | |
1705 </para> | |
1706 </listitem> | |
1707 | |
1708 <listitem> | |
1709 <para> | |
1710 Bugfix: | |
1711 fixed exception throwing when RegExp match fails. | |
1712 The bug was introduced in | |
1713 <link id="njs0.1.15">0.1.15</link>. | |
1714 </para> | |
1715 </listitem> | |
1716 | |
1717 <listitem> | |
1718 <para> | |
1719 Bugfix: | |
1720 fixed catching of exception thrown in <literal>try</literal> block | |
1721 of <literal>async</literal> function. | |
1722 The bug was introduced in | |
1723 <link id="njs0.7.0">0.7.0</link>. | |
1724 </para> | |
1725 </listitem> | |
1726 | |
1727 <listitem> | |
1728 <para> | |
1729 Bugfix: | |
1730 fixed execution of <literal>async</literal> function in synchronous context. | |
1731 The bug was introduced in | |
1732 <link id="njs0.7.0">0.7.0</link>. | |
1733 </para> | |
1734 </listitem> | |
1735 | |
1736 <listitem> | |
1737 <para> | |
1738 Bugfix: | |
1739 fixed function redeclaration in CLI when interactive mode is on. | |
1740 The bug was introduced in | |
1741 <link id="njs0.6.2">0.6.2</link>. | |
1742 </para> | |
1743 </listitem> | |
1744 | |
1745 <listitem> | |
1746 <para> | |
1747 Bugfix: | |
1748 fixed <literal>typeof</literal> operator with | |
1749 <literal>DataView</literal> object. | |
1750 </para> | |
1751 </listitem> | |
1752 | |
1753 <listitem> | |
1754 <para> | |
1755 Bugfix: eliminated information leak in <literal>Buffer.from()</literal>. | |
1756 </para> | |
1757 </listitem> | |
1758 | |
1759 </list> | |
1760 | |
1761 </para> | |
1762 | |
1763 </section> | |
1764 | |
1765 | |
2785 | 1766 <section id="njs0.7.0" name="Changes with njs 0.7.0"> |
1767 | |
1768 <para> | |
1769 Release Date: | |
1770 19 October 2021 | |
1771 </para> | |
1772 | |
1773 <para> | |
1774 nginx modules: | |
1775 <list type="bullet"> | |
1776 | |
1777 <listitem> | |
1778 <para> | |
1779 Feature: | |
1780 Added | |
1781 <link doc="../http/ngx_http_js_module.xml" id="js_fetch_protocols">HTTPS</link> | |
1782 support for | |
1783 <link doc="reference.xml" id="ngx_fetch">Fetch API</link>. | |
1784 </para> | |
1785 </listitem> | |
1786 | |
1787 <listitem> | |
1788 <para> | |
1789 Feature: | |
1790 Added | |
1791 <literal>setReturnValue()</literal> method for | |
1792 <link doc="reference.xml" id="r_set_return_value">http</link> and | |
1793 <link doc="reference.xml" id="s_set_return_value">stream</link>. | |
1794 </para> | |
1795 </listitem> | |
1796 | |
1797 </list> | |
1798 </para> | |
1799 | |
1800 <para> | |
1801 Core: | |
1802 <list type="bullet"> | |
1803 | |
1804 <listitem> | |
1805 <para> | |
1806 Feature: | |
1807 introduced <literal>Async/Await</literal> implementation. | |
1808 </para> | |
1809 </listitem> | |
1810 | |
1811 <listitem> | |
1812 <para> | |
1813 Feature: | |
1814 added | |
1815 <link doc="reference.xml" id="builtin_crypto">WebCrypto API</link> | |
1816 implementation. | |
1817 </para> | |
1818 </listitem> | |
1819 | |
1820 <listitem> | |
1821 <para> | |
1822 Bugfix: | |
1823 fixed copying of closures for declared functions. | |
1824 The bug was introduced in | |
1825 <link id="njs0.6.0">0.6.0</link>. | |
1826 </para> | |
1827 </listitem> | |
1828 | |
1829 <listitem> | |
1830 <para> | |
1831 Bugfix: | |
1832 fixed unhandled <literal>promise</literal> rejection in handle events. | |
1833 </para> | |
1834 </listitem> | |
1835 | |
1836 <listitem> | |
1837 <para> | |
1838 Bugfix: | |
1839 fixed Response.headers getter in Fetch API. | |
1840 </para> | |
1841 </listitem> | |
1842 | |
1843 </list> | |
1844 | |
1845 </para> | |
1846 | |
1847 </section> | |
1848 | |
1849 | |
2762 | 1850 <section id="njs0.6.2" name="Changes with njs 0.6.2"> |
1851 | |
1852 <para> | |
1853 Release Date: | |
1854 31 August 2021 | |
1855 </para> | |
1856 | |
1857 <para> | |
1858 nginx modules: | |
1859 <list type="bullet"> | |
1860 | |
1861 <listitem> | |
1862 <para> | |
1863 Bugfix: | |
1864 fixed CPU hog when | |
1865 <literal>js_filter</literal> is registered in both directions. | |
1866 </para> | |
1867 </listitem> | |
1868 | |
1869 </list> | |
1870 </para> | |
1871 | |
1872 <para> | |
1873 Core: | |
1874 <list type="bullet"> | |
1875 | |
1876 <listitem> | |
1877 <para> | |
1878 Feature: | |
1879 introduced <literal>AggregateError</literal> implementation. | |
1880 </para> | |
1881 </listitem> | |
1882 | |
1883 <listitem> | |
1884 <para> | |
1885 Feature: | |
1886 added remaining <literal>Promise</literal> constructor methods. | |
1887 The following methods were added: | |
2863 | 1888 <literal>Promise.all()</literal>, |
1889 <literal>Promise.allSettled()</literal>, | |
1890 <literal>Promise.any()</literal>, | |
1891 <literal>Promise.race()</literal>. | |
2762 | 1892 </para> |
1893 </listitem> | |
1894 | |
1895 <listitem> | |
1896 <para> | |
1897 Improvement: | |
1898 removed recursion from code generator. | |
1899 </para> | |
1900 </listitem> | |
1901 | |
1902 <listitem> | |
1903 <para> | |
1904 Bugfix: | |
1905 fixed rest parameter parsing without binding identifier. | |
1906 </para> | |
1907 </listitem> | |
1908 | |
1909 <listitem> | |
1910 <para> | |
1911 Bugfix: | |
1912 fixed resolve/reject callback for | |
2909 | 1913 <literal>Promise.prototype.finally()</literal> . |
1914 </para> | |
1915 </listitem> | |
1916 | |
1917 <listitem> | |
1918 <para> | |
1919 Bugfix: | |
1920 fixed <literal>%TypedArray%.prototype.join()</literal> | |
2762 | 1921 with detached buffer. |
1922 </para> | |
1923 </listitem> | |
1924 | |
1925 <listitem> | |
1926 <para> | |
1927 Bugfix: | |
1928 fixed memory leak in interactive shell. | |
1929 </para> | |
1930 </listitem> | |
1931 </list> | |
1932 | |
1933 </para> | |
1934 | |
1935 </section> | |
1936 | |
1937 | |
2744 | 1938 <section id="njs0.6.1" name="Changes with njs 0.6.1"> |
1939 | |
1940 <para> | |
1941 Release Date: | |
1942 29 June 2021 | |
1943 </para> | |
1944 | |
1945 <para> | |
1946 <list type="bullet"> | |
1947 | |
1948 <listitem> | |
1949 <para> | |
1950 Bugfix: | |
1951 fixed <literal>RegExpBuiltinExec()</literal> with UTF-8 only regexps. | |
1952 The bug was introduced in <link id="njs0.4.2">0.4.2</link>. | |
1953 </para> | |
1954 </listitem> | |
1955 | |
1956 <listitem> | |
1957 <para> | |
1958 Bugfix: | |
1959 fixed parsing of export default declaration with non-assignment expressions. | |
1960 Thanks to Artem S. Povalyukhin. | |
1961 </para> | |
1962 </listitem> | |
1963 | |
1964 </list> | |
1965 </para> | |
1966 | |
1967 </section> | |
1968 | |
1969 | |
2741 | 1970 <section id="njs0.6.0" name="Changes with njs 0.6.0"> |
1971 | |
1972 <para> | |
1973 Release Date: | |
1974 15 June 2021 | |
1975 </para> | |
1976 | |
1977 <para> | |
1978 Core: | |
1979 <list type="bullet"> | |
1980 | |
1981 <listitem> | |
1982 <para> | |
1983 Feature: | |
1984 added | |
1985 <literal>let</literal> and | |
1986 <literal>const</literal> declaration support. | |
1987 </para> | |
1988 </listitem> | |
1989 | |
1990 <listitem> | |
1991 <para> | |
1992 Feature: | |
1993 added <literal>RegExp.prototype[Symbol.split]</literal>. | |
1994 </para> | |
1995 </listitem> | |
1996 | |
1997 <listitem> | |
1998 <para> | |
1999 Feature: | |
2000 added sticky flag support for RegExp. | |
2001 </para> | |
2002 </listitem> | |
2003 | |
2004 <listitem> | |
2005 <para> | |
2006 Bugfix: | |
2007 fixed heap-buffer-overflow in | |
2008 <literal>String.prototype.lastIndexOf()</literal>. | |
2009 </para> | |
2010 </listitem> | |
2011 | |
2012 <listitem> | |
2013 <para> | |
2014 Bugfix: | |
2015 fixed | |
2016 <literal>RegExp.prototype.test()</literal> | |
2017 according to the specification. | |
2018 </para> | |
2019 </listitem> | |
2020 | |
2021 <listitem> | |
2022 <para> | |
2023 Bugfix: | |
2024 fixed | |
2025 <literal>String.prototype.split()</literal> | |
2026 according to the specification. | |
2027 </para> | |
2028 </listitem> | |
2029 | |
2030 <listitem> | |
2031 <para> | |
2032 Bugfix: | |
2033 fixed use-of-uninitialized-value while tracking rejected promises. | |
2034 </para> | |
2035 </listitem> | |
2036 | |
2037 <listitem> | |
2038 <para> | |
2039 Bugfix: | |
2040 fixed <literal>njs.dump()</literal> for objects with circular references. | |
2041 </para> | |
2042 </listitem> | |
2043 | |
2044 </list> | |
2045 </para> | |
2046 | |
2047 </section> | |
2048 | |
2049 | |
2698 | 2050 <section id="njs0.5.3" name="Changes with njs 0.5.3"> |
2051 | |
2052 <para> | |
2053 Release Date: | |
2054 30 March 2021 | |
2055 </para> | |
2056 | |
2057 <para> | |
2058 nginx modules: | |
2059 <list type="bullet"> | |
2060 | |
2061 <listitem> | |
2062 <para> | |
2063 Feature: | |
2064 added the <literal>js_var</literal> directive for | |
2065 <link doc="../http/ngx_http_js_module.xml" id="js_var">http</link> and | |
2066 <link doc="../stream/ngx_stream_js_module.xml" id="js_var">stream</link>. | |
2067 </para> | |
2068 </listitem> | |
2069 | |
2070 </list> | |
2071 </para> | |
2072 | |
2073 </section> | |
2074 | |
2075 | |
2674 | 2076 <section id="njs0.5.2" name="Changes with njs 0.5.2"> |
2077 | |
2078 <para> | |
2079 Release Date: | |
2080 09 March 2021 | |
2081 </para> | |
2082 | |
2083 <para> | |
2084 nginx modules: | |
2085 <list type="bullet"> | |
2086 | |
2087 <listitem> | |
2088 <para> | |
2089 Feature: | |
2090 added the | |
2091 <link doc="../http/ngx_http_js_module.xml" id="js_body_filter"><literal>js_body_filter</literal></link> | |
2092 directive. | |
2093 </para> | |
2094 </listitem> | |
2095 | |
2096 <listitem> | |
2097 <para> | |
2098 Feature: | |
2099 introduced the | |
2100 <link doc="reference.xml" id="s_status"><literal>s.status</literal></link> | |
2101 property for | |
2102 <link doc="reference.xml" id="stream">Stream Session</link> | |
2103 object. | |
2104 </para> | |
2105 </listitem> | |
2106 | |
2743
ff50063d9837
Added forgotten paragraph section in Changes for njs-0.5.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2741
diff
changeset
|
2107 </list> |
ff50063d9837
Added forgotten paragraph section in Changes for njs-0.5.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2741
diff
changeset
|
2108 </para> |
ff50063d9837
Added forgotten paragraph section in Changes for njs-0.5.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2741
diff
changeset
|
2109 |
ff50063d9837
Added forgotten paragraph section in Changes for njs-0.5.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2741
diff
changeset
|
2110 <para> |
ff50063d9837
Added forgotten paragraph section in Changes for njs-0.5.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2741
diff
changeset
|
2111 Core: |
ff50063d9837
Added forgotten paragraph section in Changes for njs-0.5.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2741
diff
changeset
|
2112 <list type="bullet"> |
ff50063d9837
Added forgotten paragraph section in Changes for njs-0.5.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2741
diff
changeset
|
2113 |
2674 | 2114 <listitem> |
2115 <para> | |
2116 Feature: | |
2117 added | |
2118 <link doc="reference.xml" id="njs_on"><literal>njs.on</literal></link> | |
2119 (<literal>exit</literal>) callback support. | |
2120 </para> | |
2121 </listitem> | |
2122 | |
2123 <listitem> | |
2124 <para> | |
2125 Bugfix: | |
2126 fixed property descriptor reuse for not extensible objects. | |
2127 Thanks to Artem S. Povalyukhin. | |
2128 </para> | |
2129 </listitem> | |
2130 | |
2131 <listitem> | |
2132 <para> | |
2133 Bugfix: | |
2134 fixed <literal>Object.freeze()</literal> and friends | |
2135 according to the specification. | |
2136 Thanks to Artem S. Povalyukhin. | |
2137 </para> | |
2138 </listitem> | |
2139 | |
2140 <listitem> | |
2141 <para> | |
2142 Bugfix: | |
2143 fixed <literal>Function()</literal> in CLI mode. | |
2144 </para> | |
2145 </listitem> | |
2146 | |
2147 <listitem> | |
2148 <para> | |
2149 Bugfix: | |
2909 | 2150 fixed <literal>for-in</literal> iteration of typed array values. |
2674 | 2151 Thanks to Artem S. Povalyukhin. |
2152 </para> | |
2153 </listitem> | |
2154 | |
2155 </list> | |
2156 </para> | |
2157 | |
2158 </section> | |
2159 | |
2160 | |
2656 | 2161 <section id="njs0.5.1" name="Changes with njs 0.5.1"> |
2162 | |
2163 <para> | |
2164 Release Date: | |
2165 16 February 2021 | |
2166 </para> | |
2167 | |
2168 <para> | |
2169 nginx modules: | |
2170 <list type="bullet"> | |
2171 | |
2172 <listitem> | |
2173 <para> | |
2174 Feature: | |
2175 introduced | |
2176 <link doc="reference.xml" id="ngx_fetch"><literal>ngx.fetch()</literal></link> | |
2177 method implementing Fetch API. | |
2178 </para> | |
2179 | |
2180 <para> | |
2181 The following properties and methods of | |
2182 <link doc="reference.xml" id="response"><literal>Response</literal></link> | |
2183 object are implemented: | |
2184 <link doc="reference.xml" id="response_arraybuffer"><literal>arrayBuffer()</literal></link>, | |
2185 <link doc="reference.xml" id="response_bodyused"><literal>bodyUsed</literal></link>, | |
2186 <link doc="reference.xml" id="response_json"><literal>json()</literal></link>, | |
2187 <link doc="reference.xml" id="response_headers"><literal>headers</literal></link>, | |
2188 <link doc="reference.xml" id="response_ok"><literal>ok</literal></link>, | |
2189 <link doc="reference.xml" id="response_redirect"><literal>redirect</literal></link>, | |
2190 <link doc="reference.xml" id="response_status"><literal>status</literal></link>, | |
2191 <link doc="reference.xml" id="response_statustext"><literal>statusText</literal></link>, | |
2192 <link doc="reference.xml" id="response_text"><literal>text()</literal></link>, | |
2193 <link doc="reference.xml" id="response_type"><literal>type</literal></link>, | |
2194 <link doc="reference.xml" id="response_url"><literal>url</literal></link>. | |
2195 </para> | |
2196 | |
2197 <para> | |
2198 Notable limitations: | |
2199 only the <literal>http://</literal> scheme is supported, | |
2200 redirects are not handled. | |
2201 </para> | |
2202 | |
2203 <para> | |
2204 In collaboration with 洪志道 (Hong Zhi Dao). | |
2205 </para> | |
2206 </listitem> | |
2207 | |
2208 <listitem> | |
2209 <para> | |
2210 Feature: | |
2211 added the | |
2212 <link doc="../http/ngx_http_js_module.xml" id="js_header_filter"><literal>js_header_filter</literal></link> | |
2213 directive. | |
2214 </para> | |
2215 </listitem> | |
2216 | |
2217 <listitem> | |
2218 <para> | |
2219 Bugfix: | |
2220 fixed processing buffered data in body filter in | |
2221 <link doc="../stream/ngx_stream_js_module.xml">stream</link> module. | |
2222 </para> | |
2223 </listitem> | |
2224 | |
2225 </list> | |
2226 </para> | |
2227 | |
2228 <para> | |
2229 Core: | |
2230 <list type="bullet"> | |
2231 | |
2232 <listitem> | |
2233 <para> | |
2234 Bugfix: | |
2235 fixed safe mode bypass in <literal>Function</literal> constructor. | |
2236 </para> | |
2237 </listitem> | |
2238 | |
2239 <listitem> | |
2240 <para> | |
2241 Bugfix: | |
2242 fixed <literal>Date.prototype.toISOString()</literal> with invalid date values. | |
2243 </para> | |
2244 </listitem> | |
2245 | |
2246 </list> | |
2247 </para> | |
2248 | |
2249 </section> | |
2250 | |
2251 | |
2628 | 2252 <section id="njs0.5.0" name="Changes with njs 0.5.0"> |
2253 | |
2254 <para> | |
2255 Release Date: | |
2256 01 December 2020 | |
2257 </para> | |
2258 | |
2259 <para> | |
2260 nginx modules: | |
2261 <list type="bullet"> | |
2262 | |
2263 <listitem> | |
2264 <para> | |
2265 Feature: | |
2266 introduced global | |
2267 <link doc="reference.xml" id="ngx"><literal>ngx</literal></link> object. | |
2268 </para> | |
2269 | |
2270 <para> | |
2271 The following methods were added: | |
2272 <list type="bullet"> | |
2273 | |
2274 <listitem> | |
2275 <para> | |
2276 <link doc="reference.xml" id="ngx_log"><literal>ngx.log(level, | |
2277 message)</literal></link> | |
2278 </para> | |
2279 </listitem> | |
2280 | |
2281 </list> | |
2282 </para> | |
2283 | |
2284 <para> | |
2285 The following properties were added: | |
2286 <list type="bullet"> | |
2287 | |
2288 <listitem> | |
2289 <para> | |
2290 <literal>ngx.INFO</literal>, | |
2291 <literal>ngx.WARN</literal>, | |
2292 <literal>ngx.ERR</literal>. | |
2293 </para> | |
2294 </listitem> | |
2295 | |
2296 </list> | |
2297 </para> | |
2298 | |
2299 </listitem> | |
2300 | |
2301 <listitem> | |
2302 <para> | |
2303 Feature: | |
2304 added support for | |
2305 <literal>Buffer</literal> object where string is expected. | |
2306 </para> | |
2307 </listitem> | |
2308 | |
2309 <listitem> | |
2310 <para> | |
2311 Feature: | |
2312 added Buffer version of existing properties. | |
2313 </para> | |
2314 | |
2315 <para> | |
2316 The following properties were added: | |
2317 <list type="bullet"> | |
2318 | |
2319 <listitem> | |
2320 <para> | |
2321 <link doc="reference.xml" id="r_request_buffer"><literal>r.requestBuffer</literal></link> | |
2322 (<link doc="reference.xml" id="r_request_body"><literal>r.requestBody</literal></link>), | |
2323 <link doc="reference.xml" id="r_response_buffer"><literal>r.responseBuffer</literal></link> | |
2324 (<link doc="reference.xml" id="r_response_body"><literal>r.responseBody</literal></link>), | |
2325 <link doc="reference.xml" id="r_raw_variables"><literal>r.rawVariables</literal></link> | |
2326 (<link doc="reference.xml" id="r_variables"><literal>r.variables</literal></link>), | |
2327 <link doc="reference.xml" id="s_raw_variables"><literal>s.rawVariables</literal></link> | |
2328 (<link doc="reference.xml" id="s_variables"><literal>s.variables</literal></link>). | |
2329 </para> | |
2330 </listitem> | |
2331 | |
2332 </list> | |
2333 </para> | |
2334 | |
2335 <para> | |
2336 The following events were added in the stream module: | |
2337 <list type="bullet"> | |
2338 | |
2339 <listitem> | |
2340 <para> | |
2341 <link doc="reference.xml" id="s_on"><literal>upstream</literal></link> | |
2342 (upload), | |
2343 <link doc="reference.xml" id="s_on"><literal>downstream</literal></link> | |
2344 (download). | |
2345 </para> | |
2346 </listitem> | |
2347 | |
2348 </list> | |
2349 </para> | |
2350 | |
2351 </listitem> | |
2352 | |
2353 <listitem> | |
2354 <para> | |
2355 Improvement: | |
2356 added aliases to existing properties. | |
2357 </para> | |
2358 | |
2359 <para> | |
2360 The following properties were added: | |
2361 <list type="bullet"> | |
2362 | |
2363 <listitem> | |
2364 <para> | |
2365 <link doc="reference.xml" id="r_request_text"><literal>r.requestText</literal></link> | |
2366 (<link doc="reference.xml" id="r_request_body"><literal>r.requestBody</literal></link>), | |
2367 <link doc="reference.xml" id="r_response_text"><literal>r.responseText</literal></link> | |
2368 (<link doc="reference.xml" id="r_response_body"><literal>r.responseBody</literal></link>). | |
2369 </para> | |
2370 </listitem> | |
2371 | |
2372 </list> | |
2373 </para> | |
2374 | |
2375 </listitem> | |
2376 | |
2377 <listitem> | |
2378 <para> | |
2379 Improvement: | |
2380 throwing an exception in | |
2381 <link doc="reference.xml" id="r_internal_redirect"><literal>r.internalRedirect()</literal></link> | |
2382 for a subrequest. | |
2383 </para> | |
2384 </listitem> | |
2385 | |
2386 <listitem> | |
2387 <para> | |
2388 Bugfix: | |
2389 fixed promise | |
2390 <link doc="reference.xml" id="r_subrequest"><literal>r.subrequest()</literal></link> | |
2391 with | |
2392 <link doc="../http/ngx_http_core_module.xml" id="error_page"><literal>error_page</literal></link> | |
2393 redirect. | |
2394 </para> | |
2395 </listitem> | |
2396 | |
2397 <listitem> | |
2398 <para> | |
2399 Bugfix: | |
2400 fixed | |
2401 <literal>promise</literal> events handling. | |
2402 </para> | |
2403 </listitem> | |
2404 | |
2405 </list> | |
2406 </para> | |
2407 | |
2408 <para> | |
2409 Core: | |
2410 <list type="bullet"> | |
2411 | |
2412 <listitem> | |
2413 <para> | |
2414 Feature: | |
2415 added | |
2416 <literal>TypeScript</literal> definitions for built-in modules. | |
2417 Thanks to Jakub Jirutka. | |
2418 </para> | |
2419 </listitem> | |
2420 | |
2421 <listitem> | |
2422 <para> | |
2423 Feature: | |
2424 tracking unhandled <literal>promise</literal> rejection. | |
2425 </para> | |
2426 </listitem> | |
2427 | |
2428 <listitem> | |
2429 <para> | |
2430 Feature: | |
2431 added initial iterator support. | |
2432 Thanks to Artem S. Povalyukhin. | |
2433 </para> | |
2434 </listitem> | |
2435 | |
2436 <listitem> | |
2437 <para> | |
2438 Improvement: | |
2439 <literal>TypeScript</literal> definitions are refactored. | |
2440 Thanks to Jakub Jirutka. | |
2441 </para> | |
2442 </listitem> | |
2443 | |
2444 <listitem> | |
2445 <para> | |
2446 Improvement: | |
2447 added forgotten support for | |
2448 <literal>Object.prototype.valueOf()</literal> | |
2449 in | |
2450 <literal>Buffer.from()</literal>. | |
2451 </para> | |
2452 </listitem> | |
2453 | |
2454 <listitem> | |
2455 <para> | |
2456 Bugfix: | |
2457 fixed heap-use-after-free in | |
2458 <literal>JSON.parse()</literal>. | |
2459 </para> | |
2460 </listitem> | |
2461 | |
2462 <listitem> | |
2463 <para> | |
2464 Bugfix: | |
2465 fixed heap-use-after-free in | |
2466 <literal>JSON.stringify()</literal>. | |
2467 </para> | |
2468 </listitem> | |
2469 | |
2470 <listitem> | |
2471 <para> | |
2472 Bugfix: | |
2473 fixed | |
2474 <literal>JSON.stringify()</literal> for arrays resizable via getters. | |
2475 </para> | |
2476 </listitem> | |
2477 | |
2478 <listitem> | |
2479 <para> | |
2480 Bugfix: | |
2481 fixed heap-buffer-overflow for | |
2482 <literal>RegExp.prototype[Symbol.replace]</literal>. | |
2483 </para> | |
2484 </listitem> | |
2485 | |
2486 <listitem> | |
2487 <para> | |
2488 Bugfix: | |
2489 fixed returned value for | |
2490 <literal>Buffer.prototype.write*</literal> | |
2491 functions. | |
2492 </para> | |
2493 </listitem> | |
2494 | |
2495 <listitem> | |
2496 <para> | |
2497 Bugfix: | |
2498 fixed | |
2499 <link doc="reference.xml" id="querystring_stringify"><literal>querystring.stringify()</literal></link>. | |
2500 Thanks to Artem S. Povalyukhin. | |
2501 </para> | |
2502 </listitem> | |
2503 | |
2504 <listitem> | |
2505 <para> | |
2506 Bugfix: | |
2507 fixed the catch handler for | |
2508 <literal>Promise.prototype.finally()</literal>. | |
2509 </para> | |
2510 </listitem> | |
2511 | |
2512 <listitem> | |
2513 <para> | |
2514 Bugfix: | |
2515 fixed | |
2516 <link doc="reference.xml" id="querystring_parse"><literal>querystring.parse()</literal></link>. | |
2517 </para> | |
2518 </listitem> | |
2519 | |
2520 </list> | |
2521 </para> | |
2522 | |
2523 </section> | |
2524 | |
2525 | |
2601 | 2526 <section id="njs0.4.4" name="Changes with njs 0.4.4"> |
2527 | |
2528 <para> | |
2529 Release Date: | |
2530 29 September 2020 | |
2531 </para> | |
2532 | |
2533 <para> | |
2534 nginx modules: | |
2535 <list type="bullet"> | |
2536 | |
2537 <listitem> | |
2538 <para> | |
2539 Bugfix: | |
2540 fixed location merge. | |
2541 </para> | |
2542 </listitem> | |
2543 | |
2544 <listitem> | |
2545 <para> | |
2546 Bugfix: | |
2547 fixed | |
2548 <link doc="reference.xml" id="r_http_version"><literal>r.httpVersion</literal></link> | |
2549 for HTTP/2. | |
2550 </para> | |
2551 </listitem> | |
2552 | |
2553 </list> | |
2554 </para> | |
2555 | |
2556 <para> | |
2557 Core: | |
2558 <list type="bullet"> | |
2559 | |
2560 <listitem> | |
2561 <para> | |
2562 Feature: | |
2563 added support for numeric separators (ES12). | |
2564 </para> | |
2565 </listitem> | |
2566 | |
2567 <listitem> | |
2568 <para> | |
2569 Feature: | |
2570 added remaining methods for | |
2571 <literal>%TypedArray%.prototype</literal>. | |
2572 The following methods were added: | |
2573 <literal>every()</literal>, | |
2574 <literal>filter()</literal>, | |
2575 <literal>find()</literal>, | |
2576 <literal>findIndex()</literal>, | |
2577 <literal>forEach()</literal>, | |
2578 <literal>includes()</literal>, | |
2579 <literal>indexOf()</literal>, | |
2580 <literal>lastIndexOf()</literal>, | |
2581 <literal>map()</literal>, | |
2582 <literal>reduce()</literal>, | |
2583 <literal>reduceRight()</literal>, | |
2584 <literal>reverse()</literal>, | |
2585 <literal>some()</literal>. | |
2586 </para> | |
2587 </listitem> | |
2588 | |
2589 <listitem> | |
2590 <para> | |
2591 Feature: | |
2592 added <literal>%TypedArray%</literal> remaining methods. | |
2593 The following methods were added: | |
2594 <literal>from()</literal>, | |
2595 <literal>of()</literal>. | |
2596 </para> | |
2597 </listitem> | |
2598 | |
2599 <listitem> | |
2600 <para> | |
2601 Feature: | |
2602 added <literal>DataView</literal> object. | |
2603 </para> | |
2604 </listitem> | |
2605 <listitem> | |
2606 <para> | |
2607 Feature: | |
2608 added <literal>Buffer</literal> object implementation. | |
2609 </para> | |
2610 </listitem> | |
2611 | |
2612 <listitem> | |
2613 <para> | |
2614 Feature: | |
2615 added support for <literal>ArrayBuffer</literal> in | |
2616 <link doc="reference.xml" id="textdecoder_decode"><literal>TextDecoder.prototype.decode()</literal></link> | |
2617 </para> | |
2618 </listitem> | |
2619 | |
2620 <listitem> | |
2621 <para> | |
2622 Feature: | |
2623 added support for <literal>Buffer</literal> object in | |
2624 <link doc="reference.xml" id="crypto"><literal>crypto</literal></link> | |
2625 methods. | |
2626 </para> | |
2627 </listitem> | |
2628 | |
2629 <listitem> | |
2630 <para> | |
2631 Feature: | |
2632 added support for <literal>Buffer</literal> object in | |
2633 <link doc="reference.xml" id="njs_api_fs"><literal>fs</literal></link> | |
2634 methods. | |
2635 </para> | |
2636 </listitem> | |
2637 | |
2638 <listitem> | |
2639 <para> | |
2640 Change: | |
2641 <link doc="reference.xml" id="crypto_hash_digest"><literal>Hash.prototype.digest()</literal></link> | |
2642 and | |
2643 <link doc="reference.xml" id="crypto_hmac_digest"><literal>Hmac.prototype.digest()</literal></link> | |
2644 now return a <literal>Buffer</literal> instance instead of a byte string when | |
2645 encoding is not provided. | |
2646 </para> | |
2647 </listitem> | |
2648 | |
2649 <listitem> | |
2650 <para> | |
2651 Change: | |
2652 <link doc="reference.xml" id="readfilesync"><literal>fs.readFile()</literal></link> | |
2653 and friends now return a <literal>Buffer</literal> instance | |
2654 instead of a byte string when encoding is not provided. | |
2655 </para> | |
2656 </listitem> | |
2657 | |
2658 <listitem> | |
2659 <para> | |
2660 Bugfix: | |
2661 fixed function <literal>prototype</literal> property handler while setting. | |
2662 </para> | |
2663 </listitem> | |
2664 | |
2665 <listitem> | |
2666 <para> | |
2667 Bugfix: | |
2668 fixed function <literal>constructor</literal> property handler while setting. | |
2669 </para> | |
2670 </listitem> | |
2671 | |
2672 <listitem> | |
2673 <para> | |
2674 Bugfix: | |
2675 fixed <literal>String.prototype.indexOf()</literal> | |
2676 for byte strings. | |
2677 </para> | |
2678 </listitem> | |
2679 | |
2680 <listitem> | |
2681 <para> | |
2682 Bugfix: | |
2683 fixed <literal>RegExpBuiltinExec()</literal> | |
2684 with a global flag and byte strings. | |
2685 </para> | |
2686 </listitem> | |
2687 | |
2688 <listitem> | |
2689 <para> | |
2690 Bugfix: | |
2691 fixed <literal>RegExp.prototype[Symbol.replace]</literal> | |
2692 the when replacement value is a function. | |
2693 </para> | |
2694 </listitem> | |
2695 | |
2696 <listitem> | |
2697 <para> | |
2698 Bugfix: | |
2699 fixed | |
2700 <link doc="reference.xml" id="textdecoder_decode"><literal>TextDecoder.prototype.decode()</literal></link> | |
2701 with non-zero <literal>TypedArray</literal> offset. | |
2702 </para> | |
2703 </listitem> | |
2704 | |
2705 </list> | |
2706 </para> | |
2707 | |
2708 </section> | |
2709 | |
2710 | |
2584 | 2711 <section id="njs0.4.3" name="Changes with njs 0.4.3"> |
2712 | |
2713 <para> | |
2714 Release Date: | |
2715 11 August 2020 | |
2716 </para> | |
2717 | |
2718 <para> | |
2719 Core: | |
2720 <list type="bullet"> | |
2721 | |
2722 <listitem> | |
2723 <para> | |
2724 Feature: | |
2725 added | |
2726 <link doc="reference.xml" id="querystring"><literal>Query String</literal></link> | |
2727 module. | |
2728 </para> | |
2729 </listitem> | |
2730 | |
2731 <listitem> | |
2732 <para> | |
2733 Feature: | |
2734 improved | |
2735 <link doc="reference.xml" id="fs_mkdirsync"><literal>fs.mkdir()</literal></link> | |
2736 to support recursive directory creation. | |
2737 Thanks to Artem S. Povalyukhin. | |
2738 </para> | |
2739 </listitem> | |
2740 | |
2741 <listitem> | |
2742 <para> | |
2743 Feature: | |
2744 improved | |
2745 <link doc="reference.xml" id="fs_rmdirsync"><literal>fs.rmdir()</literal></link> | |
2746 to support recursive directory removal. | |
2747 Thanks to Artem S. Povalyukhin. | |
2748 </para> | |
2749 </listitem> | |
2750 | |
2751 <listitem> | |
2752 <para> | |
2753 Feature: | |
2754 introduced UTF-8 decoder according to | |
2755 <link url="https://encoding.spec.whatwg.org/">WHATWG</link> encoding spec. | |
2756 </para> | |
2757 </listitem> | |
2758 | |
2759 <listitem> | |
2760 <para> | |
2761 Feature: | |
2585
7035221dbe37
Documented TextDecoder and TextEncoder in njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2584
diff
changeset
|
2762 added |
7035221dbe37
Documented TextDecoder and TextEncoder in njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2584
diff
changeset
|
2763 <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
|
2764 and |
7035221dbe37
Documented TextDecoder and TextEncoder in njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2584
diff
changeset
|
2765 <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
|
2766 implementation. |
2584 | 2767 </para> |
2768 </listitem> | |
2769 | |
2770 <listitem> | |
2771 <para> | |
2772 Bugfix: | |
2773 fixed parsing return statement without semicolon. | |
2774 </para> | |
2775 </listitem> | |
2776 | |
2777 <listitem> | |
2778 <para> | |
2779 Bugfix: | |
2780 fixed <literal>njs_number_to_int32()</literal> for big-endian platforms. | |
2781 </para> | |
2782 </listitem> | |
2783 | |
2784 <listitem> | |
2785 <para> | |
2786 Bugfix: | |
2787 fixed unit test on big-endian platforms. | |
2788 </para> | |
2789 </listitem> | |
2790 | |
2791 <listitem> | |
2792 <para> | |
2793 Bugfix: | |
2794 fixed regexp-literals parsing with “<literal>=</literal>” characters. | |
2795 </para> | |
2796 </listitem> | |
2797 | |
2798 <listitem> | |
2799 <para> | |
2800 Bugfix: | |
2801 fixed pre/post increment/decrement in assignment operations. | |
2802 </para> | |
2803 </listitem> | |
2804 | |
2805 </list> | |
2806 </para> | |
2807 | |
2808 </section> | |
2809 | |
2810 | |
2566 | 2811 <section id="njs0.4.2" name="Changes with njs 0.4.2"> |
2812 | |
2813 <para> | |
2814 Release Date: | |
2815 07 July 2020 | |
2816 </para> | |
2817 | |
2818 <para> | |
2819 Core: | |
2820 <list type="bullet"> | |
2821 | |
2822 <listitem> | |
2823 <para> | |
2824 Feature: | |
2825 added <literal>RegExp.prototype[Symbol.replace]</literal>. | |
2826 </para> | |
2827 </listitem> | |
2828 | |
2829 <listitem> | |
2830 <para> | |
2831 Feature: | |
2832 introduced line level backtrace. | |
2833 </para> | |
2834 </listitem> | |
2835 | |
2836 <listitem> | |
2837 <para> | |
2838 Feature: | |
2839 added <literal>%TypedArray%.prototype.sort()</literal>. | |
2840 </para> | |
2841 </listitem> | |
2842 | |
2843 <listitem> | |
2844 <para> | |
2845 Feature: | |
2846 extended | |
2847 <link doc="reference.xml" id="njs_api_fs"><literal>fs</literal></link> module. | |
2848 Added | |
2849 <link doc="reference.xml" id="fs_mkdirsync"><literal>mkdir()</literal></link>, | |
2850 <link doc="reference.xml" id="fs_readdirsync"><literal>readdir()</literal></link>, | |
2851 <link doc="reference.xml" id="fs_rmdirsync"><literal>rmdir()</literal></link>, | |
2852 and friends. | |
2853 </para> | |
2854 </listitem> | |
2855 | |
2856 <listitem> | |
2857 <para> | |
2858 Improvement: | |
2859 parser refactoring. | |
2860 </para> | |
2861 </listitem> | |
2862 | |
2863 <listitem> | |
2864 <para> | |
2865 Bugfix: | |
2866 fixed TypedScript API description for HTTP headers. | |
2867 </para> | |
2868 </listitem> | |
2869 | |
2870 <listitem> | |
2871 <para> | |
2872 Bugfix: | |
2873 fixed TypedScript API description for <literal>NjsByteString</literal> type. | |
2874 </para> | |
2875 </listitem> | |
2876 | |
2877 <listitem> | |
2878 <para> | |
2879 Bugfix: | |
2880 fixed | |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
2881 <literal>String.prototype.repeat()</literal> |
2566 | 2882 according to the specification. |
2883 </para> | |
2884 </listitem> | |
2885 | |
2886 <listitem> | |
2887 <para> | |
2888 Bugfix: | |
2889 fixed | |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
2890 <literal>String.prototype.replace()</literal> |
2566 | 2891 according to the specification. |
2892 </para> | |
2893 </listitem> | |
2894 | |
2895 <listitem> | |
2896 <para> | |
2897 Bugfix: | |
2898 fixed parsing of flags for regexp literals. | |
2899 </para> | |
2900 </listitem> | |
2901 | |
2902 <listitem> | |
2903 <para> | |
2904 Bugfix: | |
2905 fixed index generation for global objects in generator. | |
2906 </para> | |
2907 </listitem> | |
2908 | |
2909 <listitem> | |
2910 <para> | |
2911 Bugfix: | |
2912 fixed <literal>%TypedArray%.prototype.copyWithin()</literal> | |
2913 with nonzero byte offset. | |
2914 </para> | |
2915 </listitem> | |
2916 | |
2917 <listitem> | |
2918 <para> | |
2919 Bugfix: | |
2920 fixed <literal>Array.prototype.splice()</literal> | |
2921 for sparse arrays. | |
2922 </para> | |
2923 </listitem> | |
2924 | |
2925 <listitem> | |
2926 <para> | |
2927 Bugfix: | |
2928 fixed <literal>Array.prototype.reverse()</literal> | |
2929 for sparse arrays. | |
2930 </para> | |
2931 </listitem> | |
2932 | |
2933 <listitem> | |
2934 <para> | |
2935 Bugfix: | |
2936 fixed <literal>Array.prototype.sort()</literal> | |
2937 for sparse arrays. | |
2938 </para> | |
2939 </listitem> | |
2940 | |
2941 </list> | |
2942 </para> | |
2943 | |
2944 </section> | |
2945 | |
2946 | |
2547 | 2947 <section id="njs0.4.1" name="Changes with njs 0.4.1"> |
2948 | |
2949 <para> | |
2950 Release Date: | |
2951 19 May 2020 | |
2952 </para> | |
2953 | |
2954 <para> | |
2955 nginx modules: | |
2956 <list type="bullet"> | |
2957 | |
2958 <listitem> | |
2959 <para> | |
2960 Feature: | |
2961 added support for multi-value headers in | |
2962 <link doc="reference.xml" id="r_headers_in"><literal>r.headersIn{}</literal></link>. | |
2963 </para> | |
2964 </listitem> | |
2965 | |
2966 <listitem> | |
2967 <para> | |
2968 Feature: | |
2969 introduced <literal>raw headers</literal> API: | |
2970 <link doc="reference.xml" id="r_raw_headers_in"><literal>r.rawHeadersIn{}</literal></link> | |
2971 and | |
2972 <link doc="reference.xml" id="r_raw_headers_out"><literal>r.rawHeadersOut{}</literal></link>. | |
2973 </para> | |
2974 </listitem> | |
2975 | |
2976 <listitem> | |
2977 <para> | |
2978 Feature: | |
2979 added <link doc="typescript.xml">TypeScript</link> API description. | |
2980 </para> | |
2981 </listitem> | |
2982 | |
2983 </list> | |
2984 </para> | |
2985 | |
2986 <para> | |
2987 Core: | |
2988 <list type="bullet"> | |
2989 | |
2990 <listitem> | |
2991 <para> | |
2992 Bugfix: | |
2993 fixed <literal>Array.prototype.slice()</literal> for sparse arrays. | |
2994 </para> | |
2995 </listitem> | |
2996 | |
2997 </list> | |
2998 </para> | |
2999 | |
3000 </section> | |
3001 | |
3002 | |
2535 | 3003 <section id="njs0.4.0" name="Changes with njs 0.4.0"> |
3004 | |
3005 <para> | |
3006 Release Date: | |
3007 23 April 2020 | |
3008 </para> | |
3009 | |
3010 <para> | |
3011 nginx modules: | |
3012 <list type="bullet"> | |
3013 | |
3014 <listitem> | |
3015 <para> | |
3016 Feature: | |
3017 added support for multi-value headers in | |
3018 <link doc="reference.xml" id="r_headers_out"><literal>r.headersOut{}</literal></link>. | |
3019 </para> | |
3020 </listitem> | |
3021 | |
3022 <listitem> | |
3023 <para> | |
3024 Feature: | |
3025 added <literal>js_import</literal> directive for | |
3026 <link doc="../http/ngx_http_js_module.xml" id="js_import">http</link> and | |
3027 <link doc="../stream/ngx_stream_js_module.xml" id="js_import">stream</link>. | |
3028 </para> | |
3029 </listitem> | |
3030 | |
3031 <listitem> | |
3032 <para> | |
3033 Improvement: | |
3034 improved iteration over | |
3035 <link doc="reference.xml" id="r_headers_out"><literal>r.headersOut{}</literal></link> | |
3036 with special headers. | |
3037 </para> | |
3038 </listitem> | |
3039 | |
3040 <listitem> | |
3041 <para> | |
3042 Improvement: | |
3043 improved iteration over | |
3044 <link doc="reference.xml" id="r_headers_out"><literal>r.headersOut{}</literal></link> | |
3045 with duplicates. | |
3046 </para> | |
3047 </listitem> | |
3048 | |
3049 <listitem> | |
3050 <para> | |
3051 Change: | |
3052 <link doc="reference.xml" id="r_response_body"><literal>r.responseBody</literal></link> | |
3053 property handler now returns | |
3054 <literal>undefined</literal> | |
3055 instead of throwing an exception if the response body is not available. | |
3056 </para> | |
3057 </listitem> | |
3058 | |
3059 </list> | |
3060 </para> | |
3061 | |
3062 <para> | |
3063 Core: | |
3064 <list type="bullet"> | |
3065 | |
3066 <listitem> | |
3067 <para> | |
3068 Feature: | |
3069 added script arguments support in CLI. | |
3070 </para> | |
3071 </listitem> | |
3072 | |
3073 <listitem> | |
3074 <para> | |
3075 Feature: | |
3076 converting externals values to native js objects. | |
3077 </para> | |
3078 </listitem> | |
3079 | |
3080 <listitem> | |
3081 <para> | |
3082 Bugfix: | |
3083 fixed NULL-pointer dereference | |
3084 in <literal>__proto__</literal> property handler. | |
3085 </para> | |
3086 </listitem> | |
3087 | |
3088 <listitem> | |
3089 <para> | |
3090 Bugfix: | |
3091 fixed handling of no-newline at the end of the script. | |
3092 </para> | |
3093 </listitem> | |
3094 | |
3095 <listitem> | |
3096 <para> | |
3097 Bugfix: | |
3098 fixed <literal>RegExp()</literal> constructor | |
3099 with empty pattern and non-empty flags. | |
3100 </para> | |
3101 </listitem> | |
3102 | |
3103 <listitem> | |
3104 <para> | |
3105 Bugfix: | |
2735
ff357b676c2e
Removed trailing spaces.
Maxim Dounin <mdounin@mdounin.ru>
parents:
2698
diff
changeset
|
3106 fixed |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
3107 <literal>String.prototype.replace()</literal> |
2535 | 3108 when function returns non-string. |
3109 </para> | |
3110 </listitem> | |
3111 | |
3112 <listitem> | |
3113 <para> | |
3114 Bugfix: | |
3115 fixed reading of pseudofiles in | |
3116 <link doc="reference.xml" id="njs_api_fs"><literal>fs</literal></link>. | |
3117 </para> | |
3118 </listitem> | |
3119 | |
3120 </list> | |
3121 </para> | |
3122 | |
3123 </section> | |
3124 | |
3125 | |
2507 | 3126 <section id="njs0.3.9" name="Changes with njs 0.3.9"> |
3127 | |
3128 <para> | |
3129 Release Date: | |
3130 03 March 2020 | |
3131 </para> | |
3132 | |
3133 <para> | |
3134 nginx modules: | |
3135 <list type="bullet"> | |
3136 | |
3137 <listitem> | |
3138 <para> | |
3139 Feature: | |
3140 added detached mode for | |
2570
44792f1ee284
Added IDs to methods in njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2569
diff
changeset
|
3141 <link doc="reference.xml" id="r_subrequest"><literal>r.subrequest()</literal></link>. |
2507 | 3142 Responses to detached subrequests are ignored. |
3143 Unlike ordinary subrequests, | |
3144 a detached subrequest can be created inside a variable handler. | |
3145 </para> | |
3146 </listitem> | |
3147 | |
3148 </list> | |
3149 </para> | |
3150 | |
3151 <para> | |
3152 Core: | |
3153 <list type="bullet"> | |
3154 | |
3155 <listitem> | |
3156 <para> | |
3157 Feature: | |
3158 added <literal>promises</literal> API for | |
3159 <link doc="reference.xml" id="njs_api_fs"><literal>fs</literal></link> module. | |
3160 Thanks to Artem S. Povalyukhin. | |
3161 </para> | |
3162 </listitem> | |
3163 | |
3164 <listitem> | |
3165 <para> | |
3166 Feature: | |
3167 extended <link doc="reference.xml" id="njs_api_fs"><literal>fs</literal></link> | |
3168 module. | |
3169 Added | |
3170 <link doc="reference.xml" id="fs_accesssync"><literal>access()</literal></link>, | |
3171 <link doc="reference.xml" id="fs_symlinksync"><literal>symlink()</literal></link>, | |
3172 <link doc="reference.xml" id="fs_unlinksync"><literal>unlink()</literal></link>, | |
3173 <link doc="reference.xml" id="fs_realpathsync"><literal>realpath()</literal></link>, | |
3174 and friends. | |
3175 Thanks to Artem S. Povalyukhin. | |
3176 </para> | |
3177 </listitem> | |
3178 | |
3179 <listitem> | |
3180 <para> | |
3181 Improvement: | |
3182 introduced memory-efficient ordinary arrays. | |
3183 </para> | |
3184 </listitem> | |
3185 | |
3186 <listitem> | |
3187 <para> | |
3188 Improvement: | |
3189 lexer refactoring. | |
3190 </para> | |
3191 </listitem> | |
3192 | |
3193 <listitem> | |
3194 <para> | |
3195 Bugfix: | |
3196 fixed matching of native functions in backtraces. | |
3197 </para> | |
3198 </listitem> | |
3199 | |
3200 <listitem> | |
3201 <para> | |
3202 Bugfix: | |
3203 fixed callback invocations in | |
3204 <link doc="reference.xml" id="njs_api_fs"><literal>fs</literal></link> module. | |
3205 Thanks to Artem S. Povalyukhin. | |
3206 </para> | |
3207 </listitem> | |
3208 | |
3209 <listitem> | |
3210 <para> | |
3211 Bugfix: | |
3212 fixed <literal>Object.getOwnPropertySymbols()</literal>. | |
3213 </para> | |
3214 </listitem> | |
3215 | |
3216 <listitem> | |
3217 <para> | |
3218 Bugfix: | |
3219 fixed heap-buffer-overflow in | |
3220 <literal>njs_json_append_string()</literal>. | |
3221 </para> | |
3222 </listitem> | |
3223 | |
3224 <listitem> | |
3225 <para> | |
3226 Bugfix: | |
3227 fixed | |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
3228 <literal>encodeURI()</literal> |
2507 | 3229 and |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
3230 <literal>decodeURI()</literal> |
2507 | 3231 according to the specification. |
3232 </para> | |
3233 </listitem> | |
3234 | |
3235 <listitem> | |
3236 <para> | |
3237 Bugfix: | |
3238 fixed <literal>Number.prototype.toPrecision()</literal>. | |
3239 </para> | |
3240 </listitem> | |
3241 | |
3242 <listitem> | |
3243 <para> | |
3244 Bugfix: | |
3245 fixed handling of space argument in | |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
3246 <literal>JSON.stringify()</literal>. |
2507 | 3247 </para> |
3248 </listitem> | |
3249 | |
3250 <listitem> | |
3251 <para> | |
3252 Bugfix: | |
3253 fixed | |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
3254 <literal>JSON.stringify()</literal> |
2507 | 3255 with |
3256 <literal>Number()</literal> and | |
3257 <literal>String()</literal> | |
3258 objects. | |
3259 </para> | |
3260 </listitem> | |
3261 | |
3262 <listitem> | |
3263 <para> | |
3264 Bugfix: | |
3265 fixed Unicode Escaping in | |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
3266 <literal>JSON.stringify()</literal> |
2507 | 3267 according to specification. |
3268 </para> | |
3269 </listitem> | |
3270 | |
3271 <listitem> | |
3272 <para> | |
3273 Bugfix: | |
3274 fixed non-native module importing. | |
3275 Thanks to 洪志道 (Hong Zhi Dao). | |
3276 </para> | |
3277 </listitem> | |
3278 | |
3279 <listitem> | |
3280 <para> | |
3281 Bugfix: | |
3282 fixed | |
3283 <literal>njs.dump()</literal> with the | |
3284 <literal>Date()</literal> | |
3285 instance in a container. | |
3286 </para> | |
3287 </listitem> | |
3288 | |
3289 </list> | |
3290 </para> | |
3291 | |
3292 </section> | |
3293 | |
3294 | |
2482
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3295 <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
|
3296 |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3297 <para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3298 Release Date: |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3299 21 January 2020 |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3300 </para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3301 |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3302 <para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3303 nginx modules: |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3304 <list type="bullet"> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3305 |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3306 <listitem> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3307 <para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3308 Feature: |
2497
805c4b84cc61
Added missing feature and links to njs-0.3.8 Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2482
diff
changeset
|
3309 added <literal>Promise</literal> support for |
2570
44792f1ee284
Added IDs to methods in njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2569
diff
changeset
|
3310 <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
|
3311 If a callback is not provided, |
2570
44792f1ee284
Added IDs to methods in njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2569
diff
changeset
|
3312 <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
|
3313 returns an ordinary |
2482
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3314 <literal>Promise</literal> object |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3315 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
|
3316 </para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3317 </listitem> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3318 |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3319 <listitem> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3320 <para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3321 Change: |
2514
da5355b68ddd
Removed brackets from r.parent in njs Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2510
diff
changeset
|
3322 <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
|
3323 property handler now returns |
2482
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3324 <literal>undefined</literal> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3325 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
|
3326 </para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3327 </listitem> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3328 |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3329 </list> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3330 </para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3331 |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3332 <para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3333 Core: |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3334 <list type="bullet"> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3335 |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3336 <listitem> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3337 <para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3338 Feature: |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3339 added <literal>Promise</literal> support. |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3340 Implemented according to the specification without: |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3341 <literal>Promise.all()</literal>, |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3342 <literal>Promise.allSettled()</literal>, |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3343 <literal>Promise.race()</literal>. |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3344 </para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3345 </listitem> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3346 |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3347 <listitem> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3348 <para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3349 Feature: |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3350 added initial Typed-arrays support. |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3351 Thanks to Tiago Natel de Moura. |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3352 </para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3353 </listitem> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3354 |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3355 <listitem> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3356 <para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3357 Feature: |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3358 added <literal>ArrayBuffer</literal> support. |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3359 Thanks to Tiago Natel de Moura. |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3360 </para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3361 </listitem> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3362 |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3363 <listitem> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3364 <para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3365 Feature: |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3366 added initial <literal>Symbol</literal> support. |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3367 Thanks to Artem S. Povalyukhin. |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3368 </para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3369 </listitem> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3370 |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3371 <listitem> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3372 <para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3373 Feature: |
2497
805c4b84cc61
Added missing feature and links to njs-0.3.8 Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2482
diff
changeset
|
3374 added externals support for |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
3375 <literal>JSON.stringify()</literal>. |
2482
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3376 </para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3377 </listitem> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3378 |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3379 <listitem> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3380 <para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3381 Feature: |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3382 added <literal>Object.is()</literal>. |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3383 Thanks to Artem S. Povalyukhin. |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3384 </para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3385 </listitem> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3386 |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3387 <listitem> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3388 <para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3389 Feature: |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3390 added <literal>Object.setPrototypeOf()</literal>. |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3391 Thanks to Artem S. Povalyukhin. |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3392 </para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3393 </listitem> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3394 |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3395 <listitem> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3396 <para> |
2497
805c4b84cc61
Added missing feature and links to njs-0.3.8 Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2482
diff
changeset
|
3397 Feature: |
805c4b84cc61
Added missing feature and links to njs-0.3.8 Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2482
diff
changeset
|
3398 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
|
3399 </para> |
805c4b84cc61
Added missing feature and links to njs-0.3.8 Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2482
diff
changeset
|
3400 </listitem> |
805c4b84cc61
Added missing feature and links to njs-0.3.8 Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2482
diff
changeset
|
3401 |
805c4b84cc61
Added missing feature and links to njs-0.3.8 Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2482
diff
changeset
|
3402 <listitem> |
805c4b84cc61
Added missing feature and links to njs-0.3.8 Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2482
diff
changeset
|
3403 <para> |
2482
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3404 Bugfix: |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3405 fixed |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3406 <literal>Object.getPrototypeOf()</literal> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3407 according to the specification. |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3408 </para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3409 </listitem> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3410 |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3411 <listitem> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3412 <para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3413 Bugfix: |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3414 fixed |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3415 <literal>Object.prototype.valueOf()</literal> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3416 according to the specification. |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3417 </para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3418 </listitem> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3419 |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3420 <listitem> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3421 <para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3422 Bugfix: |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3423 fixed |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
3424 <literal>JSON.stringify()</literal> |
2482
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3425 with unprintable values and replacer function. |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3426 </para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3427 </listitem> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3428 |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3429 <listitem> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3430 <para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3431 Bugfix: |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3432 fixed operator <literal>in</literal> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3433 according to the specification. |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3434 </para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3435 </listitem> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3436 |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3437 <listitem> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3438 <para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3439 Bugfix: |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3440 fixed |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3441 <literal>Object.defineProperties()</literal> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3442 according to the specification. |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3443 </para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3444 </listitem> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3445 |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3446 <listitem> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3447 <para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3448 Bugfix: |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3449 fixed |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3450 <literal>Object.create()</literal> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3451 according to the specification. |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3452 Thanks to Artem S. Povalyukhin. |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3453 </para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3454 </listitem> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3455 |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3456 <listitem> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3457 <para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3458 Bugfix: |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3459 fixed |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3460 <literal>Number.prototype.toString(radix)</literal> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3461 when fast-math is enabled. |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3462 </para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3463 </listitem> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3464 |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3465 <listitem> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3466 <para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3467 Bugfix: |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3468 fixed <literal>RegExp()</literal> instance properties. |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3469 </para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3470 </listitem> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3471 |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3472 <listitem> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3473 <para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3474 Bugfix: |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3475 fixed import segfault. |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3476 Thanks to 洪志道 (Hong Zhi Dao). |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3477 </para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3478 </listitem> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3479 |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3480 </list> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3481 </para> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3482 |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3483 </section> |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3484 |
9bf87153b1b3
Added Release Notes for njs-0.3.8.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2466
diff
changeset
|
3485 |
2466 | 3486 <section id="njs0.3.7" name="Changes with njs 0.3.7"> |
3487 | |
3488 <para> | |
3489 Release Date: | |
3490 19 November 2019 | |
3491 </para> | |
3492 | |
3493 <para> | |
3494 nginx modules: | |
3495 <list type="bullet"> | |
3496 | |
3497 <listitem> | |
3498 <para> | |
3499 Improvement: | |
3500 refactored iteration over external objects. | |
3501 </para> | |
3502 </listitem> | |
3503 | |
3504 </list> | |
3505 </para> | |
3506 | |
3507 <para> | |
3508 Core: | |
3509 <list type="bullet"> | |
3510 | |
3511 <listitem> | |
3512 <para> | |
3513 Feature: | |
3514 added <literal>Object.assign()</literal>. | |
3515 </para> | |
3516 </listitem> | |
3517 | |
3518 <listitem> | |
3519 <para> | |
3520 Feature: | |
3521 added <literal>Array.prototype.copyWithin()</literal>. | |
3522 </para> | |
3523 </listitem> | |
3524 | |
3525 <listitem> | |
3526 <para> | |
3527 Feature: | |
3528 added support for labels in <literal>console.time()</literal>. | |
3529 </para> | |
3530 </listitem> | |
3531 | |
3532 <listitem> | |
3533 <para> | |
3534 Change: | |
3535 removed <literal>console.help()</literal> from CLI. | |
3536 </para> | |
3537 </listitem> | |
3538 | |
3539 <listitem> | |
3540 <para> | |
3541 Improvement: | |
3542 moved constructors and top-level objects to global object. | |
3543 </para> | |
3544 </listitem> | |
3545 | |
3546 <listitem> | |
3547 <para> | |
3548 Improvement: | |
3549 arguments validation for configure script. | |
3550 </para> | |
3551 </listitem> | |
3552 | |
3553 <listitem> | |
3554 <para> | |
3555 Improvement: | |
3556 refactored JSON methods. | |
3557 </para> | |
3558 </listitem> | |
3559 | |
3560 <listitem> | |
3561 <para> | |
3562 Bugfix: | |
3563 fixed heap-buffer-overflow in | |
3564 <literal>njs_array_reverse_iterator()</literal> function. | |
3565 The following functions were affected: | |
3566 <literal>Array.prototype.lastIndexOf()</literal>, | |
3567 <literal>Array.prototype.reduceRight()</literal>. | |
3568 </para> | |
3569 </listitem> | |
3570 | |
3571 <listitem> | |
3572 <para> | |
3573 Bugfix: | |
3574 fixed | |
3575 <literal>[[Prototype]]</literal> slot of <literal>NativeErrors</literal>. | |
3576 </para> | |
3577 </listitem> | |
3578 | |
3579 <listitem> | |
3580 <para> | |
3581 Bugfix: | |
3582 fixed | |
3583 <literal>NativeError.prototype.message</literal> properties. | |
3584 </para> | |
3585 </listitem> | |
3586 | |
3587 <listitem> | |
3588 <para> | |
3589 Bugfix: | |
3590 added conversion of | |
3591 <literal>this</literal> value to object in | |
3592 <literal>Array.prototype functions</literal>. | |
3593 </para> | |
3594 </listitem> | |
3595 | |
3596 <listitem> | |
3597 <para> | |
3598 Bugfix: | |
3599 fixed iterator for | |
3600 <literal>Array.prototype.find()</literal> and | |
3601 <literal>Array.prototype.findIndex()</literal> | |
3602 functions. | |
3603 </para> | |
3604 </listitem> | |
3605 | |
3606 <listitem> | |
3607 <para> | |
3608 Bugfix: | |
3609 fixed | |
3610 <literal>Array.prototype.includes()</literal> and | |
3611 <literal>Array.prototype.join()</literal> with | |
3612 <literal>undefined</literal> argument. | |
3613 </para> | |
3614 </listitem> | |
3615 | |
3616 <listitem> | |
3617 <para> | |
3618 Bugfix: | |
3619 fixed <literal>constructor</literal> property of | |
3620 <literal>Hash</literal> and | |
3621 <literal>Hmac</literal> | |
3622 objects. | |
3623 </para> | |
3624 </listitem> | |
3625 | |
3626 <listitem> | |
3627 <para> | |
3628 Bugfix: | |
3629 fixed <literal>__proto__</literal> property of getters and setters. | |
3630 </para> | |
3631 </listitem> | |
3632 | |
3633 <listitem> | |
3634 <para> | |
3635 Bugfix: | |
3636 fixed <literal>Date</literal> object string formatting. | |
3637 </para> | |
3638 </listitem> | |
3639 | |
3640 <listitem> | |
3641 <para> | |
3642 Bugfix: | |
3643 fixed handling of | |
3644 <literal>NaN</literal> and <literal>-0</literal> arguments in | |
3645 <literal>Math.min()</literal> and | |
3646 <literal>Math.max()</literal>. | |
3647 </para> | |
3648 </listitem> | |
3649 | |
3650 <listitem> | |
3651 <para> | |
3652 Bugfix: | |
3653 fixed <literal>Math.round()</literal> | |
3654 according to the specification. | |
3655 </para> | |
3656 </listitem> | |
3657 | |
3658 <listitem> | |
3659 <para> | |
3660 Bugfix: | |
3661 reimplemented <literal>bound</literal> functions | |
3662 according to the specification. | |
3663 </para> | |
3664 </listitem> | |
3665 | |
3666 </list> | |
3667 </para> | |
3668 | |
3669 </section> | |
3670 | |
3671 | |
2456
de4f8f3d1fd6
Added njs product name to Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2446
diff
changeset
|
3672 <section id="njs0.3.6" name="Changes with njs 0.3.6"> |
2446 | 3673 |
3674 <para> | |
3675 Release Date: | |
3676 22 October 2019 | |
3677 </para> | |
3678 | |
3679 <para> | |
3680 nginx modules: | |
3681 <list type="bullet"> | |
3682 | |
3683 <listitem> | |
3684 <para> | |
3685 Improvement: | |
3686 getting special headers from | |
3687 <link doc="reference.xml" id="r_headers_in"><literal>r.headersIn{}</literal></link>. | |
3688 </para> | |
3689 </listitem> | |
3690 | |
3691 </list> | |
3692 </para> | |
3693 | |
3694 <para> | |
3695 Core: | |
3696 <list type="bullet"> | |
3697 | |
3698 <listitem> | |
3699 <para> | |
3700 Feature: | |
3701 added new <literal>Function()</literal> support. | |
3702 </para> | |
3703 </listitem> | |
3704 | |
3705 <listitem> | |
3706 <para> | |
3707 Feature: | |
3708 added <literal>Number.prototype.toFixed()</literal>. | |
3709 </para> | |
3710 </listitem> | |
3711 | |
3712 <listitem> | |
3713 <para> | |
3714 Feature: | |
3715 added <literal>Number.prototype.toPrecision()</literal>. | |
3716 </para> | |
3717 </listitem> | |
3718 | |
3719 <listitem> | |
3720 <para> | |
3721 Feature: | |
3722 added <literal>Number.prototype.toExponential()</literal>. | |
3723 </para> | |
3724 </listitem> | |
3725 | |
3726 <listitem> | |
3727 <para> | |
3728 Improvement: | |
3729 making <literal>prototype</literal> property of function instances writable. | |
3730 </para> | |
3731 </listitem> | |
3732 | |
3733 <listitem> | |
3734 <para> | |
3735 Improvement: | |
3736 limiting recursion depth while compiling. | |
3737 </para> | |
3738 </listitem> | |
3739 | |
3740 <listitem> | |
3741 <para> | |
3742 Improvement: | |
3743 moving global functions to the global object. | |
3744 </para> | |
3745 </listitem> | |
3746 | |
3747 <listitem> | |
3748 <para> | |
3749 Bugfix: | |
3750 fixed prototype mutation for object literals. | |
3751 </para> | |
3752 </listitem> | |
3753 | |
3754 <listitem> | |
3755 <para> | |
3756 Bugfix: | |
3757 fixed heap-buffer-overflow while parsing regexp literals. | |
3758 </para> | |
3759 </listitem> | |
3760 | |
3761 <listitem> | |
3762 <para> | |
3763 Bugfix: | |
3764 fixed integer-overflow while parsing exponent of number literals. | |
3765 </para> | |
3766 </listitem> | |
3767 | |
3768 <listitem> | |
3769 <para> | |
3770 Bugfix: | |
3771 fixed <literal>parseFloat()</literal>. | |
3772 </para> | |
3773 </listitem> | |
3774 | |
3775 <listitem> | |
3776 <para> | |
3777 Bugfix: | |
3778 fixed <literal>Array.prototype</literal> functions | |
3779 according to the specification. | |
3780 The following functions were fixed: | |
3781 <literal>every</literal>, | |
3782 <literal>includes</literal>, | |
3783 <literal>indexOf</literal>, | |
3784 <literal>filter</literal>, | |
3785 <literal>find</literal>, | |
3786 <literal>findIndex</literal>, | |
3787 <literal>forEach</literal>, | |
3788 <literal>lastIndexOf</literal>, | |
3789 <literal>map</literal>, | |
3790 <literal>pop</literal>, | |
3791 <literal>push</literal>, | |
3792 <literal>reduce</literal>, | |
3793 <literal>reduceRight</literal>, | |
3794 <literal>shift</literal>, | |
3795 <literal>some</literal>, | |
3796 <literal>unshift</literal>. | |
3797 </para> | |
3798 </listitem> | |
3799 | |
3800 <listitem> | |
3801 <para> | |
3802 Bugfix: | |
3803 fixed handing of accessor descriptors in <literal>Object.freeze()</literal>. | |
3804 </para> | |
3805 </listitem> | |
3806 | |
3807 <listitem> | |
3808 <para> | |
3809 Bugfix: | |
3810 fixed | |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
3811 <literal>String.prototype.replace()</literal> |
2446 | 3812 when first argument is not a string. |
3813 </para> | |
3814 </listitem> | |
3815 | |
3816 <listitem> | |
3817 <para> | |
3818 Bugfix: | |
3819 fixed stack-use-after-scope in <literal>Array.prototype.map()</literal>. | |
3820 </para> | |
3821 </listitem> | |
3822 | |
3823 <listitem> | |
3824 <para> | |
3825 Bugfix: | |
3826 <literal>Date.prototype.toUTCString()</literal> | |
3827 format was aligned to ES9. | |
3828 </para> | |
3829 </listitem> | |
3830 | |
3831 <listitem> | |
3832 <para> | |
3833 Bugfix: | |
3834 fixed buffer overflow in | |
3835 <literal>Number.prototype.toString(radix)</literal>. | |
3836 </para> | |
3837 </listitem> | |
3838 | |
3839 <listitem> | |
3840 <para> | |
3841 Bugfix: | |
3842 fixed | |
3843 <literal>Regexp.prototype.test()</literal> | |
3844 for regexps with backreferences. | |
3845 </para> | |
3846 </listitem> | |
3847 | |
3848 <listitem> | |
3849 <para> | |
3850 Bugfix: | |
3851 fixed | |
3852 <literal>Array.prototype.map()</literal> | |
3853 for objects with nonexistent values. | |
3854 </para> | |
3855 </listitem> | |
3856 | |
3857 <listitem> | |
3858 <para> | |
3859 Bugfix: | |
3860 fixed | |
3861 <literal>Array.prototype.pop()</literal> and | |
3862 <literal>shift()</literal> for sparse objects. | |
3863 </para> | |
3864 </listitem> | |
3865 | |
3866 <listitem> | |
3867 <para> | |
3868 Bugfix: | |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
3869 fixed |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
3870 <literal>Date.UTC()</literal> |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
3871 according to the specification. |
2446 | 3872 </para> |
3873 </listitem> | |
3874 | |
3875 <listitem> | |
3876 <para> | |
3877 Bugfix: | |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
3878 fixed |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
3879 <literal>Date()</literal> constructor |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
3880 according to the specification. |
2446 | 3881 </para> |
3882 </listitem> | |
3883 | |
3884 <listitem> | |
3885 <para> | |
3886 Bugfix: | |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
3887 fixed type of |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
3888 <literal>Date.prototype</literal>. |
2446 | 3889 Thanks to Artem S. Povalyukhin. |
3890 </para> | |
3891 </listitem> | |
3892 | |
3893 <listitem> | |
3894 <para> | |
3895 Bugfix: | |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
3896 fixed |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
3897 <literal>Date.prototype.setTime()</literal>. |
2446 | 3898 Thanks to Artem S. Povalyukhin. |
3899 </para> | |
3900 </listitem> | |
3901 | |
3902 <listitem> | |
3903 <para> | |
3904 Bugfix: | |
3905 fixed default number of arguments expected by built-in functions. | |
3906 </para> | |
3907 </listitem> | |
3908 | |
3909 <listitem> | |
3910 <para> | |
3911 Bugfix: | |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
3912 fixed |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
3913 <literal>caller</literal> and |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
3914 <literal>arguments</literal> |
2446 | 3915 properties of a function instance. |
3916 Thanks to Artem S. Povalyukhin. | |
3917 </para> | |
3918 </listitem> | |
3919 | |
3920 </list> | |
3921 </para> | |
3922 | |
3923 </section> | |
3924 | |
3925 | |
2456
de4f8f3d1fd6
Added njs product name to Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2446
diff
changeset
|
3926 <section id="njs0.3.5" name="Changes with njs 0.3.5"> |
2420 | 3927 |
3928 <para> | |
3929 Release Date: | |
3930 15 August 2019 | |
3931 </para> | |
3932 | |
3933 <para> | |
3934 Core: | |
3935 <list type="bullet"> | |
3936 | |
3937 <listitem> | |
3938 <para> | |
3939 Bugfix: | |
3940 fixed module importing using <literal>require()</literal>. | |
3941 The bug was introduced in <link id="0.3.4"/>. | |
3942 </para> | |
3943 </listitem> | |
3944 | |
3945 <listitem> | |
3946 <para> | |
3947 Bugfix: | |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
3948 fixed |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
3949 <literal>[[SetPrototypeOf]]</literal>. |
2420 | 3950 </para> |
3951 </listitem> | |
3952 | |
3953 </list> | |
3954 </para> | |
3955 | |
3956 </section> | |
3957 | |
3958 | |
2456
de4f8f3d1fd6
Added njs product name to Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2446
diff
changeset
|
3959 <section id="njs0.3.4" name="Changes with njs 0.3.4"> |
2414 | 3960 |
3961 <para> | |
3962 Release Date: | |
3963 13 August 2019 | |
3964 </para> | |
3965 | |
3966 <para> | |
3967 Core: | |
3968 <list type="bullet"> | |
3969 | |
3970 <listitem> | |
3971 <para> | |
3972 Feature: | |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
3973 added |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
3974 <literal>Object</literal> |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
3975 shorthand methods and computed property names. |
2414 | 3976 Thanks to 洪志道 (Hong Zhi Dao) and Artem S. Povalyukhin. |
3977 </para> | |
3978 </listitem> | |
3979 | |
3980 <listitem> | |
3981 <para> | |
3982 Feature: | |
3983 added getter/setter literal support. | |
3984 Thanks to 洪志道 (Hong Zhi Dao) and Artem S. Povalyukhin. | |
3985 </para> | |
3986 </listitem> | |
3987 | |
3988 <listitem> | |
3989 <para> | |
3990 Feature: | |
3991 added | |
2507 | 3992 <link doc="reference.xml" id="fs_renamesync"><literal>fs.renameSync()</literal></link>. |
2414 | 3993 </para> |
3994 </listitem> | |
3995 | |
3996 <listitem> | |
3997 <para> | |
3998 Feature: | |
3999 added | |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
4000 <literal>String.prototype.trimEnd()</literal> |
2414 | 4001 and |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
4002 <literal>String.prototype.trimStart()</literal>. |
2414 | 4003 </para> |
4004 </listitem> | |
4005 | |
4006 <listitem> | |
4007 <para> | |
4008 Improvement: | |
4009 added memory-sanitizer support. | |
4010 </para> | |
4011 </listitem> | |
4012 | |
4013 <listitem> | |
4014 <para> | |
4015 Improvement: | |
4016 Unicode case tables updated to version 12.1. | |
4017 </para> | |
4018 </listitem> | |
4019 | |
4020 <listitem> | |
4021 <para> | |
4022 Improvement: | |
4023 added UTF8 validation for string literals. | |
4024 </para> | |
4025 </listitem> | |
4026 | |
4027 <listitem> | |
4028 <para> | |
4029 Bugfix: | |
2735
ff357b676c2e
Removed trailing spaces.
Maxim Dounin <mdounin@mdounin.ru>
parents:
2698
diff
changeset
|
4030 fixed reading files with zero size in |
2414 | 4031 <link doc="reference.xml" id="readfilesync"><literal>fs.readFileSync()</literal></link>. |
4032 </para> | |
4033 </listitem> | |
4034 | |
4035 <listitem> | |
4036 <para> | |
4037 Bugfix: | |
4038 extended the list of space separators in | |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
4039 <literal>String.prototype.trim()</literal>. |
2414 | 4040 </para> |
4041 </listitem> | |
4042 | |
4043 <listitem> | |
4044 <para> | |
4045 Bugfix: | |
4046 fixed using of uninitialized value in | |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
4047 <literal>String.prototype.padStart()</literal>. |
2414 | 4048 </para> |
4049 </listitem> | |
4050 | |
4051 <listitem> | |
4052 <para> | |
4053 Bugfix: | |
4054 fixed | |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
4055 <literal>String.prototype.replace()</literal> |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
4056 for <literal>$0</literal> and <literal>$&</literal> replacement string. |
2414 | 4057 </para> |
4058 </listitem> | |
4059 | |
4060 <listitem> | |
4061 <para> | |
4062 Bugfix: | |
4063 fixed | |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
4064 <literal>String.prototype.replace()</literal> |
2414 | 4065 for byte strings with regex argument. |
4066 </para> | |
4067 </listitem> | |
4068 | |
4069 <listitem> | |
4070 <para> | |
4071 Bugfix: | |
4072 fixed global match in | |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
4073 <literal>String.prototype.replace()</literal> |
2414 | 4074 with regexp argument. |
4075 </para> | |
4076 </listitem> | |
4077 | |
4078 <listitem> | |
4079 <para> | |
4080 Bugfix: | |
4081 fixed | |
4082 <literal>Array.prototype.slice()</literal> | |
4083 for primitive types. | |
4084 </para> | |
4085 </listitem> | |
4086 | |
4087 <listitem> | |
4088 <para> | |
4089 Bugfix: | |
4090 fixed heap-buffer-overflow while importing module. | |
4091 </para> | |
4092 </listitem> | |
4093 | |
4094 <listitem> | |
4095 <para> | |
4096 Bugfix: | |
4097 fixed UTF-8 character escaping. | |
4098 </para> | |
4099 </listitem> | |
4100 | |
4101 <listitem> | |
4102 <para> | |
4103 Bugfix: | |
4104 fixed | |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
4105 <literal>Object.values()</literal> |
2414 | 4106 and |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
4107 <literal>Object.entries()</literal> |
2414 | 4108 for shared objects. |
4109 </para> | |
4110 </listitem> | |
4111 | |
4112 <listitem> | |
4113 <para> | |
4114 Bugfix: | |
4115 fixed uninitialized memory access in | |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
4116 <literal>String.prototype.match()</literal>. |
2414 | 4117 </para> |
4118 </listitem> | |
4119 | |
4120 <listitem> | |
4121 <para> | |
4122 Bugfix: | |
4123 fixed | |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
4124 <literal>String.prototype.match()</literal> |
2414 | 4125 for byte strings with regex argument. |
4126 </para> | |
4127 </listitem> | |
4128 | |
4129 <listitem> | |
4130 <para> | |
4131 Bugfix: | |
4132 fixed | |
4133 <literal>Array.prototype.lastIndexOf()</literal> | |
4134 with undefined arguments. | |
4135 </para> | |
4136 </listitem> | |
4137 | |
4138 <listitem> | |
4139 <para> | |
4140 Bugfix: | |
4141 fixed | |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
4142 <literal>String.prototype.substring()</literal> |
2414 | 4143 with empty substring. |
4144 </para> | |
4145 </listitem> | |
4146 | |
4147 <listitem> | |
4148 <para> | |
4149 Bugfix: | |
4150 fixed invalid memory access in | |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
4151 <literal>String.prototype.substring()</literal>. |
2414 | 4152 </para> |
4153 </listitem> | |
4154 | |
4155 <listitem> | |
4156 <para> | |
4157 Bugfix: | |
4158 fixed | |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
4159 <literal>String.fromCharCode()</literal> |
2414 | 4160 for code points more than <literal>65535</literal> and <literal>NaN</literal>. |
4161 </para> | |
4162 </listitem> | |
4163 | |
4164 <listitem> | |
4165 <para> | |
4166 Bugfix: | |
4167 fixed | |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
4168 <literal>String.prototype.toLowerCase()</literal> |
2414 | 4169 and |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
4170 <literal>String.prototype.toUpperCase()</literal>. |
2414 | 4171 </para> |
4172 </listitem> | |
4173 | |
4174 <listitem> | |
4175 <para> | |
4176 Bugfix: | |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
4177 fixed |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
4178 <literal>Error()</literal> |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
4179 constructor with no arguments. |
2414 | 4180 </para> |
4181 </listitem> | |
4182 | |
4183 <listitem> | |
4184 <para> | |
4185 Bugfix: | |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
4186 fixed |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
4187 <literal>in</literal> |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
4188 operator for values with accessor descriptors. |
2414 | 4189 </para> |
4190 </listitem> | |
4191 | |
4192 <listitem> | |
4193 <para> | |
4194 Bugfix: | |
4195 fixed | |
4196 <literal>Object.defineProperty()</literal> | |
4197 for non-boolean descriptor props. | |
4198 </para> | |
4199 </listitem> | |
4200 | |
4201 <listitem> | |
4202 <para> | |
4203 Bugfix: | |
4204 fixed | |
4205 <literal>Error.prototype.toString()</literal> | |
4206 with UTF8 string properties. | |
4207 </para> | |
4208 </listitem> | |
4209 | |
4210 <listitem> | |
4211 <para> | |
4212 Bugfix: | |
4213 fixed | |
4214 <literal>Error.prototype.toString()</literal> | |
4215 with non-string values for <literal>name</literal> and <literal>message</literal>. | |
4216 </para> | |
4217 </listitem> | |
4218 | |
4219 </list> | |
4220 </para> | |
4221 | |
4222 </section> | |
4223 | |
4224 | |
2456
de4f8f3d1fd6
Added njs product name to Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2446
diff
changeset
|
4225 <section id="njs0.3.3" name="Changes with njs 0.3.3"> |
2402 | 4226 |
4227 <para> | |
4228 Release Date: | |
4229 25 June 2019 | |
4230 </para> | |
4231 | |
4232 <para> | |
4233 nginx modules: | |
4234 <list type="bullet"> | |
4235 | |
4236 <listitem> | |
4237 <para> | |
4238 Improvement: | |
4239 getting of special response headers in | |
4240 <link doc="reference.xml" id="r_headers_out"><literal>r.headersOut{}</literal></link>. | |
4241 </para> | |
4242 </listitem> | |
4243 | |
4244 <listitem> | |
4245 <para> | |
4246 Improvement: | |
4247 working with unknown methods in | |
2570
44792f1ee284
Added IDs to methods in njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2569
diff
changeset
|
4248 <link doc="reference.xml" id="r_subrequest"><literal>r.subrequest()</literal></link>. |
2402 | 4249 </para> |
4250 </listitem> | |
4251 | |
4252 <listitem> | |
4253 <para> | |
4254 Improvement: | |
4255 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
|
4256 <link doc="reference.xml" id="r_subrequest"><literal>r.subrequest()</literal></link>. |
2402 | 4257 </para> |
4258 </listitem> | |
4259 | |
4260 <listitem> | |
4261 <para> | |
4262 Bugfix: | |
4263 fixed processing empty output chain in stream body filter. | |
4264 </para> | |
4265 </listitem> | |
4266 | |
4267 </list> | |
4268 </para> | |
4269 | |
4270 <para> | |
4271 Core: | |
4272 <list type="bullet"> | |
4273 | |
4274 <listitem> | |
4275 <para> | |
4276 Feature: | |
4277 added runtime support for property getter/setter. | |
4278 Thanks to 洪志道 (Hong Zhi Dao) and Artem S. Povalyukhin. | |
4279 </para> | |
4280 </listitem> | |
4281 | |
4282 <listitem> | |
4283 <para> | |
4284 Feature: | |
2405
dbf68c949522
Documented the "process" global object.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2402
diff
changeset
|
4285 added |
2414 | 4286 <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
|
4287 global object. |
2402 | 4288 </para> |
4289 </listitem> | |
4290 | |
4291 <listitem> | |
4292 <para> | |
4293 Feature: | |
4294 writable most of built-in properties and methods. | |
4295 </para> | |
4296 </listitem> | |
4297 | |
4298 <listitem> | |
4299 <para> | |
4300 Feature: | |
4301 added generic implementation of | |
4302 <literal>Array.prototype.fill()</literal>. | |
4303 </para> | |
4304 </listitem> | |
4305 | |
4306 <listitem> | |
4307 <para> | |
4308 Bugfix: | |
4309 fixed integer-overflow in | |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
4310 <literal>String.prototype.concat()</literal>. |
2402 | 4311 </para> |
4312 </listitem> | |
4313 | |
4314 <listitem> | |
4315 <para> | |
4316 Bugfix: | |
4317 fixed setting of object properties. | |
4318 </para> | |
4319 </listitem> | |
4320 | |
4321 <listitem> | |
4322 <para> | |
4323 Bugfix: | |
4324 fixed | |
4325 <literal>Array.prototype.toString()</literal>. | |
4326 </para> | |
4327 </listitem> | |
4328 | |
4329 <listitem> | |
4330 <para> | |
4331 Bugfix: | |
4332 fixed | |
4333 <literal>Date.prototype.toJSON()</literal>. | |
4334 </para> | |
4335 </listitem> | |
4336 | |
4337 <listitem> | |
4338 <para> | |
4339 Bugfix: | |
4340 fixed overwriting “constructor” property of built-in prototypes. | |
4341 </para> | |
4342 </listitem> | |
4343 | |
4344 <listitem> | |
4345 <para> | |
4346 Bugfix: | |
4347 fixed processing of invalid surrogate pairs in strings. | |
4348 </para> | |
4349 </listitem> | |
4350 | |
4351 <listitem> | |
4352 <para> | |
4353 Bugfix: | |
4354 fixed processing of invalid surrogate pairs in JSON strings. | |
4355 </para> | |
4356 </listitem> | |
4357 | |
4358 <listitem> | |
4359 <para> | |
4360 Bugfix: | |
4361 fixed heap-buffer-overflow in | |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
4362 <literal>toUpperCase()</literal> |
2402 | 4363 and |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
4364 <literal>toLowerCase()</literal>. |
2402 | 4365 </para> |
4366 </listitem> | |
4367 | |
4368 <listitem> | |
4369 <para> | |
4370 Bugfix: | |
4371 fixed escaping lone closing square brackets in | |
4372 <literal>RegExp()</literal> constructor. | |
4373 </para> | |
4374 </listitem> | |
4375 | |
4376 <listitem> | |
4377 <para> | |
4378 Bugfix: | |
4379 fixed handling zero byte characters inside RegExp pattern strings. | |
4380 </para> | |
4381 </listitem> | |
4382 | |
4383 <listitem> | |
4384 <para> | |
4385 Bugfix: | |
4386 fixed | |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
4387 <literal>String.prototype.toBytes()</literal> |
2402 | 4388 for ASCII strings. |
4389 </para> | |
4390 </listitem> | |
4391 | |
4392 <listitem> | |
4393 <para> | |
4394 Bugfix: | |
4395 fixed truth value of JSON numbers in | |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
4396 <literal>JSON.parse()</literal>. |
2402 | 4397 </para> |
4398 </listitem> | |
4399 | |
4400 <listitem> | |
4401 <para> | |
4402 Bugfix: | |
4403 fixed use-of-uninitialized-value in | |
4404 <literal>njs_string_replace_join()</literal>. | |
4405 </para> | |
4406 </listitem> | |
4407 | |
4408 <listitem> | |
4409 <para> | |
4410 Bugfix: | |
4411 fixed <literal>parseInt('-0')</literal>. | |
4412 Thanks to Artem S. Povalyukhin. | |
4413 </para> | |
4414 </listitem> | |
4415 | |
4416 </list> | |
4417 </para> | |
4418 | |
4419 </section> | |
4420 | |
4421 | |
2456
de4f8f3d1fd6
Added njs product name to Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2446
diff
changeset
|
4422 <section id="njs0.3.2" name="Changes with njs 0.3.2"> |
2387 | 4423 |
4424 <para> | |
4425 Release Date: | |
4426 21 May 2019 | |
4427 </para> | |
4428 | |
4429 <para> | |
4430 Core: | |
4431 <list type="bullet"> | |
4432 | |
4433 <listitem> | |
4434 <para> | |
4435 Feature: | |
4436 added support for template literals. | |
4437 Thanks to 洪志道 (Hong Zhi Dao) and Artem S. Povalyukhin. | |
4438 </para> | |
4439 </listitem> | |
4440 | |
4441 <listitem> | |
4442 <para> | |
4443 Feature: | |
4444 executing command from command line arguments. | |
4445 </para> | |
4446 </listitem> | |
4447 | |
4448 <listitem> | |
4449 <para> | |
4450 Feature: | |
4451 added support for RegExp <literal>groups</literal> object (ES9). | |
4452 </para> | |
4453 </listitem> | |
4454 | |
4455 <listitem> | |
4456 <para> | |
4457 Feature: | |
4458 added block scoped function definitions support. | |
4459 </para> | |
4460 </listitem> | |
4461 | |
4462 <listitem> | |
4463 <para> | |
4464 Feature: | |
4465 added support for building with GNU Readline library. | |
4466 </para> | |
4467 </listitem> | |
4468 | |
4469 <listitem> | |
4470 <para> | |
4471 Feature: | |
4472 made configurable | |
4473 <literal>length</literal>, | |
4474 <literal>name</literal>, | |
4475 and most of built-in methods. | |
4476 </para> | |
4477 </listitem> | |
4478 | |
4479 <listitem> | |
4480 <para> | |
4481 Feature: | |
4482 made all constructor properties configurable. | |
4483 </para> | |
4484 </listitem> | |
4485 | |
4486 <listitem> | |
4487 <para> | |
4488 Bugfix: | |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
4489 fixed |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
4490 <literal>Regexp.prototype.exec()</literal> |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
4491 for Unicode-only regexps. |
2387 | 4492 </para> |
4493 </listitem> | |
4494 | |
4495 <listitem> | |
4496 <para> | |
4497 Bugfix: | |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
4498 fixed |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
4499 <literal>njs_vm_value_dump()</literal> |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
4500 for empty string values. |
2387 | 4501 </para> |
4502 </listitem> | |
4503 | |
4504 <listitem> | |
4505 <para> | |
4506 Bugfix: | |
4507 fixed RegExp constructor for regexp value arguments. | |
4508 </para> | |
4509 </listitem> | |
4510 | |
4511 <listitem> | |
4512 <para> | |
4513 Bugfix: | |
4514 fixed walking over prototypes chain during iteration over an object. | |
4515 </para> | |
4516 </listitem> | |
4517 | |
4518 <listitem> | |
4519 <para> | |
4520 Bugfix: | |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
4521 fixed overflow in |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
4522 <literal>Array.prototype.concat()</literal>. |
2387 | 4523 </para> |
4524 </listitem> | |
4525 | |
4526 <listitem> | |
4527 <para> | |
4528 Bugfix: | |
4529 fixed length calculation for UTF-8 string with escape characters. | |
4530 </para> | |
4531 </listitem> | |
4532 | |
4533 <listitem> | |
4534 <para> | |
4535 Bugfix: | |
4536 fixed parsing surrogate pair presents as UTF-16 escape sequences. | |
4537 </para> | |
4538 </listitem> | |
4539 | |
4540 <listitem> | |
4541 <para> | |
4542 Bugfix: | |
4543 fixed processing the “*” quantifier for | |
4544 <literal>String.prototype.match()</literal>. | |
4545 </para> | |
4546 </listitem> | |
4547 | |
4548 <listitem> | |
4549 <para> | |
4550 Bugfix: | |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
4551 fixed |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
4552 <literal>Date()</literal> |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
4553 constructor with one argument. |
2387 | 4554 </para> |
4555 </listitem> | |
4556 | |
4557 <listitem> | |
4558 <para> | |
4559 Bugfix: | |
4560 fixed arrays expansion. | |
4561 </para> | |
4562 </listitem> | |
4563 | |
4564 <listitem> | |
4565 <para> | |
4566 Bugfix: | |
4567 fixed heap-buffer-overflow in | |
4568 <literal>String.prototype.replace()</literal>. | |
4569 </para> | |
4570 </listitem> | |
4571 | |
4572 <listitem> | |
4573 <para> | |
4574 Bugfix: | |
4575 fixed heap-buffer-overflow in | |
4576 <literal>String.prototype.lastIndexOf()</literal>. | |
4577 </para> | |
4578 </listitem> | |
4579 | |
4580 <listitem> | |
4581 <para> | |
4582 Bugfix: | |
4583 fixed regexp literals parsing with escaped backslash | |
4584 and backslash in square brackets. | |
4585 </para> | |
4586 </listitem> | |
4587 | |
4588 <listitem> | |
4589 <para> | |
4590 Bugfix: | |
4591 fixed regexp literals with lone closing brackets. | |
4592 </para> | |
4593 </listitem> | |
4594 | |
4595 <listitem> | |
4596 <para> | |
4597 Bugfix: | |
4598 fixed uninitialized-memory-access in | |
4599 <literal>Object.defineProperties()</literal>. | |
4600 </para> | |
4601 </listitem> | |
4602 | |
4603 <listitem> | |
4604 <para> | |
4605 Bugfix: | |
4606 fixed processing the “*” quantifier for | |
4607 <literal>String.prototype.replace()</literal>. | |
4608 </para> | |
4609 </listitem> | |
4610 | |
4611 <listitem> | |
4612 <para> | |
4613 Bugfix: | |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
4614 fixed |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
4615 <literal>Array.prototype.slice()</literal> |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
4616 for UTF8-invalid byte strings. |
2387 | 4617 </para> |
4618 </listitem> | |
4619 | |
4620 <listitem> | |
4621 <para> | |
4622 Bugfix: | |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
4623 fixed |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
4624 <literal>String.prototype.split()</literal> |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
4625 for UTF8-invalid byte strings. |
2387 | 4626 </para> |
4627 </listitem> | |
4628 | |
4629 <listitem> | |
4630 <para> | |
4631 Bugfix: | |
4632 fixed handling of empty block statements. | |
4633 </para> | |
4634 </listitem> | |
4635 | |
4636 </list> | |
4637 </para> | |
4638 | |
4639 </section> | |
4640 | |
4641 | |
2456
de4f8f3d1fd6
Added njs product name to Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2446
diff
changeset
|
4642 <section id="njs0.3.1" name="Changes with njs 0.3.1"> |
2369 | 4643 |
4644 <para> | |
4645 Release Date: | |
4646 16 April 2019 | |
4647 </para> | |
4648 | |
4649 <para> | |
4650 Core: | |
4651 <list type="bullet"> | |
4652 | |
4653 <listitem> | |
4654 <para> | |
4655 Feature: | |
4656 added arrow functions support. | |
4657 Thanks to 洪志道 (Hong Zhi Dao) and Artem S. Povalyukhin. | |
4658 </para> | |
4659 </listitem> | |
4660 | |
4661 <listitem> | |
4662 <para> | |
4663 Feature: | |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
4664 added |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
4665 <literal>Object.getOwnPropertyNames()</literal>. |
2369 | 4666 Thanks to Artem S. Povalyukhin. |
4667 </para> | |
4668 </listitem> | |
4669 | |
4670 <listitem> | |
4671 <para> | |
4672 Feature: | |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
4673 added |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
4674 <literal>Object.getOwnPropertyDescriptors()</literal>. |
2369 | 4675 Thanks to Artem S. Povalyukhin. |
4676 </para> | |
4677 </listitem> | |
4678 | |
4679 <listitem> | |
4680 <para> | |
4681 Feature: | |
2386
3e31ef06a7e3
Updated layout of njs 0.3.1 changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2369
diff
changeset
|
4682 making <literal>__proto__</literal> accessor descriptor |
3e31ef06a7e3
Updated layout of njs 0.3.1 changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2369
diff
changeset
|
4683 of <literal>Object</literal> instances mutable. |
2369 | 4684 </para> |
4685 </listitem> | |
4686 | |
4687 <listitem> | |
4688 <para> | |
4689 Feature: | |
4690 added shebang support in CLI. | |
4691 </para> | |
4692 </listitem> | |
4693 | |
4694 <listitem> | |
4695 <para> | |
4696 Feature: | |
2386
3e31ef06a7e3
Updated layout of njs 0.3.1 changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2369
diff
changeset
|
4697 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
|
4698 In module mode global, this is unavailable. |
2369 | 4699 </para> |
4700 </listitem> | |
4701 | |
4702 <listitem> | |
4703 <para> | |
4704 Bugfix: | |
4705 fixed editline detection. | |
4706 </para> | |
4707 </listitem> | |
4708 | |
4709 <listitem> | |
4710 <para> | |
4711 Bugfix: | |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
4712 fixed |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
4713 <literal>Function.prototype.bind()</literal>. |
2369 | 4714 Thanks to 洪志道 (Hong Zhi Dao). |
4715 </para> | |
4716 </listitem> | |
4717 | |
4718 <listitem> | |
4719 <para> | |
4720 Bugfix: | |
4721 fixed checking of duplication of parameters for functions. | |
4722 Thanks to 洪志道 (Hong Zhi Dao). | |
4723 </para> | |
4724 </listitem> | |
4725 | |
4726 <listitem> | |
4727 <para> | |
4728 Bugfix: | |
4729 fixed function declaration with the same name as a variable. | |
4730 Thanks to 洪志道 (Hong Zhi Dao). | |
4731 </para> | |
4732 </listitem> | |
4733 | |
4734 <listitem> | |
4735 <para> | |
4736 Improvement: | |
4737 code related to parsing of objects, variables and | |
4738 functions is refactored. | |
4739 Thanks to 洪志道 (Hong Zhi Dao). | |
4740 </para> | |
4741 </listitem> | |
4742 | |
4743 <listitem> | |
4744 <para> | |
4745 Improvement: | |
2386
3e31ef06a7e3
Updated layout of njs 0.3.1 changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2369
diff
changeset
|
4746 large-value output improved in <literal>console.log()</literal>. |
2369 | 4747 </para> |
4748 </listitem> | |
4749 | |
4750 <listitem> | |
4751 <para> | |
4752 Improvement: | |
2386
3e31ef06a7e3
Updated layout of njs 0.3.1 changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2369
diff
changeset
|
4753 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
|
4754 in a compliant way (without escaping and quotes). |
2369 | 4755 </para> |
4756 </listitem> | |
4757 | |
4758 <listitem> | |
4759 <para> | |
4760 Improvement: | |
2386
3e31ef06a7e3
Updated layout of njs 0.3.1 changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2369
diff
changeset
|
4761 using ES6 version of |
3e31ef06a7e3
Updated layout of njs 0.3.1 changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2369
diff
changeset
|
4762 <literal>ToInt32()</literal>, |
3e31ef06a7e3
Updated layout of njs 0.3.1 changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2369
diff
changeset
|
4763 <literal>ToUint32()</literal>, |
3e31ef06a7e3
Updated layout of njs 0.3.1 changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2369
diff
changeset
|
4764 <literal>ToLength()</literal>. |
2369 | 4765 </para> |
4766 </listitem> | |
4767 | |
4768 </list> | |
4769 </para> | |
4770 | |
4771 </section> | |
4772 | |
4773 | |
2456
de4f8f3d1fd6
Added njs product name to Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2446
diff
changeset
|
4774 <section id="njs0.3.0" name="Changes with njs 0.3.0"> |
2353 | 4775 |
4776 <para> | |
4777 Release Date: | |
4778 26 March 2019 | |
4779 </para> | |
4780 | |
4781 <para> | |
4782 nginx modules: | |
4783 <list type="bullet"> | |
4784 | |
4785 <listitem> | |
4786 <para> | |
4787 Feature: | |
4788 added the <literal>js_path</literal> directive for | |
4789 <link doc="../http/ngx_http_js_module.xml" id="js_path">http</link> and | |
4790 <link doc="../stream/ngx_stream_js_module.xml" id="js_path">stream</link>. | |
4791 </para> | |
4792 </listitem> | |
4793 | |
4794 <listitem> | |
4795 <para> | |
4796 Change: | |
4797 returning undefined value instead of empty strings | |
4798 for absent properties in the following objects: | |
4799 <link doc="reference.xml" id="r_args"><literal>r.args{}</literal></link>, | |
4800 <link doc="reference.xml" id="r_headers_in"><literal>r.headersIn{}</literal></link>, | |
4801 <link doc="reference.xml" id="r_headers_out"><literal>r.headersOut{}</literal></link>, | |
4802 <link doc="reference.xml" id="r_variables"><literal>r.variables{}</literal></link>, | |
4803 <link doc="reference.xml" id="s_variables"><literal>s.variables{}</literal></link>. | |
4804 </para> | |
4805 </listitem> | |
4806 | |
4807 <listitem> | |
4808 <para> | |
4809 Change: | |
4810 returning undefined value instead of throwing an exception for | |
4811 <link doc="reference.xml" id="r_request_body"><literal>r.requestBody</literal></link> | |
4812 when request body is unavailable. | |
4813 </para> | |
4814 </listitem> | |
4815 | |
4816 <listitem> | |
4817 <para> | |
4818 Bugfix: | |
4819 fixed crash while iterating over | |
4820 <link doc="reference.xml" id="r_args"><literal>r.args{}</literal></link> | |
4821 when a value is absent in a key-value pair. | |
4822 </para> | |
4823 </listitem> | |
4824 | |
4825 </list> | |
4826 </para> | |
4827 | |
4828 <para> | |
4829 Core: | |
4830 <list type="bullet"> | |
4831 | |
4832 <listitem> | |
4833 <para> | |
4834 Feature: | |
4835 added initial ES6 modules support. | |
4836 Default import and default export statements are supported. | |
4837 Thanks to 洪志道 (Hong Zhi Dao). | |
4838 </para> | |
4839 </listitem> | |
4840 | |
4841 <listitem> | |
4842 <para> | |
4843 Feature: | |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
4844 added |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
4845 <literal>Object.prototype.propertyIsEnumerable()</literal>. |
2353 | 4846 </para> |
4847 </listitem> | |
4848 | |
4849 <listitem> | |
4850 <para> | |
4851 Feature: | |
4852 reporting file name and function name in disassembler output. | |
4853 </para> | |
4854 </listitem> | |
4855 | |
4856 <listitem> | |
4857 <para> | |
4858 Bugfix: | |
4859 fixed function redeclarations in interactive shell. | |
4860 Thanks to 洪志道 (Hong Zhi Dao). | |
4861 </para> | |
4862 </listitem> | |
4863 | |
4864 <listitem> | |
4865 <para> | |
4866 Bugfix: | |
4867 fixed RegExp literals parsing. | |
4868 </para> | |
4869 </listitem> | |
4870 | |
4871 <listitem> | |
4872 <para> | |
4873 Bugfix: | |
4874 fixed setting length of UTF8 string in | |
4875 <link doc="reference.xml" id="readfilesync"><literal>fs.readFileSync()</literal></link>. | |
4876 </para> | |
4877 </listitem> | |
4878 | |
4879 <listitem> | |
4880 <para> | |
4881 Bugfix: | |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
4882 fixed |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
4883 <literal>nxt_file_dirname()</literal> for paths with no dir component. |
2353 | 4884 </para> |
4885 </listitem> | |
4886 | |
4887 </list> | |
4888 </para> | |
4889 | |
4890 </section> | |
4891 | |
4892 | |
2456
de4f8f3d1fd6
Added njs product name to Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2446
diff
changeset
|
4893 <section id="njs0.2.8" name="Changes with njs 0.2.8"> |
2331 | 4894 |
4895 <para> | |
4896 Release Date: | |
4897 26 February 2019 | |
4898 </para> | |
4899 | |
4900 <para> | |
4901 nginx modules: | |
4902 <list type="bullet"> | |
4903 | |
4904 <listitem> | |
4905 <para> | |
4906 Change: | |
4907 properties of HTTP request deprecated in <link id="njs0.2.2">0.2.2</link> | |
4908 are removed. | |
4909 </para> | |
4910 </listitem> | |
4911 | |
4912 <listitem> | |
4913 <para> | |
4914 Feature: | |
4915 added support for delete operation in | |
4916 <link doc="reference.xml" id="r_headers_out"><literal>r.headersOut{}</literal></link>. | |
4917 </para> | |
4918 </listitem> | |
4919 | |
4920 <listitem> | |
4921 <para> | |
4922 Feature: | |
4923 added support for setting nginx variables. | |
4924 </para> | |
4925 </listitem> | |
4926 | |
4927 <listitem> | |
4928 <para> | |
4929 Bugfix: | |
4930 fixed | |
2570
44792f1ee284
Added IDs to methods in njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2569
diff
changeset
|
4931 <link doc="reference.xml" id="r_subrequest"><literal>r.subrequest()</literal></link> |
2331 | 4932 for empty body value. |
4933 </para> | |
4934 </listitem> | |
4935 | |
4936 <listitem> | |
4937 <para> | |
4938 Improvement: | |
4939 setting special response headers in | |
4940 <link doc="reference.xml" id="r_headers_out"><literal>r.headersOut{}</literal></link>. | |
4941 </para> | |
4942 </listitem> | |
4943 | |
4944 </list> | |
4945 </para> | |
4946 | |
4947 <para> | |
4948 Core: | |
4949 <list type="bullet"> | |
4950 | |
4951 <listitem> | |
4952 <para> | |
4953 Feature: | |
4954 added labels support. | |
4955 </para> | |
4956 </listitem> | |
4957 | |
4958 <listitem> | |
4959 <para> | |
4960 Feature: | |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
4961 added |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
4962 <literal>setImmediate()</literal> method. |
2331 | 4963 </para> |
4964 </listitem> | |
4965 | |
4966 <listitem> | |
4967 <para> | |
4968 Feature: | |
4969 added support for shorthand property names for Object literals. | |
4970 </para> | |
4971 </listitem> | |
4972 | |
4973 <listitem> | |
4974 <para> | |
4975 Bugfix: | |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
4976 fixed |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
4977 <literal>Function.prototype.bind()</literal>. |
2331 | 4978 </para> |
4979 </listitem> | |
4980 | |
4981 <listitem> | |
4982 <para> | |
4983 Bugfix: | |
4984 fixed parsing of string literals containing newline characters. | |
4985 </para> | |
4986 </listitem> | |
4987 | |
4988 <listitem> | |
4989 <para> | |
4990 Bugfix: | |
4991 fixed line number in reporting variable reference errors. | |
4992 </para> | |
4993 </listitem> | |
4994 | |
4995 <listitem> | |
4996 <para> | |
4997 Bugfix: | |
4998 fixed creation of long UTF8 strings. | |
4999 </para> | |
5000 </listitem> | |
5001 | |
5002 <listitem> | |
5003 <para> | |
5004 Bugfix: | |
5005 fixed | |
5006 setting special response headers in | |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
5007 <literal>String.prototype.split()</literal> |
2331 | 5008 for Unicode strings. |
5009 </para> | |
5010 </listitem> | |
5011 | |
5012 <listitem> | |
5013 <para> | |
5014 Bugfix: | |
5015 fixed heap-buffer-overflow in | |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
5016 <literal>String.prototype.split()</literal>. |
2331 | 5017 </para> |
5018 </listitem> | |
5019 | |
5020 <listitem> | |
5021 <para> | |
5022 Bugfix: | |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
5023 fixed |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
5024 <literal>Array.prototype.fill()</literal>. |
2331 | 5025 Thanks to Artem S. Povalyukhin. |
5026 </para> | |
5027 </listitem> | |
5028 | |
5029 <listitem> | |
5030 <para> | |
5031 Improvement: | |
5032 code related to function invocation is refactored. | |
5033 Thanks to 洪志道 (Hong Zhi Dao). | |
5034 </para> | |
5035 </listitem> | |
5036 | |
5037 <listitem> | |
5038 <para> | |
5039 Improvement: | |
5040 code related to variables is refactored. | |
5041 Thanks to 洪志道 (Hong Zhi Dao). | |
5042 </para> | |
5043 </listitem> | |
5044 | |
5045 <listitem> | |
5046 <para> | |
5047 Improvement: parser is refactored. | |
5048 Thanks to 洪志道 (Hong Zhi Dao). | |
5049 </para> | |
5050 </listitem> | |
5051 | |
5052 <listitem> | |
5053 <para> | |
5054 Improvement: | |
5055 reporting filenames in exceptions. | |
5056 </para> | |
5057 </listitem> | |
5058 | |
5059 </list> | |
5060 </para> | |
5061 | |
5062 </section> | |
5063 | |
5064 | |
2456
de4f8f3d1fd6
Added njs product name to Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2446
diff
changeset
|
5065 <section id="njs0.2.7" name="Changes with njs 0.2.7"> |
2312 | 5066 |
5067 <para> | |
5068 Release Date: | |
5069 25 December 2018 | |
5070 </para> | |
5071 | |
5072 <para> | |
5073 Core: | |
5074 <list type="bullet"> | |
5075 | |
5076 <listitem> | |
5077 <para> | |
5078 Feature: | |
5079 rest parameters syntax (destructuring is not supported). | |
5080 Thanks to Alexander Pyshchev. | |
5081 </para> | |
5082 </listitem> | |
5083 | |
5084 <listitem> | |
5085 <para> | |
5086 Feature: | |
5087 added | |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
5088 <literal>Object.entries()</literal> |
2312 | 5089 method. |
5090 </para> | |
5091 </listitem> | |
5092 | |
5093 <listitem> | |
5094 <para> | |
5095 Feature: | |
5096 added | |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
5097 <literal>Object.values()</literal> |
2312 | 5098 method. |
5099 </para> | |
5100 </listitem> | |
5101 | |
5102 <listitem> | |
5103 <para> | |
5104 Improvement: | |
5105 code generator refactored and simplified. | |
5106 </para> | |
5107 </listitem> | |
5108 | |
5109 <listitem> | |
5110 <para> | |
5111 Bugfix: | |
5112 fixed automatic semicolon insertion. | |
5113 </para> | |
5114 </listitem> | |
5115 | |
5116 <listitem> | |
5117 <para> | |
5118 Bugfix: | |
5119 fixed assignment expression from compound assignment. | |
5120 </para> | |
5121 </listitem> | |
5122 | |
5123 <listitem> | |
5124 <para> | |
5125 Bugfix: | |
5126 fixed comparison of Byte and UTF8 strings. | |
5127 </para> | |
5128 </listitem> | |
5129 | |
5130 <listitem> | |
5131 <para> | |
5132 Bugfix: | |
2909 | 5133 fixed type of iteration variable in <literal>for-in</literal> with array values. |
2312 | 5134 </para> |
5135 </listitem> | |
5136 | |
5137 <listitem> | |
5138 <para> | |
5139 Bugfix: | |
2315
ae56e4613280
Corrected language in njs.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2312
diff
changeset
|
5140 fixed building on platforms without librt. |
2312 | 5141 </para> |
5142 </listitem> | |
5143 | |
5144 <listitem> | |
5145 <para> | |
5146 Bugfix: | |
2315
ae56e4613280
Corrected language in njs.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2312
diff
changeset
|
5147 miscellaneous bugs have been fixed. |
2312 | 5148 </para> |
5149 </listitem> | |
5150 | |
5151 </list> | |
5152 </para> | |
5153 | |
5154 </section> | |
5155 | |
5156 | |
2456
de4f8f3d1fd6
Added njs product name to Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2446
diff
changeset
|
5157 <section id="njs0.2.6" name="Changes with njs 0.2.6"> |
2285 | 5158 |
5159 <para> | |
5160 Release Date: | |
5161 27 November 2018 | |
5162 </para> | |
5163 | |
5164 <para> | |
5165 Core: | |
5166 <list type="bullet"> | |
5167 | |
5168 <listitem> | |
5169 <para> | |
5170 Feature: | |
5171 making built-in prototypes mutable. | |
5172 </para> | |
5173 </listitem> | |
5174 | |
5175 <listitem> | |
5176 <para> | |
5177 Feature: | |
5178 making global object mutable. | |
5179 </para> | |
5180 </listitem> | |
5181 | |
5182 <listitem> | |
5183 <para> | |
5184 Feature: | |
3015
3a85326ed38c
Documented Console object in njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
3010
diff
changeset
|
5185 <link doc="reference.xml" id="console_time"><literal>console.time()</literal></link> |
3a85326ed38c
Documented Console object in njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
3010
diff
changeset
|
5186 and |
3a85326ed38c
Documented Console object in njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
3010
diff
changeset
|
5187 <link doc="reference.xml" id="console_time_end"><literal>console.timeEnd()</literal></link> |
3a85326ed38c
Documented Console object in njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
3010
diff
changeset
|
5188 methods. |
2285 | 5189 </para> |
5190 </listitem> | |
5191 | |
5192 <listitem> | |
5193 <para> | |
5194 Feature: | |
5195 allowing variables and functions to be redeclared. | |
5196 </para> | |
5197 </listitem> | |
5198 | |
5199 <listitem> | |
5200 <para> | |
5201 Feature: | |
5202 extending <literal>Object.defineProperty()</literal> spec conformance. | |
5203 </para> | |
5204 </listitem> | |
5205 | |
5206 <listitem> | |
5207 <para> | |
5208 Feature: | |
5209 introduced quiet mode for CLI to handle simple expressions from stdin. | |
5210 </para> | |
5211 </listitem> | |
5212 | |
5213 <listitem> | |
5214 <para> | |
5215 Feature: | |
5216 introduced compact form of backtraces to handle stack overflows. | |
5217 </para> | |
5218 </listitem> | |
5219 | |
5220 <listitem> | |
5221 <para> | |
5222 Improvement: | |
5223 improved wording for various exceptions. | |
5224 </para> | |
5225 </listitem> | |
5226 | |
5227 <listitem> | |
5228 <para> | |
5229 Bugfix: | |
5230 fixed closure values handling. | |
5231 </para> | |
5232 </listitem> | |
5233 | |
5234 <listitem> | |
5235 <para> | |
5236 Bugfix: | |
5237 fixed equality operator for various value types. | |
5238 </para> | |
5239 </listitem> | |
5240 | |
5241 <listitem> | |
5242 <para> | |
5243 Bugfix: | |
2909 | 5244 fixed handling of <literal>this</literal> keyword in various scopes. |
2285 | 5245 </para> |
5246 </listitem> | |
5247 | |
5248 <listitem> | |
5249 <para> | |
5250 Bugfix: | |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
5251 fixed handling non-object values in |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
5252 <literal>Object.keys()</literal>. |
2285 | 5253 </para> |
5254 </listitem> | |
5255 | |
5256 <listitem> | |
5257 <para> | |
5258 Bugfix: | |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
5259 fixed parsing of throw statement inside |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
5260 <literal>if</literal> statement. |
2285 | 5261 </para> |
5262 </listitem> | |
5263 | |
5264 <listitem> | |
5265 <para> | |
5266 Bugfix: | |
5267 fixed parsing of newline after throw statement. | |
5268 </para> | |
5269 </listitem> | |
5270 | |
5271 <listitem> | |
5272 <para> | |
5273 Bugfix: | |
5274 fixed parsing of statements in if statement without newline. | |
5275 </para> | |
5276 </listitem> | |
5277 | |
5278 <listitem> | |
5279 <para> | |
5280 Bugfix: | |
5281 fixed size <literal>uint32_t</literal> overflow | |
5282 in <literal>njs_array_expand()</literal>. | |
5283 </para> | |
5284 </listitem> | |
5285 | |
5286 <listitem> | |
5287 <para> | |
5288 Bugfix: | |
5289 fixed <literal>typeof</literal> operator | |
5290 for <literal>object_value</literal> type. | |
5291 </para> | |
5292 </listitem> | |
5293 | |
5294 <listitem> | |
5295 <para> | |
5296 Bugfix: | |
2315
ae56e4613280
Corrected language in njs.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2312
diff
changeset
|
5297 miscellaneous bugs have been fixed. |
2285 | 5298 </para> |
5299 </listitem> | |
5300 | |
5301 </list> | |
5302 </para> | |
5303 | |
5304 </section> | |
5305 | |
5306 | |
2456
de4f8f3d1fd6
Added njs product name to Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2446
diff
changeset
|
5307 <section id="njs0.2.5" name="Changes with njs 0.2.5"> |
2264 | 5308 |
5309 <para> | |
5310 Release Date: | |
5311 30 October 2018 | |
5312 </para> | |
5313 | |
5314 <para> | |
5315 nginx modules: | |
5316 <list type="bullet"> | |
5317 | |
5318 <listitem> | |
5319 <para> | |
5320 Bugfix: | |
5321 fixed counting pending events in stream module. | |
5322 </para> | |
5323 </listitem> | |
5324 | |
5325 <listitem> | |
5326 <para> | |
5327 Bugfix: | |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
5328 fixed |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
5329 <literal>s.off()</literal> in stream module. |
2264 | 5330 </para> |
5331 </listitem> | |
5332 | |
5333 <listitem> | |
5334 <para> | |
5335 Bugfix: | |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
5336 fixed processing of data chunks in |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
5337 <literal>js_filter</literal> in stream module. |
2264 | 5338 </para> |
5339 </listitem> | |
5340 | |
5341 <listitem> | |
5342 <para> | |
5343 Bugfix: | |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
5344 fixed http |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
5345 <literal>status</literal> and |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
5346 <literal>contentType</literal> |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
5347 getter in http module. |
2264 | 5348 </para> |
5349 </listitem> | |
5350 | |
5351 <listitem> | |
5352 <para> | |
5353 Bugfix: | |
5354 fixed http response and parent getters in http module. | |
5355 </para> | |
5356 </listitem> | |
5357 | |
5358 </list> | |
5359 </para> | |
5360 | |
5361 <para> | |
5362 Core: | |
5363 <list type="bullet"> | |
5364 | |
5365 <listitem> | |
5366 <para> | |
5367 Feature: | |
5368 arguments object support. | |
5369 </para> | |
5370 </listitem> | |
5371 | |
5372 <listitem> | |
5373 <para> | |
5374 Feature: | |
5375 non-integer fractions support. | |
5376 </para> | |
5377 </listitem> | |
5378 | |
5379 <listitem> | |
5380 <para> | |
5381 Improvement: | |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
5382 handling non-array values in |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
5383 <literal>Array.prototype.slice()</literal>. |
2264 | 5384 </para> |
5385 </listitem> | |
5386 | |
5387 <listitem> | |
5388 <para> | |
5389 Bugfix: | |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
5390 fixed |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
5391 <literal>Array.prototype.length</literal> setter |
2264 | 5392 </para> |
5393 </listitem> | |
5394 | |
5395 <listitem> | |
5396 <para> | |
5397 Bugfix: | |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
5398 fixed |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
5399 <literal>njs_array_alloc()</literal> for length > 2**31. |
2264 | 5400 </para> |
5401 </listitem> | |
5402 | |
5403 <listitem> | |
5404 <para> | |
5405 Bugfix: | |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
5406 handling int overflow in |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
5407 <literal>njs_array_alloc()</literal> on 32bit archs. |
2264 | 5408 </para> |
5409 </listitem> | |
5410 | |
5411 <listitem> | |
5412 <para> | |
5413 Bugfix: | |
5414 fixed code size mismatch error message. | |
5415 </para> | |
5416 </listitem> | |
5417 | |
5418 <listitem> | |
5419 <para> | |
5420 Bugfix: | |
5421 fixed delete operator in a loop. | |
5422 </para> | |
5423 </listitem> | |
5424 | |
5425 <listitem> | |
5426 <para> | |
5427 Bugfix: | |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
5428 fixed |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
5429 <literal>Object.getOwnPropertyDescriptor()</literal> |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
5430 for complex object (inherited from |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
5431 <literal>Array</literal> and |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
5432 <literal>string</literal> values). |
2264 | 5433 </para> |
5434 </listitem> | |
5435 | |
5436 <listitem> | |
5437 <para> | |
5438 Bugfix: | |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
5439 fixed |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
5440 <literal>Object.prototype.hasOwnProperty()</literal> |
2264 | 5441 for non-object properties |
5442 </para> | |
5443 </listitem> | |
5444 | |
5445 <listitem> | |
5446 <para> | |
5447 Bugfix: | |
2315
ae56e4613280
Corrected language in njs.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2312
diff
changeset
|
5448 miscellaneous bugs have been fixed. |
2264 | 5449 </para> |
5450 </listitem> | |
5451 | |
5452 </list> | |
5453 </para> | |
5454 | |
5455 </section> | |
5456 | |
5457 | |
2456
de4f8f3d1fd6
Added njs product name to Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2446
diff
changeset
|
5458 <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
|
5459 |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5460 <para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5461 Release Date: |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5462 18 September 2018 |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5463 </para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5464 |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5465 <para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5466 nginx modules: |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5467 <list type="bullet"> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5468 |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5469 <listitem> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5470 <para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5471 Change: |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5472 stream module handlers refactored. |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5473 </para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5474 |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5475 <para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5476 New methods and properties: |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
5477 <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
|
5478 <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
|
5479 <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
|
5480 <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
|
5481 <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
|
5482 <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
|
5483 </para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5484 |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5485 <para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5486 Removed properties of the |
2250
a314f4aeb199
Fixed path to njs reference in Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2246
diff
changeset
|
5487 <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
|
5488 <literal>s.OK</literal>, |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5489 <literal>s.ABORT</literal>, |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5490 <literal>s.AGAIN</literal>, |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5491 <literal>s.DECLINED</literal>, |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5492 <literal>s.ERROR</literal> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5493 (replaced with |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
5494 <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
|
5495 <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
|
5496 <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
|
5497 </para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5498 |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5499 <para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5500 <literal>s.buffer</literal> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5501 (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
|
5502 the corresponding callback, for writing use |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
5503 <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
|
5504 </para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5505 |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5506 <para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5507 <literal>s.fromUpstream</literal> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5508 (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
|
5509 </para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5510 |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5511 <para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5512 <literal>s.eof</literal> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5513 (replaced with <literal></literal> |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
5514 <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
|
5515 </para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5516 |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5517 </listitem> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5518 |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5519 </list> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5520 </para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5521 |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5522 <para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5523 Core: |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5524 <list type="bullet"> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5525 |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5526 <listitem> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5527 <para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5528 Feature: |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
5529 added |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
5530 <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
|
5531 </para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5532 </listitem> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5533 |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5534 <listitem> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5535 <para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5536 Feature: |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5537 introduced sandboxing mode. |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5538 </para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5539 </listitem> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5540 |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5541 <listitem> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5542 <para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5543 Improvement: |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5544 added exception strings where appropriate. |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5545 </para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5546 </listitem> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5547 |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5548 <listitem> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5549 <para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5550 Improvement: |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5551 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
|
5552 </para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5553 </listitem> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5554 |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5555 <listitem> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5556 <para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5557 Bugfix: |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5558 throwing <literal>TypeError</literal> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5559 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
|
5560 </para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5561 </listitem> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5562 |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5563 <listitem> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5564 <para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5565 Bugfix: |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
5566 fixed |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
5567 <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
|
5568 </para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5569 </listitem> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5570 |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5571 <listitem> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5572 <para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5573 Bugfix: |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5574 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
|
5575 </para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5576 </listitem> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5577 |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5578 <listitem> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5579 <para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5580 Bugfix: |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5581 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
|
5582 </para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5583 </listitem> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5584 |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5585 <listitem> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5586 <para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5587 Bugfix: |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5588 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
|
5589 </para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5590 </listitem> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5591 |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5592 <listitem> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5593 <para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5594 Bugfix: |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
5595 fixed |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
5596 <literal>Object.prototype.toString</literal> |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
5597 for different value types. |
2237
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5598 </para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5599 </listitem> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5600 |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5601 <listitem> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5602 <para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5603 Bugfix: |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
5604 fixed |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
5605 <literal>Object()</literal> |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
5606 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
|
5607 </para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5608 </listitem> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5609 |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5610 <listitem> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5611 <para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5612 Bugfix: |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5613 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
|
5614 </para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5615 </listitem> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5616 |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5617 <listitem> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5618 <para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5619 Bugfix: |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
5620 fixed |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
5621 <literal>String.slice()</literal> |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
5622 for undefined arguments. |
2237
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5623 </para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5624 </listitem> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5625 |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5626 <listitem> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5627 <para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5628 Bugfix: |
2315
ae56e4613280
Corrected language in njs.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2312
diff
changeset
|
5629 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
|
5630 </para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5631 </listitem> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5632 |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5633 </list> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5634 </para> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5635 |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5636 </section> |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5637 |
5268c13196f2
Documented njs changes triggered by njs-0.2.4.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2213
diff
changeset
|
5638 |
2456
de4f8f3d1fd6
Added njs product name to Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2446
diff
changeset
|
5639 <section id="njs0.2.3" name="Changes with njs 0.2.3"> |
2213 | 5640 |
5641 <para> | |
5642 Release Date: | |
5643 31 July 2018 | |
5644 </para> | |
5645 | |
5646 <para> | |
5647 nginx modules: | |
5648 <list type="bullet"> | |
5649 | |
5650 <listitem> | |
5651 <para> | |
5652 Bugfix: | |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
5653 making a subrequest from a |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
5654 <literal>Reply</literal> |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
5655 object caused a segmentation fault. |
2213 | 5656 </para> |
5657 </listitem> | |
5658 | |
5659 <listitem> | |
5660 <para> | |
5661 Bugfix: | |
5662 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
|
5663 <link doc="reference.xml" id="http">HTTP Request</link> |
2213 | 5664 object caused a segmentation fault. |
5665 </para> | |
5666 </listitem> | |
5667 | |
5668 </list> | |
5669 </para> | |
5670 | |
5671 <para> | |
5672 Core: | |
5673 <list type="bullet"> | |
5674 | |
5675 <listitem> | |
5676 <para> | |
5677 Feature: | |
5678 added the pretty string representation for values. | |
5679 </para> | |
5680 </listitem> | |
5681 | |
5682 <listitem> | |
5683 <para> | |
5684 Feature: | |
5685 correctly printing floating point numbers. | |
5686 </para> | |
5687 </listitem> | |
5688 | |
5689 <listitem> | |
5690 <para> | |
5691 Feature: | |
5692 correctly parsing floating point numbers. | |
5693 </para> | |
5694 </listitem> | |
5695 | |
5696 <listitem> | |
5697 <para> | |
5698 Feature: | |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
5699 <link doc="reference.xml" id="string_bytesfrom"><literal>String.bytesFrom()</literal></link> method |
2213 | 5700 (decoding <literal>hex</literal>, |
5701 <literal>base64</literal>, | |
5702 <literal>base64url</literal> into a byte string). | |
5703 </para> | |
5704 </listitem> | |
5705 | |
5706 <listitem> | |
5707 <para> | |
5708 Feature: | |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
5709 <literal>String.padStart()</literal> and |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
5710 <literal>String.padEnd()</literal> |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
5711 methods. |
2213 | 5712 </para> |
5713 </listitem> | |
5714 | |
5715 <listitem> | |
5716 <para> | |
5717 Feature: | |
5718 added support of binary literals. | |
5719 </para> | |
5720 </listitem> | |
5721 | |
5722 <listitem> | |
5723 <para> | |
5724 Improvement: | |
5725 added information about illegal token in number parsing. | |
5726 </para> | |
5727 </listitem> | |
5728 | |
5729 <listitem> | |
5730 <para> | |
5731 Improvement: | |
5732 allowed uppercased <literal>O</literal> in octal literal values. | |
5733 </para> | |
5734 </listitem> | |
5735 | |
5736 <listitem> | |
5737 <para> | |
5738 Improvement: | |
5739 added support for multiple arguments in <literal>console.log()</literal>. | |
5740 </para> | |
5741 </listitem> | |
5742 | |
5743 <listitem> | |
5744 <para> | |
5745 Bugfix: | |
5746 fixed applying <literal>call()</literal> to methods of external values. | |
5747 </para> | |
5748 </listitem> | |
5749 | |
5750 <listitem> | |
5751 <para> | |
5752 Bugfix: | |
5753 fixed addition operator applied to an object. | |
5754 </para> | |
5755 </listitem> | |
5756 | |
5757 <listitem> | |
5758 <para> | |
5759 Bugfix: | |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
5760 fixed exception handling in |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
5761 <literal>njs_vm_value_to_ext_string()</literal>. |
2213 | 5762 </para> |
5763 </listitem> | |
5764 | |
5765 <listitem> | |
5766 <para> | |
5767 Bugfix: | |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
5768 fixed |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
5769 <literal>Number()</literal> with boolean, null and undefined arguments. |
2213 | 5770 </para> |
5771 </listitem> | |
5772 | |
5773 <listitem> | |
5774 <para> | |
5775 Bugfix: | |
5776 fixed error handling of setting non-numeric <literal>Array.length</literal>. | |
5777 </para> | |
5778 </listitem> | |
5779 | |
5780 <listitem> | |
5781 <para> | |
5782 Bugfix: | |
5783 fixed autocompletion for global objects. | |
5784 </para> | |
5785 </listitem> | |
5786 | |
5787 <listitem> | |
5788 <para> | |
5789 Bugfix: | |
2315
ae56e4613280
Corrected language in njs.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2312
diff
changeset
|
5790 miscellaneous bugs have been fixed. |
2213 | 5791 </para> |
5792 </listitem> | |
5793 | |
5794 </list> | |
5795 </para> | |
5796 | |
5797 </section> | |
5798 | |
5799 | |
2456
de4f8f3d1fd6
Added njs product name to Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2446
diff
changeset
|
5800 <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
|
5801 |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5802 <para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5803 Release Date: |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5804 19 June 2018 |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5805 </para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5806 |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5807 <para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5808 nginx modules: |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5809 <list type="bullet"> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5810 |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5811 <listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5812 <para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5813 Change: |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5814 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
|
5815 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
|
5816 New members of <literal>Request</literal>: |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5817 |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5818 <list type="bullet"> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5819 |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5820 <listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5821 <para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5822 <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
|
5823 </para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5824 </listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5825 |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5826 <listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5827 <para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5828 <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
|
5829 </para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5830 </listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5831 |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5832 <listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5833 <para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5834 <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
|
5835 </para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5836 </listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5837 |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5838 <listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5839 <para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5840 <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
|
5841 </para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5842 </listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5843 |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5844 <listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5845 <para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5846 <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
|
5847 </para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5848 </listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5849 |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5850 <listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5851 <para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5852 <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
|
5853 </para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5854 </listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5855 |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5856 <listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5857 <para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5858 <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
|
5859 </para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5860 </listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5861 |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5862 <listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5863 <para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5864 <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
|
5865 </para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5866 </listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5867 |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5868 <listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5869 <para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5870 <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
|
5871 </para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5872 </listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5873 |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5874 <listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5875 <para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5876 <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
|
5877 </para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5878 </listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5879 |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5880 </list> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5881 Deprecated members of <literal>Request</literal>: |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5882 |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5883 <list type="bullet"> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5884 |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5885 <listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5886 <para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5887 <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
|
5888 or <literal>req.responseBody</literal>) |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5889 </para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5890 </listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5891 |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5892 <listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5893 <para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5894 <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
|
5895 or <literal>req.headersOut</literal>) |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5896 </para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5897 </listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5898 |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5899 <listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5900 <para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5901 <literal>req.response</literal> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5902 </para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5903 </listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5904 |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5905 </list> |
2363
7952cd8af485
Documenting njs properties removal in njs-0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2353
diff
changeset
|
5906 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
|
5907 |
7952cd8af485
Documenting njs properties removal in njs-0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2353
diff
changeset
|
5908 <list type="bullet"> |
7952cd8af485
Documenting njs properties removal in njs-0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2353
diff
changeset
|
5909 |
7952cd8af485
Documenting njs properties removal in njs-0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2353
diff
changeset
|
5910 <listitem> |
7952cd8af485
Documenting njs properties removal in njs-0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2353
diff
changeset
|
5911 <para> |
7952cd8af485
Documenting njs properties removal in njs-0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2353
diff
changeset
|
5912 <literal>res.contentLength</literal> (use |
7952cd8af485
Documenting njs properties removal in njs-0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2353
diff
changeset
|
5913 <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
|
5914 </para> |
7952cd8af485
Documenting njs properties removal in njs-0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2353
diff
changeset
|
5915 </listitem> |
7952cd8af485
Documenting njs properties removal in njs-0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2353
diff
changeset
|
5916 |
7952cd8af485
Documenting njs properties removal in njs-0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2353
diff
changeset
|
5917 <listitem> |
7952cd8af485
Documenting njs properties removal in njs-0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2353
diff
changeset
|
5918 <para> |
7952cd8af485
Documenting njs properties removal in njs-0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2353
diff
changeset
|
5919 <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
|
5920 </para> |
7952cd8af485
Documenting njs properties removal in njs-0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2353
diff
changeset
|
5921 </listitem> |
7952cd8af485
Documenting njs properties removal in njs-0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2353
diff
changeset
|
5922 |
7952cd8af485
Documenting njs properties removal in njs-0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2353
diff
changeset
|
5923 </list> |
7952cd8af485
Documenting njs properties removal in njs-0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2353
diff
changeset
|
5924 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
|
5925 <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
|
5926 </para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5927 </listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5928 |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5929 <listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5930 <para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5931 Feature: |
2250
a314f4aeb199
Fixed path to njs reference in Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2246
diff
changeset
|
5932 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
|
5933 method. |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5934 </para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5935 </listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5936 |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5937 </list> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5938 </para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5939 |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5940 <para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5941 Core: |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5942 <list type="bullet"> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5943 |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5944 <listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5945 <para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5946 Bugfix: |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
5947 fixed heap-buffer-overflow in |
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
5948 <literal>crypto.createHmac()</literal>. |
2184
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5949 </para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5950 </listitem> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5951 |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5952 </list> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5953 </para> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5954 |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5955 </section> |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5956 |
61b02846de24
Added release notes for njs 0.2.2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2172
diff
changeset
|
5957 |
2456
de4f8f3d1fd6
Added njs product name to Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2446
diff
changeset
|
5958 <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
|
5959 |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
5960 <para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
5961 Release Date: |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
5962 31 May 2018 |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
5963 </para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
5964 |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
5965 <para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
5966 nginx modules: |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
5967 <list type="bullet"> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
5968 |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
5969 <listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
5970 <para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
5971 Feature: |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
5972 HTTP request body getter. |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
5973 </para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
5974 </listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
5975 |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
5976 <listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
5977 <para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
5978 Improvement: |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
5979 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
|
5980 </para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
5981 </listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
5982 |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
5983 <listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
5984 <para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
5985 Improvement: |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
5986 improved logging for |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
5987 <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
|
5988 <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
|
5989 </para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
5990 </listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
5991 |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
5992 <listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
5993 <para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
5994 Improvement: |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
5995 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
|
5996 <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
|
5997 </para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
5998 </listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
5999 |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
6000 <listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
6001 <para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
6002 Improvement: |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
6003 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
|
6004 <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
|
6005 </para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
6006 </listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
6007 |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
6008 <listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
6009 <para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
6010 Bugfix: fixed error logging in |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
6011 <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
|
6012 </para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
6013 </listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
6014 |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
6015 </list> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
6016 </para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
6017 |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
6018 <para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
6019 Core: |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
6020 <list type="bullet"> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
6021 |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
6022 <listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
6023 <para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
6024 Feature: |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
6025 added array length setter. |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
6026 </para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
6027 </listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
6028 |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
6029 <listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
6030 <para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
6031 Improvement: |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
6032 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
|
6033 <literal>njs.h</literal>. |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
6034 </para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
6035 </listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
6036 |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
6037 <listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
6038 <para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
6039 Bugfix: |
2569
2edc64c05b0e
Removed ECMAScript methods from njs Reference.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2566
diff
changeset
|
6040 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
|
6041 <literal>digest()</literal> is called. |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
6042 </para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
6043 </listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
6044 |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
6045 <listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
6046 <para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
6047 Bugfix: |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
6048 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
|
6049 and > 64. |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
6050 </para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
6051 </listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
6052 |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
6053 <listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
6054 <para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
6055 Bugfix: |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
6056 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
|
6057 </para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
6058 </listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
6059 |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
6060 <listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
6061 <para> |
2510
051b111d06b3
Unified date format in njs Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2507
diff
changeset
|
6062 Bugfix: |
2172
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
6063 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
|
6064 <literal>JSON.stringify()</literal>. |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
6065 </para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
6066 </listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
6067 |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
6068 <listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
6069 <para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
6070 Bugfix: |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
6071 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
|
6072 </para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
6073 </listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
6074 |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
6075 <listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
6076 <para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
6077 Bugfix: |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
6078 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
|
6079 <literal>Object.getOwnPropertyDescriptor()</literal>. |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
6080 </para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
6081 </listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
6082 |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
6083 <listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
6084 <para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
6085 Bugfix: |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
6086 fixed handling of properties in |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
6087 <literal>Object.getOwnPropertyDescriptor()</literal>. |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
6088 </para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
6089 </listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
6090 |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
6091 <listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
6092 <para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
6093 Bugfix: |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
6094 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
|
6095 </para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
6096 </listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
6097 |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
6098 <listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
6099 <para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
6100 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
|
6101 </para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
6102 </listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
6103 |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
6104 <listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
6105 <para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
6106 Bugfix: |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
6107 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
|
6108 </para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
6109 </listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
6110 |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
6111 <listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
6112 <para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
6113 Bugfix: |
2315
ae56e4613280
Corrected language in njs.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2312
diff
changeset
|
6114 miscellaneous bugs have been fixed. |
2172
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
6115 </para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
6116 </listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
6117 |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
6118 </list> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
6119 </para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
6120 |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
6121 </section> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
6122 |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
6123 |
2456
de4f8f3d1fd6
Added njs product name to Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2446
diff
changeset
|
6124 <section id="njs0.2.0" name="Changes with njs 0.2.0"> |
2130 | 6125 |
6126 <para> | |
6127 Release Date: | |
2510
051b111d06b3
Unified date format in njs Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2507
diff
changeset
|
6128 03 April 2018 |
2130 | 6129 </para> |
6130 | |
6131 <para> | |
6132 <list type="bullet"> | |
6133 | |
6134 <listitem> | |
6135 <para> | |
6136 Feature: | |
6137 reporting njs version by CLI. | |
6138 </para> | |
6139 </listitem> | |
6140 | |
6141 <listitem> | |
6142 <para> | |
6143 Feature: | |
6144 textual description for type converting exceptions. | |
6145 </para> | |
6146 </listitem> | |
6147 | |
6148 <listitem> | |
6149 Feature: | |
6150 <literal>setTimeout()</literal> and | |
2148
94a598ee1d49
Minor corrections in "njs About" and "njs Changes".
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2130
diff
changeset
|
6151 <literal>clearTimeout()</literal> methods. |
2130 | 6152 </listitem> |
6153 | |
6154 <listitem> | |
6155 <para> | |
6156 Feature: | |
6157 Byte string to | |
6158 <literal>hex</literal>, | |
6159 <literal>base64</literal>, | |
6160 <literal>base64url</literal> encodings. | |
6161 </para> | |
6162 </listitem> | |
6163 | |
6164 <listitem> | |
6165 <para> | |
6166 Feature: | |
6167 <link url="https://nodejs.org/api/crypto.html#crypto_class_hash">Node.js style</link> | |
6168 <literal>Crypto</literal> methods. | |
6169 </para> | |
6170 </listitem> | |
6171 | |
6172 <listitem> | |
6173 <para> | |
6174 Feature: | |
6175 HTTP and stream | |
6176 <literal>warn()</literal> and | |
6177 <literal>error()</literal> methods. | |
6178 </para> | |
6179 </listitem> | |
6180 | |
6181 <listitem> | |
6182 <para> | |
6183 Feature: | |
6184 HTTP <literal>subrequest()</literal> method. | |
6185 </para> | |
6186 </listitem> | |
6187 | |
6188 <listitem> | |
6189 <para> | |
6190 Feature: | |
6191 HTTP <literal>return()</literal> method. | |
6192 </para> | |
6193 </listitem> | |
6194 | |
6195 <listitem> | |
6196 <para> | |
6197 Bugfix: | |
6198 miscellaneous bugs have been fixed in the core and | |
6199 interactive shell. | |
6200 </para> | |
6201 </listitem> | |
6202 | |
6203 </list> | |
6204 </para> | |
6205 | |
6206 </section> | |
6207 | |
2456
de4f8f3d1fd6
Added njs product name to Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2446
diff
changeset
|
6208 <section id="njs0.1.15" name="Changes with njs 0.1.15"> |
2130 | 6209 |
6210 <para> | |
6211 Release Date: | |
2510
051b111d06b3
Unified date format in njs Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2507
diff
changeset
|
6212 20 November 2017 |
2130 | 6213 </para> |
6214 | |
6215 <para> | |
6216 <list type="bullet"> | |
6217 | |
6218 <listitem> | |
6219 <para> | |
6220 Feature: | |
6221 <literal>Error</literal>, | |
6222 <literal>EvalError</literal>, | |
6223 <literal>InternalError</literal>, | |
6224 <literal>RangeError</literal>, | |
6225 <literal>ReferenceError</literal>, | |
6226 <literal>SyntaxError</literal>, | |
6227 <literal>TypeError</literal>, | |
6228 <literal>URIError</literal> objects. | |
6229 </para> | |
6230 </listitem> | |
6231 | |
6232 <listitem> | |
6233 <para> | |
6234 Feature: | |
6235 octal literals support. | |
6236 </para> | |
6237 </listitem> | |
6238 | |
6239 <listitem> | |
6240 <para> | |
6241 Feature: | |
2148
94a598ee1d49
Minor corrections in "njs About" and "njs Changes".
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2130
diff
changeset
|
6242 <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
|
6243 <literal>File system</literal> access methods: |
2130 | 6244 <literal>fs.readFile()</literal>, |
6245 <literal>fs.readFileSync()</literal>, | |
6246 <literal>fs.appendFile()</literal>, | |
6247 <literal>fs.appendFileSync()</literal>, | |
6248 <literal>fs.writeFile()</literal>, | |
2148
94a598ee1d49
Minor corrections in "njs About" and "njs Changes".
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2130
diff
changeset
|
6249 <literal>fs.writeFileSync()</literal>. |
2130 | 6250 </para> |
6251 </listitem> | |
6252 | |
6253 <listitem> | |
6254 <para> | |
6255 Feature: | |
6256 nginx modules print backtrace on exception. | |
6257 </para> | |
6258 </listitem> | |
6259 | |
6260 <listitem> | |
6261 <para> | |
6262 Bugfix: | |
6263 miscellaneous bugs have been fixed. | |
6264 </para> | |
6265 </listitem> | |
6266 | |
6267 </list> | |
6268 </para> | |
6269 | |
6270 </section> | |
6271 | |
6272 | |
2456
de4f8f3d1fd6
Added njs product name to Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2446
diff
changeset
|
6273 <section id="njs0.1.14" name="Changes with njs 0.1.14"> |
2130 | 6274 |
6275 <para> | |
6276 Release Date: | |
2510
051b111d06b3
Unified date format in njs Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2507
diff
changeset
|
6277 09 October 2017 |
2130 | 6278 </para> |
6279 | |
6280 <para> | |
6281 <list type="bullet"> | |
6282 | |
6283 <listitem> | |
6284 <para> | |
6285 Feature: | |
6286 JSON object. | |
6287 </para> | |
6288 </listitem> | |
6289 | |
6290 <listitem> | |
6291 <para> | |
6292 Feature: | |
6293 object level completions in interactive shell. | |
6294 </para> | |
6295 </listitem> | |
6296 | |
6297 <listitem> | |
6298 <para> | |
6299 Feature: | |
6300 various configure improvements. | |
6301 </para> | |
6302 </listitem> | |
6303 | |
6304 <listitem> | |
6305 <para> | |
6306 Bugfix: | |
6307 miscellaneous bugs have been fixed in the core and | |
6308 interactive shell. | |
6309 </para> | |
6310 </listitem> | |
6311 | |
6312 </list> | |
6313 </para> | |
6314 | |
6315 </section> | |
6316 | |
6317 | |
2456
de4f8f3d1fd6
Added njs product name to Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2446
diff
changeset
|
6318 <section id="njs0.1.13" name="Changes with njs 0.1.13"> |
2130 | 6319 |
6320 <para> | |
6321 Release Date: | |
2510
051b111d06b3
Unified date format in njs Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2507
diff
changeset
|
6322 31 August 2017 |
2130 | 6323 </para> |
6324 | |
6325 <para> | |
6326 <list type="bullet"> | |
6327 | |
6328 <listitem> | |
6329 <para> | |
6330 Feature: | |
6331 <literal>console.log()</literal> and | |
6332 <literal>console.help()</literal> | |
6333 methods in interactive shell. | |
6334 </para> | |
6335 </listitem> | |
6336 | |
6337 <listitem> | |
6338 <para> | |
6339 Feature: | |
6340 interactive shell prints backtrace on exception. | |
6341 </para> | |
6342 </listitem> | |
6343 | |
6344 <listitem> | |
6345 <para> | |
6346 Feature: | |
6347 interactive shell by default | |
6348 if <literal>libedit</literal> is available. | |
6349 </para> | |
6350 </listitem> | |
6351 | |
6352 <listitem> | |
6353 <para> | |
6354 Bugfix: | |
6355 processing of large files from | |
6356 <literal>stdin</literal> in command line mode. | |
6357 </para> | |
6358 </listitem> | |
6359 | |
6360 <listitem> | |
6361 <para> | |
6362 Bugfix: | |
6363 improved <literal>editline</literal> detection. | |
6364 </para> | |
6365 </listitem> | |
6366 | |
6367 </list> | |
6368 </para> | |
6369 | |
6370 </section> | |
6371 | |
6372 | |
2456
de4f8f3d1fd6
Added njs product name to Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2446
diff
changeset
|
6373 <section id="njs0.1.12" name="Changes with njs 0.1.12"> |
2130 | 6374 |
6375 <para> | |
6376 Release Date: | |
2510
051b111d06b3
Unified date format in njs Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2507
diff
changeset
|
6377 08 August 2017 |
2130 | 6378 </para> |
6379 | |
6380 <para> | |
6381 <list type="bullet"> | |
6382 | |
6383 <listitem> | |
6384 <para> | |
6385 Feature: | |
6386 Interactive shell. | |
6387 </para> | |
6388 </listitem> | |
6389 | |
6390 <listitem> | |
6391 <para> | |
6392 Bugfix: | |
6393 in <literal>Object.isSealed()</literal>. | |
6394 </para> | |
6395 </listitem> | |
6396 | |
6397 </list> | |
6398 </para> | |
6399 | |
6400 </section> | |
6401 | |
6402 | |
2456
de4f8f3d1fd6
Added njs product name to Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2446
diff
changeset
|
6403 <section id="njs0.1.11" name="Changes with njs 0.1.11"> |
2130 | 6404 |
6405 <para> | |
6406 Release Date: | |
2510
051b111d06b3
Unified date format in njs Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2507
diff
changeset
|
6407 27 June 2017 |
2130 | 6408 </para> |
6409 | |
6410 <para> | |
6411 <list type="bullet"> | |
6412 | |
6413 <listitem> | |
6414 <para> | |
6415 Feature: | |
6416 <literal>Object.keys()</literal>, | |
6417 <literal>Object.prototype.hasOwnProperty()</literal> | |
6418 methods. | |
6419 </para> | |
6420 </listitem> | |
6421 | |
6422 <listitem> | |
6423 <para> | |
6424 Feature: | |
6425 <literal>Object.defineProperty()</literal>, | |
6426 <literal>Object.defineProperties()</literal>, | |
6427 <literal>Object.getOwnPropertyDescriptor()</literal> | |
6428 methods. | |
6429 </para> | |
6430 </listitem> | |
6431 | |
6432 <listitem> | |
6433 <para> | |
6434 Feature: | |
6435 <literal>Object.getPrototypeOf()</literal>, | |
6436 <literal>Object.prototype.isPrototypeOf()</literal> | |
6437 methods. | |
6438 </para> | |
6439 </listitem> | |
6440 | |
6441 <listitem> | |
6442 <para> | |
6443 Feature: | |
6444 <literal>Object.preventExtensions()</literal>, | |
6445 <literal>Object.isExtensible()</literal>, | |
6446 <literal>Object.freeze()</literal>, | |
6447 <literal>Object.isFrozen()</literal>, | |
6448 <literal>Object.seal()</literal>, | |
6449 <literal>Object.isSealed()</literal> | |
6450 methods. | |
6451 </para> | |
6452 </listitem> | |
6453 | |
6454 <listitem> | |
6455 <para> | |
6456 Feature: | |
2148
94a598ee1d49
Minor corrections in "njs About" and "njs Changes".
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2130
diff
changeset
|
6457 scientific notation (<literal>3.35e10</literal>) literals support. |
2130 | 6458 </para> |
6459 </listitem> | |
6460 | |
6461 <listitem> | |
6462 <para> | |
6463 Feature: | |
2148
94a598ee1d49
Minor corrections in "njs About" and "njs Changes".
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2130
diff
changeset
|
6464 hexadecimal (<literal>0x1123</literal>) literals support. |
2130 | 6465 </para> |
6466 </listitem> | |
6467 | |
6468 <listitem> | |
6469 <para> | |
6470 Bugfix: | |
6471 processing of large array indexes. | |
6472 </para> | |
6473 </listitem> | |
6474 | |
6475 <listitem> | |
6476 <para> | |
6477 Bugfix: | |
6478 in <literal>parseInt()</literal> and | |
6479 <literal>Date.parse()</literal>. | |
6480 </para> | |
6481 </listitem> | |
6482 | |
6483 </list> | |
6484 </para> | |
6485 | |
6486 </section> | |
6487 | |
6488 | |
2456
de4f8f3d1fd6
Added njs product name to Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2446
diff
changeset
|
6489 <section id="njs0.1.10" name="Changes with njs 0.1.10"> |
2130 | 6490 |
6491 <para> | |
6492 Release Date: | |
2510
051b111d06b3
Unified date format in njs Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2507
diff
changeset
|
6493 04 April 2017 |
2130 | 6494 </para> |
6495 | |
6496 <para> | |
6497 <list type="bullet"> | |
6498 | |
6499 <listitem> | |
6500 <para> | |
6501 Feature: | |
6502 nested functions and function closures. | |
6503 </para> | |
6504 </listitem> | |
6505 | |
6506 <listitem> | |
6507 <para> | |
6508 Feature: | |
6509 <literal>Array.of()</literal>, | |
6510 <literal>Array.prototype.fill()</literal>, | |
6511 <literal>Array.prototype.find()</literal>, | |
6512 <literal>Array.prototype.findIndex()</literal> | |
6513 methods. | |
6514 </para> | |
6515 </listitem> | |
6516 | |
6517 <listitem> | |
6518 <para> | |
6519 Bugfix: | |
6520 miscellaneous bugs and segmentation faults have been fixed. | |
6521 </para> | |
6522 </listitem> | |
6523 | |
6524 </list> | |
6525 </para> | |
6526 | |
6527 </section> | |
6528 | |
6529 | |
2456
de4f8f3d1fd6
Added njs product name to Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2446
diff
changeset
|
6530 <section id="njs0.1.9" name="Changes with njs 0.1.9"> |
2130 | 6531 |
6532 <para> | |
6533 Release Date: | |
2510
051b111d06b3
Unified date format in njs Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2507
diff
changeset
|
6534 01 February 2017 |
2130 | 6535 </para> |
6536 | |
6537 <para> | |
6538 <list type="bullet"> | |
6539 | |
6540 <listitem> | |
6541 <para> | |
6542 Bugfix: | |
2148
94a598ee1d49
Minor corrections in "njs About" and "njs Changes".
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2130
diff
changeset
|
6543 global variables were not initialized when njs was used |
2130 | 6544 in nginx. |
6545 </para> | |
6546 </listitem> | |
6547 | |
6548 </list> | |
6549 </para> | |
6550 | |
6551 </section> | |
6552 | |
6553 | |
2456
de4f8f3d1fd6
Added njs product name to Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2446
diff
changeset
|
6554 <section id="njs0.1.8" name="Changes with njs 0.1.8"> |
2130 | 6555 |
6556 <para> | |
6557 Release Date: | |
2510
051b111d06b3
Unified date format in njs Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2507
diff
changeset
|
6558 24 January 2017 |
2130 | 6559 </para> |
6560 | |
6561 <para> | |
6562 <list type="bullet"> | |
6563 | |
6564 <listitem> | |
6565 <para> | |
6566 Change: | |
6567 the <literal>strict</literal> mode is enforced, | |
6568 variables must be explicitly declared. | |
6569 </para> | |
6570 </listitem> | |
6571 | |
6572 | |
6573 <listitem> | |
6574 <para> | |
6575 Feature: | |
6576 <literal>for</literal> and | |
6577 <literal>for-in</literal> loops support variable declaration. | |
6578 </para> | |
6579 </listitem> | |
6580 | |
6581 <listitem> | |
6582 <para> | |
6583 Bugfix: | |
6584 global and function scopes have been fixed. | |
6585 </para> | |
6586 </listitem> | |
6587 | |
6588 <listitem> | |
6589 <para> | |
6590 Bugfix: | |
6591 now <literal>for-in</literal> loop does not discard the last value | |
6592 of property variable. | |
6593 </para> | |
6594 </listitem> | |
6595 | |
6596 <listitem> | |
6597 <para> | |
6598 Bugfix: | |
6599 miscellaneous bugs and segmentation faults have been fixed. | |
6600 </para> | |
6601 </listitem> | |
6602 | |
6603 </list> | |
6604 </para> | |
6605 | |
6606 </section> | |
6607 | |
6608 | |
2456
de4f8f3d1fd6
Added njs product name to Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2446
diff
changeset
|
6609 <section id="njs0.1.7" name="Changes with njs 0.1.7"> |
2130 | 6610 |
6611 <para> | |
6612 Release Date: | |
2510
051b111d06b3
Unified date format in njs Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2507
diff
changeset
|
6613 27 December 2016 |
2130 | 6614 </para> |
6615 | |
6616 <para> | |
6617 <list type="bullet"> | |
6618 | |
6619 <listitem> | |
6620 <para> | |
6621 Change: | |
6622 the <link doc="../http/ngx_http_js_module.xml" id="js_include"/> directive | |
6623 has been disabled at server and location levels. | |
6624 </para> | |
6625 </listitem> | |
6626 | |
6627 <listitem> | |
6628 <para> | |
6629 Feature: | |
6630 exponentiation operators. | |
6631 </para> | |
6632 </listitem> | |
6633 | |
6634 <listitem> | |
6635 <para> | |
6636 Bugfix: | |
6637 miscellaneous bugs and segmentation faults have been fixed. | |
6638 </para> | |
6639 </listitem> | |
6640 | |
6641 </list> | |
6642 </para> | |
6643 | |
6644 </section> | |
6645 | |
6646 | |
2456
de4f8f3d1fd6
Added njs product name to Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2446
diff
changeset
|
6647 <section id="njs0.1.6" name="Changes with njs 0.1.6"> |
2130 | 6648 |
6649 <para> | |
6650 Release Date: | |
2510
051b111d06b3
Unified date format in njs Changes.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2507
diff
changeset
|
6651 13 December 2016 |
2130 | 6652 </para> |
6653 | |
6654 <para> | |
6655 <list type="bullet"> | |
6656 | |
6657 <listitem> | |
6658 <para> | |
6659 Change: | |
6660 the <link doc="../http/ngx_http_js_module.xml" id="js_set"/> directive | |
6661 has been disabled at server and location levels. | |
6662 </para> | |
6663 </listitem> | |
6664 | |
6665 <listitem> | |
6666 <para> | |
6667 Feature: | |
6668 ES6 <literal>Math</literal> methods. | |
6669 </para> | |
6670 </listitem> | |
6671 | |
6672 <listitem> | |
6673 <para> | |
6674 Bugfix: | |
6675 miscellaneous bugs and segmentation faults have been fixed. | |
6676 </para> | |
6677 </listitem> | |
6678 | |
6679 </list> | |
6680 </para> | |
6681 | |
6682 </section> | |
6683 | |
6684 </article> |