You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/UPGRADE_V1_TO_V2.md
+8-7Lines changed: 8 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,20 +1,21 @@
1
1
# Upgrade guide
2
2
3
-
Upgrading your vue-stripe-js from v1 to v2.
3
+
Upgrading your Vue Stripe.js from v1 to v2.
4
4
5
-
Vue Stripe.js v2.0.0 is a major update that makes changes in default choices due to Stripe.js evolution. It was designed with stability in mind. Your upgrade should be smooth and simple.
5
+
v2.0.0 is a major update that introduces changes in default choices due to the evolution of Stripe.js. It was designed with stability in mind, ensuring that your upgrade should be smooth and simple.
6
6
7
7
## Breaking changes
8
8
9
-
ES module is the de-facto standard. Vite is expected to drop commonjs support in 2025. Don't upgrade if you use "require" instead of "import".
9
+
ES modules are the defacto standard. Vite is expected to drop CommonJS support in 2025. Do not upgrade if you are using "require" instead of "import."
10
10
11
-
-added npm type module
12
-
-removed commonjs export
11
+
-Added npm type module
12
+
-Removed CommonJS export
13
13
14
14
## Features
15
-
- Backward-compatible, old implementations should work seamlessly
15
+
16
+
- Backward-compatible; old implementations should work seamlessly
16
17
- Payment Element is the new default
17
-
-Better TypeScript support
18
+
-Improved TypeScript support
18
19
- Added new examples for Payment, Card, and Express Checkout
0 commit comments