Skip to content

Commit

Permalink
ANN: New OpenResty 1.17.8.1 release.
Browse files Browse the repository at this point in the history
  • Loading branch information
meathill authored and agentzh committed Jul 5, 2020
1 parent cc517ad commit ec45d9c
Show file tree
Hide file tree
Showing 10 changed files with 675 additions and 32 deletions.
109 changes: 109 additions & 0 deletions v2/cn/ann-1017008001.md.tt2
Original file line number Diff line number Diff line change
@@ -0,0 +1,109 @@
<!---
@title OpenResty 1.17.8.1 Released
@creator Yichun Zhang
--->

[% major_ver = "1.17.8"; version = major_ver _ ".1" %]
We are happy to announce the new formal release, [% version %], of the
OpenResty web platform based on NGINX and LuaJIT.

[Download this version here](download.html).

The (portable) source code distribution, the Win32/Win64 binary
distributions, and the pre-built binary Linux packages for Ubuntu,
Debian, Fedora, CentOS, RHEL, Alpine, Amazon Linux are provided on this
[Download page](download.html).

This is the first OpenResty release based on the nginx [% major_ver %] core.

# Acknowledgments

Special thanks go to all our developers, sponsors, and contributors! Also thanks Thibault Charbonnier,
Junlong Li, and Lujia Zhai for their help in preparing this release.

# Version highlights

The highlights of this release candidate are:

* Based on the very recent mainline [NGINX](nginx.html) core [% major_ver %].
* Support for OpenSSL 1.1.1 by upgrading the OpenSSL patches.
* Dropped support for PUC-Rio Lua; from now on, only [LuaJIT](https://github.com/openresty/luajit2#readme) 2.x is supported.
* Dropped the `dtrace` and `gcc-maybe-uninitialized-warning`
[NGINX](nginx.html) core patches, and applied the new
`init_cycle_pool_release` patch. Additionally, all versions of the OpenSSL
patches are now bundled in the final release tarball.
* Reduced the final release tarball size from 4.7MB down to 3.5MB.
* [ngx_lua](https://github.com/openresty/lua-nginx-module#readme)
* Mandatorily load [lua-resty-core](https://github.com/openresty/lua-resty-core)
and switched to the FFI-based API when available. Many old CFunction
implementations have been removed, and
[lua_load_resty_core](https://github.com/openresty/lua-nginx-module#lua_load_resty_core)
has been deprecated.
* Made the `coroutine.wrap()` API propagate errors to its parent coroutine,
aligning with standard Lua behavior. This change may be breaking for some
applications relying on the previous - but invalid - behavior of [ngx_lua](https://github.com/openresty/lua-nginx-module#readme).
* Fixed several compilation errors for static PCRE builds and [LuaJIT](https://github.com/openresty/luajit2#readme) [FFI](http://luajit.org/ext_ffi.html)
checks.
* [ngx_stream_lua](https://github.com/openresty/stream-lua-nginx-module#readme)
* Ported many features from the
[ngx_lua](https://github.com/openresty/lua-nginx-module#readme) module,
including:
* Mandatorily load [lua-resty-core](https://github.com/openresty/lua-resty-core)
and switched to the FFI-based API when available. Many old CFunction
implementations have been removed, and
[lua_load_resty_core](https://github.com/openresty/lua-nginx-module#lua_load_resty_core)
has been deprecated.
* Made the `coroutine.wrap()` API propagate errors to its parent coroutine,
aligning with standard Lua behavior. This change may be breaking for some
applications relying on the - invalid - previous behavior of [ngx_stream_lua](https://github.com/openresty/stream-lua-nginx-module#readme).
* Added the `pool_size` and `backlog` options to the [tcpsock:connect()](https://github.com/openresty/lua-nginx-module#tcpsockconnect) API.
* Enabled many FFI-based APIs for the stream subsystem including
`ngx.worker.*`, `ngx.var`, `ngx.ctx`, and many more...
* Fixed several compilation errors for static PCRE builds and [LuaJIT](https://github.com/openresty/luajit2#readme) [FFI](http://luajit.org/ext_ffi.html)
checks.
* Ported more features and bugfixes from previous releases of the
[ngx_lua](https://github.com/openresty/lua-nginx-module#readme) module...
* [lua-resty-core](https://github.com/openresty/lua-resty-core#readme)
* Implemented the new `ngx_req.add_header()` API, similar to
`ngx_resp.add_header()`.
* New features for the `ngx.pipe` API with support for environment
variables, timeouts, and more.
* Updated the `ngx_ssl.get_tls1_version_str()` API to recognize TLS 1.3
connection.
* [LuaJIT](https://github.com/openresty/luajit2#readme)
* Increased the maximum number of allowed upvalues from 60 to 120.
* Initial support for x390x architectures.
* Many fixes imported from Mike Pall's upstream [LuaJIT](https://github.com/openresty/luajit2#readme) repository.

# Full Change logs

Complete change logs since the last (formal) release, [% version %], can be browsed
in the page [Change Log for [% major_ver %].x](changelog-1017008.html).

# Testing

We have run extensive testing on our Amazon EC2 test cluster and
ensured that all the components (including the Nginx core) play well
together. The latest test report can always be found here:

https://qa.openresty.org/

We also always run our OpenResty Edge commercial software based on the
latest open source version of OpenResty in our own global CDN network
(dubbed "mini CDN") powering our openresty.org and openresty.com
websites. See https://openresty.com/ for more details.

# Community Support

See the [Community Page](community.html).

# Commercial Support

Commercial technical support and real-time noninvasive online monitoring and profiling
solution is provided through the official [OpenResty XRay](https://openresty.com/en/)
product.

# Feedback

Feedback on this release is more than welcome. Feel free to create new
[GitHub issues](https://github.com/openresty/openresty/issues) or send emails to one of our [mailing lists](community.html).
Loading

0 comments on commit ec45d9c

Please sign in to comment.