# kong 3.9.1 - Product: kong (https://whatsnew.fyi/product/kong) - Vendor: Kong - Date: 2025-06-04 - Version: 3.9.1 - Original notes: https://github.com/Kong/kong/releases/tag/3.9.1 - Permalink: https://whatsnew.fyi/product/kong/releases/3.9.1 What's New is an index, not a publisher: every entry below links to the vendor's own release notes, which are the authoritative source. Entries are labelled where they are hand-curated sample data, pre-releases, or drawn from a secondary source such as a developer blog. Reuse: the summaries, labels and curation here are © What's New. Quote freely with attribution and a link back; wholesale republication of the corpus is not permitted — terms: https://whatsnew.fyi/terms. The vendors' own release notes remain their publishers'. --- - **changed** — Bumped libexpat from 2.6.2 to 2.6.4 to fix a crash in the XML_ResumeParser function caused by XML_StopParser stopping an uninitialized parser - **changed** — Bump lua-kong-nginx-module from 0.13.0 to 0.13.2 - **added** — Added support for boto3 SDKs for the Bedrock provider, and for Google GenAI SDKs for the Gemini provider in ai plugin - **added** — Added support for the new Ollama streaming content type in AI driver - **fixed** — Fixed a bug in the Azure provider where model.options.upstream_path overrides would always return a 404 error - **fixed** — Fixed a bug where Azure streaming responses would be missing individual tokens - **fixed** — Fixed a bug where response streaming in Gemini and Bedrock providers was returning whole chat responses in one chunk - **fixed** — Fixed a bug where multimodal requests in OpenAI format would not transform properly when using the Gemini provider - **fixed** — Fixed Gemini streaming responses getting truncated and/or missing tokens - **fixed** — Fixed an incorrect error thrown when trying to log streaming responses - **fixed** — Fixed an issue where tool calls weren't working in streaming mode for the Bedrock and Gemini providers - **fixed** — Fixed an issue where AI Proxy would use corrupted plugin config - **fixed** — Fixed preserve mode - **fixed** — Fixed AI upstream URL trailing being empty - **fixed** — Fixed an issue where the template wasn't being resolved correctly and supported nested fields ###### Kong ###### Dependencies ###### Core - Bumped libexpat from 2.6.2 to 2.6.4 to fix a crash in the XML_ResumeParser function caused by XML_StopParser stopping an uninitialized parser. [#14208](https://github.com/Kong/kong/issues/14208) - Bump lua-kong-nginx-module from 0.13.0 to 0.13.2 [#14047](https://github.com/Kong/kong/issues/14047) ###### Features ###### Plugin - **ai**: Added support for boto3 SDKs for the Bedrock provider, and for Google GenAI SDKs for the Gemini provider. [#14579](https://github.com/Kong/kong/issues/14579) ###### Fixes ###### Core - Added support for the new Ollama streaming content type in AI driver. [#14579](https://github.com/Kong/kong/issues/14579) ###### Plugin - **ai-proxy**: Fixed a bug in the Azure provider where `model.options.upstream_path` overrides would always return a 404 error. [#14185](https://github.com/Kong/kong/issues/14185) - **ai-proxy**: Fixed a bug where Azure streaming responses would be missing individual tokens. [#14172](https://github.com/Kong/kong/issues/14172) - **ai-proxy**: Fixed a bug where response streaming in Gemini and Bedrock providers was returning whole chat responses in one chunk. [#14579](https://github.com/Kong/kong/issues/14579) - **ai-proxy**: Fixed a bug where multimodal requests (in OpenAI format) would not transform properly, when using the Gemini provider. [#14579](https://github.com/Kong/kong/issues/14579) - **ai-proxy**: Fixed Gemini streaming responses getting truncated and/or missing tokens. [#14579](https://github.com/Kong/kong/issues/14579) - **ai-proxy**: Fixed an incorrect error thrown when trying to log streaming responses. [#14579](https://github.com/Kong/kong/issues/14579) - **ai-proxy**: Fixed a issue where tool calls weren't working in streaming mode for the Bedrock and Gemini providers. [#14579](https://github.com/Kong/kong/issues/14579) - **ai-proxy**: Fixed an issue where AI Proxy would use corrupted plugin config. [#14579](https://github.com/Kong/kong/issues/14579) - **ai-proxy**: Fixed preserve mode. [#14579](https://github.com/Kong/kong/issues/14579) - **AI Plugins**: Fixed AI upstream URL trailing being empty. [#14578](https://github.com/Kong/kong/issues/14578) - **AI Plugins**: Fixed an issue where the template wasn't being resolved correctly and supported nested fields. [#14579](https://github.com/Kong/kong/issues/14579)