Opensourcetechブログ

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

nginx njs-0.7.0 released.


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

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


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

Changes with njs 0.7.0
Release Date: 19 October 2021

nginx modules:
Feature: Added HTTPS support for Fetch API.
Feature: Added setReturnValue() method for http and stream.

Core:
Feature: introduced Async/Await implementation.
Feature: added WebCrypto API implementation.
Bugfix: fixed copying of closures for declared functions. The bug was introduced in 0.6.0.
Bugfix: fixed unhandled promise rejection in handle events.
Bugfix: fixed Response.headers getter in Fetch API.



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

Changes with njs 0.7.0
Release Date: 19 October 2021

nginx modules:
機能追加:Fetch APIのHTTPSサポートが追加されました。
機能追加:httpおよびstream用のsetReturnValue()メソッドが追加されました。

Core:
機能追加:Async/Await実装を導入しました。
機能追加:WebCrypto API実装が追加されました。
バグ修正:宣言された関数のクロージャのコピーが修正されました。バグは0.6.0で確認されました。
バグ修正:ハンドルイベントでの処理されない約束の拒否が修正されました。
バグ修正:Fetch APIのResponse.headers取得メソッドが修正されました。



Opensourcetech by Takahiro Kujirai