Skip to content

Commit

Permalink
Merge pull request #1662 from stripe/latest-codegen-beta
Browse files Browse the repository at this point in the history
API Updates for beta branch
  • Loading branch information
pakrym-stripe committed Jan 19, 2023
2 parents e1d9267 + be77f4b commit 29893f3
Show file tree
Hide file tree
Showing 161 changed files with 6,577 additions and 6,301 deletions.
1 change: 1 addition & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ jobs:
os:
- "ubuntu-latest"
node:
- "19"
- "18"
- "16"
- "14"
Expand Down
19 changes: 19 additions & 0 deletions .mocharc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
'use strict';

// Configuration for our Mocha test suite.
const config = {
color: true,
// Run tests in parallel.
parallel: true,
// Recurse through all tests in the test directory.
recursive: true,
extension: ["js", "ts"],
require: "ts-node/register/transpile-only"
};

if (process.argv.find(a => a.includes('WebStorm'))) {
// Parallel doesn't work correctly when running from JetBrains WebStorm
config.parallel = false;
}

module.exports = config;
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Changelog

## 11.7.0 - 2023-01-19
* [#1661](https://github.com/stripe/stripe-node/pull/1661) API Updates
* Add support for `verification_session` on `EphemeralKeyCreateParams`
* Add support for new values `refund.created` and `refund.updated` on enums `WebhookEndpointCreateParams.enabled_events[]` and `WebhookEndpointUpdateParams.enabled_events[]`
* [#1647](https://github.com/stripe/stripe-node/pull/1647) Bump json5 from 2.2.1 to 2.2.3

## 11.7.0-beta.2 - 2023-01-12
* [#1653](https://github.com/stripe/stripe-node/pull/1653) API Updates for beta branch
* Updated stable APIs to the latest version
Expand Down
2 changes: 1 addition & 1 deletion OPENAPI_VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v218
v219
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -529,13 +529,13 @@ stripe-mock
Run a single test suite without a coverage report:

```bash
$ yarn mocha-only test/Error.spec.js
$ yarn mocha-only test/Error.spec.ts
```

Run a single test (case sensitive) in watch mode:

```bash
$ yarn mocha-only test/Error.spec.js --grep 'Populates with type' --watch
$ yarn mocha-only test/Error.spec.ts --grep 'Populates with type' --watch
```

If you wish, you may run tests using your Stripe _Test_ API key by setting the
Expand Down
156 changes: 83 additions & 73 deletions lib/Error.js

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

Loading

0 comments on commit 29893f3

Please sign in to comment.