Releases: Yuuzi261/Tweetcord
0.6
📌 If you want to upgrade from 0.5.5 to 0.6, please refer to the upgrade guide.
features:
- Renamed
fx_twittertoproxyin the configuration and added support for multiple proxy services. ← MORE OPTIONS💡 - Added a global setting for translation language with FxTwitter (resolves issue #57).
refactor:
- Conducted a major refactoring of the notification system (
AccountTracker) to resolve critical performance bottlenecks under high load (issue #59). This includes centralizing database operations, using a producer-consumer pattern for database writes, and optimizing database connection handling. ← MORE ROBUST💪 - Improved the task monitor to dynamically track tasks from a live cache, eliminating the need to restart the monitor when tasks are added or removed.
- Improved and simplified the handling of configuration files.
fix:
- Resolved a critical issue where calls to the
tweety-nslibrary could perform synchronous, CPU-intensive operations, leading toheartbeat blockederrors. These calls are now safely isolated in a separate thread. - Added specific error handling for
KeyErrorduring tweet fetching, preventing task crashes due to temporary or unexpected API responses from Twitter.
Note
The config parameters have been updated. After updating, please modify your configuration according to the configs.example.yml example.
0.5.5
📌 If you want to upgrade from 0.5.4 to 0.5.5, please refer to the upgrade guide.
fix:
- Fixed issue #55(Failed to re-add users with different casing due to a
UNIQUE constraint failederror after deletion).
Important
For future notifier additions, case-insensitivity will be supported, allowing the system to correctly find users regardless of capitalization. For existing notifiers with incorrect username casing, please use the /remove notifier command to fully remove them, then re-add the user (case-insensitively) for correct operation.
0.5.4
📌 If you want to upgrade from 0.5.3 to 0.5.4, please refer to the upgrade guide.
feat:
- Remove unnecessary Discord intents. (6a79dac) ← LIGHTER STARTUP⚡
- Support for short emoji format in custom messages. (83f5391) ← CONVENIENT✨
- Video link button for built-in embed & original URL button for FxTwitter. (cbd6e53)
- Customize message command now also supports auto-completion. (833a4b2)
- Freely choose a built-in embed footer, which can be the legacy bluebird logo or the new X logo. (55e9b4d)
fix:
- Fix the incorrect task closure logic. (6551bac) ← HIGH IMPACT ISSUE👀
- Resolve autocomplete failure for deleted channels. (6551bac) ← KILL ZOMBIE NOTIFIER🗡️
- Channels without any notifier will no longer be added to autocomplete. (6756d93)
- Ensure error messages are ephemeral. (122dd96)
Important
Due to the aforementioned high-impact issue, it has been confirmed that in version 0.5.3, there is a misjudgment in closing tasks, resulting in tasks being closed despite active notifiers still being present. Additionally, the database will be updated to indicate that no notifier remains under the specified username. If you encounter this issue, you can update to version 0.5.4 and attempt to re-add the affected notifiers.
0.5.3
📌 If you want to upgrade from 0.5.2 to 0.5.3, please pull the code first and upgrade according to the upgrade guide.
feat:
- Enhanced list users command, pagination switchable via buttons. (b56a9f8) ← NEAT & BEAUTIFUL✨
- Real-time update of tracking accounts number. (dd4c186) ← INSTANT & FAST👍
- Customizable page counter position and page size. (bfd7019) ← MORE CUSTOMIZATION👏
- It is now possible to specify the domain to use in configs (
fxtwitterorfixupx). (e88a61d) - An error message will be logged if notification fails to be sent. (820f01f)
- Add handling when login fails. (df1949f)
refactor:
- Optimize database operations by using lock to avoid conflicts caused by simultaneous writes. ← MORE STABLE & RELIABLE💪
- Switch to read-only mode for database connections when write operations are not required. (446bc7b) ← OPERATE FASTER⚡
- Replace deprecated
datetime.utcnow()with updated alternatives. (6fce47d) - Avoid repeatedly logging in with
auth_token. Instead, log in once and use sessions for subsequent connections. (592b932)
fix:
- Add the missing parameter checks in the configs checker. (04a3368)
Note
In this version, the Python badge has been updated to reflect 3.11+ instead of 3.10+. While versions as old as 3.10 remain compatible, it is recommended to use Python 3.11 for improved performance and stability.
0.5.2
📌Strongly recommended to download or update to this version, as previous versions relied on tweety-ns 1.0.9.2, which has been confirmed to have some issues!
📌If you want to upgrade from 0.5.1 to 0.5.2, please pull the code first and upgrade according to the upgrade guide.
feat & fix:
- In response to the
tweety-nsversion update, the relevant operation is changed to a coroutine. (d8b3344)
Warning
We have identified an issue with version 2.0.4 of tweety-ns that may cause certain accounts to be unfindable when adding a notifier. To avoid this issue, please update tweety-ns to version 2.0.8.
Note
This version has only undergone basic testing. If you encounter any issues during use, please contact me through an issue.
0.5.1
📌0.5.1 is a patched version of 0.5, it resolves two issues from version 0.5: the default value error for auto-completion when the client is not specified, and the problem with reactivating a monitored account in a disabled state using the same client (#33). If you have already upgraded to version 0.5, you can update to 0.5.1 by directly pulling the new code.
📌 If you want to upgrade from 0.4.1 to 0.5.1, please pull the code first and upgrade according to the upgrade guide.
feat:
- Settings now allow filtering by media type, enabling the option to forward or not forward pictures and videos. (#31) ← EXCELLENT😇
- Supports built-in multiple embedded pictures that can be replaced with fx combined pictures. (3209b94) ← FRIENDLY TO IOS SYSTEM🤗
- Multi client support, add multiple tokens and choose which account follow which user. (#31) ← MORE POWERFUL CUSTOMIZATION👏
- Autocomplete for some slash commands. (#31) ← CONVENIENT👍
- Customize bot activity type and message. (0051469, #31)
- Split listing to prevent cutoff. (#31)
- Optimized the update process. (f097793)
- Startup checks for environment variables, configs and database.
refactor:
- Convert all SQL operations to asynchronous. (dce6f8c) ← AVOID BLOCKING✌️
- Optimize the overall code