• v0.2.1.1 c03afd988a

    Release v0.2.1.1
    All checks were successful
    Push Checks / Format Check (push) Successful in 52s
    Push Checks / Type Check (push) Successful in 53s
    Secret Scanning / Scan for Secrets (push) Successful in 1m4s
    Push Checks / Lint (push) Successful in 1m27s
    Push Checks / Tests (push) Successful in 31s
    Push Checks / Build and Push Docker Image (push) Successful in 26m11s
    Stable

    NiXTheDev released this 2026-05-23 19:48:50 +03:00 | 0 commits to release since this release

    Migration from GitHub Actions to Forgejo Actions
    All CI/CD workflows have been migrated from GitHub Actions to the self-hosted Forgejo instance at hangar.nixthedev.ru:

    • Push checks (lint, format, typecheck, test, build & push Docker) — fully operational
    • PR checks — Docker image build validation on PRs
    • Release workflow — automated release creation with compiled binaries
    • Security audit — weekly dependency vulnerability scanning
    • Secret scanning — Gitleaks integration
      Docker Image Tagging Updates
    • Branch-based tag strategy: release branch gets latest, release, and version chain tags (0.2.1.1, 0.2.1, 0.2, 0)
    • Non-release branches now get progressive dev version tags (0.2.1.1-dev, 0.2.1-dev, 0.2-dev, 0-dev) in addition to dev and latest
    • Images pushed to three registries: Forgejo Container Registry (hangar.nixthedev.ru), Docker Hub, and GHCR
    • Docker CLI installed via static binary (no Docker-in-Docker dependency)
      Dependabot → Renovate Migration
      Replaced Dependabot with Renovate for automated dependency management:
    • renovate.json — self-hosted Forgejo config with 4 package rules (bun prod, bun dev, Docker, GitHub Actions), all restricted to minor/patch auto-merge
    • CI workflow — runs weekly Monday 10:00 UTC+3 via docker://ghcr.io/renovatebot/renovate:39
    • Package rules preserve existing Dependabot behavior (same groups, labels, schedule) plus adds GitHub Actions dependency management
    • Native Forgejo auto-merge via platformAutomerge: true
      Bug Fixes
    • i18n crash — resolved @grammyjs/i18n crash on Windows caused by path separator mismatch (\ vs /) in src/i18n.ts
      Test Improvements
    • Flaky test timeouts replaced with proper polling (waitForAssertion)
    • Tests now retry up to 5 times, show only failures, run in parallel
    • Improved shutdown.test.ts reliability
      Other
    • Added FEATURE_TIPS and FEATURE_WARNINGS environment variables for toggling regex tips and ReDoS warnings
    • Updated Bun version in Dockerfile to 1.3.14
    • Commented out cache-to/cache-from in Docker builds (incompatible with Forgejo runners)
    Downloads
  • v0.2.1 b6717d8684

    Release v0.2.1
    Some checks failed
    Push Checks / Lint (push) Successful in 47s
    Push Checks / Format Check (push) Successful in 48s
    Secret Scanning / Scan for Secrets (push) Failing after 38s
    Push Checks / Type Check (push) Successful in 57s
    Push Checks / Tests (push) Failing after 1m29s
    Push Checks / Build and Push Docker Image (push) Has been skipped
    Stable

    NiXTheDev released this 2026-05-23 17:03:32 +03:00 | 1 commits to release since this release

    [0.2.1] - 2026-04-28

    Diff Command Argument Support

    • /diff Command: Added optional format argument for flexible output
      • Usage: /diff [plain|true|image]
      • Backward compatible: no argument defaults to plain format
    • Plain Format (default): Inline diff using ~~old~~ *new* markdown syntax
    • True Format: Markdown diff block with ```diff syntax highlighting
    • Image Format: SVG image visualization of the diff

    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-coldfix1 1ead5655a0

    github-actions[bot] released this 2026-04-05 23:49:25 +03:00 | 4 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 | 7 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 | 8 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