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