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

API Updates #1451

Merged
merged 43 commits into from
Jun 30, 2022
Merged

API Updates #1451

merged 43 commits into from
Jun 30, 2022

Conversation

pakrym-stripe
Copy link
Contributor

@pakrym-stripe pakrym-stripe commented Jun 14, 2022

Codegen for openapi v161.
r? @pakrym-stripe
cc @stripe/api-libraries

Changelog

  • Updated stable APIs to the latest version

dcr-stripe and others added 29 commits May 5, 2022 09:22
* feat(http-client): Retry requests that failed with closed connection

Requests that fail with closed connection errors (ECONNRESET, EPIPE) are
automatically retried.

- `ECONNRESET` (Connection reset by peer): A connection was forcibly
  closed by a peer.closed by a peer. This normally results from a loss
  of the connection on the remote socket due to a timeout or reboot.
  Commonly encountered via the http and net modules.

- `EPIPE` (Broken pipe): A write on a pipe, socket, or FIFO for which
  there is no process to read the data. Commonly encountered at the net
  and http layers, indicative that the remote side of the stream being
  written to has been closed.

Fixes: #1040
* Codegen for openapi 7789931
* Codegen for openapi 056745c
Co-authored-by: Richard Marmorstein <[email protected]>
Co-authored-by: Dominic Charley-Roy <[email protected]>
* Add types for extra request options

* tests and fewer props

Co-authored-by: Pavel Krymets <[email protected]>
@pakrym-stripe
Copy link
Contributor Author

r? @dcr-stripe

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants