Skip to content

Bump wretch from 2.11.1 to 3.0.9 in /javascript - #50

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/javascript/wretch-3.0.9
Open

Bump wretch from 2.11.1 to 3.0.9 in /javascript#50
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/javascript/wretch-3.0.9

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Sep 3, 2026

Copy link
Copy Markdown
Contributor

Bumps wretch from 2.11.1 to 3.0.9.

Release notes

Sourced from wretch's releases.

3.0.9

3.0.9 (2026-06-19)

🎨 Code improvement(s)

  • Narrow AbortAddon controller() return type to AbortController (6a83061)

🐛 Bug fix(es)

  • Fix .fetchError catching user errors (9a8faad), closes #318

3.0.8

3.0.8 (2026-05-23)

⚠️ Potential TypeScript breaking change

This may surface new typescript errors in existing code that previously compiled with overly narrow types. In practice, this means code that assumed the result was always Data may now need to handle additional catcher return values.

Although this can be a type-level breaking change, it is a correctness fix: the previous typings were incomplete and did not match actual runtime behavior.

👉 This change does not affect runtime behavior.


🐛 Bug fix(es)

  • Fix catcher return type inference (f78f32a), closes #313

wretch now reflects catcher callback return types in the final promise type.

For example, this is now inferred correctly:

const result = await wretch(url)
  .get()
  .notFound(() => "notFound" as const)
  .json<Data>()

And result is now typed as:

Data | "notFound"

Catchers with no return value are now reflected as undefined, and the same typing improvement also applies through .resolve() and deferred catchers configured with .defer().

// a slightly more exhaustive example
</tr></table> 

... (truncated)

Changelog

Sourced from wretch's changelog.

3.0.9 (2026-06-19)

🎨 Code improvement(s)

  • Narrow AbortAddon controller() return type to AbortController (6a83061)

🐛 Bug fix(es)

  • Fix .fetchError catching user errors (9a8faad), closes #318

3.0.8 (2026-05-23)

⬆️ Version update(s)

🐛 Bug fix(es)

  • Fix catcher return type inference (f78f32a), closes #313

✅ Test improvement(s)

  • Properly typecheck tests (5af0e78)

3.0.7 (2026-03-07)

⬆️ Version update(s)

  • Bump fastify from 5.6.1 to 5.7.3 (153cae9)
  • Bump lodash from 4.17.21 to 4.17.23 (2355d02)
  • Bump qs from 6.14.0 to 6.14.2 (02ca86e)
  • Upgrade dependencies (f677f28)

🏭 New feature(s)

  • Allow multiple error ids on catchers (dc93190)

... (truncated)

Commits
  • 32d5f68 v3.0.9
  • 9a8faad 🐛 Fix .fetchError catching user errors
  • a7c2185 Merge pull request #316 from Ruby-Leung/narrow-abort-controller-type
  • 6a83061 🎨 Narrow AbortAddon controller() return type to AbortController
  • 76821f8 v3.0.8
  • 56165dc ⬆️ Upgrade dependencies
  • 14185e9 ⬆️ Add min-release-age guard
  • 81831c6 Merge pull request #314 from elbywan/narrow-catcher-return-type
  • 5af0e78 ✅ Properly typecheck tests
  • f78f32a 🐛 Fix catcher return type inference
  • Additional commits viewable in compare view
Maintainer changes

This version was pushed to npm by GitHub Actions, a new releaser for wretch since your current version.


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 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 [wretch](https://github.com/elbywan/wretch) from 2.11.1 to 3.0.9.
- [Release notes](https://github.com/elbywan/wretch/releases)
- [Changelog](https://github.com/elbywan/wretch/blob/master/CHANGELOG.md)
- [Commits](elbywan/wretch@2.11.1...3.0.9)

---
updated-dependencies:
- dependency-name: wretch
  dependency-version: 3.0.9
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot @github

dependabot Bot commented on behalf of github Sep 3, 2026

Copy link
Copy Markdown
Contributor Author

Labels

The following labels could not be found: automerge. Please create it before Dependabot can add it to a pull request.

Please fix the above issues or remove invalid values from dependabot.yml.

@dependabot dependabot Bot added the dependencies Pull requests that update a dependency file label Sep 3, 2026
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants