{"id":6657,"date":"2019-11-02T07:00:34","date_gmt":"2019-11-02T07:00:34","guid":{"rendered":"https:\/\/gtechbooster.com\/?p=6657"},"modified":"2023-04-01T01:36:48","modified_gmt":"2023-04-01T01:36:48","slug":"electron-7-receives-native-theme-api","status":"publish","type":"post","link":"https:\/\/gtechbooster.com\/electron-7-receives-native-theme-api\/","title":{"rendered":"Electron 7 receives Native Theme API"},"content":{"rendered":"\n<p>Electron 7.0.0 has been released with improvements including a \nWindows on Arm 64 release, faster IPC methods, and a new native theme \nAPI. It also includes upgrades to Chromium 78, V8 7.8, and Node.js \n12.8.1.<\/p>\n\n\n\n<div class=\"gtech-migrated-from-ad-inserter-placement-2\" style=\"text-align: center;\" id=\"gtech-3045554137\"><div style=\"margin-right: auto;margin-left: auto;text-align: center;\" id=\"gtech-3047960379\"><a data-bid=\"1\" data-no-instant=\"1\" href=\"https:\/\/gtechbooster.com\/linkout\/75343\" rel=\"noopener\" class=\"notrack\" aria-label=\"jesdphis\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/gtechbooster.com\/media\/2025\/08\/jesdphis.avif\" alt=\"\"  srcset=\"https:\/\/gtechbooster.com\/media\/2025\/08\/jesdphis.avif 1179w, https:\/\/gtechbooster.com\/media\/2025\/08\/jesdphis-768x950.avif 768w\" sizes=\"(max-width: 1179px) 100vw, 1179px\" width=\"300\" height=\"300\"  style=\"display: inline-block;\" \/><\/a><\/div><\/div><p>Electron\u00a0is a framework for creating native applications with web  technologies like JavaScript, HTML, and CSS. It combines Chromium and  Node.js into a single runtime, and apps can be packaged for Mac,  Windows, and Linux. Both Atom and Electron were open sourced in 2014.<\/p>\n\n\n\n<p>The faster IPC methods are aimed at persuading Electron users to move\n away from using the Remote module to using IPC instead. The developers \nsay that IPC is faster and safer, and the new methods are asynchronous \nso won\u2019t block other things from happening in the renderer.&nbsp;<\/p>\n\n\n\n<p>The native theme API has been added to give a way to read and respond\n to changes in the OS&#8217;s theme and color scheme. You can allow apps to \noverride Chromium and the OS&#8217;s theme choice so your app looks the way \nyou want.<\/p>\n\n\n\n<p>This release also has a new TypeScript Definitions generator, and the\n developers say the resulting definitions are more precise; so if your \nTypeScript build fails, this is the likely cause.this means&nbsp; The change \nmeans that elements such as markdown, links and code blocks are \npersisted in the TypeScript definitions.<\/p>\n\n\n\n<p>There are a number of breaking changes, mainly from the removal of  deprecated APIs, and callback-based versions of functions that now use  Promises. The development team has also announced that Electron 4.x.y  has reached end-of-support, so any developers still using Electron 4 are  encouraged to change to a more modern version.\u00a0<\/p>\n\n\n\n<table class=\"wp-block-table is-style-stripes\"><thead><tr><th>Stack<\/th><th>Version in Electron 6<\/th><th>Version in Electron 7<\/th><th>What&#8217;s New<\/th><\/tr><\/thead><tbody><tr><td>Chromium<\/td><td>76.0.3809.146<\/td><td><strong>78.0.3905.1<\/strong><\/td><td><a href=\"https:\/\/developers.google.com\/web\/updates\/2019\/09\/nic77\">77<\/a>, <a href=\"https:\/\/developers.google.com\/web\/updates\/2019\/10\/nic78\">78<\/a><\/td><\/tr><tr><td>V8<\/td><td>7.6<\/td><td><strong>7.8<\/strong><\/td><td><a href=\"https:\/\/v8.dev\/blog\/v8-release-77\">7.7<\/a>, <a href=\"https:\/\/v8.dev\/blog\/v8-release-78\">7.8<\/a><\/td><\/tr><tr><td>Node.js<\/td><td>12.4.0<\/td><td><strong>12.8.1<\/strong><\/td><td><a href=\"https:\/\/nodejs.org\/en\/blog\/release\/v12.5.0\/\">12.5<\/a>, <a href=\"https:\/\/nodejs.org\/en\/blog\/release\/v12.6.0\/\">12.6<\/a>, <a href=\"https:\/\/nodejs.org\/en\/blog\/release\/v12.7.0\/\">12.7<\/a>, <a href=\"https:\/\/nodejs.org\/en\/blog\/release\/v12.8.0\/\">12.8<\/a>, <a href=\"https:\/\/nodejs.org\/en\/blog\/release\/v12.8.1\/\">12.8.1<\/a><\/td><\/tr><\/tbody><\/table>\n\n\n\n<h2 class=\"wp-block-heading\">More Information<\/h2>\n\n\n\n<ul class=\"wp-block-list\"><li><a rel=\"noreferrer noopener\" href=\"https:\/\/electronjs.org\/\" target=\"_blank\">Electron Website<\/a><\/li><\/ul>\n<div class=\"gtech-end-cont\" id=\"gtech-2509969912\"><div style=\"margin-right: auto;margin-left: auto;text-align: center;\" id=\"gtech-2622177673\"><a data-bid=\"1\" data-no-instant=\"1\" href=\"https:\/\/gtechbooster.com\/linkout\/75343\" rel=\"noopener\" class=\"notrack\" aria-label=\"jesdphis\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/gtechbooster.com\/media\/2025\/08\/jesdphis.avif\" alt=\"\"  srcset=\"https:\/\/gtechbooster.com\/media\/2025\/08\/jesdphis.avif 1179w, https:\/\/gtechbooster.com\/media\/2025\/08\/jesdphis-768x950.avif 768w\" sizes=\"(max-width: 1179px) 100vw, 1179px\" width=\"300\" height=\"300\"  style=\"display: inline-block;\" \/><\/a><\/div><\/div>","protected":false},"excerpt":{"rendered":"<p>Electron 7.0.0 has been released with improvements including a Windows on Arm 64 release, faster IPC methods, and a new native theme API. It also includes &#8230;..<\/p>\n","protected":false},"author":7,"featured_media":6658,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1915],"tags":[171,1108,424,10,1116,6,825],"class_list":["post-6657","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-ndocs","tag-google-chrome","tag-cascading-style-sheet","tag-html5","tag-javascript","tag-node-js","tag-programming","tag-typescript"],"blocksy_meta":{"styles_descriptor":{"styles":{"desktop":"","tablet":"","mobile":""},"google_fonts":[],"version":6}},"_links":{"self":[{"href":"https:\/\/gtechbooster.com\/api-json\/wp\/v2\/posts\/6657","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/gtechbooster.com\/api-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/gtechbooster.com\/api-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/gtechbooster.com\/api-json\/wp\/v2\/users\/7"}],"replies":[{"embeddable":true,"href":"https:\/\/gtechbooster.com\/api-json\/wp\/v2\/comments?post=6657"}],"version-history":[{"count":0,"href":"https:\/\/gtechbooster.com\/api-json\/wp\/v2\/posts\/6657\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/gtechbooster.com\/api-json\/wp\/v2\/media\/6658"}],"wp:attachment":[{"href":"https:\/\/gtechbooster.com\/api-json\/wp\/v2\/media?parent=6657"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/gtechbooster.com\/api-json\/wp\/v2\/categories?post=6657"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/gtechbooster.com\/api-json\/wp\/v2\/tags?post=6657"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}