Opensourcetechブログ

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

nginx njs-0.5.2 released.


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

nginxのjavascriptモジュールであるnjsの新バージョン 0.5.2がリリースされました。
f:id:opensourcetech:20210310085442p:plain:w400 http://nginx.org/

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

Changes with njs 0.5.2
Release Date: 09 March 2021

nginx modules:
  Feature: added the js_body_filter directive.
  Feature: introduced the s.status property for Stream Session object.
  Feature: added njs.on (exit) callback support.
  Bugfix: fixed property descriptor reuse for not extensible objects. Thanks to Artem S. Povalyukhin.
  Bugfix: fixed Object.freeze() and friends according to the specification. Thanks to Artem S. Povalyukhin.
  Bugfix: fixed Function() in CLI mode.
  Bugfix: fixed for-in iteration of typed array values. Thanks to Artem S. Povalyukhin.



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

  Changes with njs 0.5.2
  Release Date: 09 March 2021
  
  nginx modules:
  機能追加:js_body_filterディレクティブが追加されました。
  機能追加:Stream Sessionオブジェクトのs.statusプロパティが導入されました。
  機能追加:njs.on(exit)コールバックのサポートが追加されました。
  バグ修正:拡張できないオブジェクトのプロパティ記述子の再利用が修正されました。Artem S. Povalyukhinに感謝します。
  バグ修正:仕様に従って、Object.freeze()とその周辺が修正されました。Artem S. Povalyukhinに感謝します。
  バグ修正:CLIモードのFunction()が修正されました。
  バグ修正:型付き配列値のfor-inループが修正されました。Artem S. Povalyukhinに感謝します。



Opensourcetech by Takahiro Kujirai