Electron 27.0.0

By admin
Electron 27.0.0 has been released! It includes upgrades to

Chromium
ORG

118.0.5993.32 ,

V8 11.8
PRODUCT

, and Node.js 18.17.1 .

The

Electron
ORG

team is excited to announce the release of Electron 27.0.0! You can install it with npm via npm install electron@latest or download it from our releases website. Continue reading for details about this release.

If you have any feedback, please share it with us on

Twitter
ORG

or

Mastodon
PERSON

, or join our community

Discord
ORG

!

Bugs
PERSON

and feature requests can be reported in

Electron
ORG

‘s issue tracker.

macOS

10.13
CARDINAL

(High Sierra) and macOS 10.14 (Mojave) are no longer supported by

Chromium
ORG

.

Older versions of

Electron
ORG

will continue to run on these operating systems, but

macOS 10.15
LAW

(

Catalina
PERSON

) or later will be required to run

Electron
ORG

v27.0.0 and higher.

The ipcRenderer.sendTo()

API
ORG

has been deprecated. It should be replaced by setting up a MessageChannel between the renderers.

The senderId and senderIsMainFrame properties of

IpcRendererEvent
ORG

have been deprecated as well.

The following systemPreferences events have been removed:

inverted-color-scheme-changed

high-contrast-color-scheme-changed

Use the new updated event on the nativeTheme module instead.

systemPreferences . on ( ‘inverted-color-scheme-changed’ , ( ) => {

} ) ;

systemPreferences . on ( ‘high-contrast-color-scheme-changed’ , ( ) => {

} ) ;

nativeTheme . on ( ‘updated’ , ( ) => {

} ) ;

The webContents.getPrinters method has been removed. Use webContents.getPrintersAsync instead.

const w = new BrowserWindow ( { show : false } ) ;

console . log ( w . webContents .

getPrinters
ORG

( ) ) ;

w . webContents . getPrintersAsync ( ) . then ( ( printers ) => {

console . log ( printers ) ;

} ) ;

The systemPreferences.getAppLevelAppearance and systemPreferences.setAppLevelAppearance methods have been removed, as well as the

systemPreferences.appLevelAppearance
GPE

property. Use the nativeTheme module instead.

systemPreferences . getAppLevelAppearance ( ) ;

nativeTheme . shouldUseDarkColors ;

systemPreferences . appLevelAppearance ;

nativeTheme . shouldUseDarkColors ;

systemPreferences . setAppLevelAppearance ( ‘dark’ ) ;

nativeTheme . themeSource = ‘dark’ ;

The alternate-selected-control-text value for systemPreferences.getColor has been removed. Use selected-content-background instead.

systemPreferences .

getColor
PERSON

( ‘alternate-selected-control-text’ ) ;

systemPreferences .

getColor
PERSON

( ‘selected-content-background’ ) ;

Added app accessibility transparency settings api #

39631
MONEY

Added support for chrome.scripting extension APIs #

39675
MONEY

extension APIs #

39675
MONEY

Enabled WaylandWindowDecorations by default #

39644
MONEY

Electron 24.x.y has reached end-of-support as per the project’s support policy. Developers and applications are encouraged to upgrade to a newer version of

Electron
ORG

.

E27 (

Oct’23
FAC

)

E28
ORG

(Dec’23)

E29
PERSON

(

Feb’24
ORG

)

27.x.y
CARDINAL

28.x.y 29.x.y 26.x.y 27.x.y 28.x.y 25.x.y 26.x.y 27.x.y


Earlier this year
DATE

, the

Electron
ORG

team extended

Electron 22’s
ORG

planned end of life date from

May 30, 2023 to October 10, 2023
DATE

, in order to match

Chrome
ORG

‘s extended support for

Windows
ORG

7/8/8.1 (see

Farewell
PERSON

,

Windows
ORG

7/8/8.1 for more details).

Electron 22.x.y has reached end-of-support as per the project’s support policy and this support extension. This will drop support back to the latest

three
CARDINAL

stable major versions, and will end official support for

Windows
ORG

7/8/8.1.

In the short term, you can expect the team to continue to focus on keeping up with the development of the major components that make up

Electron
ORG

, including

Chromium
ORG

,

Node
ORG

, and

V8
PRODUCT

.

You can find

Electron
ORG

‘s public timeline here.

More information about future changes can be found on

the Planned Breaking Changes
LAW

page.