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