Skip to content

Latest commit

 

History

History
1092 lines (828 loc) · 69 KB

CHANGELOG.md

File metadata and controls

1092 lines (828 loc) · 69 KB

Changelog

34.17.0 - 2020-01-24

  • #1905 Add support for Shipping.Speed and Shipping.TrackingURL on Issuing Card

34.16.1 - 2020-01-22

  • #1902 Make OutOfBandAmount nullable on CreditNote
    • This is technically a breaking change, but we're releasing as a patch version as the non-nullable type made it impossible to deserialize credit_note objects in many cases.

34.16.0 - 2020-01-17

  • #1899 Add support for Metadata on Checkout Session

34.15.0 - 2020-01-15

  • #1895 Add support for PendingUpdate and ProrationBehavior on Subscription APIs.

34.14.0 - 2020-01-14

  • #1896 Add support for CreditNoteLineItem

34.13.0 - 2020-01-10

  • #1894 Fix sepa debit deserialization on MandatePaymentMethodDetails

34.12.0 - 2020-01-06

  • #1893 Add ReportingCategory to BalanceTransaction

34.11.0 - 2020-01-03

  • #1892 Improve support for SpendingLimits on Issuing Card

34.10.1 - 2020-01-03

  • #1891 Internal cleanup of the library to remove SharedOptions classes and define parameters in their respective Create or Update options classes.

34.10.0 - 2019-12-30

  • #1885 Add public Service.Client setter

34.9.0 - 2019-12-24

  • #1890 Add new() constraint to options generic types

34.8.0 - 2019-12-21

  • #1888 Adds ExecutivesProvided to Account

34.7.0 - 2019-12-19

  • #1887 Add support for Metadata and Livemode to Terminal Reader and Location

34.6.0 - 2019-12-17

  • #1881 Make StripeTypeRegistry.ObjectsToTypes dictionary public

34.5.0 - 2019-12-13

  • #1878 Mark Connect as obsolete on WebhookEndpoint and add documentation

34.4.0 - 2019-12-12

  • #1877 Add support for AuthorizationControls on Issuing Cardholder

34.3.0 - 2019-12-09

  • #1872 Add support for AU BECS Debit on PaymentMethod

34.2.0 - 2019-12-09

  • #1869 Add EventUtility.ValidateSignature method

34.1.0 - 2019-12-04

  • #1866 Add Network and GeneratedCard on Charge for card and card-present transactions

34.0.0 - 2019-12-03

  • #1838 Major version released with the following breaking changes in it:
    • #1863 ⚠️ Pin to API version 2019-12-03
    • #1837 ⚠️ Renamed ParametersOptions to ReportRunParametersOptions on ReportRun
    • #1841 ⚠️ Created is not be nullable anymore on any resource
    • #1852 ⚠️ Removed PhonNumber on Issuing Cardholder in favour of PhoneNumber and PersonalIdNumber on Person creation and update in favour of IdNumber
    • #1850 ⚠️ Rename a few options classes to have Options in the name instead of Option
      • InvoiceUpcomingInvoiceItemOption is now InvoiceUpcomingInvoiceItemOptions.
      • SubscriptionItemOption is now SubscriptionItemOptions.
      • SubscriptionItemUpdateOption is now merged into SubscriptionItemOptions.
    • #1851 Fix multiple TODOs in tests

33.9.0 - 2019-12-02

  • #1861 Allow filtering Invoices by Status

33.8.0 - 2019-11-26

  • #1856 Add support for CreditNote preview
  • #1855 Default optional options for custom actions to null
  • #1854 Add support for reverse auto-pagination passing EndingBefore

33.7.0 - 2019-11-25

  • #1849 Add support for OutOfBandAmount on CreditNote creation

33.6.0 - 2019-11-22

  • #1847 Add support for SubscriptionScheduleStartDate.Now

33.5.0 - 2019-11-21

  • #1845 Add PaymentIntent filter when listing Disputes

33.4.0 - 2019-11-19

  • #1842 Add support for ViolatedAuthorizationControls on Issuing Authorization

33.3.0 - 2019-11-07

  • #1835 Add support for Issuing Cardholder verification
  • #1836 stripe-mock Windows binary is now a ZIP

33.2.0 - 2019-11-06

  • #1831 Multiple API changes
    • Add Disputed to Charge
    • Add PaymentIntent to Refund and Dispute
    • Add Charge to DisputeListParams
    • Add PaymentIntent to RefundListParams and RefundParams

33.1.0 - 2019-11-06

  • #1830 Add support for iDEAL and SEPA debit on PaymentMethod

33.0.0 - 2019-11-05

  • #1826 Move to the latest API version and add new changes
    • Move to API version 2019-11-05
    • Add DefaultSettings on SubscriptionSchedule
    • Remove BillingThresholds, CollectionMethod, DefaultPaymentMethod and DefaultSource and invoice_settings from SubscriptionSchedule
    • OffSession on PaymentIntent is now always a boolean
    • Disabling using global settings when serializing or deserializing JSON.

32.2.0 - 2019-11-04

  • #1829 Add support for UseStripeSdk on PaymentIntent create and confirm

32.1.3 - 2019-10-28

  • #1824 Fix SucceededAt on ReportRun to be nullable
    • This is technically a breaking change, but we're releasing as a patch version as the non-nullable type made it impossible to deserialize report_run objects in many cases.

32.1.2 - 2019-10-24

  • #1822 Add missing Installments option in PaymentIntentPaymentMethodOptionsCardOptions

32.1.1 - 2019-10-24

  • #1821 Fix installments to use the correct type
  • #1820 Contributor Convenant

32.1.0 - 2019-10-23

  • #1819 Add support for PendingInvoiceItemInterval on Subscription
  • #1818 Add support for installments for MX accounts

32.0.0 - 2019-10-18

  • #1815 Multiple breaking changes:
    • Pin to the latest API version 2019-10-17
    • Remove RenewalBehavior on SubscriptionSchedule
    • Remove RenewalInterval as a parameter on SubscriptionSchedule

