Skip to content

Releases: wgtechlabs/unthread-discord-bot

v1.1.1

16 Oct 04:38
2703ebd

Choose a tag to compare

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

01 Oct 19:15
04a433b

Choose a tag to compare

What's Changed

Full Changelog: v1.0.4...v1.1.0

v1.0.4

24 Sep 10:57
9475273

Choose a tag to compare

What's Changed

Full Changelog: v1.0.3...v1.0.4

v1.0.3

23 Sep 18:33
7bdc2d2

Choose a tag to compare

Full Changelog: v1.0.2...v1.0.3

v1.0.2

23 Sep 17:41
8680561

Choose a tag to compare

Bug Fixes

  • Database Schema Compatibility: Fixed PostgreSQL errors caused by missing deleted_at columns 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

23 Sep 16:39
04e2130

Choose a tag to compare

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

21 Sep 16:24
3ff76dd

Choose a tag to compare

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

30 Aug 14:00
e3e2d57

Choose a tag to compare

v1.0.0-rc1 Pre-release
Pre-release

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

07 Aug 17:25

Choose a tag to compare

v0.2.0-beta.6.5

06 Aug 14:47
3d28ef3

Choose a tag to compare

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)
  • Fixes & Maintenance:

    • Resolve merge conflicts and preserve cacheable 1.10.0 upgrade with main branch updates (#34) by @Copilot
    • Update yarn.lock after keyv dependency upgrade (#35) by @Copilot
  • Release:


Full Changelog: 0.2.0-beta.6...v0.2.0-beta.6.5