Opensourcetechブログ

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

nginx njs-0.3.0 released!

こんにちは、LinuCエバンジェリストこと、鯨井貴博@opensourcetechです。

 igore sysoevさんと一緒

 

nginx njsの最新バージョン 0.3.0がリリースされました。

f:id:opensourcetech:20190327071210p:plain

https://nginx.org/

 

 

changelogs

更新内容は、以下の通りです。

https://forum.nginx.org/read.php?2,283533

Changes with njs 0.3.0 26 Mar 2019

nginx modules:
*) Feature: added js_path directive.
*) Change: returning undefined value instead of empty strings for absent properties in the following objects: r.args, r.headersIn, r.headersOut, r.variables, s.variables.
*) Change: returning undefined value instead of throwing an exception for r.requestBody when request body is unavailable.
*) Bugfix: fixed crash while iterating over r.args when a value is absent in a key-value pair.

Core:
*) Feature: added initial ES6 modules support. Default import and default export statements are supported. Thanks to 洪志道 (Hong Zhi Dao).
*) Feature: added Object.prototype.propertyIsEnumerable().
*) Feature: reporting file name and function name in disassembler output.
*) Bugfix: fixed function redeclarations in interactive shell. Thanks to 洪志道 (Hong Zhi Dao).
*) Bugfix: fixed RegExp literals parsing.
*) Bugfix: fixed setting length of UTF8 string in fs.readFileSync().
*) Bugfix: fixed nxt_file_dirname() for paths with no dir component.

 

 

changelogs(日本語訳)

Changes with njs 0.3.0 26 Mar 2019

nginx modules:
*)機能追加:js_pathディレクティブを追加した。
*)変更:オブジェクトr.args、r.headersIn、r.headersOut、r.variables、s.variablesに存在しないプロパティに対して、空の文字列ではなく未定義の値が返すようにした。
*)変更:リクエストボディが利用できないときに、r.requestBodyに例外を投げる代わりに未定義の値を返すようにした。
*)バグ修正:キーと値のペアに値が存在しない場合に、r.argsを繰り返し処理している間にクラッシュする問題を修正した。

Core:
*)機能追加:初期のES6モジュールサポートを追加しました。デフォルトのインポートとデフォルトのエクスポートのステートメントがサポートされています。洪志道(Hong Zhi Dao)に感謝します。
*)機能追加:Object.prototype.propertyIsEnumerable()を追加した。
*)機能追加:逆アセンブラ出力でファイル名と機能名をレポートします。
*)バグ修正:対話型シェルの関数再宣言を修正した。洪志道(Hong Zhi Dao)に感謝します。
*)バグ修正:RegExpリテラルの解析を修正した。
*)バグ修正:fs.readFileSync()のUTF8文字列の設定長を修正しました。
*)バグ修正:dirコンポーネントがないパスのnxt_file_dirname()を修正した。

 

 

 

 

 

www.slideshare.net

github.com

www.facebook.com

twitter.com

www.instagram.com

 

 

にほんブログ村 IT技術ブログ Linuxへ
Linux

にほんブログ村 IT技術ブログ オープンソースへ
オープンソース

 

 

 

 

Opensourcetech by Takahiro Kujirai