Mercurial > hg > nginx-site
annotate xml/en/docs/njs/njs_changes.xml @ 2175:cd4889fdcfa4
Moved njs HTTP and Stream API to a separate page.
author | Yaroslav Zhuravlev <yar@nginx.com> |
---|---|
date | Tue, 05 Jun 2018 18:22:00 +0300 |
parents | 65fc7e90b849 |
children | 61b02846de24 |
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 | |
9 <article name="njs Changes" | |
10 link="/en/docs/njs/njs_changes.html" | |
11 lang="en" | |
2172
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
12 rev="3" |
2130 | 13 toc="no"> |
14 | |
2172
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
15 <section id="njs0.2.1" name="Changes with 0.2.1"> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
16 |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
17 <para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
18 Release Date: |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
19 31 May 2018 |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
20 </para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
21 |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
22 <para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
23 nginx modules: |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
24 <list type="bullet"> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
25 |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
26 <listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
27 <para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
28 Feature: |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
29 HTTP request body getter. |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
30 </para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
31 </listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
32 |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
33 <listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
34 <para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
35 Improvement: |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
36 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
|
37 </para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
38 </listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
39 |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
40 <listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
41 <para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
42 Improvement: |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
43 improved logging for |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
44 <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
|
45 <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
|
46 </para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
47 </listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
48 |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
49 <listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
50 <para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
51 Improvement: |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
52 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
|
53 <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
|
54 </para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
55 </listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
56 |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
57 <listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
58 <para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
59 Improvement: |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
60 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
|
61 <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
|
62 </para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
63 </listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
64 |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
65 <listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
66 <para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
67 Bugfix: fixed error logging in |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
68 <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
|
69 </para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
70 </listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
71 |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
72 </list> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
73 </para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
74 |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
75 <para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
76 Core: |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
77 <list type="bullet"> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
78 |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
79 <listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
80 <para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
81 Feature: |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
82 added array length setter. |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
83 </para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
84 </listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
85 |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
86 <listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
87 <para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
88 Improvement: |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
89 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
|
90 <literal>njs.h</literal>. |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
91 </para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
92 </listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
93 |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
94 <listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
95 <para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
96 Bugfix: |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
97 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
|
98 <literal>digest()</literal> is called. |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
99 </para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
100 </listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
101 |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
102 <listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
103 <para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
104 Bugfix: |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
105 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
|
106 and > 64. |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
107 </para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
108 </listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
109 |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
110 <listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
111 <para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
112 Bugfix: |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
113 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
|
114 </para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
115 </listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
116 |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
117 <listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
118 <para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
119 Bugfix: |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
120 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
|
121 <literal>JSON.stringify()</literal>. |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
122 </para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
123 </listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
124 |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
125 <listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
126 <para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
127 Bugfix: |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
128 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
|
129 </para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
130 </listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
131 |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
132 <listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
133 <para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
134 Bugfix: |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
135 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
|
136 <literal>Object.getOwnPropertyDescriptor()</literal>. |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
137 </para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
138 </listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
139 |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
140 <listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
141 <para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
142 Bugfix: |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
143 fixed handling of properties in |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
144 <literal>Object.getOwnPropertyDescriptor()</literal>. |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
145 </para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
146 </listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
147 |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
148 <listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
149 <para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
150 Bugfix: |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
151 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
|
152 </para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
153 </listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
154 |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
155 <listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
156 <para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
157 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
|
158 </para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
159 </listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
160 |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
161 <listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
162 <para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
163 Bugfix: |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
164 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
|
165 </para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
166 </listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
167 |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
168 <listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
169 <para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
170 Bugfix: |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
171 miscellaneous additional bugs have been fixed. |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
172 </para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
173 </listitem> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
174 |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
175 </list> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
176 </para> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
177 |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
178 </section> |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
179 |
65fc7e90b849
Added release notes for njs 0.2.1.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2148
diff
changeset
|
180 |
2130 | 181 <section id="njs0.2.0" name="Changes with 0.2.0"> |
182 | |
183 <para> | |
184 Release Date: | |
185 3 Apr 2018 | |
186 </para> | |
187 | |
188 <para> | |
189 <list type="bullet"> | |
190 | |
191 <listitem> | |
192 <para> | |
193 Feature: | |
194 reporting njs version by CLI. | |
195 </para> | |
196 </listitem> | |
197 | |
198 <listitem> | |
199 <para> | |
200 Feature: | |
201 textual description for type converting exceptions. | |
202 </para> | |
203 </listitem> | |
204 | |
205 <listitem> | |
206 Feature: | |
207 <literal>setTimeout()</literal> and | |
2148
94a598ee1d49
Minor corrections in "njs About" and "njs Changes".
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2130
diff
changeset
|
208 <literal>clearTimeout()</literal> methods. |
2130 | 209 </listitem> |
210 | |
211 <listitem> | |
212 <para> | |
213 Feature: | |
214 Byte string to | |
215 <literal>hex</literal>, | |
216 <literal>base64</literal>, | |
217 <literal>base64url</literal> encodings. | |
218 </para> | |
219 </listitem> | |
220 | |
221 <listitem> | |
222 <para> | |
223 Feature: | |
224 <link url="https://nodejs.org/api/crypto.html#crypto_class_hash">Node.js style</link> | |
225 <literal>Crypto</literal> methods. | |
226 </para> | |
227 </listitem> | |
228 | |
229 <listitem> | |
230 <para> | |
231 Feature: | |
232 HTTP and stream | |
233 <literal>warn()</literal> and | |
234 <literal>error()</literal> methods. | |
235 </para> | |
236 </listitem> | |
237 | |
238 <listitem> | |
239 <para> | |
240 Feature: | |
241 HTTP <literal>subrequest()</literal> method. | |
242 </para> | |
243 </listitem> | |
244 | |
245 <listitem> | |
246 <para> | |
247 Feature: | |
248 HTTP <literal>return()</literal> method. | |
249 </para> | |
250 </listitem> | |
251 | |
252 <listitem> | |
253 <para> | |
254 Bugfix: | |
255 miscellaneous bugs have been fixed in the core and | |
256 interactive shell. | |
257 </para> | |
258 </listitem> | |
259 | |
260 </list> | |
261 </para> | |
262 | |
263 </section> | |
264 | |
265 <section id="njs0.1.15" name="Changes with 0.1.15"> | |
266 | |
267 <para> | |
268 Release Date: | |
269 20 Nov 2017 | |
270 </para> | |
271 | |
272 <para> | |
273 <list type="bullet"> | |
274 | |
275 <listitem> | |
276 <para> | |
277 Feature: | |
278 <literal>Error</literal>, | |
279 <literal>EvalError</literal>, | |
280 <literal>InternalError</literal>, | |
281 <literal>RangeError</literal>, | |
282 <literal>ReferenceError</literal>, | |
283 <literal>SyntaxError</literal>, | |
284 <literal>TypeError</literal>, | |
285 <literal>URIError</literal> objects. | |
286 </para> | |
287 </listitem> | |
288 | |
289 <listitem> | |
290 <para> | |
291 Feature: | |
292 octal literals support. | |
293 </para> | |
294 </listitem> | |
295 | |
296 <listitem> | |
297 <para> | |
298 Feature: | |
2148
94a598ee1d49
Minor corrections in "njs About" and "njs Changes".
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2130
diff
changeset
|
299 <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
|
300 <literal>File system</literal> access methods: |
2130 | 301 <literal>fs.readFile()</literal>, |
302 <literal>fs.readFileSync()</literal>, | |
303 <literal>fs.appendFile()</literal>, | |
304 <literal>fs.appendFileSync()</literal>, | |
305 <literal>fs.writeFile()</literal>, | |
2148
94a598ee1d49
Minor corrections in "njs About" and "njs Changes".
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2130
diff
changeset
|
306 <literal>fs.writeFileSync()</literal>. |
2130 | 307 </para> |
308 </listitem> | |
309 | |
310 <listitem> | |
311 <para> | |
312 Feature: | |
313 nginx modules print backtrace on exception. | |
314 </para> | |
315 </listitem> | |
316 | |
317 <listitem> | |
318 <para> | |
319 Bugfix: | |
320 miscellaneous bugs have been fixed. | |
321 </para> | |
322 </listitem> | |
323 | |
324 </list> | |
325 </para> | |
326 | |
327 </section> | |
328 | |
329 | |
330 <section id="njs0.1.14" name="Changes with 0.1.14"> | |
331 | |
332 <para> | |
333 Release Date: | |
334 09 Oct 2017 | |
335 </para> | |
336 | |
337 <para> | |
338 <list type="bullet"> | |
339 | |
340 <listitem> | |
341 <para> | |
342 Feature: | |
343 JSON object. | |
344 </para> | |
345 </listitem> | |
346 | |
347 <listitem> | |
348 <para> | |
349 Feature: | |
350 object level completions in interactive shell. | |
351 </para> | |
352 </listitem> | |
353 | |
354 <listitem> | |
355 <para> | |
356 Feature: | |
357 various configure improvements. | |
358 </para> | |
359 </listitem> | |
360 | |
361 <listitem> | |
362 <para> | |
363 Bugfix: | |
364 miscellaneous bugs have been fixed in the core and | |
365 interactive shell. | |
366 </para> | |
367 </listitem> | |
368 | |
369 </list> | |
370 </para> | |
371 | |
372 </section> | |
373 | |
374 | |
375 <section id="njs0.1.13" name="Changes with 0.1.13"> | |
376 | |
377 <para> | |
378 Release Date: | |
379 31 Aug 2017 | |
380 </para> | |
381 | |
382 <para> | |
383 <list type="bullet"> | |
384 | |
385 <listitem> | |
386 <para> | |
387 Feature: | |
388 <literal>console.log()</literal> and | |
389 <literal>console.help()</literal> | |
390 methods in interactive shell. | |
391 </para> | |
392 </listitem> | |
393 | |
394 <listitem> | |
395 <para> | |
396 Feature: | |
397 interactive shell prints backtrace on exception. | |
398 </para> | |
399 </listitem> | |
400 | |
401 <listitem> | |
402 <para> | |
403 Feature: | |
404 interactive shell by default | |
405 if <literal>libedit</literal> is available. | |
406 </para> | |
407 </listitem> | |
408 | |
409 <listitem> | |
410 <para> | |
411 Bugfix: | |
412 processing of large files from | |
413 <literal>stdin</literal> in command line mode. | |
414 </para> | |
415 </listitem> | |
416 | |
417 <listitem> | |
418 <para> | |
419 Bugfix: | |
420 improved <literal>editline</literal> detection. | |
421 </para> | |
422 </listitem> | |
423 | |
424 </list> | |
425 </para> | |
426 | |
427 </section> | |
428 | |
429 | |
430 <section id="njs0.1.12" name="Changes with 0.1.12"> | |
431 | |
432 <para> | |
433 Release Date: | |
434 08 Aug 2017 | |
435 </para> | |
436 | |
437 <para> | |
438 <list type="bullet"> | |
439 | |
440 <listitem> | |
441 <para> | |
442 Feature: | |
443 Interactive shell. | |
444 </para> | |
445 </listitem> | |
446 | |
447 <listitem> | |
448 <para> | |
449 Bugfix: | |
450 in <literal>Object.isSealed()</literal>. | |
451 </para> | |
452 </listitem> | |
453 | |
454 </list> | |
455 </para> | |
456 | |
457 </section> | |
458 | |
459 | |
460 <section id="njs0.1.11" name="Changes with 0.1.11"> | |
461 | |
462 <para> | |
463 Release Date: | |
464 27 Jun 2017 | |
465 </para> | |
466 | |
467 <para> | |
468 <list type="bullet"> | |
469 | |
470 <listitem> | |
471 <para> | |
472 Feature: | |
473 <literal>Object.keys()</literal>, | |
474 <literal>Object.prototype.hasOwnProperty()</literal> | |
475 methods. | |
476 </para> | |
477 </listitem> | |
478 | |
479 <listitem> | |
480 <para> | |
481 Feature: | |
482 <literal>Object.defineProperty()</literal>, | |
483 <literal>Object.defineProperties()</literal>, | |
484 <literal>Object.getOwnPropertyDescriptor()</literal> | |
485 methods. | |
486 </para> | |
487 </listitem> | |
488 | |
489 <listitem> | |
490 <para> | |
491 Feature: | |
492 <literal>Object.getPrototypeOf()</literal>, | |
493 <literal>Object.prototype.isPrototypeOf()</literal> | |
494 methods. | |
495 </para> | |
496 </listitem> | |
497 | |
498 <listitem> | |
499 <para> | |
500 Feature: | |
501 <literal>Object.preventExtensions()</literal>, | |
502 <literal>Object.isExtensible()</literal>, | |
503 <literal>Object.freeze()</literal>, | |
504 <literal>Object.isFrozen()</literal>, | |
505 <literal>Object.seal()</literal>, | |
506 <literal>Object.isSealed()</literal> | |
507 methods. | |
508 </para> | |
509 </listitem> | |
510 | |
511 <listitem> | |
512 <para> | |
513 Feature: | |
2148
94a598ee1d49
Minor corrections in "njs About" and "njs Changes".
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2130
diff
changeset
|
514 scientific notation (<literal>3.35e10</literal>) literals support. |
2130 | 515 </para> |
516 </listitem> | |
517 | |
518 <listitem> | |
519 <para> | |
520 Feature: | |
2148
94a598ee1d49
Minor corrections in "njs About" and "njs Changes".
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2130
diff
changeset
|
521 hexadecimal (<literal>0x1123</literal>) literals support. |
2130 | 522 </para> |
523 </listitem> | |
524 | |
525 <listitem> | |
526 <para> | |
527 Bugfix: | |
528 processing of large array indexes. | |
529 </para> | |
530 </listitem> | |
531 | |
532 <listitem> | |
533 <para> | |
534 Bugfix: | |
535 in <literal>parseInt()</literal> and | |
536 <literal>Date.parse()</literal>. | |
537 </para> | |
538 </listitem> | |
539 | |
540 </list> | |
541 </para> | |
542 | |
543 </section> | |
544 | |
545 | |
546 <section id="njs0.1.10" name="Changes with 0.1.10"> | |
547 | |
548 <para> | |
549 Release Date: | |
550 04 Apr 2017 | |
551 </para> | |
552 | |
553 <para> | |
554 <list type="bullet"> | |
555 | |
556 <listitem> | |
557 <para> | |
558 Feature: | |
559 nested functions and function closures. | |
560 </para> | |
561 </listitem> | |
562 | |
563 <listitem> | |
564 <para> | |
565 Feature: | |
566 <literal>Array.of()</literal>, | |
567 <literal>Array.prototype.fill()</literal>, | |
568 <literal>Array.prototype.find()</literal>, | |
569 <literal>Array.prototype.findIndex()</literal> | |
570 methods. | |
571 </para> | |
572 </listitem> | |
573 | |
574 <listitem> | |
575 <para> | |
576 Bugfix: | |
577 miscellaneous bugs and segmentation faults have been fixed. | |
578 </para> | |
579 </listitem> | |
580 | |
581 </list> | |
582 </para> | |
583 | |
584 </section> | |
585 | |
586 | |
587 <section id="njs0.1.9" name="Changes with 0.1.9"> | |
588 | |
589 <para> | |
590 Release Date: | |
591 01 Feb 2017 | |
592 </para> | |
593 | |
594 <para> | |
595 <list type="bullet"> | |
596 | |
597 <listitem> | |
598 <para> | |
599 Bugfix: | |
2148
94a598ee1d49
Minor corrections in "njs About" and "njs Changes".
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2130
diff
changeset
|
600 global variables were not initialized when njs was used |
2130 | 601 in nginx. |
602 </para> | |
603 </listitem> | |
604 | |
605 </list> | |
606 </para> | |
607 | |
608 </section> | |
609 | |
610 | |
611 <section id="njs0.1.8" name="Changes with 0.1.8"> | |
612 | |
613 <para> | |
614 Release Date: | |
615 24 Jan 2017 | |
616 </para> | |
617 | |
618 <para> | |
619 <list type="bullet"> | |
620 | |
621 <listitem> | |
622 <para> | |
623 Change: | |
624 the <literal>strict</literal> mode is enforced, | |
625 variables must be explicitly declared. | |
626 </para> | |
627 </listitem> | |
628 | |
629 | |
630 <listitem> | |
631 <para> | |
632 Feature: | |
633 <literal>for</literal> and | |
634 <literal>for-in</literal> loops support variable declaration. | |
635 </para> | |
636 </listitem> | |
637 | |
638 <listitem> | |
639 <para> | |
640 Bugfix: | |
641 global and function scopes have been fixed. | |
642 </para> | |
643 </listitem> | |
644 | |
645 <listitem> | |
646 <para> | |
647 Bugfix: | |
648 now <literal>for-in</literal> loop does not discard the last value | |
649 of property variable. | |
650 </para> | |
651 </listitem> | |
652 | |
653 <listitem> | |
654 <para> | |
655 Bugfix: | |
656 miscellaneous bugs and segmentation faults have been fixed. | |
657 </para> | |
658 </listitem> | |
659 | |
660 </list> | |
661 </para> | |
662 | |
663 </section> | |
664 | |
665 | |
666 <section id="njs0.1.7" name="Changes with 0.1.7"> | |
667 | |
668 <para> | |
669 Release Date: | |
670 27 Dec 2016 | |
671 </para> | |
672 | |
673 <para> | |
674 <list type="bullet"> | |
675 | |
676 <listitem> | |
677 <para> | |
678 Change: | |
679 the <link doc="../http/ngx_http_js_module.xml" id="js_include"/> directive | |
680 has been disabled at server and location levels. | |
681 </para> | |
682 </listitem> | |
683 | |
684 <listitem> | |
685 <para> | |
686 Feature: | |
687 exponentiation operators. | |
688 </para> | |
689 </listitem> | |
690 | |
691 <listitem> | |
692 <para> | |
693 Bugfix: | |
694 miscellaneous bugs and segmentation faults have been fixed. | |
695 </para> | |
696 </listitem> | |
697 | |
698 </list> | |
699 </para> | |
700 | |
701 </section> | |
702 | |
703 | |
704 <section id="njs0.1.6" name="Changes with 0.1.6"> | |
705 | |
706 <para> | |
707 Release Date: | |
708 13 Dec 2016 | |
709 </para> | |
710 | |
711 <para> | |
712 <list type="bullet"> | |
713 | |
714 <listitem> | |
715 <para> | |
716 Change: | |
717 the <link doc="../http/ngx_http_js_module.xml" id="js_set"/> directive | |
718 has been disabled at server and location levels. | |
719 </para> | |
720 </listitem> | |
721 | |
722 <listitem> | |
723 <para> | |
724 Feature: | |
725 ES6 <literal>Math</literal> methods. | |
726 </para> | |
727 </listitem> | |
728 | |
729 <listitem> | |
730 <para> | |
731 Bugfix: | |
732 miscellaneous bugs and segmentation faults have been fixed. | |
733 </para> | |
734 </listitem> | |
735 | |
736 </list> | |
737 </para> | |
738 | |
739 </section> | |
740 | |
741 </article> |