Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Next major release changes #1608

Merged
merged 35 commits into from Nov 16, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
ca93340
Update StripeSignatureVerificationError to accept header and payload …
anniel-stripe Oct 7, 2022
f9bc027
Build
anniel-stripe Oct 7, 2022
c7e26c3
Update supported runtime versions
anniel-stripe Oct 11, 2022
52bcfd7
Merge pull request #1578 from stripe/anniel-webhooks-error
anniel-stripe Oct 12, 2022
5cf9eb3
Remove Orders and subscription_data[items]
anniel-stripe Oct 11, 2022
cb2c079
Merge pull request #1579 from stripe/anniel-runtime-versions
anniel-stripe Oct 12, 2022
4886f04
Merge pull request #1580 from stripe/anniel-generate-major
anniel-stripe Oct 12, 2022
16ff04f
Remove SKU resource
anniel-stripe Oct 13, 2022
3e9785b
Remove SKUs.spec.js
anniel-stripe Oct 13, 2022
f0400cf
Merge pull request #1583 from stripe/anniel-remove-skus
anniel-stripe Oct 17, 2022
3b6db62
Merge branch 'master' into anniel/merge-master-into-next-major
anniel-stripe Oct 31, 2022
47effcf
Merge pull request #1594 from stripe/anniel/merge-master-into-next-major
anniel-stripe Oct 31, 2022
71f615b
Remove deprecated configuration setter methods (#1597)
anniel-stripe Nov 1, 2022
abf6659
Merge remote-tracking branch 'origin/master' into sdk-release/next-major
anniel-stripe Nov 4, 2022
58e625c
Merge pull request #1601 from stripe/anniel-merge-master
anniel-stripe Nov 4, 2022
651324b
Remove more deprecated items (#1600)
anniel-stripe Nov 4, 2022
20f978f
Generate files for next major (#1603)
anniel-stripe Nov 7, 2022
c31c07e
Update LatestApiVersion and types reference
anniel-stripe Nov 7, 2022
8c844fc
Merge remote-tracking branch 'origin/sdk-release/next-major' into ann…
anniel-stripe Nov 8, 2022
c26c02b
Update all references to latest API version
anniel-stripe Nov 8, 2022
825ac15
Merge remote-tracking branch 'origin/master' into sdk-release/next-major
anniel-stripe Nov 9, 2022
009b592
Regenerate
anniel-stripe Nov 9, 2022
e8ab3a5
Merge branch 'anniel-merge-master' into anniel-update-types-reference
anniel-stripe Nov 9, 2022
1356531
Merge pull request #1614 from stripe/anniel-merge-master
anniel-stripe Nov 9, 2022
425fe47
Merge branch 'master' into sdk-release/next-major
pakrym-stripe Nov 11, 2022
3a93844
Merge pull request #1617 from stripe/pakrym/merge-master-sdk-release/…
pakrym-stripe Nov 11, 2022
139c3d0
Merge remote-tracking branch 'origin/master' into anniel-latest-api-v…
anniel-stripe Nov 15, 2022
5287260
Latest API version
anniel-stripe Nov 15, 2022
c3da6d6
Merge branch 'master' into sdk-release/next-major
pakrym-stripe Nov 15, 2022
92c6218
fix tests
pakrym-stripe Nov 15, 2022
34eb135
Update API_VERSION and references
anniel-stripe Nov 15, 2022
664bd7f
Merge pull request #1621 from stripe/pakrym/Merge_type_changes_from_m…
pakrym-stripe Nov 15, 2022
5571ef5
Merge remote-tracking branch 'origin/sdk-release/next-major' into ann…
anniel-stripe Nov 15, 2022
6c64bbf
Format
anniel-stripe Nov 15, 2022
07c7892
Merge pull request #1620 from stripe/anniel-latest-api-version
anniel-stripe Nov 15, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 0 additions & 1 deletion .github/workflows/main.yml
Expand Up @@ -69,7 +69,6 @@ jobs:
- "16"
- "14"
- "12"
- "10"
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
Expand Down
2 changes: 1 addition & 1 deletion API_VERSION
@@ -1 +1 @@
2022-08-01
2022-11-15
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -19,7 +19,7 @@ See [video demonstrations][youtube-playlist] covering how to use the library.

## Requirements

Node 8, 10 or higher.
Node 12 or higher.

## Installation

Expand Down Expand Up @@ -73,7 +73,7 @@ and instantiate it as `new Stripe()` with the latest API version.
```ts
import Stripe from 'stripe';
const stripe = new Stripe('sk_test_...', {
apiVersion: '2022-08-01',
apiVersion: '2022-11-15',
});

const createCustomer = async () => {
Expand Down
Expand Up @@ -5,7 +5,7 @@ import env from 'dotenv';
env.config();

const stripe = new Stripe(process.env.STRIPE_SECRET_KEY, {
apiVersion: '2022-08-01',
apiVersion: '2022-11-15',
});

const webhookSecret: string = process.env.STRIPE_WEBHOOK_SECRET;
Expand Down
8 changes: 7 additions & 1 deletion lib/Error.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

26 changes: 0 additions & 26 deletions lib/StripeMethod.basic.js

This file was deleted.

13 changes: 1 addition & 12 deletions lib/StripeResource.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

30 changes: 6 additions & 24 deletions lib/Webhooks.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/apiVersion.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 0 additions & 2 deletions lib/resources.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions lib/resources/AccountLinks.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

43 changes: 21 additions & 22 deletions lib/resources/Accounts.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 4 additions & 5 deletions lib/resources/ApplePayDomains.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 6 additions & 7 deletions lib/resources/ApplicationFees.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.