Skip to content

Bump wretch from 2.11.1 to 3.0.5#792

Closed
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/npm_and_yarn/wretch-3.0.5
Closed

Bump wretch from 2.11.1 to 3.0.5#792
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/npm_and_yarn/wretch-3.0.5

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

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

Bumps wretch from 2.11.1 to 3.0.5.

Release notes

Sourced from wretch's releases.

3.0.5

🎨 Code improvement(s)

  • Add progress option to customize the upload body size computation (2cd547f)
import ProgressAddon from "wretch/addons/progress"
wretch("https://example.com/upload")
.addon(ProgressAddon({
// getUploadTotal allows you to customize the total size of the upload
getUploadTotal(url, opts) {
// Return the total size of the upload in bytes, or 0 if undetermined
},
}))
.get()
.progress((loaded, total) => console.log(${(loaded / total * 100).toFixed(0)}%))

3.0.4

3.0.4 (2025-11-26)

🐛 Bug fix(es)

  • Improve body size computation when tracking upload progress (bfae158), closes #284
import wretch from "wretch"
import FormDataAddon from "wretch/addons/formData"
import ProgressAddon from "wretch/addons/progress"
const testString = Array(1_000).fill("This is a test string.")
const file = new File(testString, "test.txt", { type: "text/plain" })
wretch("https://httpbingo.org/post")
.addon([ProgressAddon(), FormDataAddon])
.formData({
"textfile": file,
})
.onUpload((loaded, total) => {
console.log(Uploaded ${loaded} of ${total})
})
.post()
.res(res => console.log(res.status))
.catch(console.error)

# "total" is now correctly inferred:
Uploaded 0 of 22174
</tr></table> 

... (truncated)

Changelog

Sourced from wretch's changelog.

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

✅ Test improvement(s)

  • Migrate documentation examples from httpbun.org to htt (df84f73)

3.0.2 (2025-10-24)

🐛 Bug fix(es)

  • Clone the body before assigning to WretchError message (5379037), closes #277

3.0.1 (2025-10-21)

... (truncated)

Commits
  • c381be2 v3.0.5
  • 2cd547f 🎨 Add progress option to customize the upload body size computation
  • 6077eb6 v3.0.4
  • bfae158 🐛 Improve body size computation when tracking upload progress
  • fb8a070 Merge pull request #281 from elbywan/dependabot/npm_and_yarn/multi-12cb0b0c21
  • 49a5e53 ⬆️ Bump glob
  • 25bb06d Merge pull request #280 from elbywan/dependabot/npm_and_yarn/js-yaml-4.1.1
  • 43882e1 ⬆️ Bump js-yaml from 4.1.0 to 4.1.1
  • 77a2d94 v3.0.3
  • df84f73 ✅ Migrate documentation examples from httpbun.org to httpbin...
  • 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

  • Chores
    • Updated internal development dependency to the latest version for improved stability and compatibility.

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

Bumps [wretch](https://github.com/elbywan/wretch) from 2.11.1 to 3.0.5.
- [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.5)

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

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

coderabbitai bot commented Dec 1, 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

Updated devDependency wretch from ^2.11.0 to ^3.0.5 in the universal-testing-utils package configuration file.

Changes

Cohort / File(s) Change Summary
Dependency Bump
packages/app/universal-testing-utils/package.json
devDependency wretch updated from ^2.11.0 to ^3.0.5

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

  • Verify that wretch v3.0.5 is compatible with existing usages in the testing utilities
  • Check release notes for v3.x for any breaking changes that could impact the codebase
  • Confirm the caret version specifier (^3.0.5) aligns with project versioning strategy

Pre-merge checks and finishing touches

❌ Failed checks (2 warnings)
Check name Status Explanation Resolution
Description check ⚠️ Warning The PR description is incomplete according to the template. It lacks the required 'Changes' section describing the work, and the checklist is missing (no labels applied, no documentation/test update confirmation). Add a 'Changes' section summarizing the dependency update, and complete the checklist with label selection and confirmations about documentation and test updates.
Linked Issues check ⚠️ Warning The PR is a dependency bump unrelated to the three linked issues (#284 Prisma utils, #278 vite-plugin-dts bump, #277 vite bump). The objectives in linked issues do not apply to updating wretch. Verify that the wretch bump is not intended to address the linked issues, or remove/update the issue links to reflect the actual scope of this PR.
✅ Passed checks (3 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly and specifically describes the main change: bumping the wretch dependency from version 2.11.1 to 3.0.5.
Out of Scope Changes check ✅ Passed The PR updates only wretch in a single package.json file, which is directly related to dependency management and appropriate for the PR scope.
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.5

📜 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 e2f46fe and b9fc57d.

📒 Files selected for processing (1)
  • packages/app/universal-testing-utils/package.json (1 hunks)
⏰ 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). (3)
  • GitHub Check: build (24.x)
  • GitHub Check: build (20.x)
  • GitHub Check: build (22.x)
🔇 Additional comments (1)
packages/app/universal-testing-utils/package.json (1)

64-64: No action needed — wretch is not used in this package.

The wretch v3 upgrade is safe. A codebase search found zero imports or usage of wretch within the universal-testing-utils package, so the major version bump carries no risk of breaking changes affecting this code.


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

@dependabot @github
Copy link
Copy Markdown
Contributor Author

dependabot bot commented on behalf of github Dec 15, 2025

Superseded by #808.

@dependabot dependabot bot closed this Dec 15, 2025
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/wretch-3.0.5 branch December 15, 2025 12:25
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.

0 participants