Releases: innogames/slack-bot
v2.1.3 - Gitlab approvals + improved docs
What’s Changed
- Gitlab: Support new merge request approval #158 (#174) @brainexe
- docs: added steps for "install from manifest" which is easier than before (#167) @brainexe
- security: Create codeql-analysis.yml (#170) @brainexe
- internal: added more tests for Bitbucket PRs (#175) @brainexe
- fix: jira search by full link wasn't working, as the link is unwrapped already (#169) @brainexe
Deps
- build(deps): bump docker/setup-buildx-action from 1.3.0 to 1.5.0 (#165) @dependabot
- build(deps): bump github.com/hackebrot/turtle from 0.1.0 to 0.2.0 (#172) @dependabot
- build(deps): bump github.com/xanzy/go-gitlab from 0.50.0 to 0.50.1 (#171) @dependabot
- build(deps): bump github.com/alicebob/miniredis/v2 from 2.14.5 to 2.15.1 (#168) @dependabot
- build(deps): bump docker/login-action from 1.9.0 to 1.10.0 (#160) @dependabot
- build(deps): bump docker/build-push-action from 2.5.0 to 2.6.1 (#166) @dependabot
v2.1.2 - Mainly dependency updates
What’s Changed
Minor dependency updates
- dependency: upgraded github.com/slack-go/slack to 0.9.0 (#139) @brainexe
- dependency: upgraded github.com/bndr/gojenkins (#159) @brainexe
- build(deps): bump docker/build-push-action from 2 to 2.5.0 (#146/150) @dependabot
- build(deps): bump docker/login-action from 1 to 1.9.0 (#144) @dependabot
- build(deps): bump docker/setup-buildx-action from 1 to 1.3.0 (#145) @dependabot
- build(deps): bump github.com/alicebob/miniredis/v2 from 2.14.3 to 2.14.5 (#148/#151) @dependabot
- build(deps): bump github.com/gookit/color from 1.3.8 to 1.4.2 (#134/#136) @dependabot
- build(deps): bump github.com/slack-go/slack from 0.8.1 to 0.9.1 (#127/143) @dependabot
- build(deps): bump github.com/xanzy/go-gitlab from 0.47.0 to 0.50.0 (#129/#147) @dependabot
- build(deps): bump golang from 1.15-alpine to 1.16.5-alpine (#123/152) @dependabot
- build(deps): bump golangci/golangci-lint-action from v2.5.1 to v2.5.2 (#132) @dependabot
- build(deps): bump wangyoucao577/go-release-action from 1.17 to v1.17 (#149/#137) @dependabot
v2.1.1 - Gitlab pipeline status and much more...
What’s Changed
-
enhancement: Jira: support posting a link to the ticket (#120) @brainexe
-
enhancement: show days in util.FormatDuration() (#113) @brainexe
-
enhancement: gitlab merge requests: show pipeline status as reaction (#111) @brainexe
-
enhancement: added stat counter for pressed buttons/interactions (#110) @brainexe
-
internal: rework interactions to not use the "storage" anymore (#102) @brainexe
-
build(deps): bump github.com/xanzy/go-gitlab from 0.46.0 to 0.47.0 (#122) @dependabot
-
build(deps): bump github.com/sirupsen/logrus from 1.8.0 to 1.8.1 (#119) @dependabot
-
build(deps): bump github.com/xanzy/go-gitlab from 0.44.0 to 0.45.0 (#114) @dependabot
-
build(deps): bump github.com/gookit/color from 1.3.7 to 1.3.8 (#112) @dependabot
-
build(deps): bump golangci/golangci-lint-action from v2.4.0 to v2.5.1 (#109) @dependabot
-
build(deps): bump golang from 1.15-alpine to 1.16.0-alpine (#103) @dependabot
-
build(deps): bump golangci/golangci-lint-action from v2 to v2.4.0 (#101) @dependabot
v2.1.0 - improved Queue!
What’s Changed
With the new Socket Mode we get more and more flexibility and possibilities. This release I added a "Refresh" button to the "queue".
Use case: Dump a list of current (unmerged) pull requests via cron (every morning). And have a refresh button to update the list (remove merged ones, add 👀 for PRs in review or ✅ for approved ones).
The queue can also be used to show running Jenkins jobs.
Example of the "Refresh" button:
Full changelog
- feat: make pullrequest reactions customizable #48 (#91) @brainexe
- enhancement: add "Refresh" button to "list queue". (#95) @brainexe
- fix: don't react on edited messages (#96) @brainexe
- docs: added more examples to config.example.yaml (#97) @brainexe
- internal: cleanup "queue" command and removed delays (#94) @brainexe
- internal: add custom "Reaction" type (#93) @brainexe
- internal: cleanups + docs (#90) @brainexe
- build(deps): bump github.com/alicebob/miniredis/v2 from 2.14.1 to 2.14.2 (#89) @dependabot
- build(deps): bump github.com/xanzy/go-gitlab from 0.42.0 to 0.43.0 (#88) @dependabot
v2.0 - Socket Mode!
What’s Changed
The main change is the support for the "Socket Mode" (#84) as a replacement for the RTM and Event API which is both not optimal...
With the Socket Mode the bot is now able to listen for interaction, like clicked buttons which gives much more flexibility. And this without the need to expose a port to the internet! internally it's just a websocket connection which connects to the Slack servers.
What you have to do:
- See the Step 1. from the readme
- you might have to migrate the "Classic" app to the new system but the mentioned permissions are enough. I tested it with a new and a old migrated app...and it worked pretty fine.
- the new "Socket Mode" will be used, when the "socket_token:" is added in the config.
Example
slack:
token: xoxb-13245324243-43534534534-y3123c4cGPOtdsfsfjPW
socket_token: xapp-1-dsdddad4tfdsf-344324232354235-423423423423435324
So you need 2 tokens, as described in the readme!
Example screenshots which shows more options now:
Full changelog
v1.7.0 - "queue" and pullrequest polishing
What’s Changed
Especially the Pullrequest and "list queue" component got some small polishing!
🚀 Enhancements
- queue: unlink usernames in "list queue" command (#82) @Emerion
- queue: add message link to "list queue" to jump directly to queued messages (#81) @brainexe
- enhancement: allow admins to repost any slack message (#78) @brainexe
- pullrequest: improve error handling (#79) @brainexe
- pullrequest: cleanup PR states (#72 #69) @brainexe
🐛 Bug fixes
📦 Internal
- internal: added some more linters (#74) @brainexe
- Bump github.com/stretchr/testify from 1.6.1 to 1.7.0 (#80) @dependabot
- Bump github.com/xanzy/go-gitlab from 0.40.2 to 0.42.0 (#75, #77) @dependabot
- Bump github.com/gookit/color from 1.3.5 to 1.3.6 (#73) @dependabot
v1.6.4 - Jenkins/Jira polishing
What’s Changed
- jenkins: polish "jenkins nodes" command (#71) @brainexe
- jira: made ticket list more beautiful and added "assignee" (#68) @brainexe
- feature: add a way to post any link to an own message to interpret it as a message (#65) @brainexe
Internal
- internal: introduce new BaseCommand for all commands (#62) @brainexe
- internal: removed deprecated API to join channels (#67) @brainexe
Dependencies
- Bump github.com/xanzy/go-gitlab from 0.40.1 to 0.40.2 (#70) @dependabot
- Bump github.com/slack-go/slack from 0.7.3 to 0.7.4 (#64) @dependabot
- Bump github.com/gookit/color from 1.3.3 to 1.3.5 (#63) @dependabot
- Bump slack-go from v0.7.2 to v0.7.3 (#60) @brainexe
v1.6.3 - cleanups + small improvements
What’s Changed
- feature: New command to wait until Jenkins is idle #53 (#57) @brainexe
- enhancement: added more help categories (#50) @brainexe
- enhancement: improve help command (e.g. added categories) (#49) @brainexe
Internals
- internal: increase code coverage and fixed some glitches (#58) @brainexe
- refactoring: Part 3: unified loggers (#54) @brainexe
- refactoring: Part 2: replace slack.MessageEvent by a slim interface (#51) @brainexe
- refactoring: Part 1 to replace slack.MessageEvent in command context (#44) @brainexe
- Bump github.com/xanzy/go-gitlab from 0.40.0 to 0.40.1 (#56) @dependabot
- Bump github.com/gookit/color from 1.3.2 to 1.3.3 (#55) @dependabot
v1.6.2 - added Github Docker registry
added docker images to Github registry + improved workflows
v1.6.1 - added automated build artifacts
no real update, only added build artifacts automagically to the realese