Skip to content

Commit

Permalink
chore(release): bump version to 1.0.5
Browse files Browse the repository at this point in the history
  • Loading branch information
HitaloM committed Aug 21, 2024
1 parent 17442dc commit 7e07c5b
Show file tree
Hide file tree
Showing 9 changed files with 24 additions and 9 deletions.
20 changes: 20 additions & 0 deletions NEWS.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,26 @@
.. towncrier release notes start
1.0.5 (2024-08-21)
==================

Removals
--------

- If the bot crashes, it will no longer display the detailed error message. This change has been made for security reasons to prevent leaking sensitive content.

Features
--------

- Enhanced the `/device` command to optimize the processing of GSM Arena data, resulting in improved performance and increased stability. (`#258 <https://github.com/HitaloM/PyKorone/issues/258>`_)

Bug Fixes
---------

- Fixed a crash issue that occurred when the bot encountered invalid TikTok URLs or experienced HTTP request timeouts.
- Fixed an issue where downloading TikTok slideshows would result in an error if the slideshow did not have a music.
- Update the `/start` command text for group chats. Previously, the bot used the same text as in private chats, which caused confusion due to references to buttons that are not available in group chats.

1.0.4 (2024-08-16)
==================

Expand Down
4 changes: 2 additions & 2 deletions locales/bot.pot
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PROJECT VERSION\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
"POT-Creation-Date: 2024-08-21 02:28-0300\n"
"POT-Creation-Date: 2024-08-21 02:33-0300\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <[email protected]>\n"
Expand Down Expand Up @@ -126,7 +126,7 @@ msgid "Command enabled."
msgstr ""

#: src/korone/modules/errors/handlers/catcher.py:82
msgid "An error occurred while processing this update. :/"
msgid "An unexpected error occurred while processing this update! :/"
msgstr ""

#: src/korone/modules/errors/handlers/catcher.py:85
Expand Down
1 change: 0 additions & 1 deletion news/+errors.removal.rst

This file was deleted.

1 change: 0 additions & 1 deletion news/+ntiktok.bugfix.rst

This file was deleted.

1 change: 0 additions & 1 deletion news/+starttext.bugfix.rst

This file was deleted.

1 change: 0 additions & 1 deletion news/+tiktok.bugfix.rst

This file was deleted.

1 change: 0 additions & 1 deletion news/258.feature.rst

This file was deleted.

2 changes: 1 addition & 1 deletion src/korone/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

from cashews import Cache

__version__ = "1.0.4"
__version__ = "1.0.5"

cache = Cache()
cache.setup("redis://localhost", client_side=True)
Expand Down
2 changes: 1 addition & 1 deletion src/korone/modules/errors/handlers/catcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ async def log_exception_to_console(

@staticmethod
def prepare_error_message(sentry_event_id: str | None) -> dict[str, Any]:
text = _("An error occurred while processing this update. :/")
text = _("An unexpected error occurred while processing this update! :/")

if sentry_event_id:
text += _("\nReference ID: {id}").format(id=sentry_event_id)
Expand Down

0 comments on commit 7e07c5b

Please sign in to comment.