Kong 2.2.0-alpha.1 is released!

Hello everyone,

As previewed in our last Online Meetup, we are happy to announce today Kong 2.2.0-alpha.1! This is the first pre-release for the 2.2.0 series.

Since 2.2 is a minor release there are no breaking changes with respect to the 2.x series, but being an alpha pre-release, development is not feature-frozen at this time: and any new features introduced here may change between this release and 2.2.0, and more new features are also in the works!

What’s new in Kong 2.2.0-alpha.1

  • :fireworks: UDP support: Kong now features support for UDP proxying in its stream subsystem, supporting proxying, load balancing and plugins.
  • :fireworks: New Response Phase for Go and Lua: both Go and Lua pluggins now support a new plugin phase called response in Lua plugins and Response in Go. Using it automatically enables response buffering, which allows you to manipulate both the response headers and the response body in the same phase. This enables support for response handling in Go, where header and body filter phases are not available, allowing you to use PDK functions such as kong.Response.GetBody() , and provides an equivalent simplified feature for handling buffered responses from Lua plugins as well.
  • :rocket: Hybrid mode synchronization performance improvements
  • :email: Add X-Forwarded-Path header: if a trusted source provides a X-Forwarded-Path header, it is proxied as-is. Otherwise, Kong will set the content of said header to the request’s path.
  • :building_construction: PDK: New function kong.request.get_forwarded_prefix : returns the prefix path component of the request’s URL that Kong stripped before proxying to upstream, respecting the value of X-Forwarded-Prefix when it comes from a trusted source. #6251
  • :electric_plug: grpc-web: Introduce configuration pass_stripped_path, which, if set to true, causes the plugin to pass the stripped request path (see the strip_path Route attribute) to the upstream gRPC service.
  • :electric_plug:rate-limiting: Support for rate limiting by path, by setting the limit_by = "path" configuration attribute. Thanks KongGuide for the patch! #6286
  • :electric_plug:prometheus: Remove unnecessary WARN log that was seen in the Kong 2.1 series. #6258

Also note:

  • :warning: OpenResty has been bumped to 1.17.8.2, as well as our usual set of patches and lua-kong-nginx-module.
  • :warning: Cassandra 2.x support is now deprecated. If you are still using Cassandra 2.x with Kong, we recommend you to upgrade, since this series of Cassandra is about to be EOL with the upcoming release of Cassandra 4.0.

Download

For folks interested in trying the alpha release take
Please note that the donwload locations for the alpha release is kept separate from the final release locations:

:spiral_notepad: More details and PR links are available at the 2.2.0 Changelog .

Feedback welcome!

Feedback is extremely encouraged! Let us know your thoughts and experiences using 2.2.0-alpha.1 here on Kong Nation and make sure to report any issues over at our Github repo!

:gorilla: Happy Konging! :gorilla:

1 Like

© 2019 Kong Inc.    Terms  •  Privacy  •  FAQ