njs-0.7.5
Dmitry Volyntsev
xeioex at nginx.com
Tue Jun 21 19:00:49 UTC 2022
Hello,
I'm glad to announce a new release of NGINX JavaScript module (njs).
This release focuses on stabilization of recently released features
and fixing bugs found by various fuzzers.
Learn more about njs:
- Overview and introduction: https://nginx.org/en/docs/njs/
- NGINX JavaScript in Your Web Server Configuration:
https://youtu.be/Jc_L6UffFOs
- Extending NGINX with Custom Code: https://youtu.be/0CVhq4AUU7M
- Using node modules with njs:
https://nginx.org/en/docs/njs/node_modules.html
- Writing njs code using TypeScript definition files:
https://nginx.org/en/docs/njs/typescript.html
We are hiring:
If you are a C programmer, passionate about Open Source and you
love what we do, consider the following career opportunity:
https://ffive.wd5.myworkdayjobs.com/NGINX/job/Ireland-Homebase/Software-Engineer-III---NGNIX-NJS_RP1022237
Feel free to try it and give us feedback on:
- Github: https://github.com/nginx/njs/issues
- Mailing list: https://mailman.nginx.org/mailman/listinfo/nginx-devel
Additional examples and howtos can be found here:
- Github: https://github.com/nginx/njs-examples
Changes with njs 0.7.5 21 Jun 2022
nginx modules:
*) Change: adapting to changes in nginx header structures.
*) Bugfix: fixed r.headersOut special getters when value
is absent.
*) Change: returning undefined value instead of an empty string
for Content-Type when the header is absent.
Core:
*) Bugfix: fixed catching of the exception thrown from an
awaited function.
*) Bugfix: fixed function value initialization.
*) Bugfix: fixed interpreter when await fails.
*) Bugfix: fixed typed-array constructor when source array
is changed while iterating.
*) Bugfix: fixed String.prototype.replace() with byte strings.
*) Bugfix: fixed template literal from producing byte-strings.
*) Bugfix: fixed array iterator with sparse arrays.
*) Bugfix: fixed memory free while converting a flat array to
a slow array.
*) Bugfix: properly handling NJS_DECLINE in promise native
functions.
*) Bugfix: fixed working with an array-like object in Promise.all()
and friends.
More information about the nginx
mailing list