Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Oct 15, 2025

Bumps ky from 1.8.1 to 1.12.0.

Release notes

Sourced from ky's releases.

v1.12.0

Improvements

  • Add retry count to afterResponse and beforeError hooks (#763) 37fc250
  • Add retry count to beforeRequest hook (#754) b7572d0
  • Add type guards for errors (#746) 7e1fd0b

Fixes

  • Fix dispatcher option being ignored (#757) 5a3fc90
  • Fix hooks field incorrectly included in NormalizedOptions (#726) (#756) 0f2f00a
  • Fix searchParams option merging with URLSearchParams instances (#755) c847eec
  • Fix signal merging when using both instance and request options (#751) 2b0a100
  • Fix FormData content-type boundary regeneration when retrying in hooks (#752) d02b636

sindresorhus/ky@v1.11.0...v1.12.0

v1.11.0

  • Improve progress events for onDownloadProgress and onUploadProgress (#736) 60958f9
  • Fix hang on stream request cleanup in Node.js (#741) 9a89a35

sindresorhus/ky@v1.10.0...v1.11.0

v1.10.0

  • Support undefined values for searchParams object (#729) a87d9e9
  • Fix race condition issue with .json() (#731) 8cd79d3

sindresorhus/ky@v1.9.1...v1.10.0

v1.9.1

  • Fix uploadProgress with form data (#725) 3a8f89c

sindresorhus/ky@v1.9.0...v1.9.1

v1.9.0

  • Add .bytes() shortcut (#720) d112283
  • Don't produce URL with "?" alone (#706) 17ca389

sindresorhus/ky@v1.8.2...v1.9.0

... (truncated)

Commits
  • 5d0a85d 1.12.0
  • d93560c Document how to modify FormData in beforeRequest hooks (#764)
  • ec10a68 Document Chromium's automatic retry behavior for 408 status codes
  • 37fc250 Add retry count to afterResponse and beforeError hooks (#763)
  • 5fc5bfb Fix flaky timing tests on Node.js 24 in CI
  • 5a3fc90 Fix dispatcher option being ignored (#757)
  • 001c340 Document requirement to handle error.response body when catching `HTTPError...
  • 0f2f00a Fix hooks field incorrectly included in NormalizedOptions (#726) (#756)
  • b7572d0 Add retry count to beforeRequest hook (#754)
  • c847eec Fix searchParams option merging with URLSearchParams instances (#755)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [ky](https://github.com/sindresorhus/ky) from 1.8.1 to 1.12.0.
- [Release notes](https://github.com/sindresorhus/ky/releases)
- [Commits](sindresorhus/ky@v1.8.1...v1.12.0)

---
updated-dependencies:
- dependency-name: ky
  dependency-version: 1.12.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Oct 15, 2025
@grzanka grzanka requested a review from Copilot October 16, 2025 12:11
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR updates the ky HTTP client library from version 1.8.1 to 1.12.0. The update includes several improvements and bug fixes related to retry hooks, option merging, progress events, and type guards.

Key changes:

  • Dependency version bump from ^1.8.1 to ^1.12.0
  • Includes fixes for signal merging, searchParams handling, and FormData boundary regeneration
  • Adds retry count to request/response hooks and new type guards for errors

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@grzanka grzanka added this pull request to the merge queue Oct 16, 2025
Merged via the queue into master with commit d38fa7c Oct 16, 2025
9 checks passed
@grzanka grzanka deleted the dependabot/npm_and_yarn/ky-1.12.0 branch October 16, 2025 12:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants