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