LinuCエヴァンジェリストの鯨井貴博@opensourcetechです。
nginx njs の最新バージョン、0.6.2がリリースされました。
http://nginx.org/
更新内容は、以下の通り。
http://nginx.org/en/docs/njs/changes.html
Changes with njs 0.6.2 Release Date: 31 August 2021 nginx modules: Bugfix: fixed CPU hog when js_filter is registered in both directions. Core: Feature: introduced AggregateError implementation. Feature: added remaining Promise constructor methods. The following methods were added: Promise.all() , Promise.allSettled() , Promise.any() , Promise.race() . Improvement: removed recursion from code generator. Bugfix: fixed rest parameter parsing without binding identifier. Bugfix: fixed resolve/reject callback for Promise.prototype.finally() . Bugfix: fixed %TypedArray%.prototype.join() with detached buffer. Bugfix: fixed memory leak in interactive shell.
日本語訳は、以下となります。
Changes with njs 0.6.2 Release Date: 31 August 2021 nginxモジュール: バグ修正_filterが両方向に登録された場合のCPU占有量が修正されました。 Core: 機能追加:AggregateErrorでの導入を紹介。 機能追加:残りのPromiseコンストラクタ・メソッドが追加されました。メソッドPromise.all()、Promise.allSettled()、Promise.any()、Promise.race()が追加されました。 改善:コードジェネレータから再帰が削除されました。 バグ修正:バインド識別子のない固定休止パラメータの解析。 バグ修正:Promise.prototype.finally()のresolve/rejectコールバックが修正されました。 バグ修正:%TypedArray%.prototype.join()がデタッチバッファ付きで修正されました。 バグ修正:インタラクティブシェルでのメモリリークが修正されました。