Skip to content

v0.6.9

Choose a tag to compare

@github-actions github-actions released this 09 Jun 17:45
· 416 commits to main since this release
2c79962

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.yaml file.

4. Configuration Subcommand:

  • Introduced the config subcommand with two options:
    • config init: Generates a new global configuration file.
    • config lint: Validates the global configuration file.

5. Plugin Subcommand:

  • Introduced the plugin subcommand 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 of gatewayd-plugin-cache or 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 the config package.

10. Metrics Port Update:

  • Changed the port of metrics from 2112 to 9090 to align with Prometheus port.

11. Documentation Update:

  • Updated the README for the major release announcement.

12. Miscellaneous:

  • Removed SHA256SUM function and its tests in favor of SecureConfig.
  • 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 requires config 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