stripe 12.2.0 → 12.3.0
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 +5 -15
- data/VERSION +1 -1
- data/lib/stripe/api_operations/request.rb +4 -0
- data/lib/stripe/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: 4a00e14e5014979dd01bf2ee04f9c4d17324e114d958e2e58c8ae5aca08ba3ee
|
4
|
+
data.tar.gz: addcf65c934bd34e31237a68701ec8c57ce6197f82d375f0a06a3b25ccbd4e96
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 253f87e80225c84cb256cbce9994c6b582b3386f510e8be1cda377c2490058340459ccdc933b6b883ba3d5ad2ad0ba9650aa0068d61e78940719ac783ebb51d7
|
7
|
+
data.tar.gz: e6c6b6cab061673142fdb50f41c71aa31f99c20854f7d0f748995dfa9e623a6b3e6d9b40681ed42c3b519c103e698d7667fa874ced3df25fb373505e4a9ec240
|
data/CHANGELOG.md
CHANGED
@@ -1,4 +1,8 @@
|
|
1
1
|
# Changelog
|
2
|
+
## 12.3.0 - 2024-07-18
|
3
|
+
* [#1436](https://github.com/stripe/stripe-ruby/pull/1436) Fixed changelog for major release 12.0.0
|
4
|
+
* [#1435](https://github.com/stripe/stripe-ruby/pull/1435) Add deprecation warning for `APIResource.request`
|
5
|
+
|
2
6
|
## 12.2.0 - 2024-07-12
|
3
7
|
* [#1430](https://github.com/stripe/stripe-ruby/pull/1430) Update generated code
|
4
8
|
|
@@ -27,21 +31,7 @@
|
|
27
31
|
* [#1419](https://github.com/stripe/stripe-ruby/pull/1419)
|
28
32
|
|
29
33
|
This release changes the pinned API version to 2024-06-20. Please read the [API Upgrade Guide](https://stripe.com/docs/upgrades#2024-06-20) and carefully review the API changes before upgrading.
|
30
|
-
|
31
|
-
### ⚠️ Breaking changes
|
32
|
-
|
33
|
-
* Singleton `retrieve` method now requires `params` to be passed as the first argument. Existing calls to singleton `retrieve` method with only `opts` argument will have to be updated to account for the addition of `params` argument.
|
34
|
-
```ruby
|
35
|
-
params = { expand: ["available"] }
|
36
|
-
opts = { stripe_account: "acct_123" }
|
37
|
-
|
38
|
-
# ❌ No longer works
|
39
|
-
Stripe::Balance.retrieve(opts)
|
40
|
-
|
41
|
-
# ✅ Correct way to call retrieve method
|
42
|
-
Stripe::Balance.retrieve(params, opts)
|
43
|
-
```
|
44
|
-
|
34
|
+
|
45
35
|
### Additions
|
46
36
|
|
47
37
|
* Add support for `finalize_amount` test helper method on resource `Issuing.Authorization`
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
12.
|
1
|
+
12.3.0
|
@@ -78,6 +78,8 @@ module Stripe
|
|
78
78
|
# place for backwards compatibility. Consider removing it on the next
|
79
79
|
# major.
|
80
80
|
alias request execute_resource_request
|
81
|
+
extend Gem::Deprecate
|
82
|
+
deprecate :request, "Stripe.raw_request", 2024, 7
|
81
83
|
|
82
84
|
private def error_on_non_string_user_opts(opts)
|
83
85
|
Util::OPTS_USER_SPECIFIED.each do |opt|
|
@@ -134,6 +136,8 @@ module Stripe
|
|
134
136
|
|
135
137
|
# See notes on `alias` above.
|
136
138
|
alias request execute_resource_request
|
139
|
+
extend Gem::Deprecate
|
140
|
+
deprecate :request, "Stripe.raw_request", 2024, 7
|
137
141
|
end
|
138
142
|
end
|
139
143
|
end
|
data/lib/stripe/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: stripe
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 12.
|
4
|
+
version: 12.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Stripe
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-07-
|
11
|
+
date: 2024-07-18 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Stripe is the easiest way to accept payments online. See https://stripe.com
|
14
14
|
for details.
|