Changelog๏ƒ

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

[2.5.0] - 2025-01-15๏ƒ

Added๏ƒ

  • ๐Ÿ”’ Enhanced security features with improved validation mechanisms

  • ๐Ÿš€ Optimized performance across all core modules

  • ๐Ÿ“š Updated documentation and improved examples

  • ๐Ÿ›ก๏ธ Strengthened webhook security mechanisms

  • ๐Ÿ”ง Better error messages and enhanced debugging support

  • โšก Added TgCrypto as core dependency for faster Pyrogram operations

Changed๏ƒ

  • Improved async/sync compatibility across all adapters

  • Streamlined error handling with clearer, more informative messages

  • Optimized memory usage and faster library initialization

  • Simplified webhook processing pipeline for better performance

Improved๏ƒ

  • Better separation of concerns in core modules

  • Enhanced debugging capabilities with more detailed error information

  • Reduced memory footprint and improved startup time

  • More robust validation and error recovery mechanisms

Security๏ƒ

  • Enhanced input validation with stricter security checks

  • Improved webhook signature verification

  • Additional security layers for payment processing

  • Better protection against common attack vectors

Migration Guide๏ƒ

  • Review error handling code for potential exception type changes

  • Update custom implementations to handle enhanced validation

  • Ensure webhook endpoints are compatible with new security checks

[2.4.0] - 2025-09-04๏ƒ

Added๏ƒ

  • ๐Ÿ†• Official BotAPIAdapter for Telegram Bot API support

  • โœ… Full async and sync compatibility across all adapters

  • ๐Ÿ”’ Enhanced security with stricter input validation

  • ๐Ÿ›ก๏ธ Webhook signature verification and timestamp validation

  • ๐Ÿ“š Streamlined English-only documentation

  • โšก Further complexity reduction while maintaining security

Changed๏ƒ

  • Standardized adapters for both async and sync usage

  • Unified payload handling across all adapters

  • Improved error handling and performance across all modules

Breaking Changes๏ƒ

  • BotAPIAdapter introduces a slightly different async callback mechanism

  • All adapters now require explicit setup for payment handlers

  • PaymentStage validation stricter: title โ‰ค 32 chars, description โ‰ค 255 chars

Migration Guide๏ƒ

  • Use BotAPIAdapter for official Telegram Bot API integration

  • Ensure explicit registration of payment handlers for all adapters

  • Review updated PaymentStage validation rules

[2.3.0] - 2025-08-29๏ƒ

Removed๏ƒ

  • BREAKING: Complete removal of localization system

  • Removed neonpay/localization.py module

  • Removed LocalizationManager class

  • Removed Language enum

  • Removed all translation files

  • Removed multilingual documentation

  • Removed language parameter from all adapters

  • Removed localization imports from base adapter and webhooks

  • Removed localization dependencies from tests and examples

Changed๏ƒ

  • BREAKING: All error messages and user-facing text now in English only

  • Simplified PaymentAdapter base class (no language parameter)

  • Simplified all framework adapters (Aiogram, Pyrogram, PTB, Telebot)

  • Reduced library complexity by ~40% while maintaining all core functionality

  • Updated examples to use static English text instead of localization system

Improved๏ƒ

  • Faster library initialization (no translation loading)

  • Reduced memory footprint

  • Cleaner, more focused codebase

  • Better maintainability

Migration Guide๏ƒ

  • Remove any language parameters from adapter constructors

  • Replace localized error handling with English-only messages

  • Update custom implementations that relied on localization features

[2.2.0] - 2025-04-18๏ƒ

Added๏ƒ

  • ๐Ÿ”’ Enhanced security with comprehensive input validation

  • ๐Ÿ›ก๏ธ Webhook signature verification and timestamp validation

  • โœ… Improved async/sync handling for all adapters

  • ๐Ÿงช Comprehensive security testing suite

  • ๐Ÿ“š Complete security documentation and guides

Changed๏ƒ

  • BREAKING: PaymentStage validation enforces stricter limits

  • BREAKING: WebhookHandler now requires WebhookVerifier for security

  • BREAKING: NeonPayCore constructor parameters changed

Improved๏ƒ

  • ๐Ÿš€ Performance improvements and better error handling

  • Better async/sync compatibility across all adapters

[2.1.0] - 2024-12-18๏ƒ

Added๏ƒ

  • Simplified architecture

  • Cleaner API design

Removed๏ƒ

  • Unnecessary complexity in core modules

[2.0.0] - 2024-12-17๏ƒ

Added๏ƒ

  • Major security improvements

  • Enhanced validation system

  • Webhook security features

  • Comprehensive testing suite

Changed๏ƒ

  • BREAKING: Enhanced security requirements

  • Improved error handling

[1.0.0] - 2024-12-16๏ƒ

Added๏ƒ

  • Initial release with basic functionality

  • Support for Aiogram, Pyrogram, python-telegram-bot, and pyTelegramBotAPI

  • Basic payment processing

  • Webhook handling

  • Multi-stage payment support