•  


Electron 30.0.0 | Electron

Electron 30.0.0

· Die Lesezeit betragt 4 min

Electron 30.0.0 wurde veroffentlicht! It includes upgrades to Chromium 124.0.6367.49 , V8 12.4 , and Node.js 20.11.1 .


Das Electron-Team freut sich, die Veroffentlichung von Electron 30.0.0 ankundigen zu konnen! Sie konnen es mit npm uber npm electron@latest installieren oder von unserer Releases-Website herunterladen. Lesen Sie weiter fur Details zu dieser Version.

Wenn Sie Feedback haben, teilen Sie es uns bitte auf Twitter oder Mastodon mit oder treten Sie unserem Community- Discord bei! Bugs und Feature-Anfragen konnen im Issue-Tracker von Electron gemeldet werden.

Bemerkenswerte Anderungen ?

Highlights ?

  • ASAR Integrity fuse now supported on Windows ( #40504 )
    • Existing apps with ASAR Integrity enabled may not work on Windows if not configured correctly. Apps using Electron packaging tools should upgrade to @electron/packager@18.3.1 or @electron/forge@7.4.0 .
    • Take a look at our ASAR Integrity tutorial for more information.
  • Added WebContentsView and BaseWindow main process modules, deprecating & replacing BrowserView ( #35658 )
    • BrowserView is now a shim over WebContentsView and the old implementation has been removed.
    • See our Web Embeds documentation for a comparison of the new WebContentsView API to other similar APIs.
  • Implemented support for the File System API ( #41827 )

Stack-Anderungen ?

Electron 30 upgrades Chromium from 122.0.6261.39 to 124.0.6367.49 , Node from 20.9.0 to 20.11.1 , and V8 from 12.2 to 12.4 .

Neue Funktionen ?

  • Added a transparent webpreference to webviews. ( #40301 )
  • Added a new instance property navigationHistory on webContents API with navigationHistory.getEntryAtIndex method, enabling applications to retrieve the URL and title of any navigation entry within the browsing history. ( #41662 )
  • Added new BrowserWindow.isOccluded() method to allow apps to check occlusion status. ( #38982 )
  • Added proxy configuring support for requests made with the net module from the utility process. ( #41417 )
  • Added support for Bluetooth ports being requested by service class ID in navigator.serial . ( #41734 )
  • Added support for the Node.js NODE_EXTRA_CA_CERTS CLI flag. ( #41822 )

Breaking Changes ?

Behavior Changed: cross-origin iframes now use Permission Policy to access features ?

Cross-origin iframes must now specify features available to a given iframe via the allow attribute in order to access them.

See documentation for more information.

Removed: The --disable-color-correct-rendering command line switch ?

This switch was never formally documented but its removal is being noted here regardless. Chromium itself now has better support for color spaces so this flag should not be needed.

Behavior Changed: BrowserView.setAutoResize behavior on macOS ?

In Electron 30, BrowserView is now a wrapper around the new WebContentsView API.

Previously, the setAutoResize function of the BrowserView API was backed by autoresizing on macOS, and by a custom algorithm on Windows and Linux. For simple use cases such as making a BrowserView fill the entire window, the behavior of these two approaches was identical. However, in more advanced cases, BrowserViews would be autoresized differently on macOS than they would be on other platforms, as the custom resizing algorithm for Windows and Linux did not perfectly match the behavior of macOS's autoresizing API. The autoresizing behavior is now standardized across all platforms.

If your app uses BrowserView.setAutoResize to do anything more complex than making a BrowserView fill the entire window, it's likely you already had custom logic in place to handle this difference in behavior on macOS. If so, that logic will no longer be needed in Electron 30 as autoresizing behavior is consistent.

Removed: params.inputFormType property on context-menu on WebContents ?

The inputFormType property of the params object in the context-menu event from WebContents has been removed. Use the new formControlType property instead.

Entfernt: process.getIOCounters() ?

Chromium has removed access to this information.

Ende der Unterstutzung fur 27.x.y ?

Electron 27.x.y hat das Ende des Supports gemaß der Support-Richtlinie des Projekts erreicht. Developers and applications are encouraged to upgrade to a newer version of Electron.

E30 (Apr'24) E31 (Jun'24) E32 (Aug'24)
30.x.y 31.x.y 32.x.y
29.x.y 30.x.y 31.x.y
28.x.y 29.x.y 30.x.y

What's Next ?

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, including Chromium, Node, and V8.

Sie konnen die offentliche Zeitleiste von Electron hier finden.

Weitere Informationen uber zukunftige Anderungen konnen auf der Geplante Breaking Changes Seite gefunden werden.

- "漢字路" 한글한자자동변환 서비스는 교육부 고전문헌국역지원사업의 지원으로 구축되었습니다.
- "漢字路" 한글한자자동변환 서비스는 전통문화연구회 "울산대학교한국어처리연구실 옥철영(IT융합전공)교수팀"에서 개발한 한글한자자동변환기를 바탕하여 지속적으로 공동 연구 개발하고 있는 서비스입니다.
- 현재 고유명사(인명, 지명등)을 비롯한 여러 변환오류가 있으며 이를 해결하고자 많은 연구 개발을 진행하고자 하고 있습니다. 이를 인지하시고 다른 곳에서 인용시 한자 변환 결과를 한번 더 검토하시고 사용해 주시기 바랍니다.
- 변환오류 및 건의,문의사항은 juntong@juntong.or.kr로 메일로 보내주시면 감사하겠습니다. .
Copyright ⓒ 2020 By '전통문화연구회(傳統文化硏究會)' All Rights reserved.
 한국   대만   중국   일본