Skip to content

Bump wretch from 2.7.0 to 3.0.6 - #714

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/wretch-3.0.6
Closed

Bump wretch from 2.7.0 to 3.0.6#714
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/wretch-3.0.6

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Dec 26, 2025

Copy link
Copy Markdown
Contributor

Bumps wretch from 2.7.0 to 3.0.6.

Release notes

Sourced from wretch's releases.

3.0.6

3.0.6 (2025-12-12)

🐛 Bug fix(es)

  • Add Self to return type (e5582d6)
import wretch from "wretch";
import AbortAddon from "wretch/addons/abort";
const base = wretch()
.addon(AbortAddon())
.catcher(404, (error) => { throw error; });
// Previously: ❌ TypeScript error: Property 'signal' does not exist
// Now: 🟢
base.signal(new AbortController()).get("/test");

  • Widen catcherFallback error type (d0a3fbe), closes #290
import wretch from "wretch";
class ApiError extends Error {
constructor(public status: number, message: string) {
super(message);
}
}
const api = wretch()
.customError(async (error) => {
return new ApiError(error.status, error.message);
})
.catcherFallback((error) => {
// Previously 🔴
// Error was typed as "ApiError"
// But if you block the URL in Chrome DevTools (or network is down):
// error is actually TypeError: Failed to fetch
//
// Now: 🟢
// error is properly typed as "unknown"
console.log(error);
});

... (truncated)

Changelog

Sourced from wretch's changelog.

3.0.6 (2025-12-12)

🐛 Bug fix(es)

  • Add Self to return type (e5582d6)
  • Widen catcherFallback error type (d0a3fbe), closes #290

✅ Test improvement(s)

  • Add core snippet testing infrastructure (fcea6f7)
  • Add directive system for snippet test control (106e0d6)
  • Add execution engine and test orchestration (28f60a1)
  • Add extensible plugin system with examples (262a40d)
  • Integrate snippet testing framework and document usage (9cdeb4c)

3.0.5 (2025-11-27)

🎨 Code improvement(s)

  • Add progress option to customize the upload body size computation (2cd547f)

3.0.4 (2025-11-26)

⬆️ Version update(s)

🐛 Bug fix(es)

  • Improve body size computation when tracking upload progress (bfae158), closes #284

3.0.3 (2025-11-10)

🐛 Bug fix(es)

  • Use body size when available to compute upload total bytes (27c0443), closes #278

... (truncated)

Commits
  • c249220 v3.0.6
  • d0a3fbe 🐛 Widen catcherFallback error type
  • f538860 Merge pull request #289 from biesbjerg/fix/288-catcher-catcher-fallback-retur...
  • e5582d6 🐛 Add Self to return type
  • 0f1ba14 Merge pull request #286 from elbywan/enhance-snippets
  • a5f1fba Merge pull request #287 from elbywan/copilot/sub-pr-286
  • c0d40f0 fix: add space between if and ( in transformer.ts
  • fa24724 Initial plan
  • 9cdeb4c ✅ Integrate snippet testing framework and document usage
  • 262a40d ✅ Add extensible plugin system with examples
  • Additional commits viewable in compare view
Maintainer changes

This version was pushed to npm by [GitHub Actions](https://www.npmjs.com/~GitHub Actions), a new releaser for wretch since your current version.


Dependabot compatibility score

You can trigger a rebase of this PR 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)

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

Bumps [wretch](https://github.com/elbywan/wretch) from 2.7.0 to 3.0.6.
- [Release notes](https://github.com/elbywan/wretch/releases)
- [Changelog](https://github.com/elbywan/wretch/blob/master/CHANGELOG.md)
- [Commits](elbywan/wretch@2.7.0...3.0.6)

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

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 Dec 26, 2025
@github-actions

Copy link
Copy Markdown

This PR is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days

@github-actions github-actions Bot added Stale and removed Stale labels Jan 25, 2026
@github-actions

Copy link
Copy Markdown

This PR is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days

@github-actions github-actions Bot added the Stale label Feb 26, 2026
@github-actions github-actions Bot closed this Mar 6, 2026
@dependabot @github

dependabot Bot commented on behalf of github Mar 6, 2026

Copy link
Copy Markdown
Contributor Author

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot
dependabot Bot deleted the dependabot/npm_and_yarn/wretch-3.0.6 branch March 6, 2026 09:36
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 Stale

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants