Skip to content

Conversation

@dependabot
Copy link
Contributor

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

Bumps wretch from 2.11.1 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

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)

Summary by CodeRabbit

Release Notes

  • Chores
    • Updated a development dependency used by the testing utilities package (wretch) to a newer major release to keep tooling current and secure.
    • No changes to public APIs or exported entities.

✏️ Tip: You can customize this high-level summary in your review settings.

@coderabbitai
Copy link

coderabbitai bot commented Dec 15, 2025

Note

.coderabbit.yaml has unrecognized properties

CodeRabbit is using all valid settings from your configuration. Unrecognized properties (listed below) have been ignored and may indicate typos or deprecated fields that can be removed.

⚠️ Parsing warnings (1)
Validation error: Unrecognized key(s) in object: 'tools'
⚙️ Configuration instructions
  • Please see the configuration documentation for more information.
  • You can also validate your configuration using the online YAML validator.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Walkthrough

A devDependency version of wretch in packages/app/universal-testing-utils/package.json is updated from ^2.11.0 to ^3.0.6.

Changes

Cohort / File(s) Summary
Dependency version bump
packages/app/universal-testing-utils/package.json
Updated devDependency wretch from ^2.11.0 to ^3.0.6

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Pre-merge checks and finishing touches

❌ Failed checks (2 warnings)
Check name Status Explanation Resolution
Description check ⚠️ Warning The PR description is missing the required 'Changes' section and lacks explicit checkbox selections for the release label and documentation/test updates. Add a 'Changes' section describing the update, and explicitly check the required checklist items including the 'major' or 'skip-release' label selection.
Linked Issues check ⚠️ Warning The PR only updates wretch dependency; however, linked issues #290, #284, and #278 reference updates to node-core, prisma utilities, and vite-plugin-dts—none of which are addressed in this changeset. Verify that the linked issues are correct for this PR, or remove unrelated issues and link only issues that pertain to the wretch dependency update.
✅ Passed checks (3 passed)
Check name Status Explanation
Title check ✅ Passed The PR title accurately and concisely summarizes the main change: bumping the wretch dependency from version 2.11.1 to 3.0.6.
Out of Scope Changes check ✅ Passed The PR changes are limited to updating the wretch devDependency in package.json, which is consistent with the PR's stated objective of bumping wretch to 3.0.6.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch dependabot/npm_and_yarn/wretch-3.0.6

📜 Recent review details

Configuration used: Repository: lokalise/coderabbit/.coderabbit.yaml

Review profile: CHILL

Plan: Pro

Disabled knowledge base sources:

  • Jira integration is disabled by default for public repositories

You can enable these sources in your CodeRabbit configuration.

📥 Commits

Reviewing files that changed from the base of the PR and between b6bfdce and 6e0cfc7.

📒 Files selected for processing (1)
  • packages/app/universal-testing-utils/package.json
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (2)
  • GitHub Check: build (22.x)
  • GitHub Check: build (24.x)
🔇 Additional comments (1)
packages/app/universal-testing-utils/package.json (1)

64-64: Verify Node.js 22+ requirement for wretch v3 upgrade.

Current wretch usage in the codebase is compatible with v3—all usage patterns (.post(), .get()) are still available and no deprecated global methods (wretch.options(), .errorType()) are being used. However, wretch v3 requires Node.js 22+ for native fetch, FormData, and AbortController support. Verify that your project infrastructure supports this Node.js version before merging.


Comment @coderabbitai help to get the list of available commands and usage tips.

@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/wretch-3.0.6 branch from b6bfdce to d28e1b3 Compare December 15, 2025 12:54
Bumps [wretch](https://github.com/elbywan/wretch) from 2.11.1 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.11.1...3.0.6)

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

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/wretch-3.0.6 branch from d28e1b3 to 6e0cfc7 Compare December 24, 2025 08:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant