こんにちは、LinuCエバンジェリストこと、鯨井貴博@opensourcetechです。
nginx njsの新バージョン 0.2.7がリリースされました。
https://nginx.org/en/docs/njs/index.html
changelogs
更新内容は、以下の通りです。
http://nginx.org/en/docs/njs/changes.html
Changes with 0.2.7
Release Date: 25 December 2018
Core:
Feature: rest parameters syntax (destructuring is not supported). Thanks to Alexander Pyshchev.
Feature: added Object.entries() method.
Feature: added Object.values() method.
Improvement: code generator refactored and simplified.
Bugfix: fixed automatic semicolon insertion.
Bugfix: fixed assignment expression from compound assignment.
Bugfix: fixed comparison of Byte and UTF8 strings.
Bugfix: fixed type of iteration variable in for-in with array values.
Bugfix: fixed building on paltforms without librt.
Bugfix: miscellaneous additional bugs have been fixed.
changelogs(日本語訳)
0.2.7での変更点
リリース日:2018年12月25日
Core:
機能追加:休止パラメータの構文(分割はサポートされていません)。 Alexander Pyshchevに感謝します。
機能追加: Object.entries()メソッドを追加しました。
機能追加: Object.values()メソッドを追加しました。
機能改善:コードジェネレータのリファクタリングと簡素化。
バグ修正:自動セミコロン挿入を修正
バグ修正:複合代入からの代入式を修正。
バグ修正:ByteとUTF8の文字列の比較を修正。
バグ修正:配列値を含むfor-inの反復変数の型を修正。
バグ修正:librtのないプラットフォーム上でのビルドを修正。
バグ修正:その他の追加のバグが修正された。