Releases: wgtechlabs/unthread-discord-bot
v0.2.0-beta.6.14
Full Changelog: v0.2.0-beta.6.5...v0.2.0-beta.6.14
v0.2.0-beta.6.5
What's Changed
-
Security & Dependency Upgrades:
- Security upgrade:
discord.js
from 14.18.0 to 14.20.0 (#28) by @warengonzaga - Upgrade:
dotenv
from 16.4.7 to 16.5.0 (#32) by @warengonzaga - Upgrade:
@keyv/redis
from 4.3.2 to 4.4.0 (#29) by @warengonzaga - Upgrade:
cacheable
from 1.8.9 to 1.10.0 (#30, #36) - Upgrade:
keyv
from 5.3.2 to 5.3.3 (#31), and to 5.3.4 (#37)
- Security upgrade:
-
Fixes & Maintenance:
-
Release:
- Release v0.2.0-beta.6.5 (#40) by @warengonzaga
Full Changelog: 0.2.0-beta.6...v0.2.0-beta.6.5
v0.2.0-beta.6
🚀 What's New
This beta release introduces new utilities and reliability improvements to the Unthread Discord Bot integration.
✅ Improvements
-
Customer Management Utilities: Added new customer utilities for improved handling of Discord user to Unthread customer mapping.
-
Message Handling Utilities: Implemented comprehensive message utilities for better synchronization between Discord and Unthread.
-
Enhanced Retry Mechanism: Significantly increased retry limits for thread creation and ticket fetching operations to handle network issues and API delays more gracefully.
-
Updated Message Styling: All message footers now include the current bot version for better tracking and support.
🛠️ Technical Enhancements
- Base delay between retry attempts increased from 3 seconds to 10 seconds for more reliable polling
- Thread creation retry attempts increased from 5 to 12
- Ticket retrieval retry attempts increased to ensure friendlyId is properly captured
📝 Technical Details
- Consolidated customer management functions into dedicated utility modules
- Added robust message deduplication and formatting capabilities
- Implemented consistent thread handling functions
Full Changelog: 0.2.0-beta.5...0.2.0-beta.6
v0.2.0-beta.5
🚀 What's New
This beta release includes important reliability improvements to the Unthread Discord Bot integration.
✅ Improvements
-
Enhanced Retry Mechanism: Significantly improved the bot's ability to handle temporary network issues and API delays when communicating with Unthread services, resulting in more reliable ticket creation and message delivery.
-
Optimized Message Fetching: Refined the logic for retrieving messages in threads, which resolves several edge cases where messages could occasionally be missed during synchronization between Discord and Unthread.
-
More Robust Thread Creation: Forum posts and support tickets now have better error handling and recovery mechanisms to ensure successful conversion to Unthread tickets even under challenging network conditions.
🐛 Bug Fixes
- Fixed potential timing issues when creating tickets from forum posts
- Improved handling of message order during synchronization
- Reduced duplicate message possibilities when network conditions are unstable
📝 Technical Details
- The
withRetry
utility now provides more consistent backoff behavior when API requests fail - Thread message handling uses a more resilient approach to guarantee message delivery
- Additional logging added to help diagnose synchronization edge cases
Full Changelog: 0.2.0-beta.4...0.2.0-beta.5
v0.2.0-beta.4
🔄 What's Changed
🐛 Fix Communication from Discord to Unthread and Unthread to Discord Issue
Fixes: #23
Full Changelog: 0.2.0-beta.3...0.2.0-beta.4
v0.2.0-beta.3
🔄 What's Changed
✨ Improved Ticket Handling
- Enhanced Ticket Polling Logic: Implemented a more robust polling mechanism for ticket creation with adaptive intervals, providing better reliability when waiting for ticket IDs from the Unthread API.
🛠️ Improved Logging
- Timestamp Addition: Added timestamps to all log entries for better debugging and tracking of events, making it easier to troubleshoot issues with ticket processing.
📝 Documentation & Visual Improvements
- Updated Documentation: Refreshed content in the README with clearer instructions and updated information.
- Added Visual Assets: Included new banner and sponsor images to enhance the repository presentation.
🧹 Maintenance
- Version Update: Updated version number to 0.2.0-beta.3 in package configuration.
- File Naming Consistency: Standardized file name casing across the project for better development experience.
🚀 Get Started
You can deploy this bot with a single click using our Railway template. See the README for easy deployment instructions.
🛟 Need Help?
Join our community discussions for assistance, to share ideas, or to connect with other users.
Thank you for your continued support and feedback! We're constantly working to improve the Unthread Discord Bot and make it more reliable for your support ticket management needs.
Full Changelog: 0.2.0-beta.2...0.2.0-beta.3
v0.2.0-beta.2
v0.2.0-beta.1
Changes
- Increase exponential backoff to wait up to ~35 minutes.
Full Changelog: 0.2.0...0.2.0-beta.1