Skip to content

Commit

Permalink
Bump version to 13.1.0-beta.1
Browse files Browse the repository at this point in the history
  • Loading branch information
ramya-stripe committed Oct 3, 2024
1 parent 41f5d0a commit 5e3db6f
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 2 deletions.
15 changes: 15 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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

Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
12.7.0-beta.2
13.1.0-beta.1
2 changes: 1 addition & 1 deletion lib/stripe/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# frozen_string_literal: true

module Stripe
VERSION = "12.7.0-beta.2"
VERSION = "13.1.0-beta.1"
end

0 comments on commit 5e3db6f

Please sign in to comment.