forked from stripe/stripe-go
-
Notifications
You must be signed in to change notification settings - Fork 0
/
CHANGELOG
514 lines (369 loc) · 13.2 KB
/
CHANGELOG
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
22.1.1 2017-06-12
Handle `deleted` parameter when updating subscription items in a subscription
22.1.0 2017-05-25
Change `Logger` to a `log.Logger`-like interface so other loggers are usable
22.0.0 2017-05-25
Add support for login links
Add support for new `Type` for accounts
Make `Event` `Request` (renamed from `Req`) a struct with a new idempotency key
Rename `Event` `UserID` to `Account`
21.5.1 2017-05-23
Fix plan update so `TrialPeriod` parameter is sent
21.5.0 2017-05-15
Implement `Get` for `RequestValues`
21.4.1 2017-05-11
Pass extra parameters to API calls on bank account deletion
21.4.0 2017-05-04
Add `Billing` and `DueDate` filters to invoice listing
Add `Billing` filter to subscription listing
21.3.0 2017-05-02
Add `DetailsCode` to `IdentityVerification`
21.2.0 2017-04-19
Send user agent information with `X-Stripe-Client-User-Agent`
Add `stripe.SetAppInfo` for plugin authors to register app information
21.1.0 2017-04-12
Allow coupon to be specified when creating orders
No longer require that items have descriptions when creating orders
21.0.0 2017-04-07
Balances are now retrieved by payout instead of by transfer
20.0.0 2017-04-06
Bump API version to 2017-04-06: https://stripe.com/docs/upgrades#2017-04-06
Add support for payouts and recipient transfers
Change the transfer resource to support its new format
Deprecate recipient creation
Disputes under charges are now expandable and collapsed by default
Rules under charge outcomes are now expandable and collapsed by default
19.17.0 2017-04-06
Please see 20.0.0 (bad release)
19.16.0 2017-03-23
Allow the ID of an identity document to be passed into an account owner update
19.15.0 2017-03-22
Add `ShippingCarrier` to dispute evidence
19.14.0 2017-03-20
Add `Period`, `Plan`, and `Quantity` to `InvoiceItem`
19.13.0 2017-03-20
Add `AdditionalOwnersEmpty` to allow additional owners to be unset
19.12.0 2017-03-17
Add new form of file upload using `io.FileReader` and filename
19.11.0 2017-03-13
Add `Token` to `SourceObjectParams`
19.10.0 2017-03-13
Add `CouponEmpty` (allowing a coupon to be cleared) to customer parameters
Add `CouponEmpty` (allowing a coupon to be cleared) to subscription parameters
19.9.0 2017-03-08
Add missing value "all" to subscription statuses
19.8.0 2017-03-02
Add subscription items client to main `client.API` struct
19.7.0 2017-03-01
Add `Statement` (statement descriptor) to `CaptureParams`
19.6.0 2017-02-22
Add new parameters for invoices and subscriptions
19.5.0 2017-02-13
Add new rich `Destination` type to `ChargeParams`
19.4.0 2017-02-03
Support Connect account as payment source
19.3.0 2017-02-02
Add transfer group to charges and transfers
19.2.0 2017-01-23
Add `Rule` to `ChargeOutcome`
19.1.0 2017-01-18
Add support for updating sources
19.0.2 2017-01-04
Fix subscription `trial_period_days` to be populated by the right value
19.0.1 2016-12-08
Include verification document details when persisting `LegalEntity`
19.0.0 2016-12-07
Remote `SubProrationDateNow` field from `InvoiceParams`
18.14.1 2016-12-05
Truncate `tax_percent` at four decimals (e.g. 3.9750%) instead of two
18.14.0 2016-11-23
Add retrieve method for 3-D Secure resources
18.13.0 2016-11-15
Add `PaymentSource` to `API`
18.12.0 2016-11-14
Allow bank accounts to be created as a customer source
18.11.0 2016-11-14
Add `TrialPeriodEnd` to `SubParams`
18.10.0 2016-11-09
Add `StatusTransitions` to `Order`
18.9.0 2016-11-04
Add `Application` to `Charge`
18.8.0 2016-10-24
Add `Review` to `Charge` for the charge reviews
18.7.0 2016-10-18
Add `RiskLevel` to `ChargeOutcome`
18.6.0 2016-10-18
Support for 403 status codes (permission denied)
18.5.0 2016-10-18
Add `Status` to `SubListParams` to allow filtering subscriptions by status
18.4.0 2016-10-14
Add `HasEvidence` and `PastDue` to `EvidenceDetails`
18.3.0 2016-10-10
Add `NoDiscountable` to `InvoiceItemParams`
18.2.0 2016-10-10
Add `BusinessLogo` to `Account`
Add `ReceiptNumber` to `Charge`
Add `DestPayment` to `Transfer`
18.1.0 2016-10-04
Support for Apple Pay domains
18.0.0 2016-10-03
Support for subscription items
Correct `SourceTx` on `Transfer` to be a `SourceTransaction`
Change `Charge` on `Resource` to be expandable (now a struct instead of string)
17.5.0 2016-09-22
Support customer-related operations for bank accounts
17.4.2 2016-09-19
Fix but where some parameters were not being included on order update
17.4.1 2016-09-15
Fix bug that required a date of birth to be included on account update
17.4.0 2016-09-13
Add missing Kana and Kanji address and name fields to account's legal entity
Add `ReceiptNumber` and `Status` to `Refund`
17.3.0 2016-09-07
Add support for sources endpoint
17.2.0 2016-08-29
Add order returns to `API`
17.1.0 2016-08-22
Add `DeactiveOn` to `Product`
17.0.0 2016-08-18
Allow expansion of destination on transfers
Allow expansion of sources on balance transactions
16.8.0 2016-08-17
Add `OriginatingTransaction` to `Fee`
16.7.1 2016-08-17
Allow params to be nil when retrieving a refund
16.7.0 2016-08-11
Add support for 3-D Secure
16.6.0 2016-08-09
Add `ReceiptNumber` to `Invoice`
16.5.0 2016-08-08
Add `Meta` to `Account`
16.4.0 2016-08-05
Allow the migration of recipients to accounts
Add `MigratedTo` to `Recipient`
16.3.1 2016-07-25
URL-escape the IDs of coupons and plans when making API requests
16.3.0 2016-07-19
Add `NoClosed` to `InvoiceParams` to allow an invoice to be reopened
16.2.1 2016-07-11
Consider `SubParams.QuantityZero` when updating a subscription
16.2.0 2016-07-07
Upgrade API version to 2016-07-06
16.1.0 2016-07-07
Add `Returns` field to `Order`
16.0.0 2016-06-30
Remove `Name` field on `SKU`; it's not actually supported
Support updating `Product` on `SKU`
15.6.0 2016-06-24
Allow product and SKU attributes to be updated
15.5.0 2016-06-24
Add `TaxPercent` and `TaxPercentZero` to `CustomerParams`
15.4.0 2016-06-20
Add `TokenizationMethod` to `Card` struct
15.3.0 2016-06-15
Add `BalanceZero` to `CustomerParams` so that balance can be zeroed out
15.2.0 2016-06-03
Add `ToValues` to `RequestValues` struct
15.1.0 2016-05-26
Add `BusinessVatID` to customer creation parameters
15.0.0 2016-05-24
Fix handling of nested objects in arrays in request parameters
14.4.0 2016-05-24
Add granular error types in new `Err` field on `stripe.Error`
14.3.0 2016-05-20
Allow Relay orders to be returned and add associated types
14.2.3 2016-05-20
When creating a bank account token, only send routing number if it's been set
14.2.2 2016-05-17
When creating a bank account, only send routing number if it's been set
14.2.1 2016-05-17
Add missing SKU clinet to client API type
14.2.0 2016-05-11
Add `Reversed` and `AmountReversed` fields to `Transfer`
14.1.0 2016-05-05
Allow `default_for_currency` to be set when creating a card
14.0.0 2016-05-04
Change the signature for `sub.Delete`. The customer ID is no longer required.
13.12.0 2016-04-28
Add `Currency` to `Card`
13.11.1 2016-04-22
Fix bug where new external accounts could not be marked default from token
13.11.0 2016-04-21
Expose a number of list types that were previously internal (full list below)
Expose `stripe.AccountList`
Expose `stripe.TransactionList`
Expose `stripe.BitcoinReceiverList`
Expose `stripe.ChargeList`
Expose `stripe.CountrySpecList`
Expose `stripe.CouponList`
Expose `stripe.CustomerList`
Expose `stripe.DisputeList`
Expose `stripe.EventList`
Expose `stripe.FeeList`
Expose `stripe.FileUploadList`
Expose `stripe.InvoiceList`
Expose `stripe.OrderList`
Expose `stripe.ProductList`
Expose `stripe.RecipientList`
Expose `stripe.TransferList`
Switch to use of `stripe.BitcoinTransactionList`
Switch to use of `stripe.SKUList`
13.10.1 2016-04-20
Add support for `TaxPercentZero` to invoice and subscription updates
13.10.0 2016-04-19
Expose `stripe.PlanList` (previously an internal type)
13.9.0 2016-04-18
Add `TaxPercentZero` struct to `InvoiceParams`
Add `TaxPercentZero` to `SubParams`
13.8.0 2016-04-12
Add `Outcome` struct to `Charge`
13.7.0 2016-04-06
Add `Description`, `IIN`, and `Issuer` to `Card`
13.6.0 2016-04-05
Add `SourceType` (and associated constants) to `Transfer`
13.5.0 2016-03-29
Add `Meta` (metadata) to `BankAccount`
13.4.0 2016-03-29
Add `Meta` (metadata) to `Card`
13.3.0 2016-03-29
Add `DefaultCurrency` to `CountrySpec`
13.2.0 2016-03-18
Add `SourceTransfer` to `Charge`
Add `SourceTx` to `Transfer`
13.1.0 2016-03-15
Add `Reject` on `Account` to support the new API feature
13.0.0 2016-03-15
Upgrade API version to 2016-03-07
Remove `Account.BankAccounts` in favor of `ExternalAccounts`
Remove `Account.Currencies` in favor of `CountrySpec`
12.1.0 2016-02-04
Add `ListParams.StripeAccount` for making list calls on behalf of connected accounts
Add `Params.StripeAccount` for symmetry with `ListParams.StripeAccount`
Deprecate `Params.Account` in favor of `Params.StripeAccount`
12.0.0 2016-02-02
Add support for fetching events for managed accounts (`event.Get` now takes `Params`)
11.5.0 2016-02-26
Allow a `PII.PersonalIDNumber` number to be used to create a token
11.4.0 2016-02-24
Add missing subscription fields to `InvoiceParams` for use with `invoice.GetNext`
11.3.0 2016-02-19
Add `AccountHolderName` and `AccountHolderType` to bank accounts
11.2.0 2016-02-11
Add support for `CountrySpec`
Add `SSNProvided`, `PersonalIDProvided` and `BusinessTaxIDProvided` to `LegalEntity`
11.1.2 2016-02-02
Fix card update method to correctly take expiration date
11.1.1 2016-02-01
Fix recipient update so that it can take a bank token (like create)
11.0.1 2016-01-11
Add missing field `country` to shipping details of `Charge` and `Customer`
11.0.0 2016-01-07
Add missing field `Default` to `BankAccount`
Add `OrderParams` parameter to `Order` retrieval
Fix parameter bug when creating a new `Order`
Support special value of 'now' for trial end when updating subscriptions
10.3.0 2015-12-10
Allow an account to be referenced when creating a card
10.2.0 2015-12-04
Add `Update` function on `Coupon` client so that metadata can be set
10.1.0 2015-12-01
Add a verification routine for external accounts
10.0.0 2015-11-30
Return models along with `error` when deleting resources with `Del`
Fix bug where country parameter wasn't included for some account creation
9.0.0 2015-11-13
Return model (`Sub`) when cancelling a subscription (`sub.Cancel`)
8.0.0 2015-08-17
Add ability to list and retrieve refunds without a Charge
7.0.0 2015-08-03
Add ability to list and retrieve disputes
6.8.0 2015-07-29
Add ability to delete an account
6.7.1 2015-07-17
Bug fixes
6.7.0 2015-07-16
Expand logging object
Move proration date to subscription update
Send country when creating/updating account
6.6.0 2015-07-06
Add request ID to errors
6.5.0 2015-07-06
Update bank account creation API
Add destination, application fee, transfer to Charge struct
Add missing fields to invoice line item
Rename deprecated customer param value
6.4.2 2015-06-23
Add BusinessUrl, BusinessUrl, BusinessPrimaryColor, SupportEmail, and
SupportUrl to Account.
6.4.1 2015-06-16
Change card.dynamic_last_four to card.dynamic_last4
6.4.0 2015-05-28
Rename customer.default_card -> default_source
6.3.0 2015-05-19
Add shipping address to charges
Expose card.dynamic_last_four
Expose account.tos_acceptance
Bug fixes
Bump API version to most recent one
6.2.0 2015-04-09
Bug fixes
Add Extra to parameters
6.1.0 2015-03-17
Add TaxPercent for subscriptions
Event bug fixes
6.0.0 2015-03-15
Add more operations for /accounts endpoint
Add /transfers/reversals endpoint
Add /accounts/bank_accounts endpoint
Add support for Stripe-Account header
5.1.0 2015-02-25
Add new dispute status `warning_closed`
Add SubParams.TrialEndNow to support `trial_end = "now"`
5.0.1 2015-02-25
Fix URL for upcoming invoices
5.0.0 2015-02-19
Bump to API version 2014-02-18
Change Card, DefaultCard, Cards to Source, DefaultSource, Sources in Stripe response objects
Add paymentsource package for manipulating Customer's sources
Support Update action for Bitcoin Receivers
4.4.3 2015-02-08
Modify NewIdempotencyKey() algorithm to increase likelihood of randomness
4.4.2 2015-01-24
Add BankAccountParams.Token
Add Token.ClientIP
Add LogLevel
4.4.0 2015-01-20
Add Bitcoin support
4.3.0 2015-01-13
Added support for listing FileUploads
Mime parameter on FileUpload has been changed to Type
4.2.1 2014-12-28
Handle charges with customer card tokens
4.2.0 2014-12-18
Add idempotency support
4.1.0 2014-12-17
Bump to API version 2014-12-17.
4.0.0 2014-12-16
Add FileUpload resource. This brings in a new endpoint (uploads.stripe.com) and thus makes changes to some of the existing interfaces.
This also adds support for multipart content.
3.1.0 2014-12-16
Add Charge.FraudDetails
3.0.1 2014-12-15
Add timeout value to HTTP requests
3.0.0 2014-12-05
Add Dispute.EvidenceDetails
Remove Dispute.DueDate
Change Dispute.Evidence from string to struct
2.0.0 2014-11-26
Change List interface to .Next() and .Resource()
Better error messages for Get() methods
EventData.Raw contains the raw event message
SubParams.QuantityZero can be used for free subscriptions
1.0.3 2014-10-22
Add AddMeta method
1.0.2 2014-09-23
Minor fixes
1.0.1 2014-09-23
Linter-based updates
1.0.0 2014-09-22
initial version