API7 Gateway 3.2.16.4
Alert policies can send notification through webhook and email at the same time by utilizing the new Contact Points.
Release Date: 2024-11-01
Features
Send Notification through Email
Alert policies can send notification through webhook and email at the same time by utilizing the new Contact Points. A Contact Point defines a set of email addresses or webhook URLs that can be used by multiple alert policies.
See Trigger Gateway Alerts for instruction.
Existing Webhook Templates will be migrated to new contact points and notifications, ensuring seamless transition and backward compatibility for alert policies.
Limit Count Advanced Plugin
Enhanced the open-source limit count plugin with a sliding window algorithm for more accurate rate limiting.
Exit Transformer Plugin
The exit-transformer plugin supports the customization of gateway responses based on the status codes, headers, and bodies returned from APISIX plugins. When configured as a global plugin, it also supports the response customization when a route that does not exist is requested.
Count Healthy Gateway Instances in a Gateway Group Through Alert Policy
If the number of healthy gateway instances in a gateway group falls below a critical threshold, it indicates potential service disruptions and impacts on traffic handling. This scenario is particularly relevant in Kubernetes deployments, where gateway instances may experience failures or be scaled down unexpectedly.
Create an alert policy for counting healthy gateway instances in a gateway group and send notifications to relevant personnel.
Utilized Expression Matching
Enable Expression Match in a route to match requests based on specific variables for greater precision, similar to nginx. Use expressions in the format [[var, operator, val], [var, operator, val], ...] to define matching criteria. Note that cookie name matching is case-sensitive.
See Expressions and lua-resty-expr for more details.
Security
- Added a status interface for self health checks on the data plane. For details, see enable data plane health check for high availability.
Improvements
- JWT Auth Plugin (opens in Plugin Hub docs) now supports more algorithm.
- Enriched more metrics in Grafana Dashboard Template.
- Allowed users to log in by pressing Enter.
Fixes
- Fixed issue: CORS Plugin (opens in Plugin Hub docs)
expose_headers default value should not be*. - Fixed issue: Successfully added first stream route when adding stream service.
- Fixed issue:
max_req_body_byteslimit does not take effect in logger plugins. - Fixed issue: Dynamic updates to rate limiting parameters in the Limit Count Plugin (opens in Plugin Hub docs) are now reflected in the data plane.
- Fixed issue: Services deleted via API are now consistently removed from the data plane.