Skip to content

Commit 71fdf7a

Browse files
Update migrating guide for v16.0.0 (stripe#2694)
1 parent 2fd4220 commit 71fdf7a

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

MIGRATING.md

+17
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,22 @@
11
# Migration Guide
22

3+
## Migrating from versions < 16.0.0
4+
- Changes to `CardInputWidget` and `CardMultilineWidget`
5+
- `card` and `cardBuilder` are deprecated. Use `cardParams` instead.
6+
- Changes to `Card`
7+
- `number` and `cvc` are deprecated and will be removed in a future release.
8+
- `Card.Builder` is deprecated. Use `CardParams` instead.
9+
- `Card.fromString()`, `Card.fromJson()`, and `Card.create()` are deprecated
10+
and will be removed in a future release.
11+
- Changes to `SourceParams`
12+
- `createCardToken()` that accepts a `Card` parameter is deprecated.
13+
Use `createCardToken()` that accepts a `CardParams` parameter instead.
14+
- `createCardTokenSynchronous()` that accepts a `Card` parameter is deprecated.
15+
Use `createCardTokenSynchronous()` that accepts a `CardParams` parameter instead.
16+
- Changes to `Stripe`
17+
- `createCardParams()` that accepts a `Card` parameter is deprecated.
18+
Use `createCardParams()` that accepts a `CardParams` parameter instead.
19+
320
## Migrating from versions < 15.0.0
421
- The SDK now targets JVM 1.8
522
- The SDK now requires Android 5.0+ (API level 21+)

0 commit comments

Comments
 (0)