• v0.1.10-coldfix1 1ead5655a0

    github-actions[bot] released this 2026-04-05 23:49:25 +03:00 | 3 commits to release since this release

    See CHANGELOG.md for full release notes.

    Binary Downloads

    • Linux (x64): Download regexybot-linux-x64.tar.gz below
    • Windows (x64): Download regexybot-windows-x64.zip below

    Binary Installation

    Linux:

    tar -xzf regexybot-linux-x64.tar.gz
    TOKEN=your_token_here ./regexybot-linux-x64
    

    Windows:

    Expand-Archive regexybot-windows-x64.zip
    set TOKEN=your_token_here
    .\regexybot-windows-x64.exe
    
    Downloads
  • v0.1.10 7da0a23287

    github-actions[bot] released this 2026-02-17 07:01:00 +03:00 | 6 commits to release since this release

    See CHANGELOG.md for full release notes.

    Binary Downloads

    • Linux (x64): Download regexybot-linux-x64.tar.gz below
    • Windows (x64): Download regexybot-windows-x64.zip below

    Binary Installation

    Linux:

    tar -xzf regexybot-linux-x64.tar.gz
    TOKEN=your_token_here ./regexybot-linux-x64
    

    Windows:

    Expand-Archive regexybot-windows-x64.zip
    set TOKEN=your_token_here
    .\regexybot-windows-x64.exe
    
    Downloads
  • v0.1.9 e74185fd75

    github-actions[bot] released this 2026-02-15 03:30:34 +03:00 | 7 commits to release since this release

    [0.1.9] - 2026-02-15

    Health Monitoring & Observability (#27)

    • HealthMonitor System: Real-time health tracking with status detection
      • Automatic status calculation: healthy/degraded/unhealthy
      • Configurable thresholds for error rates and queue depth
      • Event-driven status change notifications
      • 14 comprehensive tests covering all health scenarios

    Test Suite Expansion (#28)

    • 80+ New Tests: Expanded from 77 to 166 tests
      • config.test.ts: 24 tests for configuration validation
      • logger.test.ts: 11 tests for logging functionality
      • errorHandling.test.ts: 19 tests for error scenarios
      • telegram.test.ts: 12 tests for Telegram integration
      • Full coverage of new features and edge cases

    Security & Anti-Spam (#29)

    • Per-User Rate Limiting: Configurable spam prevention
      • Default: 30 commands/minute per user
      • Smart counting: N commands in message = N points
      • Skips edits (corrections, not spam)
      • User-friendly error messages with wait times

    Performance Optimizations (#30)

    • Regex Pattern Caching: LRU cache with TTL support
      • Default: 1000 patterns, 5-minute TTL
      • Configurable via CACHE_ENABLED, CACHE_MAX_SIZE, CACHE_TTL_MS
      • Significant performance boost for repeated patterns
    • Database Indexes: Added indexes for faster queries
      • idx_message_history_chat_id for chat lookups
      • idx_bot_replies_target for reply mapping lookups

    Error Handling & Resilience (#31)

    • Custom Error Hierarchy: 6 granular error types
      • BotError (base), RegexError, TelegramAPIError
      • RateLimitError, WorkerError, CircuitBreakerError
      • User-friendly error messages with context
    • Circuit Breaker Pattern: Prevents cascading failures
      • States: CLOSED → OPEN → HALF_OPEN
      • Configurable thresholds and timeouts
      • Automatic recovery after cooldown period

    Code Quality (#34)

    • JSDoc Documentation: Comprehensive inline docs
      • DatabaseService methods fully documented
      • Parameter types and return values specified
      • Usage examples and edge cases explained
    • Zero Lint Warnings: Clean codebase
      • Fixed all any type warnings in tests
      • Added proper type annotations
      • 166 tests with zero warnings

    Documentation (#35)

    • Updated README: Complete feature list and env vars
      • Added all 25+ environment variables
      • Documented WorkerPoolV2, rate limiting, caching
      • New features: health monitoring, circuit breaker
    • Enhanced CHANGELOG: This release notes section

    What's Changed

    New Contributors

    Full Changelog: https://github.com/NiXTheDev/regexYbot/commits/v0.1.9

    Downloads