Releases: wailsapp/wails
Releases · wailsapp/wails
v2.0.0-beta.37
Added
- Add
nogen
flag in wails dev command by @mondy in #1413 - Initial support for new native translucency in Windows Preview by @leaanthony in #1400
Fixed
- Bugfix/incorrect bindings by @leaanthony in #1383
- Fix runtime.js events by @polikow in #1369
- Fix docs formatting by @antimatter96 in #1372
- Events | fixes #1388 by @lambdajack in #1390
- bugfix: correct typo by @tmclane in #1391
- Fix typo in docs by @LGiki in #1393
- Fix typo bindings.js to ipc.js by @rayshoo in #1406
- Make sure to execute the menu callbacks on a new goroutine by @stffabi in #1403
- Update runtime.d.ts & templates by @Yz4230 in #1421
- Add missing className to input in React and Preact templates by @edwardbrowncross in #1419
Changed
- Improve multi-platform builds by @stffabi in #1373
- During wails dev only use reload logic if no AssetsHandler are in use by @stffabi in #1385
- Update events.mdx by @Junkher in #1387
- Add Next.js template by @LGiki in #1394
- Add docs on wails generate module by @TechplexEngineer in #1414
- Add macos custom menu EditMenu tips by @daodao97 in #1423
New Contributors
- @polikow made their first contribution in #1369
- @antimatter96 made their first contribution in #1372
- @Junkher made their first contribution in #1387
- @lambdajack made their first contribution in #1390
- @LGiki made their first contribution in #1393
- @rayshoo made their first contribution in #1406
- @TechplexEngineer made their first contribution in #1414
- @mondy made their first contribution in #1413
- @Yz4230 made their first contribution in #1421
- @daodao97 made their first contribution in #1423
- @edwardbrowncross made their first contribution in #1419
v2.0.0-beta.36
Fixed
- [v2] Validate devServer property to be of the correct form by @stffabi in #1359
- [v2, darwin] Initialize native variables on stack to prevent segfault by @stffabi in #1362
- Vue-TS template fix
Changed
- Added
OnStartup
method back to default templates
Full Changelog: v2.0.0-beta.35...v2.0.0-beta.36
v2.0.0-beta.35
Breaking Changes
- When data was sent to the
EventsOn
callback, it was being sent as a slice of values, instead of optional parameters to the method. EventsOn` now works as expected, but you will need to update your code if you currently use this. More information - The broken
bindings.js
andbindings.d.ts
files have been replaced by a new JS/TS code generation system. More details here
Added
- New Templates: Svelte, React, Vue, Preact, Lit and Vanilla templates, both JS and TS versions.
wails init -l
for more info.
TEMPLATE SHORT NAME DESCRIPTION
Lit + Vite lit Lit + Vite development server
Lit + Vite (Typescript) lit-ts Lit + TS + Vite development server
Preact + Vite preact Preact + Vite development server
Preact + Vite (Typescript) preact-ts Preact + Vite development server
React + Vite react React + Vite development server
React + Vite (Typescript) react-ts React + Vite development server
Svelte + Vite svelte Svelte + Vite development server
Svelte + Vite (Typescript) svelte-ts Svelte + TS + Vite development server
Vanilla + Vite vanilla Vanilla + Vite development server
Vanilla + Vite (Typescript) vanilla-ts Vanilla + Vite development server
Vue + Vite vue Vue + Vite development server
Vue + Vite (Typescript) vue-ts Vue + Vite development server
- Default templates now powered by Vite. This enables lightning fast reloads when you use
wails dev
! - Add support for external frontend development servers. See
frontend:dev:serverUrl
in the project config - @stffabi - Fully configurable dark mode for Windows.
- Hugely improved WailsJS generation (both Javascript and Typescript)
- Wails doctor now reports information about the wails installation - @stffabi
- Added docs for code-signing and NSIS installer - @gardc
- Add support for
-trimpath
build flag - Add support for a default AssetsHandler - @stffabi
Fixed
- Improved mimetype detection for BOM marker and comments - @napalu
- Remove duplicate mimetype entries - @napalu
- Remove duplicate Typescript imports in generated definition files - @adalessa
- Add missing method declaration - @adalessa
- Fix Linux sigabrt on start - @napalu
- Double Click event now works on elements with
data-wails-drag
attribute - @jicg - Suppress resizing during minimize of a frameless window - @stffabi
- Fixed TS/JS generation for Go methods with no returns
- Fixed WailsJS being generated in project directory
Changed
- Website docs are now versioned
- Improved
runtime.Environment
call - Improve the close action for Mac
- A bunch of dependabot security updates
- Improved website content - @misitebao
- Upgrade issue template - @misitebao
- Convert documents that don't require version management to individual pages - @misitebao
- Website now using Algolia search
v2.0.0-beta.34
Features
- Add support for 'DomReady' callback on linux by @napalu in #1249
- MacOS - Show extension by default by @leaanthony in #1228
Bug Fixes
- [v2, nsis] Seems like
/
as path separator works only for some directives in a cross platform way by @stffabi in #1227 - import models on binding definition by @adalessa in #1231
- Use local search on website by @leaanthony in #1234
- Ensure binary resources can be served by @napalu in #1240
- Only retry loading assets when loading from disk by @leaanthony in #1241
- [v2, windows] Fix maximised start state by @stffabi in #1243
- Ensure Linux IsFullScreen uses GDK_WINDOW_STATE_FULLSCREEN bitmask appropriately. by @ianmjones in #1245
- Fix memory leak in ExecJS for Mac by @leaanthony in #1230
- Fix, or at least a workaround, for (#1232) by @BillBuilt in #1247
- [v2] Use os.Args[0] for self starting wails by @stffabi in #1258
- [v2, windows] Windows switch scheme: https -> http by @stefpap in #1255
- Ensure Focus is regained by Webview2 when tabbing by @leaanthony in #1257
- Try to focus window when Show() is called. by @leaanthony in #1212
- Check system for user installed Linux dependencies by @leaanthony in #1180
Changes
- feat(website): sync documents and add content by @misitebao in #1215
- refactor(cli): optimize default templates by @misitebao in #1214
- Run watcher after initial build by @leaanthony in #1216
- Feature/docs update by @leaanthony in #1218
- feat(website): optimize website and sync documents by @misitebao in #1219
- docs: sync documents by @misitebao in #1224
- Default index page by @leaanthony in #1229
- Build added win32 compatibility by @fengweiqiang in #1238
- docs: sync documents by @misitebao in #1260
New Contributors
- @adalessa made their first contribution in #1231
- @napalu made their first contribution in #1240
- @fengweiqiang made their first contribution in #1238
- @stefpap made their first contribution in #1255
Full Changelog: v2.0.0-beta.33...v2.0.0-beta.34
v2.0.0-beta.33
Features
- NSIS Installer support for creating installers for Windows applications - Thanks @stffabi 🎉
- New
frontend:dev:watcher
command to spin out 3rd party watchers when usingwails dev
- Thanks @stffabi 🎉 - Remote templates now support version tags - Thanks @misitebao 🎉
Bug Fixes
- A number of fixes for ARM Linux providing a huge improvement - Thanks @ianmjones 🎉
- Fixed potential Nil reference when discovering the path to
index.html
- Fixed crash when using
runtime.Log
methods in a production build - Improvements to internal file handling meaning webworkers will now work on Windows - Thanks @stffabi 🎉
Changes
- The Webview2 bootstrapper is now run as a normal user and doesn't require admin rights
- The docs have been improved and updated
- Added troubleshooting guide
v2.0.0-beta.32
- Bugfix: Attempt to find non-package versions of npm, docker and upx when running
wails doctor
on Linux
v2.0.0-beta.31
Features
- Linux Beta Release!!! 🎉
- Allow multiple platform builds (native platform + windows ARM64/AMD64)
- Try to provide help when old MacOS SDK is installed
- New WindowToggleMaximise runtime method
Bug Fixes
- More Windows DPI fixes by @stffabi
- Restore Window Min/Max after fullscreen
- Fix Mac icon bug
- Fix Windows icon file mode @ValentinTrinque
Breaking Changes
WindowUnFullscreen
has been renamed toWindowUnfullscreen
v2.0.0-beta.30
New Features for v2
wails build
now supports adebug
flag to generate a production build with debug symbols- [Go Runtime] New
GetEnvironment()
method to return information about the build at runtime
Fixes
- Possible breaking change: The
WindowGetPosition
andWindowSetPosition
calls were incorrectly defined asWindowGetPos
andWindowSetPos
in the Go runtime. This has been fixed. - [windows] Fix dpi scaling for factors other than 100%, 200%,... by @stffabi in #1098
- [windows] Improve frameless window handling by @stffabi in #1085
- [windows] Add WebviewUserDataPath to windows options by @stffabi in #1105
- [runtime] Added TypeScript interface export for the window.go object by @albert-sun in #1092
- [windows] Updated windows window/frontend to fix issue with html select positioning by @MikeSchaap in #1082
- [windows] Only call EnableSizable for normal windows by @stffabi in #1074
- [windows] Reduce frameless border size to 6px
- [runtime] Fix logging bug
- [templates] Updated vanilla template to remove logging and use non-deprecated APIs
- [windows] Disallow maximising a window if DisableResize is true
- use path to first index.html file for 'index' by @tmclane in #1127
New Contributors
- @albert-sun made their first contribution in #1092
- @MikeSchaap made their first contribution in #1082
Full Changelog: v2.0.0-beta.29...v2.0.0-beta.30
v2.0.0-beta.29
v2.0.0-beta.28
What's Changed
- Fix Window resizing in Windows
- Fix cancelling dialogs on Mac
- Fixed Save dialog on Mac
- Fix for bad default directories in dialog options
- New build flag:
-debug
- Fix EventsOff in JS runtime
- Allow window resizing regardless of frameless or other options (#1049) by @pierrejoye in #1053
- update zh-hans docs by @GargantuaX in #1059
- Add templates for using Svelte with Vite by @BillBuilt in #1068
- [v2] Fix: win window maximise/minimise by @redraskal in #1069
New Contributors
- @pierrejoye made their first contribution in #1053
- @GargantuaX made their first contribution in #1059
- @BillBuilt made their first contribution in #1068
- @redraskal made their first contribution in #1069
Full Changelog: v1.16.9...v2.0.0-beta.28