Bump version to 13.1.0-beta.1

This commit is contained in:
Ramya Rao 2024-10-03 16:23:58 -07:00
parent 41f5d0a594
commit 5e3db6ff02
3 changed files with 17 additions and 2 deletions

View File

@ -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

View File

@ -1 +1 @@
12.7.0-beta.2
13.1.0-beta.1

View File

@ -1,5 +1,5 @@
# frozen_string_literal: true
module Stripe
VERSION = "12.7.0-beta.2"
VERSION = "13.1.0-beta.1"
end