diff --git a/CHANGELOG.md b/CHANGELOG.md index 7ae4cc7..3ee8b24 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,51 @@ # Changelog +## 0.1.8 + +> Added + +- **INTRA Payment Support**: Full support for European inter-bank transfers + - BIC/SWIFT code support for INTRA hostname + - Dynamic account number type (int for ACH, String for INTRA) + - Support for alphanumeric account numbers (e.g., hexadecimal addresses) + - Comprehensive test coverage for INTRA payments + +> Changed + +- Updated `accountNumber` property to support both ACH (int) and INTRA (String) payments +- Updated `BIC` property to support `intra` hostname alongside `bic` and `iban` +- Updated `PaytoJson` model to support dynamic account numbers + +## 0.1.7 + +> Added + +- **Language/Locale Support**: Strict validation and case preservation + - Regex-based validation: `/^[a-z]{2}(-[a-z]{2}|-[A-Z]{2})?$/` + - Case preservation (no automatic normalization) + - Valid formats: `en`, `en-us`, `en-US` + - Invalid formats: `EN`, `En-Us`, `en-Us`, `EN-US` (validates strict format) +- **Mode Parameter**: Payment mode specification + - Support for `mode` query parameter (e.g., 'qr', 'nfc', 'card') + - Automatic lowercase normalization on getter + - JSON serialization support +- **Enhanced Geographic Coordinates**: High-precision support + - Increased precision from 6 to 9 decimal places + - Sub-millimeter accuracy for geographic applications + - Support for coordinates with 1-9 decimal places + +> Changed + +- Language validation now uses strict regex pattern +- Language values preserve original case (no lowercasing) +- Geographic coordinate regex updated to support 9 decimal places + +> Fixed + +- Improved validation error messages for language codes +- Fixed color property getters/setters +- Updated JSON object conversion to include all new properties + ## 0.1.1 - Updated pubspec.yaml @@ -9,7 +55,7 @@ Initial release of Flutter PaytoRL ๐ŸŽ‰ -### Features +> Features - ๐ŸŽฏ Full Dart/Flutter implementation of PaytoRL - ๐Ÿ”„ Conversion from TypeScript to Flutter @@ -17,7 +63,7 @@ Initial release of Flutter PaytoRL ๐ŸŽ‰ - ๐Ÿงช Comprehensive test coverage - ๐Ÿ“š Complete API documentation -### Added +> Added - Core `Payto` class implementation - Payment URL parsing and manipulation @@ -33,7 +79,7 @@ Initial release of Flutter PaytoRL ๐ŸŽ‰ - Platform-specific implementations - Example Flutter application -### Developer Experience +> Developer Experience - Zero external dependencies - Tree-shaking support @@ -42,7 +88,7 @@ Initial release of Flutter PaytoRL ๐ŸŽ‰ - Detailed API documentation - Example usage in README -### Documentation +> Documentation - Full API reference - Usage examples diff --git a/pubspec.yaml b/pubspec.yaml index ff02f29..d057894 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: flutter_paytorl description: A Flutter library for handling Payto Resource Locators (PRLs). Based on the URL API and provides additional functionality for managing PRLs. -version: 0.1.7 +version: 0.1.8 homepage: https://github.com/bchainhub/flutter_paytorl repository: https://github.com/bchainhub/flutter_paytorl documentation: https://github.com/bchainhub/flutter_paytorl#readme