# Changelog

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

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [1.0.0] - 2024-01-XX

### Added
- Initial release of Laravel Snap BI Library
- Support for multiple banks (OCBC, BCA, Mandiri, CIMB)
- Virtual Account services (Inquiry, Payment, Update Status, Inquiry Status, Transfer, Notify Payment Intrabank)
- B2B Access Token service
- Response builder dengan format SNAP BI
- Error handling dengan HTTP code dan case code
- Signature utilities (Auth dan Service)
- Header utilities
- Auto-registration dari Laravel config
- Backward compatibility untuk penggunaan tanpa bank
- Comprehensive test suite

### Features
- Polymorphism-based architecture
- DRY (Don't Repeat Yourself) principle
- Multiple bank support dengan config management
- Flexible service invocation (helper function, static method, for() method)
- Default error messages untuk setiap kombinasi HTTP code dan case code
- Support untuk placeholder replacement di error messages ({field_name}, [reason])

