cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [cordova-docs] NiklasMerz commented on a change in pull request #1124: release(electron): 2.0.0 blog post
Date Fri, 02 Oct 2020 08:42:36 GMT

NiklasMerz commented on a change in pull request #1124:
URL: https://github.com/apache/cordova-docs/pull/1124#discussion_r498690548



##########
File path: www/_posts/2020-10-02-cordova-electron-release-2.0.0.md
##########
@@ -0,0 +1,120 @@
+---
+layout: post
+author:
+    name: Bryan Ellis
+title:  "Cordova Electron 2.0.0 Released!"
+categories: announcements
+tags: news releases
+---
+
+We are happy to announce that we have just released `Cordova Electron 2.0.0`!  This is one
of Cordova's supported platforms for building Electron applications.
+
+* [cordova-electron@2.0.0](https://www.npmjs.com/package/cordova-electron)
+
+## Release Highlights
+
+**To upgrade:**
+
+```bash
+cordova platform remove electron
+cordova platform add electron@2.0.0
+```
+
+**To install:**
+
+```bash
+cordova platform add electron@2.0.0
+```
+
+Some of the notable breaking changes & new features in this release are:
+
+* The **Electron** core dependencies have been updated.
+  * **Electron**: 10.1.2
+  * **Chromium**: 85.0.4183.98
+  * **Node**: v12.16.3
+  * **V8**: v8.5
+* **NodeJS** 6 and 8 is no longer supported. This release requires the development environment
to have **NodeJS** 10.x or higher. It is recommended to use the current LTS, which is `12.18.4`
at the time of this release.
+* DevTool extensions can now be added to debug builds to improve debugging capabilities.
[GH-160](https://github.com/apache/cordova-electron/pull/160)
+* Support for using the custom `scheme` and `hostname` `preference` flags is now available.
It can be easily configured in your Cordova project by setting the preference options `scheme`
and `hostname` in the `config.xml` file.
+
+    ```xml
+    <preference name="scheme" value="app" />
+    <preference name="hostname" value="localhost" />
+    ```
+
+* Support passing of **Electron** arguments to the `cordova run` command. This is useful
to pass the inspect flag to debug the main process.
+
+For a quick start guide and in-depth configuration setup, please check out our [Cordova Electron
Documentation](https://github.com/apache/cordova-electron/blob/rel/2.0.0/DOCUMENTATION.md)!

Review comment:
       Is this going to the main docs of cordova.apache.org? I don't know how docs work.
   
   If yes we should link there instead of the file on Github.




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


Mime
View raw message