Mercurial > hg > nginx-site
comparison xml/en/docs/njs/changes.xml @ 2250:a314f4aeb199
Fixed path to njs reference in Changes.
author | Yaroslav Zhuravlev <yar@nginx.com> |
---|---|
date | Fri, 05 Oct 2018 20:24:30 +0300 |
parents | 32ba43abf9cd |
children | b001d6903fc1 |
comparison
equal
deleted
inserted
replaced
2249:41ccd87cdb89 | 2250:a314f4aeb199 |
---|---|
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="8" | 12 rev="9" |
13 toc="no"> | 13 toc="no"> |
14 | 14 |
15 <section id="njs0.2.4" name="Changes with 0.2.4"> | 15 <section id="njs0.2.4" name="Changes with 0.2.4"> |
16 | 16 |
17 <para> | 17 <para> |
29 stream module handlers refactored. | 29 stream module handlers refactored. |
30 </para> | 30 </para> |
31 | 31 |
32 <para> | 32 <para> |
33 New methods and properties: | 33 New methods and properties: |
34 <link doc="njs_api.xml" id="s_on">s.on()</link>, | 34 <link doc="reference.xml" id="s_on">s.on()</link>, |
35 <link doc="njs_api.xml" id="s_off">s.off()</link>, | 35 <link doc="reference.xml" id="s_off">s.off()</link>, |
36 <link doc="njs_api.xml" id="s_allow">s.allow()</link>, | 36 <link doc="reference.xml" id="s_allow">s.allow()</link>, |
37 <link doc="njs_api.xml" id="s_done">s.done()</link>, | 37 <link doc="reference.xml" id="s_done">s.done()</link>, |
38 <link doc="njs_api.xml" id="s_decline">s.decline()</link>, | 38 <link doc="reference.xml" id="s_decline">s.decline()</link>, |
39 <link doc="njs_api.xml" id="s_deny">s.deny()</link>. | 39 <link doc="reference.xml" id="s_deny">s.deny()</link>. |
40 </para> | 40 </para> |
41 | 41 |
42 <para> | 42 <para> |
43 Removed properties of the | 43 Removed properties of the |
44 <link doc="njs_api.xml" id="stream">Stream</link> object: | 44 <link doc="reference.xml" id="stream">Stream</link> object: |
45 <literal>s.OK</literal>, | 45 <literal>s.OK</literal>, |
46 <literal>s.ABORT</literal>, | 46 <literal>s.ABORT</literal>, |
47 <literal>s.AGAIN</literal>, | 47 <literal>s.AGAIN</literal>, |
48 <literal>s.DECLINED</literal>, | 48 <literal>s.DECLINED</literal>, |
49 <literal>s.ERROR</literal> | 49 <literal>s.ERROR</literal> |
50 (replaced with | 50 (replaced with |
51 <link doc="njs_api.xml" id="s_allow">s.allow()</link>, | 51 <link doc="reference.xml" id="s_allow">s.allow()</link>, |
52 <link doc="njs_api.xml" id="s_done">s.done()</link>, | 52 <link doc="reference.xml" id="s_done">s.done()</link>, |
53 <link doc="njs_api.xml" id="s_deny">s.deny()</link>). | 53 <link doc="reference.xml" id="s_deny">s.deny()</link>). |
54 </para> | 54 </para> |
55 | 55 |
56 <para> | 56 <para> |
57 <literal>s.buffer</literal> | 57 <literal>s.buffer</literal> |
58 (for reading replaced with data argument of | 58 (for reading replaced with data argument of |
59 the corresponding callback, for writing use | 59 the corresponding callback, for writing use |
60 <link doc="njs_api.xml" id="s_send">s.send()</link>). | 60 <link doc="reference.xml" id="s_send">s.send()</link>). |
61 </para> | 61 </para> |
62 | 62 |
63 <para> | 63 <para> |
64 <literal>s.fromUpstream</literal> | 64 <literal>s.fromUpstream</literal> |
65 (replaced with a callback for a corresponding event). | 65 (replaced with a callback for a corresponding event). |
66 </para> | 66 </para> |
67 | 67 |
68 <para> | 68 <para> |
69 <literal>s.eof</literal> | 69 <literal>s.eof</literal> |
70 (replaced with <literal></literal> | 70 (replaced with <literal></literal> |
71 <link doc="njs_api.xml" id="s_on_callback_last">flags.last</link>). | 71 <link doc="reference.xml" id="s_on_callback_last">flags.last</link>). |
72 </para> | 72 </para> |
73 | 73 |
74 </listitem> | 74 </listitem> |
75 | 75 |
76 </list> | 76 </list> |
206 | 206 |
207 <listitem> | 207 <listitem> |
208 <para> | 208 <para> |
209 Bugfix: | 209 Bugfix: |
210 getting the parent property of the main | 210 getting the parent property of the main |
211 <link doc="njs_api.xml" id="http">HTTP Request</link> | 211 <link doc="reference.xml" id="http">HTTP Request</link> |
212 object caused a segmentation fault. | 212 object caused a segmentation fault. |
213 </para> | 213 </para> |
214 </listitem> | 214 </listitem> |
215 | 215 |
216 </list> | 216 </list> |
242 </listitem> | 242 </listitem> |
243 | 243 |
244 <listitem> | 244 <listitem> |
245 <para> | 245 <para> |
246 Feature: | 246 Feature: |
247 <link doc="njs_api.xml" id="string_bytesfrom">String.bytesFrom()</link> method | 247 <link doc="reference.xml" id="string_bytesfrom">String.bytesFrom()</link> method |
248 (decoding <literal>hex</literal>, | 248 (decoding <literal>hex</literal>, |
249 <literal>base64</literal>, | 249 <literal>base64</literal>, |
250 <literal>base64url</literal> into a byte string). | 250 <literal>base64url</literal> into a byte string). |
251 </para> | 251 </para> |
252 </listitem> | 252 </listitem> |
253 | 253 |
254 <listitem> | 254 <listitem> |
255 <para> | 255 <para> |
256 Feature: | 256 Feature: |
257 <link doc="njs_api.xml" id="string_padstart">String.padStart()</link> and | 257 <link doc="reference.xml" id="string_padstart">String.padStart()</link> and |
258 <link doc="njs_api.xml" id="string_padend">String.padEnd()</link> methods. | 258 <link doc="reference.xml" id="string_padend">String.padEnd()</link> methods. |
259 </para> | 259 </para> |
260 </listitem> | 260 </listitem> |
261 | 261 |
262 <listitem> | 262 <listitem> |
263 <para> | 263 <para> |
355 | 355 |
356 <listitem> | 356 <listitem> |
357 <para> | 357 <para> |
358 Change: | 358 Change: |
359 merged HTTP <literal>Response</literal> and <literal>Reply</literal> | 359 merged HTTP <literal>Response</literal> and <literal>Reply</literal> |
360 into <link doc="njs_api.xml" id="http">HTTP Request</link>. | 360 into <link doc="reference.xml" id="http">HTTP Request</link>. |
361 New members of <literal>Request</literal>: | 361 New members of <literal>Request</literal>: |
362 | 362 |
363 <list type="bullet"> | 363 <list type="bullet"> |
364 | 364 |
365 <listitem> | 365 <listitem> |
453 </listitem> | 453 </listitem> |
454 | 454 |
455 <listitem> | 455 <listitem> |
456 <para> | 456 <para> |
457 Feature: | 457 Feature: |
458 HTTP <link doc="njs_api.xml" id="r_internal_redirect">internalRedirect()</link> | 458 HTTP <link doc="reference.xml" id="r_internal_redirect">internalRedirect()</link> |
459 method. | 459 method. |
460 </para> | 460 </para> |
461 </listitem> | 461 </listitem> |
462 | 462 |
463 </list> | 463 </list> |