Docs

AI AWS Content Moderation Changelog

Released changes to the AI AWS Content Moderation plugin (`ai-aws-content-moderation`), newest release first.

23 released changes name ai-aws-content-moderation, newest release first — 5 in Apache APISIX, 18 in API7 Gateway. Each row links to the change itself.

Apache APISIX

API7 Gateway

ReleaseDateTypeChange
3.10.7 (opens in API7 Gateway docs)2026-09-08FixAI AWS Content Moderation and AI Aliyun Content Moderation: Fixed issue: A streaming response cut short by the gateway's own max_response_bytes or max_stream_duration_ms limit was given a synthetic completion event, s… (opens in API7 Gateway docs)
3.10.5 (opens in API7 Gateway docs)2026-08-11FeatureAdded check_response to moderate the LLM's reply in addition to the request. A non-streaming reply is moderated before it reaches the client. For a streaming reply, stream_check_mode selects how it is handled: final_p… (opens in API7 Gateway docs)
3.10.5 (opens in API7 Gateway docs)2026-08-11FeatureAdded request_check_roles and request_check_mode to choose which message roles are moderated and whether only the last message or every message of the selected roles is checked, matching the options already available… (opens in API7 Gateway docs)
3.10.5 (opens in API7 Gateway docs)2026-08-11FixFixed issue: Content longer than Amazon Comprehend's per-segment and per-request limits was rejected or silently truncated, so long prompts and replies were only partially moderated. Content is now split to stay withi… (opens in API7 Gateway docs)
3.10.3 (opens in API7 Gateway docs)2026-07-14FixAI AWS Content Moderation and AI Aliyun Content Moderation: Fixed issue: deny_code accepted arbitrary numbers. It is now validated as an integer HTTP status code in the 200–599 range (default 200), so an out-of-range… (opens in API7 Gateway docs)
3.10.3 (opens in API7 Gateway docs)2026-07-14FeatureRequest moderation now runs after AI protocol detection and checks the decoded prompt content that the upstream LLM sees, rather than the raw HTTP JSON envelope. Deny responses are returned in a provider-compatible fo… (opens in API7 Gateway docs)
3.10.1 (opens in API7 Gateway docs)2026-06-15FeatureAI content security plugins (ai-aliyun-content-moderation, ai-aws-content-moderation, ai-prompt-guard): Added a fail_mode option (skip, warn, or error; default skip) that controls how the plugin handles non-AI or non-… (opens in API7 Gateway docs)
3.10.1 (opens in API7 Gateway docs)2026-06-15Changeai-aws-content-moderation: comprehend.secret_access_key (opens in API7 Gateway docs)
3.9.19 (opens in API7 Gateway docs)2026-08-26FixAI AWS Content Moderation and AI Aliyun Content Moderation: Fixed issue: When the gateway cut a stream short itself — max_response_bytes or max_stream_duration_ms on AI Proxy reaching its limit — these plugins still a… (opens in API7 Gateway docs)
3.9.18 (opens in API7 Gateway docs)2026-08-12FeatureAdded check_response to moderate the LLM's reply in addition to the request. A non-streaming reply is moderated before it reaches the client. For a streaming reply, stream_check_mode selects how it is handled: final_p… (opens in API7 Gateway docs)
3.9.18 (opens in API7 Gateway docs)2026-08-12FeatureAdded request_check_roles and request_check_mode to choose which message roles are moderated and whether only the last message or every message of the selected roles is checked, matching the options already available… (opens in API7 Gateway docs)
3.9.18 (opens in API7 Gateway docs)2026-08-12FixFixed issue: Content longer than Amazon Comprehend's per-segment and per-request limits was rejected or silently truncated, so long prompts and replies were only partially moderated. Content is now split to stay withi… (opens in API7 Gateway docs)
3.9.17 (opens in API7 Gateway docs)2026-07-28ChangeAI Aliyun Content Moderation requires deny_code to be an integer HTTP status code in the 200–599 range. AI AWS Content Moderation was already validated this way by the Control Plane; this release brings the Data Plane… (opens in API7 Gateway docs)
3.9.17 (opens in API7 Gateway docs)2026-07-28FixAI AWS Content Moderation and AI Aliyun Content Moderation: Fixed issue: deny_code accepted arbitrary numbers. It is now validated as an integer HTTP status code in the 200–599 range (default 200), so an out-of-range… (opens in API7 Gateway docs)
3.9.17 (opens in API7 Gateway docs)2026-07-28FixFixed issue: deny_code accepted arbitrary numbers. It is now validated as an integer HTTP status code in the 200–599 range (default 200), so an out-of-range value is rejected at configuration time. For ai-aws-content-… (opens in API7 Gateway docs)
3.9.16 (opens in API7 Gateway docs)2026-07-10FeatureRequest moderation now runs after AI protocol detection and checks the decoded prompt content that the upstream LLM sees, rather than the raw HTTP JSON envelope. Deny responses are returned in a provider-compatible fo… (opens in API7 Gateway docs)
3.9.14 (opens in API7 Gateway docs)2026-06-15ChangeAI AWS Content Moderation: comprehend.secret_access_key (opens in API7 Gateway docs)
3.8.11 (opens in API7 Gateway docs)2025-08-25FeatureIntroduced new plugin. (opens in API7 Gateway docs)