Skip to content

Releases: lnp2pBot/bot

v0.14.3

27 Oct 13:34
927d9b7

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.14.2...v0.14.3

Release v0.13.1

26 Jun 19:39
978ed7d

Choose a tag to compare

What's New in v0.13.1

🐛 Bug Fixes

Logger Method Correction (#668)

  • Fixed logger method calls from .warn() to .warning() for consistency
  • Ensures proper logging functionality across the application
  • Improves error tracking and debugging capabilities

📊 Improvements

  • Enhanced logging consistency throughout the codebase
  • Better error reporting and monitoring

This is a patch release that fixes logging method inconsistencies introduced in v0.13.0.

What's Changed

  • logger: Replace .warn() by .warning() by @grunch in #668

Full Changelog: v0.13.0...v0.13.1

v0.13.0

26 Jun 19:26
22a7b77

Choose a tag to compare

What's New in v0.13.0

🔧 Major Improvements

Timeout Handling & Error Recovery (#667)

  • Enhanced Lightning Network error handling with specific timeout detection
  • Made pathfinding and bot handler timeouts configurable via environment variables
  • Implemented exponential backoff retry strategy for failed payments
  • Added timeout monitoring and structured logging for better debugging
  • Enhanced PendingPayment model with error tracking and retry scheduling
  • Fixes 60-second timeout issues that were causing bot unresponsiveness

TypeScript Strict Mode (#665)

  • Enabled TypeScript strict mode for better type safety
  • Improved code quality and reduced potential runtime errors

Lightning Network Conversion (#646)

  • Converted Lightning Network modules to TypeScript
  • Better type safety for Lightning Network operations

🐛 Bug Fixes & Enhancements

UI/UX Improvements

  • Reduced QR code image size in invoices for better readability (#660)
  • Fixed ticket #654 related issues (#664)

Security & Access Control

  • Blocked direct exchanges between same users (A to B scenario) (#630)
  • Enhanced user access control mechanisms

Dependencies

  • Updated tar-fs from 2.1.2 to 2.1.3 for security improvements (#661)

⚙️ New Configuration Options

Environment variables now available:

  • LN_PATHFINDING_TIMEOUT - Lightning Network pathfinding timeout (default: 60000ms)
  • BOT_HANDLER_TIMEOUT - Telegram bot handler timeout (default: 60000ms)

📊 Enhanced Monitoring

  • Added structured logging for timeout events (TIMEOUT_MONITOR)
  • Operation duration tracking (OPERATION_DURATION, SLOW_OPERATION)
  • Enhanced error categorization for better debugging
  • Better visibility into Lightning Network operation performance

🔄 Breaking Changes

  • TypeScript strict mode may require environment updates
  • New database fields added to PendingPayment model

This release significantly improves bot reliability, performance, and maintainability. The timeout
handling improvements should resolve most bot unresponsiveness issues under network stress.

New Contributors

Full Changelog: v0.12.4...v0.13.0

v0.12.1

13 May 15:24
b2e55f6

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.12.0...v0.12.1

v0.12.0

06 Jan 18:06
873679f

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.11.1...v0.12.0

v0.11.1

13 Nov 14:02
2a8c02e

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.11.0...v0.11.1

v0.11.0

19 Aug 19:58
4a39001

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.10.9...v0.11.0

v0.10.9

30 Jul 23:34
8d4bbf6

Choose a tag to compare

What's Changed

  • Revert "Convert ln to TS (6th commit of PR435)" by @grunch in #545
  • Add security token on disputes by @grunch in #546

Full Changelog: v0.10.7...v0.10.9

v0.10.7

25 Jul 12:42
e2b461d

Choose a tag to compare

What's Changed

  • Añadido mensaje de esperar por el solver al abrir disputa by @Catrya in #544
  • Convert ln to TS (6th commit of PR435) by @Mersho in #541

Full Changelog: v0.10.6...v0.10.7

v0.10.6

05 Jul 13:39
98709de

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.10.5...v0.10.6