mirror of
https://github.com/stripe/stripe-ruby.git
synced 2025-10-04 00:00:47 -04:00
Bump version to 15.1.0-beta.1
This commit is contained in:
parent
4363db9426
commit
4c5bd6af25
31
CHANGELOG.md
31
CHANGELOG.md
@ -1,5 +1,24 @@
|
||||
# Changelog
|
||||
|
||||
## 15.1.0-beta.1 - 2025-04-10
|
||||
* [#1569](https://github.com/stripe/stripe-ruby/pull/1569) Update generated code for beta
|
||||
|
||||
### Breaking changes
|
||||
* Change type of `V2MoneyManagementReceivedDebit.status_transitions` from `an object` to `nullable(an object)`
|
||||
|
||||
### Additions
|
||||
* Add support for new resources `Privacy::RedactionJobRootObjects`, `Privacy::RedactionJobValidationError`, and `Privacy::RedactionJob`
|
||||
* Add support for `cancel`, `create`, `list`, `retrieve`, `run`, `update`, and `validate` methods on resource `RedactionJob`
|
||||
* Add support for `list` and `retrieve` methods on resource `RedactionJobValidationError`
|
||||
* Add support for `minority_owned_business_designation` on `Account::BusinessProfile`, `Account::CreateParams::BusinessProfile`, and `Account::UpdateParams::BusinessProfile`
|
||||
* Add support for `export_tax_transactions` and `payment_disputes` on `AccountSession::CreateParams::Component`
|
||||
* Add support for `wallet_options` on `CheckoutSession::CreateParams` and `CheckoutSession`
|
||||
* Add support for `klarna` on `PaymentMethodDomain`
|
||||
* Change type of `TaxCalculationLineItem.reference` from `nullable(string)` to `string`
|
||||
* Add support for `in` on `TaxRegistration::CountryOption` and `TaxRegistration::CreateParams::CountryOption`
|
||||
* [#1572](https://github.com/stripe/stripe-ruby/pull/1572) Handle external_account field
|
||||
- Changes `external_account` field in `external_accounts.create` from a `string` to a union type.
|
||||
|
||||
## 15.0.0 - 2025-04-09
|
||||
|
||||
### Breaking change
|
||||
@ -10,12 +29,12 @@
|
||||
* [#1576](https://github.com/stripe/stripe-ruby/pull/1576) Explicitly pass through custom headers in retrieve
|
||||
* Fix custom options passing for resource-based retrieve
|
||||
* [#1571](https://github.com/stripe/stripe-ruby/pull/1571) Validate all instance variable keys returned from the API
|
||||
* Validate all keys returned from the API, including custom response fields, to make sure they can be set in an instance variable, as brought up in https://github.com/stripe/stripe-ruby/issues/1564
|
||||
* We do not set instance variables for invalid field names (as defined by the [Ruby spec](https://ruby-doc.org/docs/ruby-doc-bundle/Manual/man-1.4/syntax.html#ident)). We recommend for custom hash map response fields, use the `[]` accessor.
|
||||
```ruby
|
||||
c = client.v1.customers.retrieve("cus_123")
|
||||
c.metadata["invalid-variable-name!"]
|
||||
c.metadata["valid_key_name_works_too"]
|
||||
* Validate all keys returned from the API, including custom response fields, to make sure they can be set in an instance variable, as brought up in https://github.com/stripe/stripe-ruby/issues/1564
|
||||
* We do not set instance variables for invalid field names (as defined by the [Ruby spec](https://ruby-doc.org/docs/ruby-doc-bundle/Manual/man-1.4/syntax.html#ident)). We recommend for custom hash map response fields, use the `[]` accessor.
|
||||
```ruby
|
||||
c = client.v1.customers.retrieve("cus_123")
|
||||
c.metadata["invalid-variable-name!"]
|
||||
c.metadata["valid_key_name_works_too"]
|
||||
```
|
||||
* [#1575](https://github.com/stripe/stripe-ruby/pull/1575) Remove unused youtube playlist link
|
||||
* [#1573](https://github.com/stripe/stripe-ruby/pull/1573) Remove link for stale youtube video playlist
|
||||
|
@ -1,5 +1,5 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
module Stripe
|
||||
VERSION = "14.1.0-beta.1"
|
||||
VERSION = "15.1.0-beta.1"
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user