Releases: outarde/reminder-bot
Release list
v0.4.0
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:
enEnglish 🇬🇧deGerman 🇩🇪frFrench 🇫🇷itItalian 🇮🇹esSpanish 🇪🇸svSwedish, aka IKEAish 🇸🇪plPolish 🇵🇱csCzech 🇨🇿fiFinnish 🇫🇮jaJapanese 🇯🇵zhChinese Simplified 🇨🇳ruRussian 🇷🇺ukUkrainian 🇺🇦
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_LANGandBOT_COMMAND- correspond to the oldLANG_APPandLANG_BOT_COMMAND.BOT_ON_COMMANDandBOT_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:%Mformat 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_APPvariable toBOT_LANGandLANG_BOT_COMMANDtoBOT_COMMANDif 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
%Mformat
🌐 Translations
🏗️ Building and Refactoring
- 5eeccab, c9d7596, 2edb95a, 1db3f54 Add Builds for ARM64, caching and other improvements
- bc20ca6 Build with
zigbuild - f3966bd Delete legacy code for recovery key from authentication module
- e4c9e86 Refactoring with dead code analysis
Full Changelog: v0.3.1...v0.4.0
v0.3.1
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
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
Full Changelog: v0.2.2...v0.3.0
v0.2.2
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
Language errors have been fixed.
Full Changelog: v0.2.0...v0.2.1