Opensourcetechブログ

OpensourcetechによるNGINX/Kubernetes/Zabbix/Neo4j/Linuxなどオープンソース技術に関するブログです。

nginx njs-0.4.4 released.


LinuCエヴァンジェリストの鯨井貴博@opensourcetechです。

nginx njsの最新バージョン 0.4.4がリリースされました。
f:id:opensourcetech:20200930074829p:plain:w400
http://nginx.org/

更新内容は、以下の通り。
http://nginx.org/en/docs/njs/changes.html

Changes with nginx 1.19.3                                        29 Sep 2020

*) Feature: the ngx_stream_set_module.
*) Feature: the "proxy_cookie_flags" directive.
*) Feature: the "userid_flags" directive.
*) Bugfix: the "stale-if-error" cache control extension was erroneously applied if backend returned a response with status code 500, 502, 503, 504, 403, 404, or 429.
*) Bugfix: "[crit] cache file ... has too long header" messages might appear in logs if caching was used and the backend returned responses with the "Vary" header line.
*) Workaround: "[crit] SSL_write() failed" messages might appear in logs when using OpenSSL 1.1.1.
*) Bugfix: "SSL_shutdown() failed (SSL: ... bad write retry)" messages might appear in logs; the bug had appeared in 1.19.2.
*) Bugfix: a segmentation fault might occur in a worker process when using HTTP/2 if errors with code 400 were redirected to a proxied location using the "error_page" directive.
*) Bugfix: socket leak when using HTTP/2 and subrequests in the njs module.



日本語訳は、以下となります。

Changes with njs 0.4.4
Release Date: 29 September 2020

nginx modules:
バグ修正:固定位置のマージが修正された。
バグ修正:HTTP/2のr.httpVersionが修正された。

Core:
機能追加:数値セパレータ(ES12)のサポートが追加された。
機能追加:%TypedArray%.prototypeの残りのメソッドが追加された。追加されたメソッドは、every()、filter()、find()、findIndex()、forEach()、includes()、indexOf()、lastIndexOf()、map()、reduce()、reduceRight()、reverse()、some()です。
機能追加:残りの%TypedArray%メソッドを追加しました。from()、of()メソッドが追加された。
機能追加:DataViewオブジェクトが追加された。
機能追加:バッファオブジェクトの実装が追加された。
機能追加:TextDecoder.prototype.decode()でのArrayBufferのサポートが追加された。
機能追加:暗号方式でのバッファオブジェクトのサポートが追加された。
機能追加:fsメソッドのBufferオブジェクトのサポートが追加された。
変更:Hash.prototype.digest()およびHmac.prototype.digest()は、エンコーディングが指定されていない場合に、バイト文字列ではなくBufferインスタンスを返すようになった。
変更:fs.readFile()とfriendsは、エンコーディングが指定されていない場合、バイト文字列ではなくBufferインスタンスを返すようになった。
バグ修正:設定中の関数プロトタイププロパティハンドラが修正された。
バグ修正:設定中の関数コンストラクタプロパティハンドラが修正された。
バグ修正:バイト文字列のString.prototype.indexOf()が修正された。
バグ修正:グローバルフラグとバイト文字列を持つRegExpBuiltinExec()が修正された。
バグ修正:置換値が関数である場合のRegExp.prototype[Symbol.replace]がバグ修正された。
バグ修正:0以外のTypedArrayオフセットを持つTextDecoder.prototype.decode()が修正された。

Opensourcetech by Takahiro Kujirai