Skip to content

Releases: outarde/reminder-bot

v0.4.0

Choose a tag to compare

@outarde outarde released this 12 Aug 13:08

v0.4.0

This update adds support for 11 new languages ​​and improves natural language recognition in bot commands! Our bot was also featured in last week's This Week In Matrix digest. Read it in the Bots Department section.

Warning

This version requires changing the environment variable LANG_APP to BOT_LANG. There is no backward compatibility with the old variable.

New Languages

Added translations for bot messages in chats, as well as the remind command and the expressions today, tomorrow, morning, afternoon, and evening for the following languages:

  • en English 🇬🇧
  • de German 🇩🇪
  • fr French 🇫🇷
  • it Italian 🇮🇹
  • es Spanish 🇪🇸
  • sv Swedish, aka IKEAish 🇸🇪
  • pl Polish 🇵🇱
  • cs Czech 🇨🇿
  • fi Finnish 🇫🇮
  • ja Japanese 🇯🇵
  • zh Chinese Simplified 🇨🇳
  • ru Russian 🇷🇺
  • uk Ukrainian 🇺🇦

Important

Currently, keywords and month names may not take declension and case into account. A temporary solution is to use three-letter month abbreviations. Translation is ongoing, and any contributions are welcome!

New Parameters

New optional parameters have been added to the BOT_ prefix:

  • BOT_LANG and BOT_COMMAND - correspond to the old LANG_APP and LANG_BOT_COMMAND.
  • BOT_ON_COMMAND and BOT_ON_MENTION - control whether the bot is activated by command or only by mention in general chats. Currently inactive, they will be available in the next release.
  • BOT_MORNING_TIME, BOT_AFTERNOON_TIME, BOT_EVENING_TIME - standard times for morning, afternoon, and evening in the %H:%M format like: BOT_MORNING_TIME=08:00. To create reminders, you can now write: !remind today morning fly on an airplane.

Roadmap for Next Releases

The next minor releases will fix bugs and refactor the code. Then, we plan to add a setting for activating the bot without a command in private chats and by mention in group chats. We'll also be changing the functionality for creating reminders without specifying a time: they will be created an hour later, rather than at 09:00. Finally, we'll add alternative commands - a list of all reminders and settings - to pave the way for the long-awaited custom time zone feature.

What's Changed

⚠️ Breaking Changes

  • Environment Variable: Change LANG_APP variable to BOT_LANG and LANG_BOT_COMMAND to BOT_COMMAND if you used them.

🚀 Features and Enhancements

  • 7ab28a2 Welcome message from the bot is formatted to HTML to highlight commands examples
  • 6889265 Time validation for new reminder
  • 4a24e33 Three-letter abbreviation for months

🐛 Bug Fixes

  • 3b0602c Fix regular expression bug in parsing months and year undivided when reminder time is not specified
  • 3e29b95 One more fix for time validation and new format for default morning, afternoon, evening times
  • 3884d70 Month in success message has %M format

🌐 Translations

🏗️ Building and Refactoring

Full Changelog: v0.3.1...v0.4.0

v0.3.1

Choose a tag to compare

@outarde outarde released this 06 Aug 19:34

This release fixes a bug where omitting a preposition would cause the reminder to be set to the default time.

Full Changelog: v0.3.0...v0.3.1

v0.3.0

Choose a tag to compare

@outarde outarde released this 05 Aug 00:10

v0.3.0

This version now allows you to set your own alternative bot activation command.

What's changed

🚀 Features and Enhancements

  • 406f451 feat: Alternative commands multilanguage support
  • bd8347c Add constants for default values
  • d9cb9b6 refactor: Regular expression in hadlers.rs
  • 5061588 Add caching to workflow

🐛 Bug fixes

  • 824591c fix: Saved message text anchor

🌐 Translations

  • 5061588 Update commands to activate bot
  • 5061588 Update summary messages text

Full Changelog: v0.2.2...v0.3.0

v0.2.2

Choose a tag to compare

@outarde outarde released this 03 Aug 22:29
770e464

This version fixes a bug where the bot would not start without specifying LANG_APP, even though this variable was described as optional.

🎉 Also this is no longer a pre-release version.

Full Changelog: v0.2.1...v0.2.2

v0.2.1

v0.2.1 Pre-release
Pre-release

Choose a tag to compare

@outarde outarde released this 24 Jul 08:53

Language errors have been fixed.
Full Changelog: v0.2.0...v0.2.1

v0.2.0

v0.2.0 Pre-release
Pre-release

Choose a tag to compare

@outarde outarde released this 19 Jul 00:01

This is the first release. The main features are working, but much is still in draft form.