Releases: gatewayd-io/gatewayd-plugin-cache
v0.2.3
What's Changed
Full Changelog: v0.2.2...v0.2.3
v0.2.2
v0.2.1
v0.2.0
In this PR, a new environment variable is introduced that control whether to exit on startup error or not. The errors that might cause the plugin to exit are:
- The Redis URL cannot be parsed.
- Redis cannot be pinged.
What's Changed
Full Changelog: v0.1.8...v0.2.0
v0.1.8
This PR adds a few changes to the v0.1.x milestone, update dependencies and fix a bug in returning termination response.
Full Changelog: v0.1.7...v0.1.8
v0.1.7
This release officially marks the end of v0.1.x milestone. The focus of this milestone was on stability and reliability, which is greatly achieved with the changes and fixes throughout. The changes and fixes are as follows:
- Lint code with
golangci-lint, as a task in the test workflow in GitHub Actions. #34 - Completely remove
gocacheand replace it withgo-redis. #17 - Detect (almost) all changes to DB for invalidating cached keys: #19
- DML: SELECT, INSERT, UPDATE and DELETE
- Multi-statements: UNION, INTERSECT and EXCEPT
- DDL: TRUNCATE, DROP and ALTER
- WITH clause
- Multiple queries (delimited by semicolon)
- Error propagation to the calling function. #40
- Replace instances of Redis
KEYScommand withSCANcommand to prevent blocking calls. #30 - Move PostgreSQL query parsing to the SDK. #41 #8
- Add new Prometheus counter metrics for Redis commands and counting RPC method calls:
cache_scans_total: total number of cache scans.cache_scan_keys_total: total number of cache scan keys.get_plugin_config_total: total number of calls to thegetPluginConfigmethod.on_closed_total: total number of calls to theonClosedmethod.on_traffic_from_client_total: total number of calls to theonTrafficFromClientmethod.on_traffic_from_server_total: total number of calls to theonTrafficFromServermethod.
- Fix ignore list of query types to prevent all SQL queries from invalidating cache. 08c6d19
What's Changed
Full Changelog: v0.1.6...v0.1.7
v0.1.6
This release contains a single commit that fixes ignore list of SQL statement before invalidation.
Full Changelog: v0.1.5...v0.1.6
v0.1.5
This release contains two new Prometheus metrics for total number of Redis scans: cache_scans_total, and the total number of keys scanned: cache_scan_keys_total.
What's Changed
Full Changelog: v0.1.4...v0.1.5
v0.1.4
Since the query parsing functions can be reused in other plugins, I moved it to the SDK.
What's Changed
Full Changelog: v0.1.3...v0.1.4
v0.1.3
This release contains two fixes:
- The errors are now returned back to the calling function, thus not swallowed.
- The Redis
KEYScommand is refactored and replaced with theSCANcommand to prevent server hiccups on too many keys.
What's Changed
Full Changelog: v0.1.2...v0.1.3