Skip to content

Releases: Tricksfor-Organization/BlazorWalletConnect

10.2.0

Choose a tag to compare

@Phelecks Phelecks released this 21 Jul 21:25
320c1c3

Reown AppKit + Ethers 6 Migration

This release modernizes BlazorWalletConnect with Reown AppKit, Ethers 6, Avalanche support, improved theming, and a more reliable WalletConnect pairing flow.

Highlights

  • Migrated from Wagmi to the official Reown Ethers adapter.
  • Upgraded blockchain operations to Ethers 6.17.0.
  • Added Avalanche C-Chain mainnet support (43114).
  • Fixed WalletConnect sessions getting stuck after scanning and approving the QR code.
  • Added independent connect-button color customization.
  • Updated the TypeScript and .NET dependency stack.
  • Removed the reported uuid@8.3.2 vulnerability.

Wallet connection reliability

The npm dependency tree previously contained multiple physical copies of Reown controller and WalletConnect provider packages. AppKit and the Ethers adapter could therefore operate with different internal state, preventing an approved WalletConnect session from reaching Blazor.

This release:

  • Deduplicates Reown singleton dependencies.
  • Adds a build-time dependency integrity check.
  • Waits for AppKit initialization before enabling wallet operations.
  • Tracks the EIP-155 provider explicitly.
  • Improves account, chain, reconnection, and provider subscriptions.
  • Cleans up all subscriptions during disposal or reconfiguration.

Ethers 6 integration

Wagmi and direct Viem usage have been replaced with Ethers 6 APIs for:

  • Native and ERC-20 balance queries
  • Message signing
  • Transaction submission and confirmation
  • ERC-721 balance and ownership queries
  • Token enumeration and transfer-event queries
  • Read-only custom RPC providers

Existing Blazor interop method signatures remain compatible.

Avalanche support

Avalanche C-Chain mainnet is now supported:

options.Chains =
[
    new(Chain.MainNet, "https://ethereum-rpc.publicnode.com"),
    new(Chain.Polygon, "https://polygon-rpc.com"),
    new(Chain.Avalanche, "https://api.avax.network/ext/bc/C/rpc")
];

AppKit theming

The release fixes AppKit color mixing by supplying the required mix-strength variable:

options.ThemeMode = "auto"; // auto, light, or dark
options.BackgroundColor = "#28363c";
options.AccentColor = "#3b82f6";
options.ColorMixStrength = 40;

ColorMixStrength accepts values from 0 through 100.

Connect-button customization

The connect button can now use a color independent from the AppKit modal accent:

<WalletConnectButton
    Label="Connect Wallet"
    ShowBalance="true"
    ButtonColor="#22c55e"
    CssClass="wallet-connect-button" />
  • ButtonColor accepts any valid CSS color.
  • CssClass is applied to the AppKit component host for layout and additional styling.
  • AccentColor continues controlling the shared AppKit theme.

Build-system improvements

  • TypeScript upgraded to 5.9.3.
  • esbuild upgraded to 0.28.1.
  • Removed obsolete Webpack, ESLint, Wagmi, Viem, and Microsoft.TypeScript.MSBuild dependencies.
  • Added strict TypeScript checking.
  • Added deterministic npm restore and bundle generation during MSBuild.
  • Regenerated the checked-in production browser bundle.
  • Updated the demo and deployment workflow to .NET 10.

Security

  • Replaced vulnerable uuid@8.3.2 with a patched release.
  • Added automated dependency-layout validation.
  • npm audit reports zero known vulnerabilities.

Development experience

The development service worker now unregisters itself, preventing stale registrations from interfering with repeated Blazor WebAssembly debugging sessions. Published applications continue using the production service worker.

Validation

This release was validated with:

  • 71 passing .NET tests
  • 6 passing TypeScript tests
  • Successful TypeScript strict type-check
  • Successful Release solution build
  • Successful NuGet package generation
  • Successful Release demo publish
  • Browser verification of AppKit theming and button customization
  • WalletConnect QR and relay WebSocket verification
  • Ethereum, Polygon, and Avalanche network configuration verification
  • Zero npm audit vulnerabilities

Upgrade notes

No changes are required for existing IWalletConnectInterop consumers.

Applications can optionally adopt:

  • WalletConnectOptions.ColorMixStrength
  • ThemeMode = "auto"
  • Avalanche through Chain.Avalanche
  • WalletConnectButton.ButtonColor
  • WalletConnectButton.CssClass

After upgrading, perform a clean restore to ensure the corrected npm dependency layout is installed:

dotnet clean
dotnet restore
dotnet build --configuration Release

Release 10.1.1

Choose a tag to compare

@Phelecks Phelecks released this 19 Nov 21:28
bf973b8

What's Changed

Full Changelog: 10.1.0...10.1.1

Release 10.1.0

Choose a tag to compare

@Phelecks Phelecks released this 17 Nov 22:43
b1ef125

What's Changed

  • Fix JavaScript module import path in WalletConnectInterop by @Phelecks in #22

Full Changelog: 10.0.5...10.1.0

Release 10.0.5

Choose a tag to compare

@Phelecks Phelecks released this 17 Nov 21:57
a106d70

What's Changed

Full Changelog: 10.0.3...10.0.5

Release 10.0.4

Choose a tag to compare

@Phelecks Phelecks released this 17 Nov 21:42
7483160

What's Changed

  • Add Cloudflare Pages configuration for headers and redirects by @Phelecks in #19
  • Add workload restoration and build steps to CI workflow by @Phelecks in #20

Full Changelog: 10.0.2...10.0.4

Release 10.0.3

Choose a tag to compare

@Phelecks Phelecks released this 16 Nov 15:23
7483160

What's Changed

  • Add Cloudflare Pages configuration for headers and redirects by @Phelecks in #19
  • Add workload restoration and build steps to CI workflow by @Phelecks in #20

Full Changelog: 10.0.2...10.0.3

Release 10.0.2

Choose a tag to compare

@Phelecks Phelecks released this 16 Nov 03:07
8c47fd9

What's Changed

  • Update CI workflow to use environment variables for .NET and Node.js … by @Phelecks in #18

Full Changelog: 10.0.1...10.0.2

Release 10.0.1

Choose a tag to compare

@Phelecks Phelecks released this 16 Nov 01:40
f545ba8

What's Changed

Full Changelog: 10.0.0...10.0.1

Release 10.0.0

Choose a tag to compare

@Phelecks Phelecks released this 15 Nov 23:15
3d4cfc3

What's Changed

Full Changelog: 9.1.1...10.0.0

Release 9.1.1

Choose a tag to compare

@Phelecks Phelecks released this 15 Nov 20:52
03e3423

What's Changed

  • Update package versions and refactor modal creation in JavaScript files by @Phelecks in #15

Full Changelog: 9.1.0...9.1.1