Skip to content

v0.8.4

Compare
Choose a tag to compare
@github-actions github-actions released this 24 Oct 19:11
· 225 commits to main since this release
a776985

This release contains a few features and fixes and a breaking change:

  1. The subcommands will no longer panic, instead they'll print an error message and return.
  2. Health check endpoints are added to the gRPC API and the HTTP gateway, which be used for readiness/liveness in containerized environments and k8s. All the probes return whether all the servers are running or not. The health check works both on the gRPC server and the HTTP server and can be tested using the following commands:
    $ curl http://localhost:18080/healthz       
    {"status":"SERVING"}
    $ grpc-client-cli health localhost:19090 
    {
     "status":  "SERVING"
    }
  3. The plugin install has undergone some changes:
    1. An option is added to enable interactive prompt when updating the plugin or backing up the plugins config file before the update. To activate the interactive prompt, you can use the --no-prompt=false flag.
    2. When using the plugin install command, users can now choose whether they want to create a backup of the current plugins config file (if it exists) before proceeding with the installation. This can be achieved by using the --backup=true flag.
    3. The updated plugin install command will replace the plugin configuration of the newly installed plugin with any existing configuration for a plugin in the plugins list that shares the same name. You can enable this behavior using the --update=true flag.

Warning
Important Change in plugin install Command
Starting with this release, there is a breaking change in the plugin install command. By default, the interactive prompt is now disabled (--no-prompt=true) when installing a new plugin. If an existing plugin with the same name is detected during installation, the process will be aborted, and any downloaded files will be automatically deleted, unless you pass the --cleanup=false flag.

To override this default behavior and have more control:

  1. Enable the interactive prompt to be notified of the changes and have the option to approve or deny them.
  2. Pass the appropriate flags to enable the update and backup features.

These changes are aimed at enhancing your control over the installation process and minimizing any unexpected actions when dealing with plugins. Please adjust your installation process accordingly to accommodate these modifications.

What's Changed

  • Update plugin in the list and backup plugins config when using plugin install by @mostafa in #349
  • Print and return instead of log.Panic by @mostafa in #351
  • Add healthz endpoints by @mostafa in #353

Full Changelog: v0.8.3...v0.8.4