Skip to content

Commit 5a14030

Browse files
authored
Add changelog (#2)
1 parent 1a304af commit 5a14030

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

CHANGELOG.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# Changelog
2+
3+
### Migrating from v0.1.1 to v0.10.0
4+
5+
1. `Webview.Open()` has been removed. Use other webview APIs to create a window, open a link and run main UI loop.
6+
2. `Webview.Debug()` and `webview.Debugf()` have been removed. Use your favorite logging library to debug webview apps.
7+
3. `Webview.Settings` struct has been removed. Title, URL and size are controlled via other API setters and can be updated at any time, not only when webview is created.
8+
4. `Webview.Loop()` has been removed. Use `Run()` instead.
9+
5. `WebView.Run()`, `WebView.Terminate()`, `WebView.SetTitle()`, `WebView.Dispatch()` stayed the same.
10+
6. `WebView.Exit()` has been renamed to `WebView.Destroy()`
11+
7. `WebView.SetColor()` and `WebView.SetFullScreen()` have been removed. Use `Window()` to get native window handle and probably write some Cgo code to adjust native window to your taste.
12+
8. `Webview.Dialog` has been removed. But it is likely to be brought back as a standalone module.
13+
9. `WebView.Eval()` remained the same.
14+
10. `WebView.InjectCSS()` has been removed. Use eval to inject style tag with CSS inside.
15+
11. `WebView.Bind()` kept the name, but changed the semantics. Only functions can be bound. Not the structs, like in Lorca.

0 commit comments

Comments
 (0)