From 25f0fe81560eeff36a0b2beb52ce1bdf13d5e122 Mon Sep 17 00:00:00 2001 From: Caleb Allen Date: Thu, 5 Mar 2026 20:25:20 -0500 Subject: [PATCH] fix(deps): pin go-webview2 to v1.0.21 for Wails v2 compat --- go.mod | 2 +- go.sum | 4 ++-- renovate.json5 | 9 +++++++++ 3 files changed, 12 insertions(+), 3 deletions(-) diff --git a/go.mod b/go.mod index 267c958..269693f 100644 --- a/go.mod +++ b/go.mod @@ -319,7 +319,7 @@ require ( github.com/uudashr/iface v1.4.1 // indirect github.com/valyala/bytebufferpool v1.0.0 // indirect github.com/valyala/fasttemplate v1.2.2 // indirect - github.com/wailsapp/go-webview2 v1.0.22 // indirect + github.com/wailsapp/go-webview2 v1.0.21 // indirect github.com/wailsapp/mimetype v1.4.1 // indirect github.com/wasilibs/go-pgquery v0.0.0-20250409022910-10ac41983c07 // indirect github.com/wasilibs/wazero-helpers v0.0.0-20240620070341-3dff1577cd52 // indirect diff --git a/go.sum b/go.sum index 81a445c..d545650 100644 --- a/go.sum +++ b/go.sum @@ -916,8 +916,8 @@ github.com/valyala/bytebufferpool v1.0.0 h1:GqA5TC/0021Y/b9FG4Oi9Mr3q7XYx6Kllzaw github.com/valyala/bytebufferpool v1.0.0/go.mod h1:6bBcMArwyJ5K/AmCkWv1jt77kVWyCJ6HpOuEn7z0Csc= github.com/valyala/fasttemplate v1.2.2 h1:lxLXG0uE3Qnshl9QyaK6XJxMXlQZELvChBOCmQD0Loo= github.com/valyala/fasttemplate v1.2.2/go.mod h1:KHLXt3tVN2HBp8eijSv/kGJopbvo7S+qRAEEKiv+SiQ= -github.com/wailsapp/go-webview2 v1.0.22 h1:YT61F5lj+GGaat5OB96Aa3b4QA+mybD0Ggq6NZijQ58= -github.com/wailsapp/go-webview2 v1.0.22/go.mod h1:qJmWAmAmaniuKGZPWwne+uor3AHMB5PFhqiK0Bbj8kc= +github.com/wailsapp/go-webview2 v1.0.21 h1:k3dtoZU4KCoN/AEIbWiPln3P2661GtA2oEgA2Pb+maA= +github.com/wailsapp/go-webview2 v1.0.21/go.mod h1:qJmWAmAmaniuKGZPWwne+uor3AHMB5PFhqiK0Bbj8kc= github.com/wailsapp/mimetype v1.4.1 h1:pQN9ycO7uo4vsUUuPeHEYoUkLVkaRntMnHJxVwYhwHs= github.com/wailsapp/mimetype v1.4.1/go.mod h1:9aV5k31bBOv5z6u+QP8TltzvNGJPmNJD4XlAL3U+j3o= github.com/wailsapp/wails/v2 v2.10.2 h1:29U+c5PI4K4hbx8yFbFvwpCuvqK9VgNv8WGobIlKlXk= diff --git a/renovate.json5 b/renovate.json5 index e8eb184..973a46c 100644 --- a/renovate.json5 +++ b/renovate.json5 @@ -113,6 +113,15 @@ "groupName": null, "automerge": false, }, + + // 8. Pin go-webview2 to v1.0.21 — v1.0.22 has a breaking callback + // signature change that is incompatible with Wails v2.10.x. + // See: https://github.com/wailsapp/wails/issues/4560 + { + "description": "Disable go-webview2 updates (incompatible with Wails v2)", + "matchPackageNames": ["github.com/wailsapp/go-webview2"], + "enabled": false, + }, ], // ── Vulnerability alerts ───────────────────────────────────