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

feat: automatically retry rate-limited requests #322

Merged
merged 2 commits into from
Sep 21, 2023

Conversation

lihbr
Copy link
Member

@lihbr lihbr commented Sep 21, 2023

Types of changes

  • Chore (a non-breaking change which is related to package maintenance)
  • Bug fix (a non-breaking change which fixes an issue)
  • New feature (a non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Description

Backport #319 to client v6

Checklist:

  • My change requires an update to the official documentation.
  • All TSDoc comments are up-to-date and new ones have been added where necessary.
  • All new and existing tests are passing.

@lihbr lihbr added the v6 Getting addressed or related to version 6 of the kit label Sep 21, 2023
@angeloashmore
Copy link
Member

LGTM! I changed the release tags to latest-v6 and beta-v6, which I think is more intuitive than 6x:

npm install @prismicio/client@latest-v6
npm install @prismicio/client@beta-v6

@angeloashmore angeloashmore changed the title chore: backport 429 handler feat: automatically retry rate-limited requests Sep 21, 2023
@angeloashmore angeloashmore merged commit 988f1f0 into v6 Sep 21, 2023
@angeloashmore angeloashmore deleted the lh/v6-backport-429-handler branch September 21, 2023 20:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
v6 Getting addressed or related to version 6 of the kit
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants