Release of nginx 1.17.8 and njs 0.3.8

Formed master branch release nginx 1.17.8, within which the development of new features continues (in a parallel supported stable branch 1.16 only changes related to the elimination of serious errors and vulnerabilities are made).

All changes:

  • In directive grpc_pass added support for using a variable in a parameter that defines an address. If the address is specified in the form of a domain name, the name is searched among the described server groups and if not found, then it is determined using the resolver;
  • Fixed a bug when processing pipelined requests over an SSL connection, which could cause a timeout;
  • Corrections have been made to the directive debug_points when using the HTTP/2 protocol.

Additionally, it can be noted issue njs 0.3.8, a JavaScript interpreter for the nginx web server. The njs interpreter implements the ECMAScript standards and allows you to extend nginx's ability to process requests using scripts in the configuration. Scripts can be used in a configuration file to define advanced request processing logic, generate a configuration, dynamically generate a response, modify a request/response, or quickly create problem-solving stubs in web applications.

In the new release, the nginx module added Promise support for r.subrequest and made changes to the r.parent property handler. Also:

  • added support for Promise;
  • added initial support for Typed arrays;
  • added support for ArrayBuffer;
  • added initial character support;
  • added external control for JSON.stringify();
  • added Object.is();
  • added Object.setPrototypeOf();
  • the null union operator is introduced (coalescing);
  • fixed Object.getPrototypeOf() according to the specification;
  • fixed Object.prototype.valueOf() according to the specification;
  • fixed JSON.stringify() with non-printable values ​​and
    substitute function;

  • fixed "in" operator according to specification;
  • fixed Object.defineProperties() according to
    with specification;

  • fixed Object.create() according to specification.
  • fixed Number.prototype.toString(radix) when Quick Math is enabled;
  • fixed RegExp() instance properties;
  • fixed import error when importing.

Source: opennet.ru

Add a comment