Hello,
I'm glad to announce a new release of NGINX JavaScript module (njs).
This release proceeds to extend the coverage of ECMAScript
specifications.
Notable new features:
- Object.assign() method:
: > var obj = { a: 1, b: 2 }
: undefined
: > var copy = Object.assign({}, obj)
: undefined
: > console.log(copy)
: {a:1,b:2}
You can learn more about njs:
- Overview and introduction: http://nginx.org/en/docs/njs/
- Presentation: https://youtu.be/Jc_L6UffFOs
Feel free to try it and give us feedback on:
- Github: https://github.com/nginx/njs/issues
- Mailing list: http://mailman.nginx.org/mailman/listinfo/nginx-devel
Changes with njs 0.3.7 19 Nov 2019
nginx modules:
*) Improvement: refactored iteration over external objects.
Core:
*) Feature: added Object.assign().
*) Feature: added Array.prototype.copyWithin().
*) Feature: added support for labels in console.time().
*) Change: removed console.help() from CLI.
*) Improvement: moved constructors and top-level objects to
global object.
*) Improvement: arguments validation for configure script.
*) Improvement: refactored JSON methods.
*) Bugfix: fixed heap-buffer-overflow in njs_array_reverse_iterator()
function. The following functions were affected:
Array.prototype.lastIndexOf(), Array.prototype.reduceRight().
*) Bugfix: fixed [[Prototype]] slot of NativeErrors.
*) Bugfix: fixed NativeError.prototype.message properties.
*) Bugfix: added conversion of "this" value to object in
Array.prototype functions.
*) Bugfix: fixed iterator for Array.prototype.find() and
Array.prototype.findIndex() functions.
*) Bugfix: fixed Array.prototype.includes() and
Array.prototype.join() with "undefined" argument.
*) Bugfix: fixed "constructor" property of "Hash" and "Hmac"
objects.
*) Bugfix: fixed "__proto__" property of getters and setters.
*) Bugfix: fixed "Date" object string formatting.
*) Bugfix: fixed handling of NaN and -0 arguments in Math.min()
and Math.max().
*) Bugfix: fixed Math.round() according to the specification.
*) Bugfix: reimplemented "bound" functions according to
the specification.
Changes with nginx 1.17.6 19 Nov 2019
*) Feature: the $proxy_protocol_server_addr and
$proxy_protocol_server_port variables.
*) Feature: the "limit_conn_dry_run" directive.
*) Feature: the $limit_req_status and $limit_conn_status variables.
--
Maxim Dounin
http://nginx.org/
Hi,
I'm glad to announce a new release of NGINX Unit.
This release expands Unit's functionality as a generic web server by
introducing basic HTTP reverse proxying.
See the details in our documentation:
- https://unit.nginx.org/configuration/#proxying
Compared to mature proxy servers and load balancers, Unit's proxy features
are limited now, but we'll continue the advance.
Also, this release improves the user experience for Python and Ruby modules and
remediates compatibility issues with existing applications in these languages.
Our long-term goal is to turn Unit into the ultimate high-performance building
block that will be helpful and easy to use with web services of any kind. To
accomplish this, Unit's future releases will focus on the following aspects:
- security, isolation, and DoS protection
- ability to run various types of dynamic applications
- connectivity with load balancing and fault tolerance
- efficient serving of static media assets
- statistics and monitoring
Changes with Unit 1.13.0 14 Nov 2019
*) Feature: basic support for HTTP reverse proxying.
*) Feature: compatibility with Python 3.8.
*) Bugfix: memory leak in Python application processes when the close
handler was used.
*) Bugfix: threads in Python applications might not work correctly.
*) Bugfix: Ruby on Rails applications might not work on Ruby 2.6.
*) Bugfix: backtraces for uncaught exceptions in Python 3 might be
logged with significant delays.
*) Bugfix: explicit setting a namespaces isolation option to false might
have enabled it.
Please feel free to share your experiences and ideas on GitHub:
- https://github.com/nginx/unit/issues
Or via Unit mailing list:
- https://mailman.nginx.org/mailman/listinfo/unit
wbr, Valentin V. Bartenev