Skip to content

v1.3.0

Latest

Choose a tag to compare

@outarde outarde released this 30 Sep 19:11

A new settings command, enhancements for delegation, and numerous minor improvements!

Release Overview

πŸ—„οΈ The highlight of this release is the introduction of individual settings for users (default time values) and rooms (language and time zone). We have updated the documentation, where you can read more about this. Consequently, the time zone configuration has moved from the standalone /tz command to the /settings tz subcommand.

Important

The tz_commands parameter in config.yaml has also been renamed to settings_commands and is used to customize the commands that trigger settings.

πŸ‘₯ Additionally, extra delegation parameters have been added to Pro mode. Instead of a single --to argument, you should now use two separate ones: --room for the room and --user for the user. You can read details on how delegation works in the CLI Mode section.

⚠️ Finally, this version includes a database migration that will run automatically, thanks to changes introduced in release 1.2.0. You can verify the migration results in the bot's startup logs.

🟒 You can now also monitor the bot's health via Docker Healthcheck. The config-example.yml file contains an example of the necessary code to add to your container's compose.yaml!

Wishing you nothing but pleasant reminders.

What's Changed

πŸš€ Features and Enhancements

  • 33e5226 An error occurring when creating a reminder with a time in the past now displays that time.
  • 4fd8bc0 A period (.) is now supported as a separator for time values.
  • 44d6c69, 414a0fd In Pro mode, the interval can now be set using --time and --date in addition to the separate --hour, --min, and --day arguments.
  • 691c568 Standard and Pro modes now support specifying time with AM/PM (ante meridiem/post meridiem) notation.
  • 5abc6c3 If a reminder has been delegated, the notification will indicate its creator.
  • 279d333 For a delegated reminder, the remaining time is not displayed, as the destination room's time zone cannot be determined. Short time designations (e.g., "morning") are also disabled.
  • 5ddd863 If only reminder minutes are specified, they are rounded to the nearest hour. In the rare but possible event of a date change resulting from this, or an "impossible" time due to time zone shifts: if the date wasn't specified manually (which is likely the case if the user only provided minutes), it will be automatically corrected if it falls in the past (via the is_auto parameter). However, if the date differs from the automatically determined "today", the result of crossing day boundaries will be incorrect. It would be better to remove this feature or treat specifying minutes without hours as an interval internally.
  • 9153807 Expansion of bot settings accessible via the /settings command.
  • 1e293bb Docker Healthcheck.
  • 8f79397 Renamed delegation parameters in Pro mode and added the ability to delegate tasks to a specific user (in the same room or a different one).
  • cf7a6d5 Default time can now be set via config.yaml using the default_time parameter.
  • 3eadf19 The week emoji for messages has been removed. The day emoji has been changed so that it differs from the month emoji.
  • e000285 Time zone settings have been moved under the settings command.

πŸ› Bug Fixes

  • 98fb52d The bot now recognizes messages containing line breaks.
  • 5c5e882 Errors occurring while restoring reminders during bot startup no longer interrupt the bot's loading process.
  • aea19c4 Hours and minutes can now be specified using a single digit. Thanks to @Khvatov-Alexey for reporting the bug!
  • 380668a Fixed command hints in the auth.rs module.
  • 8d63aa0 Fixed an issue where the reminder creation command text was duplicated in the welcome message if the text was identical in both the config and the localization file (e.g., the default behavior for English localization).

🌐 Localization

  • 9b4da77, 15daa02 Settings localization.
  • 855b98f The settings command has been added to the welcome message.
  • c079c11 An example time with p.m. has been added to the welcome message.

πŸ“• Documentation

  • 62a03de New use cases.
  • 5323925 New bot parameters.
  • 8455b44 A section on alternatives to my Remindrix bot has been added to README.md.
  • 56b8edb Details on how time and language settings and delegation work have been added to the bot's setup and usage guide.

πŸ’» Code Refactoring

  • aa5e156 OutputError structure.
  • 035ba50 db.rs module evolving.
  • 7a1f75f, 1b7db00 SettingsService layer for settings in the Settings structure management.
  • d88fc41 Attempts to refactor fetch_room_tz in the settings pipeline.
  • fb28866 Simplified time zone and time parser methods.

New Contributors

Full Changelog: v1.2.1...v1.3.0