Skip to content

Releases: mittwald/hutbot

v1.0.9

24 Apr 12:08
b77245c

Choose a tag to compare

Changelog

v1.0.7...v1.0.9

Compare: v1.0.7...v1.0.9

Added

  • Added templated reminder messages with {{variable}} placeholders.
    Supported placeholders include Slack/user context ({{user}}, {{user_name}}, {{team}}, {{channel}}, {{channel_name}}), message context ({{message}}, {{message_link}}, {{timestamp}}), config context ({{config}}, {{wait_minutes}}), and Opsgenie on-call values ({{opsgenie_current_user}}, {{opsgenie_current_email}}, {{opsgenie_current_name}}).
  • Added per-configuration Opsgenie schedule names via /hutbot [config] set opsgenie-schedule <name>.
  • Added /hutbot list opsgenie-schedules to list schedule names available from Opsgenie.
  • Added current on-call resolution for configured Opsgenie schedules, including Slack user lookup by email and fallback placeholders for unknown on-call data.
  • Added a reusable employee_list.py library for employee loading, normalization, mappings, logging, and cache handling.
  • Added the standalone query_employees.py CLI for local employee lookup by user, full name, email alias, team, or configured mappings.
  • Added a scheduled-replies cache so pending reminders are persisted and restored across bot restarts.

Changed

  • Reminder cancellation now respects the same actor criteria used when scheduling reminders.
    Thread replies and reactions only cancel matching reminders when the responding actor matches the relevant configuration, including included teams, excluded teams, and bot handling.
  • Bot messages in threads are now considered for reminder cancellation, but only for configurations that include bots.
  • Scheduled reminder entries are cleaned up after the reminder has been sent.
  • Employee-list logic was extracted from bot.py into employee_list.py so the bot and CLI share one implementation.

Fixed

  • Fixed reminder cancellation in multi-configuration channels so replies or reactions for one target team do not incorrectly cancel reminders for another configuration.
  • Fixed scheduled message cleanup after replies are sent.

Commits

  • fd00ea6 feat(cache): persist scheduled replies across restarts
  • d5b24eb fix(opsgenie): add distinct unknown on-call placeholders
  • cd2e4a0 docs(bot): improve news message formatting and wording
  • 5686860 fix(news): improve reply placeholder documentation in news message
  • 424ab25 fix(cli): Redirect employee loading output to stderr
  • bc1eaf0 feat(employee): add standalone employee query script and library
  • 4049c7a feat(bot): add customizable reminder placeholders and smarter cancellation notes
  • 5367780 feat(bot): cancel scheduled reminders based on actor criteria and bot handling
  • 3c19df3 fix(bot): clean up scheduled messages after reply
  • 05d775e feat(opsgenie): add list opsgenie-schedules command
  • 38458fc feat(opsgenie): add schedule config and on-call placeholders
  • 170eee5 feat(bot): add templated reply message support
  • efa5884 docs(readme): add slash command instructions to README

v1.0.5

26 Jun 12:17

Choose a tag to compare

Add host aliases.

v1.0.4

26 Jun 09:59

Choose a tag to compare

Fix templating.

v1.0.3

26 Jun 09:41

Choose a tag to compare

Add support for base64 encoded envs.

v1.0.2

26 Jun 09:22

Choose a tag to compare

Fix python version.

v1.0.1

26 Jun 08:42

Choose a tag to compare

Add pipeline.

v1.0.0

08 Jan 14:23

Choose a tag to compare

Fixed thread handling.