Electron.NET v11.5.1 Release Notes
-
ElectronNET.CLI:
- ๐ New Feature: Added new build and start commandline options for single exe (thanks nathanwienand) #506
- ๐ New Feature: Set a description of the app in
electron.manifest.json
(thanks BurtsevC) #433 - ๐ New Feature: Set a target for the start command (thanks gabecook) #463
- ๐ New Feature:
electronize init
support for F# projects (thanks kojo12228) #457 - ๐ New Feature: Linux support for the buildAll.sh (thanks duncanawoods) #465
- Fixed bug: ERR_UNKNOWN_URL_SCHEME by intercepting file:// protocol (thanks duncanawoods) #467
ElectronNET.API:
- ๐ New Feature: Native Electron 11.1.1 support, but not all new features (we search contributors)
- ๐ฅ Breaking API Changes (from native Electron 11.0): - Removed: BrowserView.{destroy, fromId, fromWebContents, getAllViews} and id property of BrowserView
- ๐ New Feature: Upgrade to .NET 5 (thanks scottkuhl) #509
- ๐ New Feature: Extension Method for adding the Electron static class members to the standard MS DI Containers, this is a QOL issue only.
services.AddElectron()
(thanks danatcofo) #528 - ๐ New Feature: SetMenu completed for the Dock (MacOS) (thanks danatcofo) #528
Example for the Dock Menu
Electron.Dock.SetMenu(new [] { new MenuItem { Label = "Dock Menu Item", Click = () => { // do something } }, });
๐ Example for consuming the activate event (MacOs only)
Electron.App.On("activate", obj => { var hasWindows = (bool)obj; // do something });
- ๐ New Feature: On and Once implementations for the App and Tray to cover the plethora of events that are not mapped explicitly in those two modules. (thanks danatcofo) #528
- ๐ New Feature: Adding the
EnableRemoteModule
property to the WebPreferences object. As of Electron 10, this property defaulted to false and without it exposed you can't use the remote module within a window. (thanks danatcofo) #528 - ๐ New Feature: Adding a configurable default electron port. (thanks aarong-av) #505
- ๐ New Feature: Added support for launching the application with a file on MacOS (thanks dlitty) #478
- ๐ Improved: Avoid Blocking Calls in App and AutoUpdater (thanks freosc) #474
- ๐ Fixed bug: Maintain references between socket.io connection events (thanks danatcofo) #468
- ๐ Fixed bug: Set default WebPreferences.DefaultFontSize (thanks duncanawoods) #468