v0.1.0
Added
-
CI: Integrated Codecov for test coverage tracking
- Added coverage collection to CI workflow (
dart test --coverage) - Added automatic upload to Codecov with
codecov-action@v5 - Added
codecov.ymlconfiguration with ignore rules for generated code - Added coverage badge to README.md
- Added coverage collection to CI workflow (
-
Testing: Added 160+ tests across all domains based on Java codebase reference
-
Testing: Enhanced test coverage for HTTP module
- Added
test/http/terminal_local/connection_options_test.dart- 6 tests for TerminalLocalConnectionOptions - Added
test/http/terminal_local/connection_factory_test.dart- 7 tests for connection factory - Added
test/http/terminal_local/sni_config_test.dart- 5 tests for SNI configuration - Added
test/http/client/default_client_test.dart- 10 tests for DefaultHttpClient (including redirect hostname validation) - Added
test/http/client/terminal_local_client_test.dart- 3 tests for TerminalLocalHttpClient - Added
test/http/exceptions/exception_parser_test.dart- 36 tests for exception parsing - Total: 67 new tests improving coverage across
terminal_local(from 3.57%),client(from 54.70%), andexceptions(from 70.97%) test/security/nexo_crypto_test.dart- NEXO cryptographic operationstest/mocks/- Reusable mock data templates (common responses, errors, terminal)- Balance Platform: +31 tests
- Checkout/Payment: +32 tests
- Terminal & POS: +20+ tests
- Management/Legal Entity: +13 tests
- Webhooks: +12 tests
- Data Services: +6 tests
- Specialized Services: +10 tests
- Added
Changed
- Testing: Unified test assertion style (replaced
try-catch-failwithexpectLater+throwsA) - Project: Updated project rules and documentation
- Updated dart version requirement to target latest version using fvm
- Clarified dart command execution using
fvm dart <command> - Added verification requirements for
dart format,dart analyze, anddart test - Added CHANGELOG.md update requirement using "Keep a Changelog" format
Fixed
-
Testing: Fixed browser compatibility for HMAC validator and notification webhook tests
- Inlined JSON fixture data to remove
dart:iofile system dependencies - Removed
@TestOn('vm')platform restrictions, enabling tests to run on both VM and Chrome - Deleted obsolete fixture files from
test/fixtures/notification/
- Inlined JSON fixture data to remove
-
Code Organization: Refactored HTTP module structure for improved maintainability
- Reorganized into subdirectories:
client/,exceptions/,headers/,models/,terminal_local/,dio/ - Renamed
RequestOptionstoAdyenRequestOptionsto avoid naming conflicts with Dio
- Reorganized into subdirectories:
-
CI: Added ripgrep installation to resolve
rg: command not foundwarnings ingenerate_model_exports.sh
Pub.dev: Published at https://pub.dev/packages/adyen_api