Releases: Midtrans/midtrans-java
Releases · Midtrans/midtrans-java
v3.2.1
v3.2.0
v3.1.4 Deprecated initiate config via config constructor
- Deprecated several config constructors
- Update JavaDocs
- Update readme on section alternative way to initiate object
v3.1.3 Add concurrent tests in the unit test and Bumps junit from 4.12 to 4.13.1.
- Bumps junit from 4.12 to 4.13.1.
- Add concurrent tests for config in the unit test
- Update wording and grammar readme on Client Initialization and Configuration
- Update Midtrans account for unit test
- Add example of usage method that is safe for concurrent/multi-thread Java implementation
v3.1.2 Fix can't parse using charset=utf8 in some payment channels
- Fix can't parse using charset=utf8 in some payment channels
- Iris update the account bank for test
- Add test success charge scenario for Parmata VA
v3.1.1 add subscription and gopay tokenization API
Feature:
• add subscription and gopay tokenization API
• add sample tokenization controller for SDK Client
Fix Bug:
• fix error handling from midtrans satus_code
• fix logging interceptor not print custom header
v3.0.0
Feature:
- new static method CoreApi, SnapApi, IrisApi, TransactionApi
- can change, TimeUnit for HTTP connection settings
- can set global config via Midtrans class
- can add custom headers with config class
- validation for server-key empty, contain whitespace
Improvement:
- handle okhttp raw error/exception via MidtransError exception class
Notable changes:
- Migrate from retrofit to okhttp as HTTP client
- Migrate repo host from jcenter/bintray to maven central
v2.1.1
Feature:
- API Iris disbursement
- Payment BIN API
- Set Connection Pool & Keep alive connection
- Set header
X-Idempotency-key
for Iris andIdempotency-Key
for Payment - Set
X-Append-Notification
: to add new notification url(s) alongside the settings on dashboard - Set
X-Override-Notification
: to use new notification url(s) disregarding the settings on dashboard - Library version on
User-Agent
header
Improvement:
- Change logic for setup headers
- Remove versioning path from base URL, move to String API_VERSION in CoreAPI, SnapAPI interface class
- Improve conditional logic for HttpLoggingInterceptors. Now all debugging response will be handled only from HttpLoggingInterceptors Which can show logs request and response information
Bugs fix:
- Failure/error response from Midtrans api result in empty json.