このページは、まだ日本語ではご利用いただけません。翻訳中です。
古いプラグインバージョンのドキュメントを閲覧しています。
Changelog
Kong Gateway 3.10.x
- Fixed an issue where the runtime failed due to
sync_ratenot being set if thestrategywaslocal.
Kong Gateway 3.9.x
- Added the new configuration field
lock_dictionary_nameto support specifying an independent shared memory for storing locks. - Added support for authentication from Kong Gateway to Envoy Proxy.
- Added support for combining multiple identifier items with the new configuration field
compound_identifier. - Fixed an issue where counters of the overriding consumer groups weren’t fetched when the
window_sizewas different and the workspace was non-default. - Fixed an issue where a warn log was printed when
event_hookswas disabled. - Fixed an issue where, if multiple plugin instances sharing the same namespace enforced consumer groups and different
window_sizes were used in the consumer group overriding configs, then the rate limiting of some consumer groups would fall back to thelocalstrategy. Now, every plugin instance sharing the same namespace can set a differentwindow_size. - Fixed an issue where the plugin could fail to authenticate to Redis correctly with vault-referenced Redis configuration.
- Fixed an issue where plugin-stored items with a long expiration time caused
no memoryerrors.
Kong Gateway 3.8.x
- Added the Redis
cluster_max_redirectionsconfiguration option. - Timer spikes no longer occur when there is network instability with the central data store.
- Fixed an issue where, if the
window_sizein the consumer group overriding config was different from thewindow_sizein the default config, the rate limiting of that consumer group would fall back to local strategy. - Fixed an issue where the sync timer could stop working due to a race condition.
Kong Gateway 3.7.x
-
Refactored
kong/tools/public/rate-limiting, adding the new interfacenew_instanceto provide isolation between different plugins. The original interfaces remain unchanged for backward compatibility.If you are using custom Rate Limiting plugins based on this library, update the initialization code to the new format. For example:
'local ratelimiting = require("kong.tools.public.rate-limiting").new_instance("custom-plugin-name")'. The old interface will be removed in the upcoming major release. - Fixed an issue where any plugins using the
rate-limitinglibrary, when used together, would interfere with each other and fail to synchronize counter data to the central data store. - Fixed an issue with
sync_ratesetting being used with theredisstrategy. If the Redis connection is interrupted whilesync_rate = 0, the plugin now accurately falls back to thelocalstrategy. - Fixed an issue where, if
sync_ratewas changed from a value greater than0to0, the namespace was cleared unexpectedly. - Fixed some timer-related issues where the counter syncing timer couldn’t be created or destroyed properly.
- The plugin now creates counter syncing timers during plugin execution instead of plugin creation to reduce some meaningless error logs.
- Fixed an issue where Kong Gateway produced a log of error log entries when multiple Rate Limiting Advanced plugins shared the same namespace.
Kong Gateway 3.6.x
- Enhanced the resolution of the RLA sliding window weight.
- The plugin now checks for query errors in the Redis pipeline.
- The plugin now checks if
sync_rateisnilornullwhen calling theconfigure()phase. If it isnilornull, the plugin skips the sync with the database or with Redis.
Kong Gateway 3.4.x
-
The
redisstrategy now catches strategy connection failures. -
The
/consumer_groups/:id/overridesendpoint has been deprecated. While this endpoint will still function, we strongly recommend transitioning to the new and improved method for managing consumer groups, as documented in the Enforcing rate limiting tiers with the Rate Limiting Advanced plugin guide. You can also find detailed information on creating consumer groups in the API Documentation. -
Fixed an issue that impacted the accuracy with the
redispolicy. #10559
Kong Gateway 3.2.1
- The shared Redis connector now supports username + password authentication for cluster connections, improving on the existing single-node connection support. This automatically applies to all plugins using the shared Redis configuration.
Kong Gateway 3.1.x
- Added the ability to customize the error code and message with
the configuration parameters
error_codeanderror_message.
Kong Gateway 3.0.x
- Kong Gateway now disallows enabling the plugin if the
clusterstrategy is set with DB-less or hybrid mode.
Kong Gateway 2.8.x
-
Added the
redis.usernameandredis.sentinel_usernameconfiguration parameters. -
The
redis.username,redis.password,redis.sentinel_username, andredis.sentinel_passwordconfiguration fields are now marked as referenceable, which means they can be securely stored as secrets in a vault. References must follow a specific format.
Kong Gateway 2.7.x
- Added the
enforce_consumer_groupsandconsumer_groupsconfiguration parameters.
Kong Gateway 2.5.x
- Deprecated the
timeoutfield and replaces it with three precise options:connect_timeout,read_timeout, andsend_timeout. - Added
redis.keepalive_pool,redis.keepalive_pool_size, andredis.keepalive_backlogconfiguration options. -
ssl_verifyandserver_nameconfiguration options now support Redis Sentinel-based connections.
Kong Gateway 2.2.x
- Added the
redis.ssl,redis.ssl_verify, andredis.server_nameparameters for configuring TLS connections.