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