Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions v3/UNRELEASED_CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,14 @@ After processing, the content will be moved to the main changelog and this file

## Fixed
<!-- Bug fixes -->
- Fix `go mod vendor` failing with `pattern arm64/WebView2Loader.dll: no matching files found` on every platform, by removing the embeds that referenced binaries never shipped in the module, fixing [#5782](https://github.com/wailsapp/wails/issues/5782) and [#5376](https://github.com/wailsapp/wails/issues/5376), in [PR](https://github.com/wailsapp/wails/pull/6031) by @Grantmartin2002

## Deprecated
<!-- Soon-to-be removed features -->

## Removed
<!-- Features removed in this release -->
- Remove native WebView2 loader support, superseded by the pure Go loader. This drops the embedded `WebView2Loader.dll` binaries and the `github.com/jchv/go-winloader` dependency. The `native_webview2loader` build tag is still accepted and no longer errors, but has no effect on v3 builds, in [PR](https://github.com/wailsapp/wails/pull/6031) by @Grantmartin2002

## Security
<!-- Security-related changes -->
Expand Down
1 change: 0 additions & 1 deletion v3/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,6 @@ require (
github.com/huandu/xstrings v1.5.0 // indirect
github.com/jaypipes/pcidb v1.1.1 // indirect
github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99 // indirect
github.com/jchv/go-winloader v0.0.0-20250406163304-c1995be93bd1
github.com/joho/godotenv v1.5.1 // indirect
github.com/kevinburke/ssh_config v1.4.0 // indirect
github.com/klauspost/compress v1.18.3 // indirect
Expand Down
3 changes: 0 additions & 3 deletions v3/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -222,8 +222,6 @@ github.com/jaypipes/pcidb v1.1.1 h1:QmPhpsbmmnCwZmHeYAATxEaoRuiMAJusKYkUncMC0ro=
github.com/jaypipes/pcidb v1.1.1/go.mod h1:x27LT2krrUgjf875KxQXKB0Ha/YXLdZRVmw6hH0G7g8=
github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99 h1:BQSFePA1RWJOlocH6Fxy8MmwDt+yVQYULKfN0RoTN8A=
github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99/go.mod h1:1lJo3i6rXxKeerYnT8Nvf0QmHCRC1n8sfWVwXF2Frvo=
github.com/jchv/go-winloader v0.0.0-20250406163304-c1995be93bd1 h1:njuLRcjAuMKr7kI3D85AXWkw6/+v9PwtV6M6o11sWHQ=
github.com/jchv/go-winloader v0.0.0-20250406163304-c1995be93bd1/go.mod h1:alcuEEnZsY1WQsagKhZDsoPCRoOijYqhZvPwLG0kzVs=
github.com/jessevdk/go-flags v1.4.0/go.mod h1:4FA24M0QyGHXBuZZK/XkWh8h0e1EYbRYJSGM75WSRxI=
github.com/joho/godotenv v1.5.1 h1:7eLL/+HRGLY0ldzfGMeQkb7vMd0as4CfYvUVzLqw0N0=
github.com/joho/godotenv v1.5.1/go.mod h1:f4LDr5Voq0i2e/R5DDNOoa2zzDfwtkZa6DnEwAbqwq4=
Expand Down Expand Up @@ -428,7 +426,6 @@ golang.org/x/sys v0.0.0-20180926160741-c2ed4eda69e7/go.mod h1:STP8DvDyc/dI5b8T5h
golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
golang.org/x/sys v0.0.0-20190916202348-b4ddaad3f8a3/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20191026070338-33540a1f6037/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20200810151505-1b9f1253b3ed/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20201119102817-f84b799fce68/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20210124154548-22da62e12c0c/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20210330210617-4fbd30eecc44/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
Expand Down
2 changes: 1 addition & 1 deletion v3/internal/webview2/pkg/edge/create_env_go.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//go:build windows && !native_webview2loader
//go:build windows

package edge

Expand Down
41 changes: 0 additions & 41 deletions v3/internal/webview2/pkg/edge/create_env_native.go

This file was deleted.

2 changes: 1 addition & 1 deletion v3/internal/webview2/webviewloader/env_create.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//go:build windows && !native_webview2loader
//go:build windows

package webviewloader

Expand Down
2 changes: 1 addition & 1 deletion v3/internal/webview2/webviewloader/env_create_completed.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//go:build windows && !native_webview2loader
//go:build windows

package webviewloader

Expand Down
2 changes: 1 addition & 1 deletion v3/internal/webview2/webviewloader/env_create_options.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//go:build windows && !native_webview2loader
//go:build windows

package webviewloader

Expand Down
2 changes: 1 addition & 1 deletion v3/internal/webview2/webviewloader/find_dll_installed.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//go:build windows && !native_webview2loader
//go:build windows

package webviewloader

Expand Down
173 changes: 0 additions & 173 deletions v3/internal/webview2/webviewloader/native_module.go

This file was deleted.

8 changes: 0 additions & 8 deletions v3/internal/webview2/webviewloader/native_module_386.go

This file was deleted.

8 changes: 0 additions & 8 deletions v3/internal/webview2/webviewloader/native_module_amd64.go

This file was deleted.

8 changes: 0 additions & 8 deletions v3/internal/webview2/webviewloader/native_module_arm64.go

This file was deleted.

2 changes: 1 addition & 1 deletion v3/internal/webview2/webviewloader/version.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//go:build windows && !native_webview2loader
//go:build windows

package webviewloader

Expand Down
Loading