Releases: kubeshop/botkube
v1.3.0-rc.2
What's Changed
Implemented Enhancements 🎉
- Add timestamp annotation on update by @mszostok in #1148
- Add reactions to Slack messages by @mszostok in #1156
- Keptn plugin added by @huseyinbabal in #1160
- add human friendly error messages by @huseyinbabal in #1154
- Add tpl approach for plugin GoReleaser config by @mszostok in #1165
- Handle server closing grpc stream by @josefkarasek in #1164
- Add flux executor plugin with GitHub support by @mszostok in #1170
- RBAC support added to CLI Migrate by @huseyinbabal in #1171
- Add basic GitHub event source by @mszostok in #1174
Fixed Bugs 🐛
- Update brew release by @mszostok in #1144
- Add build flags to CLI by @mszostok in #1146
- Plugins logger respect generic logger settings by @mszostok in #1147
- Remove custom install for brew formula, fix Helm plugin formatting by @mszostok in #1150
- Fix migration test after 1.2.0 release by @pkosiec in #1158
- Lint migration test by @pkosiec in #1159
- Fix panics in Kubernetes plugin by @pkosiec in #1157
- fix doctor plugin schema by @madebyrogal in #1161
- Mattermost Enhancements by @huseyinbabal in #1163
- Trim suffix for Mattermost URL by @pkosiec in #1168
- platform async message handling by @huseyinbabal in #1176
- Refresh GraphQL types, add missing
flux
definition by @mszostok in #1179
Other Changes ✨
- Rename
--auto-upgrade
to--auto-approve
flag for Migration CLI by @pkosiec in #1149 - chore: pkg imported more than once by @testwill in #1153
- Fix counting plugins migrated, Doctor JSON schema and multi-word comm… by @huseyinbabal in #1183
New Contributors
Full Changelog: v1.2.0...v1.3.0-rc.2
v1.3.0-rc.1
What's Changed
Important Changes ⚡
Note
All those changes only affect Slack Platform users.
-
Add
reactions:write
to Slack application scopes in Slack application manifest, and re-install your Slack application into your Slack workspaceReason
Botkube now adds reaction before and after a command execution for better visibility of command execution status.reactions:write
scope allows Botkube to add reactions to executed commands in Slack channel. Without that scope, you will see an error in the logs.
Implemented Enhancements 🎉
- Add timestamp annotation on update by @mszostok in #1148
- Add reactions to Slack messages by @mszostok in #1156
- Keptn plugin added by @huseyinbabal in #1160
- add human friendly error messages by @huseyinbabal in #1154
- Add tpl approach for plugin GoReleaser config by @mszostok in #1165
- Handle server closing grpc stream by @josefkarasek in #1164
- Add flux executor plugin with GitHub support by @mszostok in #1170
- RBAC support added to CLI Migrate by @huseyinbabal in #1171
- Add basic GitHub event source by @mszostok in #1174
Fixed Bugs 🐛
- Update brew release by @mszostok in #1144
- Add build flags to CLI by @mszostok in #1146
- Plugins logger respect generic logger settings by @mszostok in #1147
- Remove custom install for brew formula, fix Helm plugin formatting by @mszostok in #1150
- Fix migration test after 1.2.0 release by @pkosiec in #1158
- Lint migration test by @pkosiec in #1159
- Fix panics in Kubernetes plugin by @pkosiec in #1157
- fix doctor plugin schema by @madebyrogal in #1161
- Mattermost Enhancements by @huseyinbabal in #1163
- Trim suffix for Mattermost URL by @pkosiec in #1168
- platform async message handling by @huseyinbabal in #1176
- Refresh GraphQL types, add missing
flux
definition by @mszostok in #1179
Other Changes ✨
- Rename
--auto-upgrade
to--auto-approve
flag for Migration CLI by @pkosiec in #1149 - chore: pkg imported more than once by @testwill in #1153
New Contributors
Full Changelog: v1.2.0...v1.3.0-rc.1
v1.2.0
What's Changed
Breaking Changes 💥
Note
All those changes only affect SDK users who have their custom plugins written in Go.
-
The
pluginx.ExecuteCommand
function signature was changed.Old:
func ExecuteCommand(ctx context.Context, rawCmd string) (string, error)
New:
func ExecuteCommand(ctx context.Context, rawCmd string, mutators ...ExecuteCommandMutation) (ExecuteCommandOutput, error)
Reason
TheExecuteCommand
function signature has been changed to unify the command execution functions. The new signature allows for the passing of mutation functions to customize the execution and ensures future extensibility without breaking changes. Additionally, the introduction of theExecuteCommandOutput
type provides direct access to the stdout and stderr of the executed command. This is particularly useful when commands produce output on stderr, even if they have not failed. -
The
pluginx.ExecuteCommandWithEnvs
function has been deprecated. To achieve the same functionality, usepluginx.ExecuteCommand(ctx, "cmd", pluginx.ExecuteCommandEnvs(envs))
.
Implemented Enhancements 🎉
- Implement retries for Start Cloud Slack func by @mszostok in #1095
- Add CLI boilerplate and first implementation by @mszostok in #1105
- Streamline the help message by @pkosiec in #1118
- Add initial version for install and run binaries by @mszostok in #1112
- Add wrap message template for x plugin by @mszostok in #1117
- Introduce Botkube CLI with migration command by @josefkarasek in #1119
- Doctor plugin & Kubernetes plugin usage by @huseyinbabal in #1106
- Add CLI command to generate cobra docs by @mszostok in #1131
- Cli Brew Distribution by @huseyinbabal in #1135
- doctor plugin is added to plugin index build by @huseyinbabal in #1130
- Add tutorial message template for x plugin by @mszostok in #1127
- Improve Botkube CLI
login
,migrate
commands and fix E2E migration tests by @pkosiec in #1128 - Add option to install Botkube via CLI, add
--verbose
flag by @mszostok in #1134 - Add logs streaming for
botkube install
command by @mszostok in #1140 - Add botkube uninstall command by @mszostok in #1141
- Normalize and validate channel names and IDs by @pkosiec in #1142
- Add timestamp annotation on update by @mszostok in #1148
Fixed Bugs 🐛
- Fix ServiceAccount token path in Config Watcher by @huseyinbabal in #1096
- Make sure that
kubectl
uses a proper kubeconfig by @mszostok in #1098 - Add help note about multiple instances for Cloud Slack by @mszostok in #1099
- Fix resetting retries when reconnecting to Cloud Slack by @pkosiec in #1101
- Fix scheduling messages for Cloud Slack by @pkosiec in #1108
- Replace uuid with static value for Botkube SA by @mszostok in #1121
- Fix event update logic for Kubernetes source by @pkosiec in #1122
- Revert API changes for api.Message by @pkosiec in #1124
- Fix x plugin schema definition by @mszostok in #1129
- Remove duplicated ptr pkg by @mszostok in #1132
- Fix migration test flag by @pkosiec in #1138
- Update brew release by @mszostok in #1144
- Add build flags to CLI by @mszostok in #1146
- Plugins logger respect generic logger settings by @mszostok in #1147
- Remove custom install for brew formula, fix Helm plugin formatting by @mszostok in #1150
Other Changes ✨
- Bump google.golang.org/grpc from 1.51.0 to 1.53.0 by @dependabot in #1123
- Add Slack notifications for E2E tests by @pkosiec in #1136
- Rename x plugin to exec by @mszostok in #1137
- Rename
--auto-upgrade
to--auto-approve
flag for Migration CLI by @pkosiec in #1149
Full Changelog: v1.1.0...v1.2.0
v1.2.0-rc.3
What's Changed
Implemented Enhancements 🎉
- Implement retries for Start Cloud Slack func by @mszostok in #1095
- Add CLI boilerplate and first implementation by @mszostok in #1105
- Streamline the help message by @pkosiec in #1118
- Add initial version for install and run binaries by @mszostok in #1112
- Add wrap message template for x plugin by @mszostok in #1117
- Introduce Botkube CLI with migration command by @josefkarasek in #1119
- Doctor plugin & Kubernetes plugin usage by @huseyinbabal in #1106
- Add CLI command to generate cobra docs by @mszostok in #1131
- Cli Brew Distribution by @huseyinbabal in #1135
- doctor plugin is added to plugin index build by @huseyinbabal in #1130
- Add tutorial message template for x plugin by @mszostok in #1127
- Improve Botkube CLI
login
,migrate
commands and fix E2E migration tests by @pkosiec in #1128 - Add option to install Botkube via CLI, add
--verbose
flag by @mszostok in #1134 - Add logs streaming for
botkube install
command by @mszostok in #1140 - Add botkube uninstall command by @mszostok in #1141
- Normalize and validate channel names and IDs by @pkosiec in #1142
Fixed Bugs 🐛
- Fix ServiceAccount token path in Config Watcher by @huseyinbabal in #1096
- Make sure that
kubectl
uses a proper kubeconfig by @mszostok in #1098 - Add help note about multiple instances for Cloud Slack by @mszostok in #1099
- Fix resetting retries when reconnecting to Cloud Slack by @pkosiec in #1101
- Fix scheduling messages for Cloud Slack by @pkosiec in #1108
- Replace uuid with static value for Botkube SA by @mszostok in #1121
- Fix event update logic for Kubernetes source by @pkosiec in #1122
- Revert API changes for api.Message by @pkosiec in #1124
- Fix x plugin schema definition by @mszostok in #1129
- Remove duplicated ptr pkg by @mszostok in #1132
- Fix migration test flag by @pkosiec in #1138
Other Changes ✨
- Bump google.golang.org/grpc from 1.51.0 to 1.53.0 by @dependabot in #1123
- Add Slack notifications for E2E tests by @pkosiec in #1136
- Rename x plugin to exec by @mszostok in #1137
- Port bug fixes into v1.2 by @mszostok in #1145
- Cherry-pick bug fixes to 1.2 by @mszostok in #1151
Full Changelog: v1.1.0...v1.2.0-rc.3
v1.2.0-rc.2
What's Changed
Implemented Enhancements 🎉
- Implement retries for Start Cloud Slack func by @mszostok in #1095
- Add CLI boilerplate and first implementation by @mszostok in #1105
- Streamline the help message by @pkosiec in #1118
- Add initial version for install and run binaries by @mszostok in #1112
- Add wrap message template for x plugin by @mszostok in #1117
- Introduce Botkube CLI with migration command by @josefkarasek in #1119
- Doctor plugin & Kubernetes plugin usage by @huseyinbabal in #1106
- Add CLI command to generate cobra docs by @mszostok in #1131
- doctor plugin is added to plugin index build by @huseyinbabal in #1130
- Add tutorial message template for x plugin by @mszostok in #1127
- Improve Botkube CLI
login
,migrate
commands and fix E2E migration tests by @pkosiec in #1128 - Add option to install Botkube via CLI, add
--verbose
flag by @mszostok in #1134 - Add logs streaming for
botkube install
command by @mszostok in #1140 - Add botkube uninstall command by @mszostok in #1141
- Normalize and validate channel names and IDs by @pkosiec in #1142
Fixed Bugs 🐛
- Fix ServiceAccount token path in Config Watcher by @huseyinbabal in #1096
- Make sure that
kubectl
uses a proper kubeconfig by @mszostok in #1098 - Add help note about multiple instances for Cloud Slack by @mszostok in #1099
- Fix resetting retries when reconnecting to Cloud Slack by @pkosiec in #1101
- Fix scheduling messages for Cloud Slack by @pkosiec in #1108
- Replace uuid with static value for Botkube SA by @mszostok in #1121
- Fix event update logic for Kubernetes source by @pkosiec in #1122
- Revert API changes for api.Message by @pkosiec in #1124
- Fix x plugin schema definition by @mszostok in #1129
- Remove duplicated ptr pkg by @mszostok in #1132
- Fix migration test flag by @pkosiec in #1138
Other Changes ✨
- Bump google.golang.org/grpc from 1.51.0 to 1.53.0 by @dependabot in #1123
- Cli Brew Distribution by @huseyinbabal in #1135
- Add Slack notifications for E2E tests by @pkosiec in #1136
- Rename x plugin to exec by @mszostok in #1137
- Port bug fixes into v1.2 by @mszostok in #1145
Full Changelog: v1.1.0...v1.2.0-rc.2
v1.2.0-rc.1
What's Changed
Implemented Enhancements 🎉
- Implement retries for Start Cloud Slack func by @mszostok in #1095
- Add CLI boilerplate and first implementation by @mszostok in #1105
- Streamline the help message by @pkosiec in #1118
- Add initial version for install and run binaries by @mszostok in #1112
- Add wrap message template for x plugin by @mszostok in #1117
- Add CLI command to generate cobra docs by @mszostok in #1131
- Add tutorial message template for x plugin by @mszostok in #1127
- Improve Botkube CLI
login
,migrate
commands and fix E2E migration tests by @pkosiec in #1128 - Add option to install Botkube via CLI, add
--verbose
flag by @mszostok in #1134 - Add logs streaming for
botkube install
command by @mszostok in #1140 - Add botkube uninstall command by @mszostok in #1141
- Normalize and validate channel names and IDs by @pkosiec in #1142
- Introduce Botkube CLI with migration command by @josefkarasek in #1119
- Doctor plugin & Kubernetes plugin usage by @huseyinbabal in #1106
- doctor plugin is added to plugin index build by @huseyinbabal in #1130
Breaking Changes 💥
Fixed Bugs 🐛
- Fix ServiceAccount token path in Config Watcher by @huseyinbabal in #1096
- Make sure that
kubectl
uses a proper kubeconfig by @mszostok in #1098 - Add help note about multiple instances for Cloud Slack by @mszostok in #1099
- Fix resetting retries when reconnecting to Cloud Slack by @pkosiec in #1101
- Fix scheduling messages for Cloud Slack by @pkosiec in #1108
- Replace uuid with static value for Botkube SA by @mszostok in #1121
- Fix event update logic for Kubernetes source by @pkosiec in #1122
- Revert API changes for api.Message by @pkosiec in #1124
- Fix x plugin schema definition by @mszostok in #1129
- Remove duplicated ptr pkg by @mszostok in #1132
- Fix migration test flag by @pkosiec in #1138
Other Changes ✨
- Bump google.golang.org/grpc from 1.51.0 to 1.53.0 by @dependabot in #1123
- Cli Brew Distribution by @huseyinbabal in #1135
- Add Slack notifications for E2E tests by @pkosiec in #1136
- Rename x plugin to exec by @mszostok in #1137
Full Changelog: v1.1.0...v1.2.0-rc.1
v1.1.1
v1.1.1-rc.1
v1.1.0
What's Changed
Implemented Enhancements 🎉
- Handle invalid commands by @huseyinbabal in #1053
- Add ability to configure liveness and readiness probes by @huseyinbabal in #1056
- Report Botkube version as a part of startup by @huseyinbabal in #1052
- Add validation that kubeconfig is specified by @mszostok in #1063
- Calculate and check sha256 of plugins by @josefkarasek in #1072
- Set custom path for mounted ServiceAccount token by @huseyinbabal in #1077
- Cloud gRPC Stream Integration by @huseyinbabal in #1083
- Handle --all-clusters flag by @mszostok in #1085
- gRPC client auth added by @huseyinbabal in #1084
- Send the cluster name for all interactive commands by @mszostok in #1091
- Add cloudslack Audit to Platforms by @josefkarasek in #1090
Fixed Bugs 🐛
- Fix logging heartbeat error and require providing Prometheus URL by @pkosiec in #1031
- Skip K8s insights collection if remote configuration is disabled by @huseyinbabal in #1033
- Fix upload lastest plugins by @pkosiec in #1034
- Fix reporting real name for Slack interactive events by @pkosiec in #1039
- Respect Mattermost websocket subpath URLs by @tchellomello in #1040
- Remove orphaned code after k8s extraction by @mszostok in #1043
- Use namespace filter in Recommendations by @josefkarasek in #1054
- use kubeconfig from exec input by @huseyinbabal in #1060
- use kubeconfig for gh plugin by @huseyinbabal in #1062
- Add logging when executing a command in not configured channel by @pkosiec in #1061
- Block actions with ChannelName executors by @josefkarasek in #1065
- Update plugin repo for release by @pkosiec in #1069
- Fix generating Slack button ID by @mszostok in #1071
- Fix logging early errors from goroutines and panic with custom Kubeconfig by @pkosiec in #1088
- Disable modal rendering for Cloud Slack by @mszostok in #1093
Other Changes ✨
- Add Botkube illustration by @madebyrogal in #1087
- Bump github.com/lestrrat-go/jwx from 1.1.7 to 1.2.26 by @dependabot in #1092
- Release candidate No. 2 by @josefkarasek in #1097
- Add help note about multiple instances for Cloud Slack (#1099) by @josefkarasek in #1100
- Cherry Pick: Fix resetting retries when reconnecting to Cloud Slack (#1101) by @josefkarasek in #1102
New Contributors
- @tchellomello made their first contribution in #1040
Full Changelog: v1.0.1...v1.1.0
v1.1.0-rc.4
What's Changed
Implemented Enhancements 🎉
- Handle invalid commands by @huseyinbabal in #1053
- Add ability to configure liveness and readiness probes by @huseyinbabal in #1056
- Report Botkube version as a part of startup by @huseyinbabal in #1052
- Add validation that kubeconfig is specified by @mszostok in #1063
- Calculate and check sha256 of plugins by @josefkarasek in #1072
- Set custom path for mounted ServiceAccount token by @huseyinbabal in #1077
- Cloud gRPC Stream Integration by @huseyinbabal in #1083
- Handle --all-clusters flag by @mszostok in #1085
- gRPC client auth added by @huseyinbabal in #1084
- Send the cluster name for all interactive commands by @mszostok in #1091
- Add cloudslack Audit to Platforms by @josefkarasek in #1090
Fixed Bugs 🐛
- Fix logging heartbeat error and require providing Prometheus URL by @pkosiec in #1031
- Skip K8s insights collection if remote configuration is disabled by @huseyinbabal in #1033
- Fix upload lastest plugins by @pkosiec in #1034
- Fix reporting real name for Slack interactive events by @pkosiec in #1039
- Respect Mattermost websocket subpath URLs by @tchellomello in #1040
- Remove orphaned code after k8s extraction by @mszostok in #1043
- Use namespace filter in Recommendations by @josefkarasek in #1054
- use kubeconfig from exec input by @huseyinbabal in #1060
- use kubeconfig for gh plugin by @huseyinbabal in #1062
- Add logging when executing a command in not configured channel by @pkosiec in #1061
- Block actions with ChannelName executors by @josefkarasek in #1065
- Update plugin repo for release by @pkosiec in #1069
- Fix generating Slack button ID by @mszostok in #1071
- Fix logging early errors from goroutines and panic with custom Kubeconfig by @pkosiec in #1088
- Disable modal rendering for Cloud Slack by @mszostok in #1093
Other Changes ✨
- Add Botkube illustration by @madebyrogal in #1087
- Bump github.com/lestrrat-go/jwx from 1.1.7 to 1.2.26 by @dependabot in #1092
- Release candidate No. 2 by @josefkarasek in #1097
- Add help note about multiple instances for Cloud Slack (#1099) by @josefkarasek in #1100
- Cherry Pick: Fix resetting retries when reconnecting to Cloud Slack (#1101) by @josefkarasek in #1102
New Contributors
- @tchellomello made their first contribution in #1040
Full Changelog: v1.0.0...v1.1.0-rc.4