31.2.0 - 2019-10-17

  • #1814 Add various API changes
    • Requirements and IsDefault on Issuing Cardholder.
    • Fix the name of PhoneNumber on Issuing Cardholder.
    • PaymentMethodDetails.AuBecsDebit on Charge.
    • PaymentBehavior on SubscriptionItem creation is now supported.
    • SubscriptionData.TrialFromPlan is now supported on Checkout Session creation.

31.1.0 - 2019-10-10

  • #1813 Add support for Account and Person Token creation

31.0.0 - 2019-10-10

  • #1812 Remove the Card.ThreeDSecure property

30.1.0 - 2019-10-09

  • #1810 Add DeviceType filter when listing Terminal Readers

30.0.1 - 2019-10-09

  • #1809 Fix Quantity to be nullable on SubscriptionSchedulePhaseItem

30.0.0 - 2019-10-08

Pull requests included in this release (cf. #1694) (⚠️ = breaking changes):

  • #1675 ⚠️ Better string enums
  • #1699 ⚠️ Init options with forced parameter values
  • #1713 ⚠️ Remove various deprecated parameters and properties
  • #1715 ⚠️ Remove support for ExpandXXX on each service
  • #1736 ⚠️ Properly use SetupIntentPaymentMethodOptionsCardOptions in SetupIntentPaymentMethodOptionsOptions
  • #1738 ⚠️ Removed Id and FileId suffixes to stay as close to the API as possible
  • #1744 Add a test to ensure that JSON names match property names
  • #1739 ⚠️ Renaming a few more fields for consistency
  • #1751 Remove dead code for service expansions
  • #1752 Bump Stylecop.Analyzers to latest version
  • #1755 Bump SourceLink and create symbol package
  • #1788 Add a test to ensure all resources inherit from StripeEntity<> and fix all the ones not doing it yet
  • #1761 ⚠️ Add a wholesome test to ensure proper JSON converters are applied
  • #1802 ⚠️ Remove more deprecated stuff
  • #1803 ⚠️ Remove more Id/FileId suffixes
  • #1805 ⚠️ Rename SourceThreeDSecureCreateOptions.CardId to SourceThreeDSecureCreateOptions.Card
  • #1806 ⚠️ Fix ExternalAccountUpdateOptions
  • #1804 Enable test for JSON<->property name consistency
  • #1807 ⚠️ Rename AccountOpener to Representative and move to latest API version 2019-10-08

29.6.0 - 2019-10-03

  • #1800 Add PaymentIntentCanceled and SetupIntentCanceled constants
  • #1799 Start testing .NET Core 3.0
  • #1798 Exclude auto-implemented properties from code coverage

29.5.0 - 2019-09-27

  • #1797 Support Status filter when listing Terminal Readers

29.4.0 - 2019-09-26

  • #1794 Add support for FPX payment method

29.3.0 - 2019-09-25

  • #1789 Add Last4 in AU BECS Source

29.2.1 - 2019-09-23

  • #1791 Add support for Stripe-Should-Retry header

29.2.0 - 2019-09-19

  • #1786 Properly pass the type in StripeEntity

29.1.0 - 2019-09-13

  • #1785 Properly name UnitAmountDecimal on PlanTier

29.0.1 - 2019-09-12

  • #1783 Allow VoidedAt on CreditNote to be nullable
    • This is technically a breaking change, but we're releasing as a patch version as the non-nullable type made it impossible to deserialize credit_note objects in most cases.

29.0.0 - 2019-09-10

28.11.0 - 2019-09-09

  • #1778 Changes to Account and Person for identity verification

28.10.0 - 2019-09-04

  • #1775 Add support for Authentication and Url on Issuing Authorization

28.9.0 - 2019-09-03

  • #1774 Add decimal properties to PlanTierOptions

28.8.0 - 2019-08-29

  • #1770 Add support for EndBehavior on SubscriptionSchedule

28.7.0 - 2019-08-29

  • #1771 Add StripeConfiguration.EnableTelemetry flag

28.6.0 - 2019-08-26

  • #1767 Add PendingVerification on Account, Person and Capability

28.5.0 - 2019-08-22

  • #1763 Add support for decimal amounts on InvoiceItem and Plan and missing Period

28.4.0 - 2019-08-21

  • #1758 A few Billing changes
    • Add support for Schedule to Subscription
    • Add missing parameters to UpcomingInvoiceOptions and UpcomingInvoiceListLineItemsOptions: Schedule, SubscriptionCancelAt and SubscriptionCancelNow
    • Add missing properties and parameters for a SubscriptionSchedule phase: BillingThresholds, CollectionMethod, DefaultPaymentMethod and InvoiceSettings
  • #1760 Add support for Mode and SetupIntent on Checkout Session

28.3.0 - 2019-08-20

  • #1756 Add missing StartDate parameter for SubscriptionSchedule Update

28.2.0 - 2019-08-16

  • #1750 Make ChargePaymentMethodDetailsCard.Moto nullable

28.1.0 - 2019-08-15

  • #1748
    • Add support for PIN on Issuing Card to reflect the status of a card's PIN
    • Add support for Executive on Person create, update and list

28.0.0 - 2019-08-14

  • #1747 Move to API version 2019-08-14
    • Rename platform_payments to transfers in Account
    • Introduce executive as a relationship on Person
  • #1746 Fix argument names in SetupIntentService methods

27.25.1 - 2019-08-14

  • #1745 Fix duplicate expand values issue

27.25.0 - 2019-08-14

  • #1742 Support passing Metadata on BankAccount creation

27.24.0 - 2019-08-09

  • #1734 Remove SubscriptionScheduleRevision.
    • Note that this is technically a breaking change, however we've chosen to release it as a minor version in light of the fact that this resource and its API methods were virtually unused.

27.23.0 - 2019-08-08

  • #1732
    • Add support for PaymentMethodDetails.Card.Moto on Charge
    • Add support StatementDescriptorSuffix on Charge and PaymentIntent
    • Add support SubscriptionData.ApplicationFeePercent on Checkout Session

27.22.0 - 2019-08-08

  • #1733 Add missing IHas* interfaces everywhere

27.21.0 - 2019-08-01

  • #1723 Add support for Klarna on Sources

27.20.0 - 2019-07-31

  • #1727 Add missing Radar events

27.19.0 - 2019-07-30

  • #1724 Move the List BalanceTransaction API to /v1/balance_transactions

27.18.0 - 2019-07-26

  • #1722 Add support for Metadata on SubscriptionItemOption

27.17.0 - 2019-07-25

  • #1719 Add support for Authenticated on Charge for 3DS results in ChargePaymentMethodDetailsCardThreeDSecure

27.16.1 - 2019-07-23

  • #1718 Fix NullReferenceException when auto-paginating without parameters

27.16.0 - 2019-07-22

  • #1716 Add support for StatementDescriptor on PaymentIntent capture

27.15.0 - 2019-07-19

  • #1711 Add Customer filter when listing CreditNote
  • #1712 Add OffSession parameter when updating SubscriptionItem

27.14.1 - 2019-07-18

  • #1703 Ignore null elements when autopaginating

27.14.0 - 2019-07-17

  • #1710 Add support for VoidedAt on CreditNote

27.13.0 - 2019-07-15

  • #1708 Add support for PaymentMethodOptions on PaymentIntent and SetupIntent

27.12.0 - 2019-07-15

  • #1706 Various changes relaed to SCA for Billing
    • Add support for PendingSetupIntent on Subscription
    • Add support for PaymentBehavior on Subscription creation and update
    • Add support for PaymentBehavior on SubscriptionItem update
    • Add support for OffSession when paying an Invoice
    • Add support for OffSession on Subscription creation and update

27.11.0 - 2019-07-11

  • #1705 Fix missing interfaces

27.10.0 - 2019-07-09

  • #1696 Add support for Confirm and ReturnUrl on SetupIntent creation

27.9.1 - 2019-07-09

  • #1702 Don't create AnyOf instances with null values

27.9.0 - 2019-07-05

  • #1687 Add support for SetupFutureUsage on PaymentIntent update and confirm
  • #1693 Add support for SetupFutureUsage on Checkout Session

27.8.1 - 2019-07-03

  • #1689 Add documentation for the PaymentIntent resource and APIs

27.8.0 - 2019-07-02

  • #1688 Remove Equals and GetHashCode methods from AnyOf

27.7.0 - 2019-07-02

  • #1679 Add CollectionMethod for Invoice and Subscription

27.6.0 - 2019-07-01

  • #1686 Allow OffSession to be a bool or a string on PaymentIntent creation and confirmation

27.5.0 - 2019-07-01

  • #1682 Add support for the SetupIntent resource and APIs
  • #1684 Add DefaultSource and DefaultPaymentMethod on SubscriptionSchedule

27.4.0 - 2019-06-26

  • #1680 Allow null API key in StripeClient

27.3.2 - 2019-06-20

  • #1671 Use own JSON encoding options for telemetry data

27.3.1 - 2019-06-17

  • #1668 Manually enable TLS 1.2 for .NET Framework 4.5

27.3.0 - 2019-06-17

  • #1606 Add support for CustomerBalanceTransaction resource and APIs

27.2.0 - 2019-06-14

  • #1664 Add support for MerchantAmount MerchantCurrency to Issuing Transaction
  • #1665 Add support for SubmitType to Checkout Session

27.1.3 - 2019-06-12

  • #1660 Fix possible NRE in expandable field accessors
  • #1661 Fix handling of null values with AnyOf

27.1.2 - 2019-06-10

  • #1658 Add ConfigureAwait(false) to all async calls

27.1.1 - 2019-06-10

  • #1656 Fix JSON property name for Person.IdNumberProvided
  • #1657 Fix file creation requests

27.1.0 - 2019-06-10

  • #1655 Add setters for expandable fields properties

27.0.0 - 2019-06-07

Major version release. Refer to our migration guide for v27 for a list of backwards incompatible changes to watch out for.

Pull requests included in this release (cf. #1482):

  • #1480 Remove unnecessary uses of Mapper
  • #1478 Better serialization
  • #1483 Standardize signature of OAuthTokenService.Deauthorize
  • #1484 New FromJson method
  • #1485 Modernize StripeConfiguration
  • #1488 Simplify Service request methods
  • #1489 Replace Parameter custom class with KeyValuePair<string, string>
  • #1490 Move base URLs out of resource services where possible
  • #1481 Rewrite expandable field handling
  • #1493 Refactor Client class
  • #1494 Minor code fixes
  • #1496 Remove Mapper class
  • #1500 Minor improvements in EventUtility
  • #1499 Simplify handling of Expand and ExtraParams
  • #1504 More request encoding refactoring
  • #1508 Introduce new Request class to represent requests to Stripe's API
  • #1509 Fixes to FileService and OAuthTokenService
  • #1487 Replace Requestor with StripeClient and HttpClient
  • #1511 Remove extension methods
  • #1513 Add support for telemetry
  • #1516 Make parent on OrderItem expandable
  • #1519 Add missing attributes to StripeError
  • #1518 Automatic request retries
  • #1534 Remove parameters are internal only on PaymentIntent
  • #1537 Various minor cleanups
  • #1536 Check validity of JSON in OK responses
  • #1520 API key validation
  • #1538 Enforce that all properties have a Json attribute
  • #1542 Improved OAuth support
  • #1563 Rename DuplicateChargeDocumentation to be more consistent with FileId
  • #1495 AnyOf<> generic class to handle polymorphic parameters
  • #1598 Add support for file_link_data
  • #1596 Add support for passing application information
  • #1603 Rename StripeConnectAccountId to StripeAccount
  • #1602 Update README
  • #1609 Add wholesome test to check JSON names
  • #1615 Remove System.Collections.Immutable dependency
  • #1616 Raise ArgumentException on null or empty IDs
  • #1623 Move default values for SystemNetHttpClient
  • #1622 Remove StripeConfiguration.EnableTelemetry flag
  • #1631 Refactor StripeClient setup in tests
  • #1632 Set base URLs in StripeClient instead of StripeConfiguration
  • #1633 Add support for setting API key and client ID in StripeClient
  • #1634 Use StripeClient instance in tests
  • #1635 Add support for setting MaxNetworkRetries and AppInfo in SystemNetHttpClient
  • #1640 Make base URLs in StripeClient readonly
  • #1639 Make client in services readonly
  • #1643 Add AddRangeExpand method to BaseOptions
  • #1644 Add options classes for Get/GetAsync methods
  • #1646 Deprecate Expand properties on services
  • #1647 Use constants instead of static strings
  • #1648 Update README.md

26.1.0 - 2019-06-06

  • #1637 Add support for Location on Terminal ConnectionToken
  • #1638 Add support for Balance and deprecate AccountBalance on Customer

26.0.0 - 2019-05-24

  • #1628 Pin library to API version 2019-05-16

25.20.0 - 2019-05-24

  • #1626 Add support for radar.early_warning_fraud resource
  • #1629 Add missing description parameter to PayoutCreateOptions

25.19.1 - 2019-05-22

  • #1624 Update comment for TaxId.Type with new possible types

25.19.0 - 2019-05-16

  • #1617 Add OffSession parameter to PaymentIntent
  • #1618 Add support for kana and kanji variations of statement descriptors

25.18.0 - 2019-05-14

  • #1612 Add support for the Capability resource and APIs

25.17.0 - 2019-05-10

  • #1613 Add StartDate to Subscription

25.16.1 - 2019-05-07

  • #1610 Mark OperatorAccount as deprecated across all Terminal APIs

25.16.0 - 2019-05-06

  • #1607 Support listing Charges by PaymentIntent id
  • #1608 Add missing constants for known Events

25.15.0 - 2019-05-03

  • #1601 Add support for ReplacementFor and ReplacementReason on Issuing Card creation
  • #1605 Fix multiple properties to have the right JSON name.

25.14.0 - 2019-05-02

  • #1600 Add support for CustomerId on PaymentIntentListOptions

25.13.0 - 2019-04-29

  • #1595 Add support for ACSS debit Sources

25.12.0 - 2019-04-24

  • #1593 Add missing event types

25.11.0 - 2019-04-24

  • #1572 Add support for the TaxRate resource and APIs

25.10.0 - 2019-04-22

  • #1578 Add support for the TaxId resource and APIs
  • #1587 Add missing person.* events
  • #1588 Add CustomerEmail to Invoice

25.9.0 - 2019-04-18

  • #1564 Add support for the CreditNote resource and APIs
  • #1574 Add support for Address, Name, Phone and PreferredLocales on Customer and related fields on Invoice

25.8.0 - 2019-04-16

  • #1440 Add support for the Checkout Session resource and APIs
  • #1577 Add support for Version and Succeeded properties in ChargePaymentMethodDetailsCardThreeDSecure
  • #1581 Add support for passing PaymentMethodId on Customer creation

25.7.1 - 2019-04-16

  • #1582 Fix AuthorizationResponseCode and CardholderVerificationMethod on ChargePaymentMethodDetailsCardPresentReceipt to be string instead of long
  • #1583 Fix BillingDetailsOptions to support Email, Name and Phone and remove the other invalid properties for PaymentMethod create and update

25.7.0 - 2019-04-15

  • #1580 Make payment_intent on Invoice expandable instead of being auto-expanded

25.6.0 - 2019-04-09

  • #1573 Add support for the confirmation_method parameter on PaymentIntent creation

25.5.0 - 2019-04-09

  • #1567 Add support for PaymentIntent and PaymentMethod on Customer, Invoice and Subscription

25.4.0 - 2019-04-05

  • #1568 Add BECS Source Type

25.3.0 - 2019-03-29

  • #1562 Add support for submit when updating a Dispute

25.2.0 - 2019-03-25

  • #1559 Added Incomplete and IncompleteExpired subscription statuses

25.1.0 - 2019-03-22

  • #1557 Add support for person_token on Person creation

25.0.0 - 2019-03-19

  • #1552 Add support for API version 2019-03-14:
    • The library is now pinned to API version 2019-03-14.
    • Subscriptions are now created with status: "incomplete" if the first payment fails.
    • PaymentIntentLastPaymentError was removed in favour of StripeError.

24.6.0 - 2019-03-18

  • #1541 Add support for the PaymentMethod resource and APIs
  • #1554 Add support for deleting a Terminal Location and Reader

24.5.0 - 2019-03-13

  • #1551 Add support for columns on ReportRun and default_columns on ReportType

24.4.1 - 2019-03-11

  • Fix 24.4.0 release. The version that was pushed to NuGet did not include the changes from 24.4.0.

24.4.0 - 2019-03-11

  • #1550 Add support for amount on Issuing.Transaction

24.3.0 - 2019-03-06

  • #1548 Add support for backdate_start_date and cancel_at on Subscription

24.2.0 - 2019-03-05

  • #1547 Add support for current_period_end and current_period_start when listing Invoices

24.1.0 - 2019-02-28

  • #1533 Add support for client_secret and shipping on PaymentIntent confirmation
  • #1539 Add support for status_transitions and created on Invoice
  • #1545 Add support for latest_invoice on Subscription
  • #1546 Add support for api_version on WebhookEndpoint

24.0.2 - 2019-02-20

  • #1531 Fix deserialization of ChargeTransferData.Amount when it is null

24.0.1 - 2019-02-20

  • #1527 Fix encoding for SubscriptionScheduleInvoiceSettingsOptions and SubscriptionScheduleRenewalIntervalOptions
  • #1530 Fix pinned API version to 2019-02-19

24.0.0 - 2019-02-19

Important: This version is non-functional and has been yanked in favor of 24.0.1.

  • #1492 Changes related to the new API version 2019-02-19:
    • The library is now pinned to API version 2019-02-19
    • Numerous changes to the Account resource and APIs:
      • The legal_entity property on the Account API resource has been replaced with individual, company, and business_type.
      • The verification hash has been replaced with a requirements hash.
      • Multiple top-level properties were moved to the settings hash.
      • The keys property on Account has been removed. Platforms should authenticate as their connected accounts with their own key via the Stripe-Account header.
    • The Birthday class is now named Dob.
    • The TermsOfServiceAcceptance class is now named AccountTosAcceptance.
    • The requested_capabilities property on Account creation is now required for accounts in the US.
    • The deprecated parameter save_source_to_customer on PaymentIntent has now been removed. Use save_payment_method instead.

23.2.0 - 2019-02-19

  • #1526 Add support for card_present sources

23.1.0 - 2019-02-18

  • #1523 Add support for save_payment_method when creating, updating and confirming a PaymentIntent
  • #1524 Add support for requested_capabilities when creating or updating an Account and capabilities on the Account resource

23.0.0 - 2019-02-12

  • #1469 Add support for transfer_data[destination] on Subscription.
  • #1501 Add support for API version 2019-02-11 with changes to Payment Intents
    • The library is now pinned to API version 2019-02-11.
    • PaymentIntentSourceAction, PaymentIntentSourceActionValueAuthorizeWithUrl and NextSourceAction are now replaced by PaymentIntentNextAction, PaymentIntentNextActionRedirectToUrl and NextAction instead.
    • AllowedSourceTypes is now replaced by PaymentMethodTypes instead.

22.9.0 - 2019-02-12

  • #1491 Add support for SubscriptionSchedule and SubscriptionScheduleRevision. Also add support for InvoiceSettings on `Customer
  • #1512 Add support for TransferData.Amount on Charge

22.8.1 - 2019-02-04

  • #1498 Handle OAuth error messages in StripeException

22.8.0 - 2019-01-25

  • #1470 Add support for OAuth methods

22.7.0 - 2019-01-19

  • #1438 Revert license change

22.6.0 - 2019-01-17

  • #1475 Add OperatorAccount to Terminal options
  • #1476 Added receipt_url property to Charge
  • #1477 Added paid_out_of_band to Invoice

22.5.0 - 2019-01-17

  • #1471 Add support for custom_fields and footer on Invoice
  • #1472 Add support for billing thresholds

22.4.0 - 2019-01-10

  • #1456 Add support for transfer_data and application_fee_amount on Charge
  • #1468 Add support for validate on Customer update and Card update and creation

22.3.0 - 2019-01-09

  • #1415 Add support for the AccountLink resource

22.2.0 - 2019-01-09

  • #1467 Add support for new parameters under invoice_items[] for the Upcoming Invoice API

22.1.0 - 2019-01-08

  • #1457 Add support for invoice and pending when listing invoice items
  • #1458 Add support for wallet_provider on Issuing.Authorization

22.0.0 - 2019-01-07

Major version release. Refer to our migration guide for v22 for a list of backwards incompatible changes to watch out for.

Pull requests included in this release (cf. #1416):

  • #1413 Allow paging on upcoming invoice line items
  • #1417 Add support for verifying sources
  • #1418 Replace RecipientActiveAccount with BankAccount
  • #1396 Fix deserialization logic for polymorphic types
  • #1419 Replace public fields with properties
  • #1422 Specify culture for string operations
  • #1424 Remove overlapping method overloads
  • #1425 Move SerializerSettings to StripeConfiguration
  • #1426 Remove UTF-8 BOMs
  • #1423 Replace constants with static read-only properties
  • #1427 Fix compiler warnings
  • #1428 Make ObjectsToTypes dictionary immutable
  • #1429 Remove StripeList.TotalCount
  • #1430 Rename some properties for consistency
  • #1431 Rename StripeDefaultCard to DefaultCard on Recipient
  • #1434 Make Deleted nullable on all Stripe objects
  • #1436 Make object instances in tests readonly
  • #1435 Enable SourceLink
  • #1437 Use Mono for .NET Framework targets on UNIX systems
  • #1438 Fix license packaging
  • #1439 Fix some remaining StyleCop rules violations
  • #1433 Fix JSON serialization of Stripe objects
  • #1441 Disable optimizations in SecureCompare
  • #1444 Refactor test infrastructure
  • #1447 Minor fixes
  • #1446 Force the use of lists over arrays
  • #1451 Remove Updated and UpdatedBy from ValueList
  • #1450 Better handling of API version mismatch when deserializing events
  • #1414 Add support for auto-pagination

21.9.0 - 2019-01-03

  • #1455 Add support for deserializing account.application.* events

21.8.1 - 2019-01-03

  • #1453 Fix an issue where a System.ArgumentNullException exception would be thrown when deserializing some events

21.8.0 - 2018-12-27

  • #1449 Add support for invoice_now and prorate option on Subscription cancelation

21.7.1 - 2018-12-21

  • #1443 Fix properties on AuthorizationControls to be nullable. This should be a breaking change but since Issuing is in beta and the code does not work, we released it as a patch

21.7.0 - 2018-11-28

  • #1407 Add support for the Review APIs
  • #1408 Add missing properties to the Refund resource

21.6.0 - 2018-11-27

  • #1386 Add support for ValueList and ValueListItem for Radar

21.5.0 - 2018-11-25

  • #1405 Add support for issuing_card when creating an EphemeralKey

21.4.1 - 2018-11-16

  • #1395 Fix deserialization of objects with DateTime properties

21.4.0 - 2018-11-14

  • #1394 Add support for type when listing Products

21.3.0 - 2018-11-14

  • #1393 Add last_payment_error on PaymentIntent

21.2.0 - 2018-11-12

  • #1387 Add XML comments to IBalanceTransactionSource, IExternalAccount and IPaymentSource
  • #1388 Add support for Terminal resources
  • #1389 Add support for providing client_secret when retrieving sources and payment intents
  • #1390 Rename files to fix warnings

21.1.0 - 2018-11-09

  • #1383 Add Created and CreatedRange to CouponListOptions, ProductListOptions and RefundListOptions
  • #1385 Add Source to ChargeListOptions

21.0.0 - 2018-11-08

  • #1343 Add new API endpoints for the Invoice resource.
  • #1373 Add support for flat_amount on Plan.
  • #1372 Support new properties and parameters for PaymentIntent: #1372

20.4.1 - 2018-11-08

  • #1377 Fix an issue where dictionary keys (such as Metadata keys) weren't URL-encoded

20.4.0 - 2018-11-05

  • #1366 Add TrialPeriodDays to PlanUpdateOptions

20.3.0 - 2018-10-31

  • #1332 Add support for the Person resource
  • #1342 Add support for the WebhookEndpoint resource
  • #1364 Add support for unit_label on Product creation and active on Plan creation

20.2.0 - 2018-10-25

  • #1353 Fix encoder to handle null values in dictionaries
  • #1355 Fix handling of Expand* properties in list requests
  • #1356 Add AuthorizationControls to Issuing.CardCreateOptions and Issuing.CardUpdateOptions
  • #1358 Ignore culture when encoding parameters

20.1.0 - 2018-10-23

  • #1347 Add IHasMetadata interface to all resource classes that support metadata
  • #1348 Add CardId and BankAccountId to TokenCreateOptions

20.0.0 - 2018-10-22

Major version release. Refer to our migration guide for v20 for a list of backwards incompatible changes to watch out for.

Pull requests included in this release (cf. #1293):

  • #1275 Properly re-architecture the library to handle various source abstractions
  • #1276 Rewrite parameter encoding logic
  • #1282 Rename SourceTransactionCanceled constant to SourceTransactionCreated, add SourceTransactionUpdated constant
  • #1283 Handle DateTimes directly in the encoder
  • #1284 Remove StripeDeleted class, add Deleted property to deletable resource classes
  • #1285 Rename image property to Image in StripeSku and StripeSkuSharedOptions classes
  • #1252 Remove the Stripe prefix from all classes
  • #1286 Rename ScheduledQuery* to ScheduledQueryRun*, move ScheduledQueryRun classes in Stripe.Sigma namespace
  • #1287 Standardize method signatures in InvoiceService and RefundService
  • #1288 Standardize method signatures in FileUploadService
  • #1291 Move balance transaction methods out of BalanceService and into new BalanceTransactionService class
  • #1269 Add interfaces to all services for standard CRUD methods
  • #1298 Make all value types in options classes nullable
  • #1302 Upgrade to API version 2018-09-24
  • #1301 Update all options classes to match the API's nesting structure
  • #1303 Rename LiveMode property to Livemode everywhere
  • #1304 Sanitize source files
  • #1306 Remove +x flag from source files
  • #1305 Use BasicService as the parent class for all services
  • #1307 Sort service methods alphabetically
  • #1310 Verify requests in tests
  • #1308 Standardize request method implementations in services
  • #1309 Group resource class files in folders
  • #1312 Group test files in folders to match main project's structure
  • #1311 Add missing properties on resource and options class, rename a few properties
  • #1315 Add InvoiceItem class, distinct from InvoiceLineItem
  • #1316 Automatically convert Unix timestamps to DateTimes
  • #1318 Create coverage report and upload to coveralls.io
  • #1319 Fix artifacts path in appveyor.yml
  • #1317 Revamp interfaces on Stripe resource classes
  • #1320 Replace ExternalAccount and PaymentSource classes by IExternalAccount and IPaymentSource interfaces
  • #1321 Replace BalanceTransactionSource class by IBalanceTransactionSource interface
  • #1322 Use IHasObject interface instead of dynamic for data.object attribute of event objects
  • #1323 Fix remaining warnings in .NET Framework specific code
  • #1328 Add some missing tests
  • #1329 Use an interface for PaymentIntentSourceAction
  • #1331 Use long instead of int for all integer numeric types
  • #1340 Change the signature of request methods on UsageRecordService to accept a subscription item ID
  • #1337 Rename SourceTokenOrExistingSourceId to SourceId in ChargeCreationOptions class
  • #1345 Add ChargeExpired constant

19.10.0 - 2018-10-09

  • #1327 Add TransferGroup to StripeChargeUpdateOptions

19.9.2 - 2018-09-28

  • #1297 Add .NET Standard 2.0 target

19.9.1 - 2018-09-27

  • #1300 Make internals visible to Newtonsoft.Json

19.9.0 - 2018-09-26

  • #1296 Add Description on StripeTransfer, StripeTransferCreateOptions and StripeTransferUpdateOptions

19.8.0 - 2018-09-24

  • #1222 Add support for Payment Intent resource.

19.7.0 - 2018-09-20

  • #1290 Add AccountToken to StripeAccountCreateOptions and StripeAccountUpdateOptions

19.6.0 - 2018-09-11

  • #1280 Enable XML documentation
  • #1279 Add missing attributes to StripeThreeDSecure

19.5.0 - 2018-09-06

  • #1273 Add ExchangeRate to StripeBalanceTransaction
  • #1270 Add StatusTransitions to StripeOrderListOptions

19.4.0 - 2018-09-05

  • #1272 Add support for reporting resources

19.3.0 - 2018-09-04

  • #1268 Add Mandate and Receiver to StripeSourceCreateOptions

19.2.0 - 2018-08-29

  • #1266 Fix type of PercentOff on StripeCoupon (this is technically breaking, but the previous implementation didn't work, so we're releasing as a minor)

19.1.0 - 2018-08-28

  • #1262 Add AuthorizationCode to StripeCharge

19.0.1 - 2018-08-27

  • Fix 19.0.0 release. The version that was pushed to NuGet did not include the changes from 19.0.0.

19.0.0 - 2018-08-27

List of backwards incompatible changes:

  • BusinessVatId on StripeCustomer / StripeCustomerCreateOptions / StripeCustomerUpdateOptions is replaced with TaxInfo
  • Amount on StripePlanTier / StripePlanTierOptions is replaced with UnitAmount
  • PercentOff on StripeCouponCreateOptions is now a decimal (used to be an int)
  • Request methods on StripeSubscriptionService no longer accept a string customerId argument. Instead, the customer ID should be provided in the appropriate options class (StripeSubscriptionCreateOptions, etc.)
  • StripeSubscriptionService.Cancel & CancelAsync no longer accept a bool cancelAtPeriodEnd argument. If you want to delete a subscription at the end of the period, you can update the subscription with CancelAtPeriodEnd
  • StripeProduct no longer has a Skus property

18.0.0 - 2018-08-23

  • #1257 Add support for passing options to StripeInvoiceService.Pay / PayAsync

17.11.0 - 2018-08-23

  • #1255 Make StripeInvoiceItemCreateOptions.Amount optional

17.10.0 - 2018-08-21

  • #1251 Add support for usage record summaries

17.9.0 - 2018-08-16

  • #1250 Add UnitLabel to StripeProduct and fix deserialization of BillingReason on StripeInvoice

17.8.0 - 2018-08-03

  • #1244 Add support for file links
  • #1245 Add cancel support for topups

17.7.0 - 2018-07-31

  • #1242 Add Created to StripeAccount

17.6.0 - 2018-07-27

  • #1239 Add RiskScore to StripeOutcome

17.5.0 - 2018-07-26

  • #1237 Add support for Stripe Issuing

17.4.0 - 2018-07-23

  • #1165 Add support for expanding Source on StripeBalanceTransaction

17.3.1 - 2018-07-16

  • #1232 Fix some code style issues reported by StyleCop.Analyzers. This should have no functional impact on the library.

17.3.0 - 2018-07-13

  • #1234 Add Customer to StripeSourceCreateOptions

17.2.0 - 2018-07-13

  • #1233 Add OriginalSource to StripeSourceCreateOptions

17.1.0 - 2018-07-12

  • #1228 Add AutoAdvance to StripeInvoice

17.0.0 - 2018-07-11

  • #1210 Fix CustomerSourcedDeleted typo to CustomerSourceDeleted, add CustomerSourceExpiring
  • #1214 Add InvoiceItems and SubscriptionBillingCycleAnchor to StripeUpcomingInvoiceOptions
  • #1224 Change webhook signature verification to allow for future timestamps (within the tolerance)

16.16.1 - 2018-07-11

  • #1218 Generic plugin for encoding lists

16.16.0 - 2018-07-06

  • #1223 Add missing properties to invoice item objects and creation/update requests

16.15.0 - 2018-07-03

  • #1221 Add support for expanding Outcome.Rule on StripeCharge

16.14.0 - 2018-06-29

  • #1216 Add support for Level 3 Data on charge creation

16.13.0 - 2018-06-28

  • #1219 Add Name to StripeCouponUpdateOptions

16.12.0 - 2018-06-20

  • #1213 Add AggregateUsage to StripePlanCreateOptions

16.11.0 - 2018-06-20

  • #1207 Add AmountRemaining and BillingReason to StripeInvoice
  • #1208 Fix namespace of StripeListOptionsWithCreated
  • #1211 Add Name to StripeCoupon and StripeCouponCreateOptions

16.10.0 - 2018-06-13

  • #1205 Add Action to StripeUsageRecordCreateOptions

16.9.0 - 2018-06-12

  • #1201 Add support for document_back on account objects and creation/update requests

16.8.0 - 2018-06-12

  • #1203 Add ProductId to StripePlanUpdateOptions

16.7.0 - 2018-06-06

  • #1200 Add Active to plan parameter and response classes

16.6.0 - 2018-06-06

  • #1199 Add HostedInvoiceUrl and InvoicePdf to invoices

16.5.0 - 2018-06-06

  • #1198 Add Subscription to StripeSubscriptionItem

16.4.0 - 2018-06-01

  • #1195 Add Email to StripeCustomerListOptions (for real this time)

16.3.0 - 2018-05-23

  • #1191 Move BankAccountOptions to the Stripe namespace
    • This change is technically breaking, but it won't break most code because it's like to already have a using Stripe in the same file, so we've released it as a minor release

16.2.0 - 2018-05-21

  • #1110 Add support for topups
  • #1189 Add support for SEPA credit transfer sources

16.1.0 - 2018-05-10

  • #1182 Add support SubscriptionTaxPercent and SubscriptionTrialFromPlan parameters for fetching upcoming invoices

16.0.0 - 2018-05-09

  • #1176 Properly handle bank account token deserialization

15.8.0 - 2018-05-07

  • #1174 Add support for Sigma scheduled queries

15.7.0 - 2018-05-03

  • #1172 Add support for invoice_prefix attribute on customer objects and creation/update requests

15.6.2 - 2018-04-24

  • #1163 Fix encoding of BillingCycleAnchor property in StripeSubscriptionCreateOptions

15.6.1 - 2018-04-19

  • #1160 Add internal properties to StripeCard

15.6.0 - 2018-04-18

  • #1159 Add AmountPaid property to StripeInvoice and TrialFromPlan property to SubscriptionSharedOptions

15.5.0 - 2018-04-16

  • #1146 Fix BillingCycleAnchor in StripeSubscriptionCreateOptions to only accept timestamps
  • #1157 Add Email to StripeCustomerListOptions

15.4.0 - 2018-04-16

  • #1154 Add SepaDebitIdealSourceId property to StripeSourceCreateOptions (for creating SEPA Direct Debit sources from iDEAL sources)

15.3.2 - 2018-04-09

  • #1152 Fix an issue where user-settable IDs would not be URL-encoded

15.3.1 - 2018-04-06

  • #1151 Fix an issue when running the library with .NET Framework 4.5+ in non-Windows environments

15.3.0 - 2018-04-04

  • #1150 Flexible/Metered Billing API support

15.2.1 - 2018-03-27

  • #1147 Fix CancelAtPeriodEnd parameter in StripeSubscriptionUpdateOptions

15.2.0 - 2018-03-26

  • #1145 Use ConfigureAwait(false) for all async invocations

15.1.0 - 2018-03-23

  • #1144 Modify StripeDateTimeConverter so that it writes timestamps as standard epochs instead of in Microsoft's custom Date format

15.0.0 - 2018-03-21

  • #1139 Add support for expanding more attributes and change Charge.Outcome to be auto-expanded
  • #1140 Add support for arbitrary attribute expansion
  • #1143 Fix Metadata encoding on StripeSubscriptionItem

14.0.0 - 2018-03-16

  • #1138 Add support for redirect_url in login link creation requests

13.5.0 - 2018-03-15

  • #1135 Add support for Created and ProductId parameters in plan listing requests

13.4.0 - 2018-03-13

  • #1128 Add support for custom URL bases

13.3.1 - 2018-03-05

  • #1126 Revert Newtonsoft.Json dependency back to 9.0.1

13.3.0 - 2018-03-01

  • #1117 Add ISupportMetadata interface to all Stripe entities that support metadata
  • #1119 Add FailureReason property to StripeRedirect
  • #1123 Upgrade Newtonsoft.Json dependency to 11.0.1

13.2.0 - 2018-02-27

  • #1114 Update subscription request parameters
  • #1115 Remove unneeded parameters in SourceCard

13.1.0 - 2018-02-22

  • #1105 Add parameterless constructors to all services

13.0.2 - 2018-02-22

  • #1107 Minor webhook signing improvements

13.0.1 - 2018-02-19

  • #1103 Add support for expanding product on plan objects

13.0.0 - 2018-02-13

  • #1097 Add support for deserializing source_mandate_notification objects
  • #1099 Upgrade API version to 2018-02-06 and add support for Product & Plan API

12.1.0 - 2018-01-19

  • #1096 Add support for StripeSource class in Source wrapper

12.0.0 - 2018-01-16

  • #967 Remove the TotalCount property of list objects
  • #1072 Add support for managing external accounts
  • #1080 Fix card listing
  • #1083 Add specialized ListOptions classes for all API resources
  • #1084 Fix single_use string constant
  • #1086 Fix fulfiled attribute
  • #1089 Use top-level statement_descriptor attribute on source objects
  • #1091 Fix synchronous login_link creation
  • #1093 Upgrade to API version 2017-12-14

11.10.0 - 2017-12-26

  • #1069 Allow setting three_d_secure[customer] when creating 3DS sources
  • #1071 Add support for account debits
  • #1074 Add support for expanding application on charge objects
  • #1077 Fix parameters being sent twice when creating subscriptions

11.9.0 - 2017-11-29

  • #1064 Support for listing sources on customers

11.8.2 - 2017-11-23

  • #1054 Fix file uploading when the extension is not known
  • #1055 Fix DueDate encoding for StripeInvoiceCreateOptions

11.8.1 - 2017-11-22

  • #1060 Fix invoice listing

11.8.0 - 2017-11-21

  • #1056 Add Automatic for StripePayout
  • #1057 Support for passing extra parameters
  • #1058 Add Paid for StripeInvoiceListOptions

11.7.1 - 2017-10-31

  • #1050 Make exchange rate APIs singular (released as patch because these APIs are brand new and because 11.7.0 never made it to Nuget anyway)

11.7.0 - 2017-10-30

  • #1047 Support for listing source transactions
  • #1049 Support for listing and retrieving exchange rates

11.6.1 - 2017-10-24

  • #1044 Improvements to parameter encoding
    • Main user-facing fix is that dictionary keys are now URL-encoded correctly (in case they contained characters incompatible with URLs)

11.6.0 - 2017-10-19

  • #1035 Signature fixes for webhook signature verification
    • Explicitly dispose of HMACSHA256 after use so that its buffer cannot be inadvertently leaked
    • Use SafeUTF8.GetBytes so that unrecognized codepoints are not silently replaced with "?"
  • #1040 Add a few field definitions that were missing from API resources

11.5.0 - 2017-10-16

  • #1034 Add Customer to StripeBankAccount

11.4.0 - 2017-10-13

  • #1031 Support for manual subscription payments

11.3.0 - 2017-10-11

  • #1028 Support for attaching/detaching sources to/from customers
  • #1029 Correctly encode custom coupon and plan IDs in API URLs

11.2.0 - 2017-10-10

  • #986 Add support for shipping on customer create and update
  • #997 Add support for the Ephmeral Key API resource

11.1.0 - 2017-10-10

  • #1002 Add access for StripeResponse on StripeException
  • #1005 Add support for updating card source expiration date
  • #1008 Use bearer authorization everywhere and by default
  • #1021 Add PreferredLanguage for Bancontact sources

11.0.0 - 2017-10-10

  • #1007 Add support for Apple Pay Domain resource
  • #1018 Add event constants ChargeRefundUpdated and InvoiceUpcoming
  • #1019 Add StripeChargeCaptureOptions and use it for charge capture
  • #1022 Add support for SKUs
  • #1025 Add Discountable for StripeInvoiceLineItem

Older releases

Note that this changelog is relatively new and we haven't yet backfilled it. For details on old releases, check out the releases page:

https://github.com/stripe/stripe-dotnet/releases