Skip to content

v2.0.0-beta.35

Pre-release
Pre-release
Compare
Choose a tag to compare
@leaanthony leaanthony released this 27 Apr 12:02
· 1174 commits to master since this release

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 and bindings.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    

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