Compare commits

..

No commits in common. "0075550ff8e668d812c2af78a6fdf0c7b998d84f" and "4143d3930decb890a4df7072e3d600a876d250cd" have entirely different histories.

6 changed files with 6 additions and 23 deletions

View File

@ -1,27 +1,10 @@
# Changelog
## 8.6.0-beta.1 - 2023-03-30
* [#1202](https://github.com/stripe/stripe-ruby/pull/1202) Update generated code for beta
## 8.5.0 - 2023-03-30
* [#1203](https://github.com/stripe/stripe-ruby/pull/1203) Update generated code
* Remove support for `create` method on resource `Tax.Transaction`
* This is not a breaking change, as this method was deprecated before the Tax Transactions API was released in favor of the `create_from_calculation` method.
* [#1201](https://github.com/stripe/stripe-ruby/pull/1201) Update save deprecation message
## 8.5.0-beta.1 - 2023-03-23
* [#1194](https://github.com/stripe/stripe-ruby/pull/1194) Update generated code for beta (new)
* Add support for new resources `Tax.CalculationLineItem` and `Tax.TransactionLineItem`
* Add support for `collect_inputs` method on resource `Terminal.Reader`
## 8.4.0 - 2023-03-23
* [#1197](https://github.com/stripe/stripe-ruby/pull/1197) Update generated code (new)
* Add support for new resources `Tax.CalculationLineItem`, `Tax.Calculation`, `Tax.TransactionLineItem`, and `Tax.Transaction`
* Add support for `create` and `list_line_items` methods on resource `Calculation`
* Add support for `create_from_calculation`, `create_reversal`, `create`, `list_line_items`, and `retrieve` methods on resource `Transaction`
* [#1152](https://github.com/stripe/stripe-ruby/pull/1152) Symbolize hash keys inside `convert_to_stripe_object_with_params`
## 8.4.0-beta.4 - 2023-03-16
* [#1189](https://github.com/stripe/stripe-ruby/pull/1189) Update generated code for beta (new)
* Add support for `create_from_calculation` method on resource `Tax.Transaction`

View File

@ -1 +1 @@
v287
v277

View File

@ -1 +1 @@
8.6.0-beta.1
8.5.0-beta.1

View File

@ -72,9 +72,7 @@ module Stripe
initialize_from(resp.data, opts)
end
extend Gem::Deprecate
deprecate :save, "the `update` class method (for examples"\
" see https://github.com/stripe/stripe-ruby"\
"/wiki/Migration-guide-for-v8)", 2022, 11
deprecate :save, :update, 2022, 11
def self.included(base)
# Set `metadata` as additive so that when it's set directly we remember

View File

@ -5,6 +5,8 @@ module Stripe
module Tax
# A Tax transaction records the tax collected from or refunded to your customer.
class Transaction < APIResource
extend Stripe::APIOperations::Create
OBJECT_NAME = "tax.transaction"
def list_line_items(params = {}, opts = {})

View File

@ -1,5 +1,5 @@
# frozen_string_literal: true
module Stripe
VERSION = "8.6.0-beta.1"
VERSION = "8.5.0-beta.1"
end