From a347645daa1c0502c7737bd78f09ab863e3e495e Mon Sep 17 00:00:00 2001 From: Andy Zhang Date: Fri, 13 Dec 2024 08:27:23 +0800 Subject: [PATCH] docs(changelog): add 3.9.0 changelog entries (#14014) --- CHANGELOG.md | 276 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 276 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1bc3d8e14742..956f33e8a404 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,6 @@ # Table of Contents +- [3.9.0](#390) - [3.8.1](#381) - [3.8.0](#380) - [3.7.1](#371) @@ -21,6 +22,281 @@ Individual unreleased changelog entries can be located at [changelog/unreleased](changelog/unreleased). They will be assembled into [CHANGELOG.md](CHANGELOG.md) once released. +## 3.9.0 + +### Kong + +#### Deprecations +##### Core + +- `node_id` in configuration has been deprecated. + [#13687](https://github.com/Kong/kong/issues/13687) + [FTI-6221](https://konghq.atlassian.net/browse/FTI-6221) + +#### Dependencies +##### Core + +- Bumped lua-kong-nginx-module from 0.11.0 to 0.11.1 to fix an issue where the upstream cert chain wasn't properly set. + [#12752](https://github.com/Kong/kong/issues/12752) + [KAG-4050](https://konghq.atlassian.net/browse/KAG-4050) + +- Bumped lua-resty-events to 0.3.1. Optimized the memory usage. + [#13097](https://github.com/Kong/kong/issues/13097) + [KAG-4480](https://konghq.atlassian.net/browse/KAG-4480) [KAG-4586](https://konghq.atlassian.net/browse/KAG-4586) + +- Bumped lua-resty-lmdb to 1.6.0. Allowing page_size to be 1. + [#13908](https://github.com/Kong/kong/issues/13908) + [KAG-5875](https://konghq.atlassian.net/browse/KAG-5875) + +- Bumped lua-resty-lmdb to 1.5.0. Added page_size parameter to allow overriding page size from caller side. + [#12786](https://github.com/Kong/kong/issues/12786) + +##### Default + +- Kong Gateway now supports Ubuntu 24.04 (Noble Numbat) with both open-source and Enterprise packages. + [#13626](https://github.com/Kong/kong/issues/13626) + [KAG-4672](https://konghq.atlassian.net/browse/KAG-4672) + +- Bumped the bundled `datakit` Wasm filter to `0.3.1` + [#13922](https://github.com/Kong/kong/issues/13922) + [KAG-5850](https://konghq.atlassian.net/browse/KAG-5850) + +- Bumped rpm dockerfile default base UBI 8 -> 9 + [#13574](https://github.com/Kong/kong/issues/13574) + +- Bumped lua-resty-aws to 1.5.4 to fix a bug inside region prefix generation. + [#12846](https://github.com/Kong/kong/issues/12846) + [KAG-3424](https://konghq.atlassian.net/browse/KAG-3424) [FTI-5732](https://konghq.atlassian.net/browse/FTI-5732) + +- Bumped lua-resty-ljsonschema to 1.2.0, adding support for `null` as a valid option in `enum` types and properly calculation of utf8 string length instead of byte count + [#13783](https://github.com/Kong/kong/issues/13783) + [FTI-5870](https://konghq.atlassian.net/browse/FTI-5870) [FTI-6171](https://konghq.atlassian.net/browse/FTI-6171) + +- Bumped `ngx_wasm_module` to `9136e463a6f1d80755ce66c88c3ddecd0eb5e25d` + [#12011](https://github.com/Kong/kong/issues/12011) + + +- Bumped `Wasmtime` version to `26.0.0` + [#12011](https://github.com/Kong/kong/issues/12011) + +- Bumped OpenSSL to 3.2.3 to fix unbounded memory growth with session handling in TLSv1.3 and other CVEs. + [#13448](https://github.com/Kong/kong/issues/13448) + [KAG-5075](https://konghq.atlassian.net/browse/KAG-5075) + +#### Features +##### CLI Command +- Added the `kong drain` CLI command to make the `/status/ready` endpoint return a `503 Service Unavailable` response. + [#13838](https://github.com/Kong/kong/issues/13838) + [FTI-6276](https://konghq.atlassian.net/browse/FTI-6276) +##### Core + +- Added a new feature for Kong Manager that supports multiple domains, enabling dynamic cross-origin access for Admin API requests. + [#13664](https://github.com/Kong/kong/issues/13664) + +- Added an ADA dependency: WHATWG-compliant and fast URL parser. + [#13120](https://github.com/Kong/kong/issues/13120) + [KAG-5106](https://konghq.atlassian.net/browse/KAG-5106) + +- Addded a new LLM driver for interfacing with the Hugging Face inference API. +The driver supports both serverless and dedicated LLM instances hosted by +Hugging Face for conversational and text generation tasks. + [#13484](https://github.com/Kong/kong/issues/13484) + + +- Increased the priority order of the correlation id to 100001 from 1 so that the plugin can be used +with other plugins especially custom auth plugins. + [#13581](https://github.com/Kong/kong/issues/13581) + +- Added a `tls.disable_http2_alpn()` function patch for disabling HTTP/2 ALPN when performing a TLS handshake. + [#13709](https://github.com/Kong/kong/issues/13709) + + +- Improved the output of the request debugger: + - The resolution of field `total_time` is now in microseconds. + - A new field, `total_time_without_upstream`, shows the latency only introduced by Kong. + [#13460](https://github.com/Kong/kong/issues/13460) + [KAG-4733](https://konghq.atlassian.net/browse/KAG-4733) [FTI-5989](https://konghq.atlassian.net/browse/FTI-5989) +- **proxy-wasm**: Added support for Wasm filters to be configured via the `/plugins` Admin API. + [#13843](https://github.com/Kong/kong/issues/13843) + [KAG-5616](https://konghq.atlassian.net/browse/KAG-5616) +##### PDK + +- Added `kong.service.request.clear_query_arg(name)` to PDK. + [#13619](https://github.com/Kong/kong/issues/13619) + [KAG-5238](https://konghq.atlassian.net/browse/KAG-5238) + +- Array and Map type span attributes are now supported by the tracing PDK + [#13818](https://github.com/Kong/kong/issues/13818) + [KAG-5162](https://konghq.atlassian.net/browse/KAG-5162) +##### Plugin +- **Prometheus**: Increased the upper limit of `KONG_LATENCY_BUCKETS` to 6000 to enhance latency tracking precision. + [#13588](https://github.com/Kong/kong/issues/13588) + [FTI-5990](https://konghq.atlassian.net/browse/FTI-5990) + +- **ai-proxy**: Disabled HTTP/2 ALPN handshake for connections on routes configured with AI-proxy. + [#13735](https://github.com/Kong/kong/issues/13735) + +- **Redirect**: Added a new plugin to redirect requests to another location. + [#13900](https://github.com/Kong/kong/issues/13900) + + +- **Prometheus**: Added support for Proxy-Wasm metrics. + [#13681](https://github.com/Kong/kong/issues/13681) + +##### Admin API +- **Admin API**: Added support for official YAML media-type (`application/yaml`) to the `/config` endpoint. + [#13713](https://github.com/Kong/kong/issues/13713) + [KAG-5474](https://konghq.atlassian.net/browse/KAG-5474) +##### Clustering + +- Added a remote procedure call (RPC) framework for Hybrid mode deployments. + [#12320](https://github.com/Kong/kong/issues/12320) + [KAG-623](https://konghq.atlassian.net/browse/KAG-623) [KAG-3751](https://konghq.atlassian.net/browse/KAG-3751) + +#### Fixes +##### Core + +- Fixed an issue where the `ngx.balancer.recreate_request` API did not refresh the body buffer when `ngx.req.set_body_data` is used in the balancer phase. + [#13882](https://github.com/Kong/kong/issues/13882) + [KAG-5821](https://konghq.atlassian.net/browse/KAG-5821) + +- Fix to always pass `ngx.ctx` to `log_init_worker_errors` as otherwise it may runtime crash. + [#13731](https://github.com/Kong/kong/issues/13731) + +- Fixed an issue where the workspace ID was not included in the plugin config in the plugins iterator. + [#13377](https://github.com/Kong/kong/issues/13377) + +- Fixed an issue where the workspace id was not included in the plugin config in the plugins iterator. + [#13872](https://github.com/Kong/kong/issues/13872) + [FTI-6200](https://konghq.atlassian.net/browse/FTI-6200) + +- Fixed a 500 error triggered by unhandled nil fields during schema validation. + [#13861](https://github.com/Kong/kong/issues/13861) + [FTI-6336](https://konghq.atlassian.net/browse/FTI-6336) + +- **Vault**: Fixed an issue where array-like configuration fields cannot contain vault reference. + [#13953](https://github.com/Kong/kong/issues/13953) + [FTI-6163](https://konghq.atlassian.net/browse/FTI-6163) + +- **Vault**: Fixed an issue where updating a vault entity in a non-default workspace wouldn't take effect. + [#13610](https://github.com/Kong/kong/issues/13610) + [FTI-6152](https://konghq.atlassian.net/browse/FTI-6152) + +- **Vault**: Fixed an issue where vault reference in kong configuration cannot be dereferenced when both http and stream subsystems are enabled. + [#13953](https://github.com/Kong/kong/issues/13953) + [FTI-6163](https://konghq.atlassian.net/browse/FTI-6163) + +- **proxy-wasm:** Added a check that prevents Kong from starting when the +database contains invalid Wasm filters. + [#13764](https://github.com/Kong/kong/issues/13764) + [KAG-2636](https://konghq.atlassian.net/browse/KAG-2636) + +- Fixed an issue where the `kong.request.enable_buffering` couldn't be used when the downstream used HTTP/2. + [#13614](https://github.com/Kong/kong/issues/13614) + [FTI-5725](https://konghq.atlassian.net/browse/FTI-5725) +##### PDK + +- Lined up the `kong.log.inspect` function to log at `notice` level as documented + [#13642](https://github.com/Kong/kong/issues/13642) + [FTI-6215](https://konghq.atlassian.net/browse/FTI-6215) + +- Fix error message for invalid retries variable + [#13605](https://github.com/Kong/kong/issues/13605) + +##### Plugin + +- **ai-proxy**: Fixed a bug where tools (function) calls to Anthropic would return empty results. + [#13760](https://github.com/Kong/kong/issues/13760) + + +- **ai-proxy**: Fixed a bug where tools (function) calls to Bedrock would return empty results. + [#13760](https://github.com/Kong/kong/issues/13760) + + +- **ai-proxy**: Fixed a bug where Bedrock Guardrail config was ignored. + [#13760](https://github.com/Kong/kong/issues/13760) + + +- **ai-proxy**: Fixed a bug where tools (function) calls to Cohere would return empty results. + [#13760](https://github.com/Kong/kong/issues/13760) + + +- **ai-proxy**: Fixed a bug where Gemini provider would return an error if content safety failed in AI Proxy. + [#13760](https://github.com/Kong/kong/issues/13760) + + +- **ai-proxy**: Fixed a bug where tools (function) calls to Gemini (or via Vertex) would return empty results. + [#13760](https://github.com/Kong/kong/issues/13760) + + +- **ai-proxy**: Fixed an issue where AI Transformer plugins always returned a 404 error when using 'Google One' Gemini subscriptions. + [#13703](https://github.com/Kong/kong/issues/13703) + + +- **ai-transformers**: Fixed a bug where the correct LLM error message was not propagated to the caller. + [#13703](https://github.com/Kong/kong/issues/13703) + +- **AI-Proxy**: Fixed an issue where multi-modal requests were blocked on the Azure AI provider. + [#13702](https://github.com/Kong/kong/issues/13702) + + +- Fixed an bug that AI semantic cache can't use request provided models + [#13627](https://github.com/Kong/kong/issues/13627) + +- **AWS-Lambda**: Fixed an issue in proxy integration mode that caused an internal server error when the `multiValueHeaders` was null. + [#13533](https://github.com/Kong/kong/issues/13533) + [FTI-6168](https://konghq.atlassian.net/browse/FTI-6168) + +- **jwt**: ensure `rsa_public_key` isn't base64-decoded. + [#13717](https://github.com/Kong/kong/issues/13717) + +- **key-auth**: Fixed an issue with the order of query arguments, ensuring that arguments retain order when hiding the credentials. + [#13619](https://github.com/Kong/kong/issues/13619) + [KAG-5238](https://konghq.atlassian.net/browse/KAG-5238) + +- **rate-limiting**: Fixed a bug where the returned values from `get_redis_connection()` were incorrect. + [#13613](https://github.com/Kong/kong/issues/13613) + +- **rate-limiting**: Fixed an issue that caused an HTTP 500 error when `hide_client_headers` was set to `true` and the request exceeded the rate limit. + [#13722](https://github.com/Kong/kong/issues/13722) + [KAG-5492](https://konghq.atlassian.net/browse/KAG-5492) +##### Admin API + +- Fix for querying admin API entities with empty tags + [#13723](https://github.com/Kong/kong/issues/13723) + [KAG-5496](https://konghq.atlassian.net/browse/KAG-5496) + +- Fixed an issue where nested parameters couldn't be parsed correctly when using `form-urlencoded` requests. + [#13668](https://github.com/Kong/kong/issues/13668) + [FTI-6165](https://konghq.atlassian.net/browse/FTI-6165) +##### Clustering + +- **Clustering**: Adjusted error log levels for control plane connections. + [#13863](https://github.com/Kong/kong/issues/13863) + [FTI-6238](https://konghq.atlassian.net/browse/FTI-6238) +##### Default + +- **Loggly**: Fixed an issue where `/bin/hostname` missing caused an error warning on startup. + [#13788](https://github.com/Kong/kong/issues/13788) + [FTI-6046](https://konghq.atlassian.net/browse/FTI-6046) + +### Kong-Manager + +#### Fixes +##### Default + +- Kong Manager will now hide the scope change field when creating/editing a scoped plugin from another entity. + [#297](https://github.com/Kong/kong-manager/issues/297) + + +- Improved the user experience in Kong Manager by fixing various UI-related issues. + [#277](https://github.com/Kong/kong-manager/issues/277) [#283](https://github.com/Kong/kong-manager/issues/283) [#286](https://github.com/Kong/kong-manager/issues/286) [#287](https://github.com/Kong/kong-manager/issues/287) [#288](https://github.com/Kong/kong-manager/issues/288) [#291](https://github.com/Kong/kong-manager/issues/291) [#293](https://github.com/Kong/kong-manager/issues/293) [#295](https://github.com/Kong/kong-manager/issues/295) [#298](https://github.com/Kong/kong-manager/issues/298) [#302](https://github.com/Kong/kong-manager/issues/302) [#304](https://github.com/Kong/kong-manager/issues/304) [#306](https://github.com/Kong/kong-manager/issues/306) [#309](https://github.com/Kong/kong-manager/issues/309) [#317](https://github.com/Kong/kong-manager/issues/317) [#319](https://github.com/Kong/kong-manager/issues/319) [#322](https://github.com/Kong/kong-manager/issues/322) [#325](https://github.com/Kong/kong-manager/issues/325) [#329](https://github.com/Kong/kong-manager/issues/329) [#330](https://github.com/Kong/kong-manager/issues/330) + + +- Unified the redirection logic in Kong Manager upon entity operations. + [#289](https://github.com/Kong/kong-manager/issues/289) + + ## 3.8.1 ## Kong