Repository navigation
v0.6.9
Release Notes for Milestone v0.6.x:
1. Go and Dependencies Update:
- Go is updated to version 1.20, along with all dependencies.
2. API Port Changes:
- gRPC API port is changed to 18080.
- HTTP API port is changed to 19090.
3. Timeout Implementation for Plugin Hooks:
- Added timeouts to plugin hooks to prevent unresponsiveness.
- Hooks will now time out and return control to the main thread of GatewayD.
- Timeout duration can be adjusted in the
gatewayd_plugins.yamlfile.
4. Configuration Subcommand:
- Introduced the
configsubcommand with two options:config init: Generates a new global configuration file.config lint: Validates the global configuration file.
5. Plugin Subcommand:
- Introduced the
pluginsubcommand with three options:plugin init: Generates a new plugins configuration file.plugin lint: Validates the plugins configuration file.plugin install github.com/gatewayd-io/gatewayd-plugin-cache@latest: Downloads and installs the latest version ofgatewayd-plugin-cacheor a tagged version following semver.
6. New Policy Parameter:
- Added a new policy parameter,
terminationPolicy, to determine whether to stop processing hooks when terminating a request or continue running the remaining hooks.
7. Bug Fixes and Improvements:
- Resolved a long-standing issue causing clients to wait indefinitely for server response.
- Fixed default chunk size.
- Fixed linter timeout.
- Fixed CI for testing the Go plugin template.
8. Package Additions:
- Added APT and RPM packages for AMD64 and ARM64 platforms to the release assets.
9. Configuration Changes:
- Updated the config file location search order to prioritize the current working directory, then
/etc, with fallback to the current working directory. - Non-default config groups now receive default values.
- Moved default values from
New<feature>functions to theconfigpackage.
10. Metrics Port Update:
- Changed the port of metrics from
2112to9090to align with Prometheus port.
11. Documentation Update:
- Updated the README for the major release announcement.
12. Miscellaneous:
- Removed
SHA256SUMfunction and its tests in favor ofSecureConfig. - Regenerated gRPC API stubs after updating dependencies.
- Ensured plugin client startup and disposal.
- Checked for the presence and non-nil value of plugin metadata.
- Fixed check for the existence of the
requiresconfig option in the plugin config.
This release also includes numerous other fixes, improvements, and cleanups.
What's Changed
Full Changelog: v0.6.8...v0.6.9