Releases: lnp2pBot/bot
Releases · lnp2pBot/bot
v0.14.3
What's Changed
- Bump axios from 1.9.0 to 1.12.0 by @dependabot[bot] in #698
- Bump tar-fs from 2.1.3 to 2.1.4 by @dependabot[bot] in #704
- Update fa.yaml by @amirmohamadamini in #707
- Display tgId in channel notification message by @grunch in #708
New Contributors
- @amirmohamadamini made their first contribution in #707
Full Changelog: v0.14.2...v0.14.3
Release v0.13.1
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
Full Changelog: v0.13.0...v0.13.1
v0.13.0
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
- @Luquitasjeffrey made their first contribution in #664
Full Changelog: v0.12.4...v0.13.0
v0.12.1
What's Changed
- bot/modules/events: convert to TS by @webwarrior-ws in #625
- bot/modules/language: convert to TS by @webwarrior-ws in #626
- bot/modules/community: convert to TS by @webwarrior-ws in #623
- bot,util: fix "checkorder" command by @webwarrior-ws in #628
- Bump serialize-javascript and mocha by @dependabot in #636
- Bump mongoose from 6.12.0 to 6.13.6 by @dependabot in #637
- bot/modules/dispute: convert to TS by @webwarrior-ws in #624
- bot/modules/nostr: convert to TS by @webwarrior-ws in #627
- bot/modules/user: convert to TS by @webwarrior-ws in #631
- bot/middleware: convert to TS by @webwarrior-ws in #632
- bot,models: convert bot to TS by @webwarrior-ws in #633
- Bump axios from 1.7.7 to 1.8.2 by @dependabot in #640
- Bump tar-fs from 2.1.1 to 2.1.2 by @dependabot in #642
- bot, jobs,tests/bot: convert requires to imports by @webwarrior-ws in #638
- bot: check for any falsey value of user in cancelOrder by @webwarrior-ws in #647
- feat: notify admin to update solvers in the community by @Anyitechs in #618
- Golden Honey Badger Implementation by @AndreaDiazCorreia in #644
- Fix order link in nostr events by @Catrya in #650
- Improve way we show QR invoice to seller by @grunch in #652
- Replace /disclaimer for /terms by @grunch in #653
New Contributors
- @Anyitechs made their first contribution in #618
Full Changelog: v0.12.0...v0.12.1
v0.12.0
What's Changed
- fix telegraf version 4.8.0 by @grunch in #605
- Introduces 'dist' dir by @bilthon in #606
- Fixes issues caused wrong relative paths by @bilthon in #620
- Add random image after order creation by @ndungudedan in #619
New Contributors
- @ndungudedan made their first contribution in #619
Full Changelog: v0.11.1...v0.12.0
v0.11.1
What's Changed
- Bump axios from 1.6.0 to 1.7.4 by @dependabot in #570
- Show the previous Status to DISPUTE in dispute message for solvers by @jgosmus in #571
- fix messages in korean language by @Catrya in #574
- Convert JS to TS (commits 7-13 of PR435) by @webwarrior-ws in #557
- Remove the lightning prefix from the lnInvoice by @danfercf1 in #572
- Revert "Remove the lightning prefix from the lnInvoice" by @grunch in #576
- Revert "Convert JS to TS (commits 7-13 of PR435)" by @grunch in #577
- Remove lightning prefix by @grunch in #578
- add MWK currency by @Catrya in #580
- small fix cup currency by @Catrya in #581
- fix message order_already_settled by @Catrya in #582
- Update pt.yaml by @abcb1122 in #587
- Add community stats by @Forte11Cuba in #589
- Issue 543 error displaying username with underscore by @danfercf1 in #586
- fix error when an admin use chechorder with a pending order by @Catrya in #591
- Convert JS to TS (commits 7-13 of PR435) - attempt#2 by @webwarrior-ws in #585
- fix solver username by @Catrya in #597
- Issue 579 fix unit testing by @danfercf1 in #593
- Avoid showing catch output by @grunch in #598
- Fix lint formatting by @grunch in #599
- Fixes to follow orders NIP proposal by @grunch in #584
- tests: convert to TS by @webwarrior-ws in #600
- fix cancel message when an order maker cancels it by @Catrya in #601
- Bump to v0.11.1 by @grunch in #604
New Contributors
- @jgosmus made their first contribution in #571
- @danfercf1 made their first contribution in #572
- @abcb1122 made their first contribution in #587
- @Forte11Cuba made their first contribution in #589
Full Changelog: v0.11.0...v0.11.1
v0.11.0
What's Changed
- Bump fast-xml-parser and @aws-sdk/credential-providers by @dependabot in #548
- docs: clarify INSTALL.md regarding CHANNEL property in .env file by @webwarrior-ws in #549
- update italian yaml by @Catrya in #555
- Shows successful trades and days using bot by @grunch in #561
- Improve messages for clueless users by @grunch in #559
- Banned users can't use wizard to create new orders by @grunch in #562
- Fix cancelall by @Catrya in #566
- Issue #470 Add validation on /settleorder by @AndreaDiazCorreia in #567
- Add privacy command. by @Catrya in #568
New Contributors
- @AndreaDiazCorreia made their first contribution in #567
Full Changelog: v0.10.9...v0.11.0
v0.10.9
v0.10.7
v0.10.6
What's Changed
- CI: upgrade Ubuntu to 24.04 by @knocte in #524
- Fixes issue when storing node info by @bilthon in #526
- messages: CommonJS require to TypeScript import by @Mersho in #525
- start:
/cancelallshouldn't just cancel pendings by @knocte in #502 - Fixes PR #502 by @grunch in #528
- show Time rem only when status is PENDING by @johan-naizu in #530
- Update INSTALL.es.md by @Catrya in #533
- Update installation documentation EN.md by @Catrya in #534
- Bump braces from 3.0.2 to 3.0.3 by @dependabot in #535
- Updates way of publish range fiat amount by @grunch in #536
- Update nostr event by @grunch in #540
New Contributors
- @johan-naizu made their first contribution in #530
Full Changelog: v0.10.5...v0.10.6