Skip to content

Commit

Permalink
Update migrating guide for v16.0.0 (#2694)
Browse files Browse the repository at this point in the history
  • Loading branch information
mshafrir-stripe authored Aug 10, 2020
1 parent 2fd4220 commit 71fdf7a
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions MIGRATING.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,22 @@
# Migration Guide

## Migrating from versions < 16.0.0
- Changes to `CardInputWidget` and `CardMultilineWidget`
- `card` and `cardBuilder` are deprecated. Use `cardParams` instead.
- Changes to `Card`
- `number` and `cvc` are deprecated and will be removed in a future release.
- `Card.Builder` is deprecated. Use `CardParams` instead.
- `Card.fromString()`, `Card.fromJson()`, and `Card.create()` are deprecated
and will be removed in a future release.
- Changes to `SourceParams`
- `createCardToken()` that accepts a `Card` parameter is deprecated.
Use `createCardToken()` that accepts a `CardParams` parameter instead.
- `createCardTokenSynchronous()` that accepts a `Card` parameter is deprecated.
Use `createCardTokenSynchronous()` that accepts a `CardParams` parameter instead.
- Changes to `Stripe`
- `createCardParams()` that accepts a `Card` parameter is deprecated.
Use `createCardParams()` that accepts a `CardParams` parameter instead.

## Migrating from versions < 15.0.0
- The SDK now targets JVM 1.8
- The SDK now requires Android 5.0+ (API level 21+)
Expand Down

0 comments on commit 71fdf7a

Please sign in to comment.