This is the merge from master after v13.0.0. It removes Preview from beta as well in favor of raw request.
Added deprecation warnings in stripe.rb
I also codegenned as part of this, but shouldn't cause any issues.
Changelog
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:
Why?
This is the merge from master after v13.0.0. It removes Preview from beta as well in favor of raw request.
stripe.rb
I also codegenned as part of this, but shouldn't cause any issues.
Changelog
Stripe::Preview
. UseStripeClient#raw_request
instead (see below).Marked
Stripe.raw_request
andStripe.deserialize
as deprecated. UseStripeClient#raw_request
andStripeClient#deserialize
instead. In StripeClient, the params and opts parameters are passed as keyword arguments: