fix php 5.6 in docker dev env (#1740)
[openemr.git] / vendor / stripe / stripe-php / CHANGELOG.md
blob87f3fb77e4c5404e70d538a7dc078c88315902e7
1 ### 5.2.0 2017-08-29
3 * Add support for `InvalidClient` OAuth error
5 ### 5.1.3 2017-08-14
7 * Allow `address_kana` and `address_kanji` to be updated for custom accounts
9 ### 5.1.2 2017-08-01
11 * Fix documented return type of `autoPagingIterator()` (was missing namespace)
13 ### 5.1.1 2017-07-03
15 * Fix order returns to use the right URL `/v1/order_returns`
17 ### 5.1.0 2017-06-30
19 * Add support for OAuth
21 ### 5.0.0 2017-06-27
23 * `pay` on invoice now takes params as well as opts
25 ### 4.13.0 2017-06-19
27 * Add support for ephemeral keys
29 ### 4.12.0 2017-06-05
31 * Clients can implement `getUserAgentInfo()` to add additional user agent information
33 ### 4.11.0 2017-06-05
35 * Implement `Countable` for `AttachedObject` (`metadata` and `additional_owners`)
37 ### 4.10.0 2017-05-25
39 * Add support for login links
41 ### 4.9.1 2017-05-10
43 * Fix docs to include arrays on `$id` parameter for retrieve methods
45 ### 4.9.0 2017-04-28
47 * Support for checking webhook signatures
49 ### 4.8.1 2017-04-24
51 * Allow nested field `payout_schedule` to be updated
53 ### 4.8.0 2017-04-20
55 * Add `\Stripe\Stripe::setLogger()` to support an external PSR-3 compatible logger
57 ### 4.7.0 2017-04-10
59 * Add support for payouts and recipient transfers
61 ### 4.6.0 2017-04-06
63 * Please see 4.7.0 instead (no-op release)      
65 ### 4.5.1 2017-03-22
67 * Remove hard dependency on cURL
69 ### 4.5.0 2017-03-20
71 * Support for detaching sources from customers
73 ### 4.4.2 2017-02-27
75 * Correct handling of `owner` parameter when updating sources
77 ### 4.4.1 2017-02-24
79 * Correct the error check on a bad JSON decoding
81 ### 4.4.0 2017-01-18
83 * Add support for updating sources
85 ### 4.3.0 2016-11-30
87 * Add support for verifying sources
89 ### 4.2.0 2016-11-21
91 * Add retrieve method for 3-D Secure resources
93 ### 4.1.1 2016-10-21
95 * Add docblock with model properties for `Plan`
97 ### 4.1.0 2016-10-18
99 * Support for 403 status codes (permission denied)
101 ### 4.0.1 2016-10-17
103 * Fix transfer reversal materialization
104 * Fixes for some property definitions in docblocks
106 ### 4.0.0 2016-09-28
108 * Support for subscription items
109 * Drop attempt to force TLS 1.2: please note that this could be breaking if you're using old OS distributions or packages and upgraded recently (so please make sure to test your integration!)
111 ### 3.23.0 2016-09-15
113 * Add support for Apple Pay domains
115 ### 3.22.0 2016-09-13
117 * Add `Stripe::setAppInfo` to allow plugins to register user agent information
119 ### 3.21.0 2016-08-25
121 * Add `Source` model for generic payment sources
123 ### 3.20.0 2016-08-08
125 * Add `getDeclineCode` to card errors
127 ### 3.19.0 2016-07-29
129 * Opt requests directly into TLS 1.2 where OpenSSL >= 1.0.1 (see #277 for context)
131 ### 3.18.0 2016-07-28
133 * Add new `STATUS_` constants for subscriptions
135 ### 3.17.1 2016-07-28
137 * Fix auto-paging iterator so that it plays nicely with `iterator_to_array`
139 ### 3.17.0 2016-07-14
141 * Add field annotations to model classes for better editor hinting
143 ### 3.16.0 2016-07-12
145 * Add `ThreeDSecure` model for 3-D secure payments
147 ### 3.15.0 2016-06-29
149 * Add static `update` method to all resources that can be changed.
151 ### 3.14.3 2016-06-20
153 * Make sure that cURL never sends `Expects: 100-continue`, even on large request bodies
155 ### 3.14.2 2016-06-03
157 * Add `inventory` under `SKU` to list of keys that have nested data and can be updated
159 ### 3.14.1 2016-05-27
161 * Fix some inconsistencies in PHPDoc
163 ### 3.14.0 2016-05-25
165 * Add support for returning Relay orders
167 ### 3.13.0 2016-05-04
169 * Add `list`, `create`, `update`, `retrieve`, and `delete` methods to the Subscription class
171 ### 3.12.1 2016-04-07
173 * Additional check on value arrays for some extra safety
175 ### 3.12.0 2016-03-31
177 * Fix bug `refreshFrom` on `StripeObject` would not take an `$opts` array
178 * Fix bug where `$opts` not passed to parent `save` method in `Account`
179 * Fix bug where non-existent variable was referenced in `reverse` in `Transfer`
180 * Update CA cert bundle for compatibility with OpenSSL versions below 1.0.1
182 ### 3.11.0 2016-03-22
184 * Allow `CurlClient` to be initialized with default `CURLOPT_*` options
186 ### 3.10.1 2016-03-22
188 * Fix bug where request params and options were ignored in `ApplicationFee`'s `refund.`
190 ### 3.10.0 2016-03-15
192 * Add `reject` on `Account` to support the new API feature
194 ### 3.9.2 2016-03-04
196 * Fix error when an object's metadata is set more than once
198 ### 3.9.1 2016-02-24
200 * Fix encoding behavior of nested arrays for requests (see #227)
202 ### 3.9.0 2016-02-09
204 * Add automatic pagination mechanism with `autoPagingIterator()`
205 * Allow global account ID to be set with `Stripe::setAccountId()`
207 ### 3.8.0 2016-02-08
209 * Add `CountrySpec` model for looking up country payment information
211 ### 3.7.1 2016-02-01
213 * Update bundled CA certs
215 ### 3.7.0 2016-01-27
217 * Support deleting Relay products and SKUs
219 ### 3.6.0 2016-01-05
221 * Allow configuration of HTTP client timeouts
223 ### 3.5.0 2015-12-01
225 * Add a verification routine for external accounts
227 ### 3.4.0 2015-09-14
229 * Products, SKUs, and Orders -- https://stripe.com/relay
231 ### 3.3.0 2015-09-11
233 * Add support for 429 Rate Limit response
235 ### 3.2.0 2015-08-17
237 * Add refund listing and retrieval without an associated charge
239 ### 3.1.0 2015-08-03
241 * Add dispute listing and retrieval
242 * Add support for manage account deletion
244 ### 3.0.0 2015-07-28
246 * Rename `\Stripe\Object` to `\Stripe\StripeObject` (PHP 7 compatibility)
247 * Rename `getCode` and `getParam` in exceptions to `getStripeCode` and `getStripeParam`
248 * Add support for calling `json_encode` on Stripe objects in PHP 5.4+
249 * Start supporting/testing PHP 7
251 ### 2.3.0 2015-07-06
253 * Add request ID to all Stripe exceptions
255 ### 2.2.0 2015-06-01
257 * Add support for Alipay accounts as sources
258 * Add support for bank accounts as sources (private beta)
259 * Add support for bank accounts and cards as external_accounts on Account objects
261 ### 2.1.4 2015-05-13
263 * Fix CA certificate file path (thanks @lphilps & @matthewarkin)
265 ### 2.1.3 2015-05-12
267 * Fix to account updating to permit `tos_acceptance` and `personal_address` to be set properly
268 * Fix to Transfer reversal creation (thanks @neatness!)
269 * Network requests are now done through a swappable class for easier mocking
271 ### 2.1.2 2015-04-10
273 * Remove SSL cert revokation checking (all pre-Heartbleed certs have expired)
274 * Bug fixes to account updating
276 ### 2.1.1 2015-02-27
277 * Support transfer reversals
279 ### 2.1.0 2015-02-19
281 * Support new API version (2015-02-18)
282 * Added Bitcoin Receiever update and delete actions
283 * Edited tests to prefer "source" over "card" as per new API version
285 ### 2.0.1 2015-02-16
287 * Fix to fetching endpoints that use a non-default baseUrl (`FileUpload`)
289 ### 2.0.0 2015-02-14
291 * Bumped minimum version to 5.3.3
292 * Switched to Stripe namespace instead of Stripe_ class name prefiexes (thanks @chadicus!)
293 * Switched tests to PHPUnit (thanks @chadicus!)
294 * Switched style guide to PSR2 (thanks @chadicus!)
295 * Added $opts hash to the end of most methods: this permits passing 'idempotency_key', 'stripe_account', or 'stripe_version'. The last 2 will persist across multiple object loads.
296 * Added support for retrieving Account by ID
298 ### 1.18.0 2015-01-21
300 * Support making bitcoin charges through BitcoinReceiver source object
302 ### 1.17.5 2014-12-23
304 * Adding support for creating file uploads.
306 ### 1.17.4 2014-12-15
308 * Saving objects fetched with a custom key now works (thanks @JustinHook & @jpasilan)
309 * Added methods for reporting charges as safe or fraudulent and for specifying the reason for refunds
311 ### 1.17.3 2014-11-06
313 * Better handling of HHVM support for SSL certificate blacklist checking.
315 ### 1.17.2 2014-09-23
317 * Coupons now are backed by a `Stripe_Coupon` instead of `Stripe_Object`, and support updating metadata
318 * Running operations (`create`, `retrieve`, `all`) on upcoming invoice items now works
320 ### 1.17.1 2014-07-31
322 * Requests now send Content-Type header
324 ### 1.17.0 2014-07-29
326 * Application Fee refunds now a list instead of array
327 * HHVM now works
328 * Small bug fixes (thanks @bencromwell & @fastest963)
329 * __toString now returns the name of the object in addition to its JSON representation
331 ### 1.16.0 2014-06-17
333 * Add metadata for refunds and disputes
335 ### 1.15.0 2014-05-28
337 * Support canceling transfers
339 ### 1.14.1 2014-05-21
341 * Support cards for recipients.
343 ### 1.13.1 2014-05-15
345 * Fix bug in account resource where `id` wasn't in the result
347 ### 1.13.0 2014-04-10
349 * Add support for certificate blacklisting
350 * Update ca bundle
351 * Drop support for HHVM (Temporarily)
353 ### 1.12.0 2014-04-01
355 * Add Stripe_RateLimitError for catching rate limit errors.
356 * Update to Zend coding style (thanks,  @jpiasetz)
358 ### 1.11.0 2014-01-29
360 * Add support for multiple subscriptions per customer
362 ### 1.10.1 2013-12-02
364 * Add new ApplicationFee
366 ### 1.9.1 2013-11-08
368 * Fix a bug where a null nestable object causes warnings to fire.
370 ### 1.9.0 2013-10-16
372 * Add support for metadata API.
374 ### 1.8.4 2013-09-18
376 * Add support for closing disputes.
378 ### 1.8.3 2013-08-13
380 * Add new Balance and BalanceTransaction
382 ### 1.8.2 2013-08-12
384 * Add support for unsetting attributes by updating to NULL.
385   Setting properties to a blank string is now an error.
387 ### 1.8.1 2013-07-12
389 * Add support for multiple cards API (Stripe API version 2013-07-12: https://stripe.com/docs/upgrades#2013-07-05)
391 ### 1.8.0 2013-04-11
393 * Allow Transfers to be creatable
394 * Add new Recipient resource
396 ### 1.7.15 2013-02-21
398 * Add 'id' to the list of permanent object attributes
400 ### 1.7.14 2013-02-20
402 * Don't re-encode strings that are already encoded in UTF-8. If you
403   were previously using plan or coupon objects with UTF-8 IDs, they
404   may have been treated as ISO-8859-1 (Latin-1) and encoded to UTF-8 a
405   2nd time. You may now need to pass the IDs to utf8_encode before
406   passing them to Stripe_Plan::retrieve or Stripe_Coupon::retrieve.
407 * Ensure that all input is encoded in UTF-8 before submitting it to
408   Stripe's servers. (github issue #27)
410 ### 1.7.13 2013-02-01
412 * Add support for passing options when retrieving Stripe objects
413   e.g., Stripe_Charge::retrieve(array("id"=>"foo", "expand" => array("customer")))
414   Stripe_Charge::retrieve("foo") will continue to work
416 ### 1.7.12 2013-01-15
418 * Add support for setting a Stripe API version override
420 ### 1.7.11 2012-12-30
422 * Version bump to cleanup constants and such (github issue #26)
424 ### 1.7.10 2012-11-08
426 * Add support for updating charge disputes.
427 * Fix bug preventing retrieval of null attributes
429 ### 1.7.9 2012-11-08
431 * Fix usage under autoloaders such as the one generated by composer
432   (github issue #22)
434 ### 1.7.8 2012-10-30
435 * Add support for creating invoices.
436 * Add support for new invoice lines return format
437 * Add support for new list objects
439 ### 1.7.7 2012-09-14
441 * Get all of the various version numbers in the repo in sync (no other
442   changes)
444 ### 1.7.6 2012-08-31
446 * Add update and pay methods to Invoice resource
448 ### 1.7.5 2012-08-23
450 * Change internal function names so that Stripe_SingletonApiRequest is
451   E_STRICT-clean (github issue #16)
453 ### 1.7.4 2012-08-21
455 * Bugfix so that Stripe objects (e.g. Customer, Charge objects) used
456   in API calls are transparently converted to their object IDs
458 ### 1.7.3 2012-08-15
460 * Add new Account resource
462 ### 1.7.2 2012-06-26
464 * Make clearer that you should be including lib/Stripe.php, not
465   test/Stripe.php (github issue #14)
467 ### 1.7.1 2012-05-24
469 * Add missing argument to Stripe_InvalidRequestError constructor in
470   Stripe_ApiResource::instanceUrl. Fixes a warning when
471   Stripe_ApiResource::instanceUrl is called on a resource with no ID
472   (github issue #12)
474 ### 1.7.0 2012-05-17
476 * Support Composer and Packagist (github issue #9)
478 * Add new deleteDiscount method to Stripe_Customer
480 * Add new Transfer resource
482 * Switch from using HTTP Basic auth to Bearer auth. (Note: Stripe will
483   support Basic auth for the indefinite future, but recommends Bearer
484   auth when possible going forward)
486 * Numerous test suite improvements