Skip to content

Latest commit

 

History

History
731 lines (624 loc) · 63.4 KB

CHANGELOG.md

File metadata and controls

731 lines (624 loc) · 63.4 KB

Changelog

All notable changes to this project will be documented in this file. Dates are displayed in UTC.

Generated by auto-changelog.

  • Implement object_name_to_module so it will work for new objects in future #792
  • Update services based on v682 of Stripe OpenApi SDK ea63a8b
  • Update services based on v679 of Stripe OpenApi SDK 0d425fe
  • Update services based on v665 of Stripe OpenApi SDK 2b569da

5 November 2023

  • Use conn token from read_body result #821
  • Update services based on v634 of Stripe OpenApi SDK 66d8611
  • Update services based on v638 of Stripe OpenApi SDK b670d7b
  • Update services based on v604 of Stripe OpenApi SDK 878697f

4 October 2023

  • fix: remove param casting to atom #807
  • Add :idempotency_key_in_use as a valid card_error_code #813
  • Fix TestClock Module Name #812
  • Telemetry #809
  • Add task for codegen #806
  • chore: improve docs #801
  • fix: compiling without plug deps #798
  • chore: add deploy workflow #799
  • chore: update ex_doc deps #796
  • Make sure code is loaded before checking function_exported?, or it will be false #794
  • Add manual cast of object name for BillingPortal.Configuration #791
  • Add codeowners #795
  • Fix source code links in documentation #789
  • Updated README instructions for starting stripe mock #785
  • Cleanup README #783
  • Bump stripe-mock #779
  • Open API build #776
  • Revert stripity-stripe => stripe-elixir #774
  • Update deps #772
  • Extend Stripe.Invoice.t() with from_invoice #770
  • Allow nil for authorization in Issuing.Transaction #764
  • Add Stripe OpenAPI codegen github action #771
  • stripity-stripe => stripe-elixir #765
  • Add adjustable_quantity to line item input #761
  • Add manual cast of object name for BillingPortal.Configuration (#791) #790
  • Cleanup README (#783) #780
  • Update services based on v218 of Stripe OpenApi SDK 88c1a14
  • Update services based on v532 of Stripe OpenApi SDK 3c7b660
  • Update services based on v550 of Stripe OpenApi SDK 0176e27

13 October 2022

  • Add terms_of_service to consent_collection type #757
  • Fix type spec for creating Checkout Session #752
  • Fix specs for API.request/5 and request_file_upload/5 #755
  • Add reporting entities #751
  • Add back a way to delete subscription #753
  • Fix CI #754
  • Stripe API version 2020-08-27 #748
  • Add support for Stripe Test Clocks #723
  • Fix typo #745
  • Search API #738
  • Fix create and update subscription spec #739
  • invoice line items proration details #741
  • Update session.ex #743
  • Add us_bank_account & more debits to PaymentMethod #742
  • Add missing default_price to Stripe.Product #740

27 June 2022

  • fix credit note line item spec #737
  • CHANGELOG 2.15.0 e164b8f

20 June 2022

  • Idempotency should only be added for :post #734
  • Retry if 429 lock_timeout #733
  • Update examples example for new Config module #716
  • Add support to Payment Links as core_resource #719
  • Update incorrect property values on Dispute object #730
  • Remove line that is bad advice and surely isn't true anymore #732
  • Add note to Testing section about skipping starting stripe-mock #726
  • List sessions #729
  • add support to missing Stripe.Session fields #727
  • Add Early Fraud Warnings Types and Endpoint #728
  • add billing_address_collection #722
  • Update Mix.Config to the new Config module #725
  • add available_payout_methods to payment_methods/bank_account #718
  • Make subscription_data.items optional (#720) #721
  • support link in payment method struct #717
  • Add BECS direct debit support #715
  • bugfix 429 retry 0e91c2f

22 February 2022

14 February 2022

  • Allow errors to be returned by webhook handler #712
  • Update session.ex #714
  • sync "Products > Update a product" params typespec #710
  • Misc doc changes #706
  • fix: add product_data type to Price params #708
  • add future requirements #707
  • Adds expiry feature #702
  • Fix typos #705
  • Added missing optional fields on create spec #700
  • updated specs on Price module #699
  • Update changelog #696
  • Add missing opts to Stripe.ApplicationFee #693
  • Adds missing params and types for Stripe Checkout Sessions #695
  • Add stripe Identity endpoints #692
  • Add customer field to PromotionCode #676
  • Add application to webhook_endpoint #691
  • Add the issuing field to Stripe.Balance #689
  • [bug]: extra applications exexec bad #688
  • using non_neg_integer instead of float #681
  • Add fields to Stripe.Session struct #683
  • [CI]: actions instead of travisci #677
  • Support klarna payments in sources better #651
  • Add Stripe.WebhookPlug for easier handling of webhook events #658
  • Add missing PromotionCode.expires_at field #675
  • add sepa debig #674
  • Update Stripe.Session line_item typespec #670
  • CHANGELOG 2.10.0 c6aeb31
  • bump ex_docs 0.24.2 e89b0b9
  • Bump 2.10.0 4a253cb

24 May 2021

  • fix(deprecation): :crypto.hmac -> :crypto.mac, Bitwise.^^^ -> Bitwise.bxor #669
  • Fix Stripe.Price unit_amount_decimal and lookup_keys type #668
  • Add Account Capabilities #667
  • Remove :customer from typespec in CustomerBalanceTransaction.create #662
  • Add mode to Session Create Params typespec #660
  • Oauth integration improvements #657
  • Allow api_version to be set from config #656
  • Adds header as an option to new_request #654
  • Added applies_to and expansion to Coupon #653
  • Update typespec for Stripe.Customer #650
  • Add credit note preview #648
  • Support :status param in typespec for Stripe.Invoice.list/2 #644
  • Add source_type to parameter types for transfers/create #645
  • Add Country/State to TaxRate #647
  • Allow passing pause_collection params to Subscription.update #649
  • Add promotion codes #641
  • Fix typespec for Stripe.Invoice.pay/3 #643
  • Adding endpoint for checkout session line items. #633
  • Remove duplicate doc tag causing a compile warning #639
  • Add promotion_code to Discount #638
  • Add quick example of test config for stripe-mock #637
  • Add payment_intent to Stripe.Charge.params type #635
  • Add default_tax_rate to typespecs for Subscription and Invoice #631
  • Add payment_method to confirm payment intent #625
  • Add :metadata to Stripe.Session.create/2 #615
  • Fix return of the ephemeral key creation #624
  • Update link to Stripe docs #622
  • Add webhook endpoint to core resources #621
  • Update subscription.ex #620
  • support extra params for subscription cancellation #618
  • VERSION BUMP 2.9.0 #614
  • Fix multiple Stripe-Version headers when creating ephemeral key #613
  • makes :previous_attributes in Event.event_data optional #612
  • Allow creating refunds by payment intent or charge. #610
  • Add price to Subscription #609
  • changed params for subscription to accept default payment method #592
  • Added Terminal functionality #605
  • Add support for BillingPortal.Session #604
  • Update various stripe objects with missing fields, remove deprecated fields, and add support for some missing objects #602
  • Add optional customer to session create params #601
  • Replace @deprecated with Stripe.Util.log_deprecation/1 #598
  • Update invoice.ex #591
  • Make subscription_data keys for Checkout optional #593
  • Update README.md #596
  • Corrected mis-placed parens in README #587
  • Update README to suggest the latest version #588
  • Add metadata to Stripe.Session #595
  • add metadata to checkout session 288202c
  • remove unnecessary test 6269722
  • Add new fields in the subscription data API 20ce7d8

4 April 2020

  • Release 2.8.0 #590
  • add Stripe.Converter.structs() to enumerate all generated structs #589
  • Add description to Stripe.Transfer.create/2 spec #586
  • update lockfile #585
  • Add a card_error_code returned by a failed-verification bank account #583
  • Remove duplicate struct keys #575
  • Remove duplicate payment_method_types #576
  • Create Account links #577
  • add reporting category to balance transactions #578
  • Add off_session field to PaymentIntent.create #574
  • Allow filtering by customer in PaymentIntent.list #573
  • CHANGELOG 2.7.2 #572
  • Add documentation for usage of the setup intents and setup payments APIs #570
  • Add missing params to Stripe.Customer.create typespecs #569
  • add account links #562
  • Subscription :items is required #555
  • 2019-10-17 API update #556
  • [DOCUMENTATION]: retries #565
  • Stripe API 2019-11-05 update subscription schedules e13e64a
  • Stripe API 2019-12-03 Remove deprecated Customer tax_info dc49e40
  • Formatting + add links to docs 3c93eb5

4 November 2019

  • CHANGELOG 2.7.1 #557
  • Add setup_intent to checkout session #554
  • update Read Me #553
  • Fix production env check for additional Stripe response converter logging #552
  • Include person in @supported_objects #548
  • fix: Remove 'id' from the Card update payload. #551
  • Update hackney to work around Erlang/OTP 22.1 issue #549

25 September 2019

  • CHANGELOG 2.7 #547
  • Add idempotent requests #546
  • Fix source amount field type #545
  • fix typos in README.md #543

15 September 2019

  • CHANGELOG 2.6.0 #540
  • Add support for SetupIntent #522
  • CHANGELOG 2.5.0 #535
  • Add Elixir 1.9 && Erlang 21.1 to test matrix #538
  • Checkout Session retrieval and missing attributes #532
  • Add missing fields #537
  • Add balance to customer entity #536
  • Add payment intent to session #533
  • Make stripe version configurable #534
  • Add Stripe.Topup #527
  • Update util.ex #529
  • Fixed compile warning in converter.ex #528
  • Cast cardholder to id #526
  • Allow Customer.create/2 to take Source id in typespecs. #523
  • Fix tests #524
  • Pass Hackney options from config #506
  • updated readme with more explicit API version info #520
  • Cast cardholder to id (#526) #519
  • Allow Customer.create/2 to take Source id in typespecs. (#523) #478
  • Update mix 2.6 e09bda0
  • Update mix ffef07d

14 June 2019

  • Release 2.4 #512
  • Issues/add missing fields #511
  • Add missing invoice endpoints #513
  • Support upcoming invoices with subscription only #515
  • Warn when unknown objects are processed #514
  • Add support for sending invoices. #510
  • Update Stripe version #483
  • Use Jason over Poison #509
  • Upgrade excoveralls dependency #503
  • Update doc organization with issuing #508
  • Add tax_rate struct and api calls #491
  • Add Stripe Issuing #493
  • Add support for Subscription Schedules #480
  • Add CreditNote api calls #492
  • Add PaymentMethods module, with struct, list/2, attach/2, detach/2 #495
  • Format mix.exs to pass CI #498
  • Enforce formatter #490
  • Reorganize docs #496
  • Add tax rate api 2ba609d
  • Add create/2, retrieve/2. update/3 3ed1737
  • Fix typo dettach -> detach 436b837

10 May 2019

  • Release 2.2.3 #494
  • Implement assert_stripe_requested/3 #487
  • Remove unused Bypass dependency #488
  • Upgrade stripe mock to 0.55 #485
  • Upgrade to ex doc 0.20 #486
  • Update hackney requirement to 1.15 #475
  • made client_secret optional #473
  • add payment intents #470
  • convert review.opened too #468
  • Add receipt_url to the return charge data. #467
  • Support new Checkout flow #466
  • add support for idempotent post requests #461
  • Resolves #462. Add authorization header api key to deauthorization oa… #465
  • Add elixir 1.8 to test matrix #449
  • Add formatter #453
  • Typo for retrieving invoice items + Adds handler for Usage endpoint #433
  • Update Configuration instructions in README.md #457
  • Move aroud README #455
  • Upgrade to 2018-11-08 Stripe API #439
  • Add invoice settings to customer/invoice objects #451
  • add shared options to documentation #452
  • More configuration options #447
  • Use singular time units in System.system_time/1 #450
  • add support for voiding invoices #444
  • Configurable json serializer #446
  • Resolves #462. Add authorization header api key to deauthorization oa… (#465) #462
  • add ip_address, ip_address_location and session fields to review 7ae4327
  • Improve README with commit sha 6d51205
  • float ac5ce24

18 December 2018

  • Release 2.2.2 #442
  • Update ex_doc to 0.19 #423
  • Upgrade stripe-mock 0.38 #436
  • Add delete to Invoiceitems #434
  • Upgrade erlexec for supporting OTP 21 #426
  • Wait until stripe_mock started #427
  • Add missing invoice attributes #425
  • Get Dialyxir in CI #424

7 November 2018

  • Release 2.2.1 #422
  • fix typespec for date query to make keys optional #421
  • Add customer field to Source entity #420
  • Add deleted property to resources that can be deleted #419
  • Changes to update optional attrs #418
  • Specify API version compatibility in README #416
  • Bump Stripe API to 2018-08-23 #415
  • Update README.md #412
  • Fix query param validation 1625fb7
  • Fix return values for delete calls in tests 41084ee
  • Fix/skip tests with deprecated/invalid fields 6ae55e3

24 August 2018

  • Release 2.2.0 #411

23 August 2018

  • Add missing tax_info attributes to customer #410
  • update lockfile #408
  • Bump hackney dependency. #407
  • Add Recipient endpoint #405
  • Expand test matrix with elixir 1.7 #404
  • Convert discount response to struct #403
  • Add name to Stripe.Coupon #402
  • Add missing unit_label to Stripe.Product #401
  • Adds active to plan struct #399
  • Add Subscription and Invoice params #400
  • Add source_url to project definition #398
  • Improve webhooks documentation #395
  • Release 2.1.0 #394
  • Add support for object expansion #393
  • Add account field to Event #391
  • Update api_version to 2018-05-21 #390

14 June 2018

  • Add params argument to Subscription.delete/2 #386
  • update read me #384
  • Update create card spec #382
  • improve plan struct #380
  • update read me (#384) #381
  • Update CHANGELOG.md 52674bb
  • Update mix.exs db5e873

5 June 2018

  • Fix bad reference in changelog.md #379
  • Fix bad reference in changelog.md #378
  • Release 2.0 #377
  • Update README.md with 2.0 information #374
  • add oauth and api tests w/ mox #371
  • add multipart form headers #370
  • Stripe.API missing #369
  • change to Stripe.API.oauth #368
  • update api version #351
  • ephemeral key support #366
  • Relay Orders #364
  • Update remaining core resources #363
  • Add balance transactions and endpoints #361
  • update stripe mock + file upload tests #360
  • Connect endpoints and params #362
  • update params event payout refund #350
  • Update payment methods source based on latest specs #355
  • update deps and add 1.6 elixir version #356
  • Customer params #352
  • File upload params #357
  • Stripe Plan params #358
  • Update invoice types and params #346
  • Fix upload file api #334
  • add product struct #348
  • update stripe-mock to 0.11.2 #349
  • cleanup types and params for card #342
  • Corrected types and params for coupon.ex in subscriptions as a small … #333
  • Improve Stripe.List #331
  • Fix Account, BalanceTransaction, Charge, Subscription params #330
  • Fix plan and subscription #329
  • Fix Plan and Subscription params #328
  • Add ExternalAccount endpoints #327
  • Update file upload endpoint #292
  • Fix most dialyzer errors #325
  • Add OrderReturn types and endpoints, fix misc issues #321
  • Change log level #323
  • Format payment methods #320
  • Format misc files #318
  • Update payout endpoint and tests #297
  • Format Customer #311
  • Format subscriptions #317
  • Format Charge #310
  • Fix headers #319
  • Format Refund #314
  • Format radar and relay #316
  • Format BalanceTransaction #308
  • Format Token #315
  • Format Event #313
  • Format Dispute #312
  • Format Balance #309
  • Format OAuth #307
  • Format ExternalAccount #305
  • Format CountrySpec #304
  • Format ApplicationFee #303
  • Format Account #302
  • Fix webhook tolerance to use intermediate variable #301
  • Format base files #300
  • Fixup plan tests #293
  • Error matching #299
  • Add Source #296
  • Add BankAccount endpoints and tests #295
  • Add Country Specs #294
  • Remove atoms for enum-like strings #290
  • Fix Account and Util #289
  • Update Subscription tests #288
  • Clean up Invoice endpoint tests #287
  • Add Card endpoints and tests #286
  • Add Event endpoints and tests #285
  • Add Token endpoints and tests #284
  • Add login link creation #283
  • Rework Customer and tests #282
  • Update Charge tests #281
  • Add some of the endpoints to Account #279
  • Fix Invoice endpoints #280
  • Clean up Account types #277
  • Clean up Invoice, Plan, and Subscription types #275
  • Clean up Token, BankAccount, Card, Source types #273
  • Clean up Event types #272
  • Clean up Balance and BalanceTransaction types #271
  • Clean up Payout #268
  • Clean up Refund types #269
  • Clean up FileUpload #267
  • Clean up Charge types #270
  • Add all Stripe objects as Stripe.Entity modules #264
  • Internal changes to facilitate bringing library in line with other languages #252
  • Internal changes to facilitate bringing library in line with other languages (#252) #250 #250
  • Add objects with basic typedefs c95bdde
  • Remove atoms for enum-like strings everywhere b4daca6
  • Clean up Source types 8d9a78c

22 March 2018

  • Add Ephemeral Key creation api #262
  • Fix Subscriptions list #255
  • Allow prorate: false on Subscription.update #254
  • Update version to 2.0.0-alpha.11 3c72b19

4 July 2017

4 July 2017

  • Add invoice line items support #240
  • Add listing resources (#203) #242
  • Correct README with 2.0 configuration parameters #235
  • 🐛 Add missing :uri_query to OTP application list #237 #238
  • Added Coupon support - Thank you @Awea #236
  • Add listing resources 292593d
  • ✨ Add Coupon support ac22758

31 May 2017

  • Added Stripe.Charge.capture #224
  • Added Invoice.upcoming for retreiving upcoming invoices. #233
  • Added Stripe.Refund module #226
  • adds Stripe.Refund module 608c5b3
  • Add upcoming invoice path 3483c55
  • adds method for capturing a charge 0d5be20

15 May 2017

  • Add parameters to DELETE requests (#222) #223
  • Correctly parsing responses from non-object responses #229
  • Update Card.create to use Stripe.Request.create #221
  • Delegate URI query encoding to uri_query. #216
  • Correctly parsing responses from DELETE requests d6d39ed
  • Update the creation of cards to match new style b3ad4f0

16 February 2017

  • Bump version number to 2.0.0-alpha.6 684d425

12 February 2017

  • Change arg order for request body and updated calls. #211
  • Fix compile error. #213
  • Add Stripe.Token.create #200
  • Remove module argument reliance from converter #197
  • Fix dialyzer and compiler warnings, bonus bugfix #212
  • Add request helper to reduce duplication. #206
  • Fix Warnings Elixir 1.4 #207
  • Use Enum.into/3 and Enum.map_join/3 in Util. #205
  • Add Stripe.Charge.create #199
  • Ensure strict functions call with parentheses to avoid warning #201
  • Add Stripe.Charge.retrieve #195
  • Add object types #193
  • Basic list implementation #191
  • Fix converter to not error on lists #190
  • Pattern match on object keys for response sub-objects #187
  • Add invoice #185
  • Add dialyzer, fix several issues, including a few bugs with bad function calls. #181
  • Change bank accounts to external accounts #180
  • Add relationships back to subscription #179
  • Minor fixes to account #178
  • Add update changesets #173
  • Add @valid_update_keys to account #171
  • Add Account.create/2 #169
  • Add :legal_entity, :verification to Account struct #168
  • Add Account.update/2 #166
  • Remove response mappings #165
  • [FILE UPLOAD]: create and retrieve #160
  • Add Bank Account #161
  • Update event to track user_id #159
  • Add event lib #158
  • Adding ability to update Customer source #152
  • Handle compressed body in successful response #148
  • Add the hackney pool to the lib supervision tree #142
  • Fix the way that client ID is fetched #151
  • Allow passing api_key to override default one. #149
  • Fix specs to use api_error_struct instead of struct #150
  • Allow for stripe_user params to be passed as part of Connect auth URL #146
  • Fix response mapping for token request #138
  • Rework errors to be plain structs #136
  • Fix Parsing OAuth Errors #134
  • Add response iteration and conversion #129
  • Add special handling for 400 errors (invalid request) #128
  • Fixes Struct Mapping #131
  • Fix Parsing OAuth Errors (#134) #130
  • Add create and update changeset ee79266
  • Add list module and basic list conversion support 13d755b
  • Allow converter to infer subobject modules from the object property value 7b0ac4c

12 November 2016

  • Up the version number #123
  • Add Subscription and Token #122
  • Add Stripe.Card #118
  • Add Stripe.Customer #117
  • Add Stripe.Account #116
  • Gutting the high level API and VCR driven tests e55855c
  • removing highly outdated /doc folder 650bb42
  • Implement low-level API f2ccdf8

5 June 2018

  • Release 1.6.2 #375
  • Update 1.x.x readme #373
  • Update README.md #372

3 April 2018

  • Return tuple instead of raising an error when http request fails #343
  • Updated heading fix #260
  • Fixed heading in markdown doc #258
  • Expands documentation on Stripe Connect and Changelogs #257
  • Fix documentation typos #256
  • Updated readme and docs 9832d34
  • Publish v1.6.0 98e0b16
  • Update readme with branch info 9a070f8

6 July 2017

  • Add change invoices ability #241

4 July 2017

4 July 2017

  • Backport webhooks support #244
  • Allows redirect uri params #231
  • Get api_base_url from config or else apply default #230
  • Update inch_ex to 0.5.6 #228
  • Test on more elixir versions #74
  • Add functions to update managed accounts #217
  • fix compiler warnings and remove whitespaces #107
  • Adds support for creating coupons #86
  • Added support for specific plan retrieval #89
  • Readme and License updates #98
  • Rework documentation #96
  • added support for paying an invoice #80
  • Updates the docs for charges.ex #83
  • Updates the docs for accounts.ex #82
  • Revise docs and formatting for cards.ex #81
  • Revise docs and formatting for accounts.ex #79
  • Refactor Stripe.Subscriptions.change/4 a little #78
  • Removing env parameter from deps to allow for arbitrary mix environments #77
  • Add Coupons module #76
  • Remove warnings #75
  • Update all dependencies #73
  • Revise readme formatting #72
  • Allow changing subscription options #70
  • Ensure URI properly escapes nested values #69
  • Use POST in cards/update API method #66
  • Replace HashDict with Map #67
  • Remove warnings in tests #65
  • Fix cassettes after URI escaping fix #64
  • Allow passing custom options to HTTPoison #54
  • Fix all tests on master #56
  • Fix Stripe.Subscriptions.change_payment_source #57
  • Fix Stripe.Plans.change #58
  • Fix test for Stripe.URI #59
  • Add a change list function that takes any params #49
  • add uri tests #48
  • Fix typo in README.md #46
  • Add vcr for connect test #45
  • ChargeTest with request vcr mock #44
  • Lib Improvements #43
  • Add travis config, Test coverage link, inch and new badges #41
  • Add HEX Badges to the repo #38
  • allow poison ~> 1.5 #34
  • Update poison and httpoison. #33
  • Add upcoming invoice API #31
  • Allow changing subscription options #35
  • Removed app start up mess, removed supervisor. Closes #50 #50
  • Record new responses for all tests 7d4530a
  • Remove current recorded responces 11d9cdd
  • Change real token to fake token d25542b

24 February 2016

  • Add update customer API and small fixes #28
  • README referenced nonexistent hex package version #29
  • Cards #27
  • Relax Elixir dependency to ~> 1.1 #25
  • updated readme eb4fdff
  • Stripe.Cards resource 0ed1a50
  • Add create card for an existing customer dfb5762

v1.1.0

15 January 2016

  • Add method for changing payment source for subscriptions #20
  • Add accounts requests on Stripe connect #18
  • Update README with stripe link #17
  • Allow deleting subscriptions with options #16
  • Type a fixo. arrity -> arity #13
  • README code blocks use elixir syntax highlighting #14
  • Made the initial changes for supporting Stripe Connect #12
  • Update README.md #11
  • Start httpoison on application start #8
  • Tokens API, improved testing and small extra utils #5
  • Refreshed elixir version and updated doc #3
  • Bumped to v1.1.0. Fixes #22 #22
  • Updated README and bumpted version 8da4b18
  • Connect-ified rest of API. Finished Connect standalone support. Revamped a bit of doc to add links. Merged in latest from rob's repo. Completed move of subscriptions/invoices to their own module. 9857705
  • Initial 1d5a868