airwallex 0.13.0 → 0.13.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/lib/airwallex/client.rb +1 -4
- data/lib/airwallex/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 126ca75d54129090ebdadf96078dcef874729be6220aa493e11398242a367c99
|
|
4
|
+
data.tar.gz: a8633b21e519c273c93ee09ff38b1b16129a6ada46b2d8dd35351535c85ad3d8
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: '002937d665373dece7a972fe8efffb8c824c80b81b6963d6922d1c52c480cf8b08b171c0133f085f6e2156039c20bce1f144452825c7c0c2bde9d13911497405'
|
|
7
|
+
data.tar.gz: 4f42d888d64cf1f63b4b8efd60857e2dffb46e6c1e6a1a756f981d400a83298b56bd19977368e12d724546dc7701e03ee73230d95d4c22d27dcbda30798dfef6
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
## [Unreleased]
|
|
2
2
|
|
|
3
|
+
## [0.13.1] - 2026-10-27
|
|
4
|
+
|
|
5
|
+
### Fixed
|
|
6
|
+
|
|
7
|
+
- 429 and 5xx responses now raise `Airwallex::RateLimitError` /
|
|
8
|
+
`Airwallex::APIError` with Airwallex's code and message. Before this, they
|
|
9
|
+
escaped as a blank `Faraday::RetriableResponse`, because `retry_options` left
|
|
10
|
+
it out of `exceptions`. This also means GET and DELETE are now really retried
|
|
11
|
+
on 429/5xx (up to 3 retries). POST, PUT and PATCH are still never resent
|
|
12
|
+
|
|
3
13
|
## [0.13.0] - 2026-10-21
|
|
4
14
|
|
|
5
15
|
### Added
|
data/lib/airwallex/client.rb
CHANGED
|
@@ -126,10 +126,7 @@ module Airwallex
|
|
|
126
126
|
interval_randomness: 0.5,
|
|
127
127
|
backoff_factor: 2,
|
|
128
128
|
methods: %i[get delete],
|
|
129
|
-
exceptions: [
|
|
130
|
-
Faraday::TimeoutError,
|
|
131
|
-
Faraday::ConnectionFailed
|
|
132
|
-
],
|
|
129
|
+
exceptions: [Faraday::TimeoutError, Faraday::ConnectionFailed, Faraday::RetriableResponse],
|
|
133
130
|
retry_statuses: [429, 500, 502, 503, 504]
|
|
134
131
|
}
|
|
135
132
|
end
|
data/lib/airwallex/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: airwallex
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.13.
|
|
4
|
+
version: 0.13.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Chayut Orapinpatipat
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-10-
|
|
11
|
+
date: 2026-10-27 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: faraday
|