Mercurial > hg > nginx-site
comparison xml/en/docs/njs/changes.xml @ 2656:6e5ef4a0707f
njs-0.5.1.
author | Yaroslav Zhuravlev <yar@nginx.com> |
---|---|
date | Tue, 16 Feb 2021 16:31:33 +0000 |
parents | 0ce45b4edb75 |
children | e87c0ffc3492 |
comparison
equal
deleted
inserted
replaced
2655:eb417a9a089b | 2656:6e5ef4a0707f |
---|---|
7 <!DOCTYPE article SYSTEM "../../../../dtd/article.dtd"> | 7 <!DOCTYPE article SYSTEM "../../../../dtd/article.dtd"> |
8 | 8 |
9 <article name="Changes" | 9 <article name="Changes" |
10 link="/en/docs/njs/changes.html" | 10 link="/en/docs/njs/changes.html" |
11 lang="en" | 11 lang="en" |
12 rev="39" | 12 rev="40" |
13 toc="no"> | 13 toc="no"> |
14 | |
15 <section id="njs0.5.1" name="Changes with njs 0.5.1"> | |
16 | |
17 <para> | |
18 Release Date: | |
19 16 February 2021 | |
20 </para> | |
21 | |
22 <para> | |
23 nginx modules: | |
24 <list type="bullet"> | |
25 | |
26 <listitem> | |
27 <para> | |
28 Feature: | |
29 introduced | |
30 <link doc="reference.xml" id="ngx_fetch"><literal>ngx.fetch()</literal></link> | |
31 method implementing Fetch API. | |
32 </para> | |
33 | |
34 <para> | |
35 The following properties and methods of | |
36 <link doc="reference.xml" id="response"><literal>Response</literal></link> | |
37 object are implemented: | |
38 <link doc="reference.xml" id="response_arraybuffer"><literal>arrayBuffer()</literal></link>, | |
39 <link doc="reference.xml" id="response_bodyused"><literal>bodyUsed</literal></link>, | |
40 <link doc="reference.xml" id="response_json"><literal>json()</literal></link>, | |
41 <link doc="reference.xml" id="response_headers"><literal>headers</literal></link>, | |
42 <link doc="reference.xml" id="response_ok"><literal>ok</literal></link>, | |
43 <link doc="reference.xml" id="response_redirect"><literal>redirect</literal></link>, | |
44 <link doc="reference.xml" id="response_status"><literal>status</literal></link>, | |
45 <link doc="reference.xml" id="response_statustext"><literal>statusText</literal></link>, | |
46 <link doc="reference.xml" id="response_text"><literal>text()</literal></link>, | |
47 <link doc="reference.xml" id="response_type"><literal>type</literal></link>, | |
48 <link doc="reference.xml" id="response_url"><literal>url</literal></link>. | |
49 </para> | |
50 | |
51 <para> | |
52 Notable limitations: | |
53 only the <literal>http://</literal> scheme is supported, | |
54 redirects are not handled. | |
55 </para> | |
56 | |
57 <para> | |
58 In collaboration with 洪志道 (Hong Zhi Dao). | |
59 </para> | |
60 </listitem> | |
61 | |
62 <listitem> | |
63 <para> | |
64 Feature: | |
65 added the | |
66 <link doc="../http/ngx_http_js_module.xml" id="js_header_filter"><literal>js_header_filter</literal></link> | |
67 directive. | |
68 </para> | |
69 </listitem> | |
70 | |
71 <listitem> | |
72 <para> | |
73 Bugfix: | |
74 fixed processing buffered data in body filter in | |
75 <link doc="../stream/ngx_stream_js_module.xml">stream</link> module. | |
76 </para> | |
77 </listitem> | |
78 | |
79 </list> | |
80 </para> | |
81 | |
82 <para> | |
83 Core: | |
84 <list type="bullet"> | |
85 | |
86 <listitem> | |
87 <para> | |
88 Bugfix: | |
89 fixed safe mode bypass in <literal>Function</literal> constructor. | |
90 </para> | |
91 </listitem> | |
92 | |
93 <listitem> | |
94 <para> | |
95 Bugfix: | |
96 fixed <literal>Date.prototype.toISOString()</literal> with invalid date values. | |
97 </para> | |
98 </listitem> | |
99 | |
100 </list> | |
101 </para> | |
102 | |
103 </section> | |
104 | |
14 | 105 |
15 <section id="njs0.5.0" name="Changes with njs 0.5.0"> | 106 <section id="njs0.5.0" name="Changes with njs 0.5.0"> |
16 | 107 |
17 <para> | 108 <para> |
18 Release Date: | 109 Release Date: |