Skip to content

Conversation

@dependabot
Copy link
Contributor

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

Bumps wagmi from 2.19.5 to 3.1.0.

Release notes

Sourced from wagmi's releases.

[email protected]

Minor Changes

  • Deprecated custom mutate function names and renamed to mutate/mutateAsync to reduce destructure key renaming fatigue and align with TanStack Query terminology. (#4878)

    Before

    Had to destructure hook result and often rename keys when using multiple of the same hook. Could decide not to destructure, but syntax becomes awkward for mutate functions (e.g. connect.connect or connect.connectAsync).

    const { connect, isPending: connectIsPending } = useConnect();
    const {
      writeContract: transfer,
      error: transferError,
      isPending: transferIsPending,
    } = useWriteContract();
    const { writeContract: approve, error: approveError } = useWriteContract();

    After

    Allows you to name the hook result whatever you want and not worry about also renaming properties.

    const connect = useConnect(); // connect.isPending
    const transfer = useWriteContract(); // transfer.mutate, transfer.error, transfer.isPending
    const approve = useWriteContract(); // approve.mutate, approve.error

[email protected]

Patch Changes

  • Updated dependencies [0a46561]:
    • @​wagmi/connectors@​7.0.2

[email protected]

Patch Changes

  • Updated dependencies [856548a]:
    • @​wagmi/connectors@​7.0.1

[email protected]

Major Changes

  • All connector dependencies are now optional peer dependencies. This means that if you want to use a specific connector, you need to install its required dependencies. (#4857)

    baseAccount

    baseAccount requires @base-org/account

... (truncated)

Changelog

Sourced from wagmi's changelog.

3.1.0

Minor Changes

  • Deprecated custom mutate function names and renamed to mutate/mutateAsync to reduce destructure key renaming fatigue and align with TanStack Query terminology. (#4878)

    Before

    Had to destructure hook result and often rename keys when using multiple of the same hook. Could decide not to destructure, but syntax becomes awkward for mutate functions (e.g. connect.connect or connect.connectAsync).

    const { connect, isPending: connectIsPending } = useConnect();
    const {
      writeContract: transfer,
      error: transferError,
      isPending: transferIsPending,
    } = useWriteContract();
    const { writeContract: approve, error: approveError } = useWriteContract();

    After

    Allows you to name the hook result whatever you want and not worry about also renaming properties.

    const connect = useConnect(); // connect.isPending
    const transfer = useWriteContract(); // transfer.mutate, transfer.error, transfer.isPending
    const approve = useWriteContract(); // approve.mutate, approve.error

3.0.2

Patch Changes

  • Updated dependencies [0a46561]:
    • @​wagmi/connectors@​7.0.2

3.0.1

Patch Changes

  • Updated dependencies [856548a]:
    • @​wagmi/connectors@​7.0.1

3.0.0

Major Changes

  • All connector dependencies are now optional peer dependencies. This means that if you want to use a specific connector, you need to install its required dependencies. (#4857)

... (truncated)

Commits

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.

@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Dec 8, 2025
@dependabot dependabot bot added javascript Pull requests that update javascript code dependencies Pull requests that update a dependency file labels Dec 8, 2025
@vercel
Copy link

vercel bot commented Dec 8, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
mars-v2-frontend Error Error Dec 9, 2025 0:13am

Bumps [wagmi](https://github.com/wevm/wagmi/tree/HEAD/packages/react) from 2.19.5 to 3.1.0.
- [Release notes](https://github.com/wevm/wagmi/releases)
- [Changelog](https://github.com/wevm/wagmi/blob/main/packages/react/CHANGELOG.md)
- [Commits](https://github.com/wevm/wagmi/commits/[email protected]/packages/react)

---
updated-dependencies:
- dependency-name: wagmi
  dependency-version: 3.1.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/develop/wagmi-3.1.0 branch from c9da38d to ff67670 Compare December 9, 2025 12:13
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.

1 participant