mirror of
https://github.com/stripe/stripe-ruby.git
synced 2025-10-05 00:02:50 -04:00
Bump version to 13.1.0-beta.1
This commit is contained in:
parent
41f5d0a594
commit
5e3db6ff02
15
CHANGELOG.md
15
CHANGELOG.md
@ -1,5 +1,20 @@
|
||||
# Changelog
|
||||
|
||||
## 13.1.0-beta.1 - 2024-10-03
|
||||
* [#1465](https://github.com/stripe/stripe-ruby/pull/1465) Updates to the `Preview` class
|
||||
* Remove `Stripe::Preview`. Use `StripeClient#raw_request` instead (see below).
|
||||
* Marked `Stripe.raw_request` and `Stripe.deserialize` as deprecated. Use `StripeClient#raw_request` and `StripeClient#deserialize` instead. In StripeClient, the params and opts parameters are passed as keyword arguments:
|
||||
```ruby
|
||||
# Before
|
||||
resp = Stripe.raw_request(:post, "v1/charges", , {p1: "p1"}, {stripe_account: "acct_123"})
|
||||
charge = Stripe.deserialize(resp.data)
|
||||
|
||||
# After
|
||||
client = StripeClient.new("sk_test_123")
|
||||
resp = client.raw_request(:post, "/v1/charges", params: {p1: "p1"}, opts: {stripe_account: "acct_123"})
|
||||
charge = client.deserialize(resp.data)
|
||||
```
|
||||
|
||||
## 13.0.0 - 2024-10-01
|
||||
* [#1458](https://github.com/stripe/stripe-ruby/pull/1458) Support for APIs in the new API version 2024-09-30.acacia
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
module Stripe
|
||||
VERSION = "12.7.0-beta.2"
|
||||
VERSION = "13.1.0-beta.1"
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user