You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Changelog.md
+23Lines changed: 23 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -16,6 +16,29 @@ ElectronNET.API:
16
16
* New Feature: Native Electron 11.1.1 support, but not all new features (we search contributors)
17
17
* Breaking API Changes (from native Electron 11.0): - Removed: BrowserView.{destroy, fromId, fromWebContents, getAllViews} and id property of BrowserView
18
18
* New Feature: Upgrade to .NET 5 (thanks [scottkuhl](https://github.com/scottkuhl)) [\#509](https://github.com/ElectronNET/Electron.NET/pull/509)
19
+
* 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](https://github.com/danatcofo)) [\#528](https://github.com/ElectronNET/Electron.NET/pull/528)
20
+
* New Feature: SetMenu completed for the Dock (MacOS) (thanks [danatcofo](https://github.com/danatcofo)) [\#528](https://github.com/ElectronNET/Electron.NET/pull/528)
21
+
22
+
Example for the Dock Menu
23
+
24
+
`Electron.Dock.SetMenu(new [] {
25
+
new MenuItem {
26
+
Label = "Dock Menu Item",
27
+
Click = () => {
28
+
// do something
29
+
}
30
+
},
31
+
});`
32
+
33
+
Example for consuming the activate event (MacOs only)
34
+
35
+
`Electron.App.On("activate", obj => {
36
+
var hasWindows = (bool)obj;
37
+
// do something
38
+
});`
39
+
40
+
* 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](https://github.com/danatcofo)) [\#528](https://github.com/ElectronNET/Electron.NET/pull/528)
41
+
* 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](https://github.com/danatcofo)) [\#528](https://github.com/ElectronNET/Electron.NET/pull/528)
19
42
* New Feature: Adding a configurable default electron port. (thanks [aarong-av](https://github.com/aarong-av)) [\#505](https://github.com/ElectronNET/Electron.NET/pull/505)
20
43
* New Feature: Added support for launching the application with a file on MacOS (thanks [dlitty](https://github.com/dlitty)) [\#478](https://github.com/ElectronNET/Electron.NET/pull/478)
21
44
* Improved: Avoid Blocking Calls in App and AutoUpdater (thanks [freosc](https://github.com/freosc)) [\#474](https://github.com/ElectronNET/Electron.NET/pull/474)
0 commit comments