Releases: wgtechlabs/unthread-discord-bot
Releases · wgtechlabs/unthread-discord-bot
v1.1.1
What's Changed
- Chores
- Migrated tooling from Yarn to pnpm across CI, Docker, and build workflows; added pnpm setup and caching.
- Added pnpm config, switched lockfile triggers to pnpm-lock.yaml and .npmrc, and ignored pnpm debug logs.
- Updated package manager and scripts; bumped version to 1.1.1.
- Increased default webhook poll interval from 1s to 5s.
- Documentation
- Updated README, CONTRIBUTING, and inline docs to reflect pnpm commands and prerequisites.
- Tests
- Updated tests to use dynamic version strings and the new default poll interval.
Full Changelog: v1.1.0...v1.1.1
v1.1.0
What's Changed
- ✨ tweak: add command deploy by @warengonzaga in #97
- ✨ tweak: database init implementation by @warengonzaga in #96
- ✨ tweak: improve queue polling by @warengonzaga in #99
Full Changelog: v1.0.4...v1.1.0
v1.0.4
v1.0.3
Full Changelog: v1.0.2...v1.0.3
v1.0.2
Bug Fixes
- Database Schema Compatibility: Fixed PostgreSQL errors caused by missing
deleted_atcolumns in customer and thread mapping queries - User Registration: Resolved thread creation failures when registering Discord users as Unthread customers
Infrastructure Improvements
- Development Experience: Reduced Redis polling log noise by implementing 5-minute throttled logging for webhook consumer
- Performance: Optimized database queries by removing non-existent column references
Full Changelog: v1.0.1...v1.0.2
v1.0.1
Bug Fixes
• Automatic Command Deployment: Restored automatic Discord slash command deployment on bot startup for new bot instances
Full Changelog: v1.0.0...v1.0.1
v1.0.0
What's New
- Complete CI/CD Infrastructure: Implemented comprehensive CI/CD pipeline with Docker Hub and GitHub packages for streamlined deployment
- Advanced File Attachment System: Added bidirectional file attachment support between Discord and Unthread with metadata-driven detection
- Modern Testing Infrastructure: Integrated comprehensive Vitest unit testing framework with GitHub Actions CI/CD
- Configuration Architecture Modernization: Implemented NODE_ENV-based logging and enhanced configuration management
Infrastructure Improvements
- 3-Layer Data Persistence Architecture: Implemented standardized environment variables and enhanced data persistence patterns
- Pure Redis Consumer Implementation: Removed BullMQ and Express webhooks in favor of streamlined Redis-only architecture
- Yarn v4 Migration: Upgraded to latest Yarn package manager for improved dependency management
- Docker Containerization: Added comprehensive Docker and Docker Compose configurations for containerized deployment
Security & Reliability
- Critical Security Upgrades: Updated discord.js from 14.18.0 to 14.20.0 addressing multiple vulnerabilities
- ESLint Security Enhancement: Upgraded to ESLint v9 with flat configuration and comprehensive security plugins
- Dependency Updates: Multiple security-focused dependency upgrades including dotenv, @keyv/redis, cacheable, and keyv packages
- Type Safety Improvements: Resolved critical type safety issues and interface mismatches
Documentation
- Comprehensive JSDoc Enhancement: Complete docstring overhaul with contributor-focused documentation
- Codebase Documentation: Enhanced documentation following proven patterns from related projects
Bug Fixes
- Merge Conflict Resolution: Resolved complex merge conflicts while preserving dependency upgrades
- Yarn Lock Synchronization: Fixed yarn.lock inconsistencies after dependency updates
- API Validation: Enhanced API key validation and Redis health check reliability
- Environment Variable Validation: Improved validation and middleware architecture consistency
Breaking Changes
- Migration from mixed CommonJS/ES6 to pure ES6 import syntax
- Complete TypeScript conversion may affect custom integrations
- Pure Redis implementation removes Express webhook dependencies
Full Changelog: 0.2.0...v1.0.0
v1.0.0-rc1
What's New
- Complete TypeScript Migration: Migrated entire codebase from JavaScript to TypeScript for enhanced type safety, better IDE support, and improved maintainability
- Modern JavaScript Standards: Converted all CommonJS require statements to ES6 import syntax and updated to contemporary JavaScript patterns
- Enhanced Integration: Breaking Change - Migrated from email-type to slack-type conversations for better Unthread integration with improved API validation
Infrastructure Improvements
- Logging System Overhaul: Replaced custom logging with @wgtechlabs/log-engine, removed emojis from outputs, and standardized logging format
- Development Tooling: Added comprehensive ESLint security plugin, upgraded to ESLint v9 with flat configuration, and enhanced automated code quality checks
Security & Reliability
- Critical Security Fixes: Resolved multiple vulnerabilities through CodeRabbit analysis, enhanced API key validation, and improved Redis health checks
- Code Quality Improvements: Fixed deprecation warnings, updated dependencies, enhanced middleware architecture, and improved return type consistency
Documentation
- Comprehensive Updates: Complete JSDoc cleanup and standardization, improved markdown formatting, and enhanced API documentation
Bug Fixes
- Fixed environment variable validation issues
- Resolved middleware architecture inconsistencies
- Improved error handling across the application
Breaking Changes
- Migration from email-type to slack-type conversations may require configuration updates
- TypeScript conversion may affect custom integrations or extensions
Full Changelog: View all changes at v0.x.x...v1.0.0-rc1
Note: Docker containerization was implemented but subsequently removed from this release.
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.jsfrom 14.18.0 to 14.20.0 (#28) by @warengonzaga - Upgrade:
dotenvfrom 16.4.7 to 16.5.0 (#32) by @warengonzaga - Upgrade:
@keyv/redisfrom 4.3.2 to 4.4.0 (#29) by @warengonzaga - Upgrade:
cacheablefrom 1.8.9 to 1.10.0 (#30, #36) - Upgrade:
keyvfrom 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