Electron 26.0.0
Electron 26.0.0이 출시되었습니다! 이번 버전은 Chromium 116.0.5845.62
, V8 11.2
, 그리고 Node.js 18.16.1
로 업그레이드되었습니다. 자세한 내용은 아래를 참고하세요!
Electron 팀은 Electron 26.0.0 출시를 기쁘게 발표합니다! npm install electron@latest
명령어를 통해 npm으로 설치하거나, 릴리스 웹사이트에서 직접 다운로드할 수 있습니다. 이번 릴리스에 대한 자세한 내용은 계속해서 읽어보세요.
피드백이 있다면 Twitter를 통해 공유하거나, 우리의 커뮤니티 Discord에 참여해 주세요. 버그 및 기능 요청은 Electron의 이슈 트래커에 보고할 수 있습니다.
주요 변경 사항
스택 변경
- Chromium
116.0.5845.62
- Node.js
18.16.1
- V8
11.2
주요 변경 사항
더 이상 사용되지 않는 기능: webContents.getPrinters
webContents.getPrinters
메서드는 더 이상 사용되지 않는다. 대신 webContents.getPrintersAsync
를 사용한다.
const w = new BrowserWindow({ show: false });
// 더 이상 사용되지 않음
console.log(w.webContents.getPrinters());
// 대체 방법
w.webContents.getPrintersAsync().then((printers) => {
console.log(printers);
});
더 이상 사용되지 않음: systemPreferences.{get,set}AppLevelAppearance
와 systemPreferences.appLevelAppearance
systemPreferences.getAppLevelAppearance
와 systemPreferences.setAppLevelAppearance
메서드, 그리고 systemPreferences.appLevelAppearance
속성은 더 이상 사용되지 않는다. 이제 nativeTheme
모듈을 사용해야 한다.
// 더 이상 사용되지 않음
systemPreferences.getAppLevelAppearance();
// 대체 방법
nativeTheme.shouldUseDarkColors;
// 더 이상 사용되지 않음
systemPreferences.appLevelAppearance;
// 대체 방법
nativeTheme.shouldUseDarkColors;
// 더 이상 사용되지 않음
systemPreferences.setAppLevelAppearance('dark');
// 대체 방법
nativeTheme.themeSource = 'dark';
더 이상 사용되지 않음: systemPreferences.getColor
의 alternate-selected-control-text
값
systemPreferences.getColor
의 alternate-selected-control-text
값은 더 이상 사용되지 않는다. 대신 selected-content-background
를 사용한다.
// 더 이상 사용되지 않음
systemPreferences.getColor('alternate-selected-control-text');
// 대체 코드
systemPreferences.getColor('selected-content-background');
새로운 기능
safeStorage.setUsePlainTextEncryption
과safeStorage.getSelectedStorageBackend
API를 추가했다. #39107safeStorage.setUsePlainTextEncryption
과safeStorage.getSelectedStorageBackend
API를 추가했다. #39155ipcRenderer.sendTo()
를 통해 전송된 메시지에senderIsMainFrame
속성을 추가했다. #39206- 키보드로 시작된 Menu를 플래그로 표시하는 기능을 추가했다. #38954
23.x.y 버전 지원 종료
Electron 23.x.y 버전은 프로젝트의 지원 정책에 따라 지원이 종료되었다. 개발자와 애플리케이션은 더 새로운 버전의 Electron으로 업그레이드하는 것을 권장한다.
E26 (2023년 8월) | E27 (2023년 10월) | E28 (2024년 1월) |
---|---|---|
26.x.y | 27.x.y | 28.x.y |
25.x.y | 26.x.y | 27.x.y |
24.x.y | 25.x.y | 26.x.y |
22.x.y |
앞으로의 계획
단기적으로, Electron 팀은 Chromium, Node, V8과 같은 주요 컴포넌트의 개발 속도를 따라잡는 데 계속 집중할 예정이다.
Electron의 공개 타임라인은 여기에서 확인할 수 있다.
향후 변경 사항에 대한 자세한 정보는 예정된 주요 변경 사항 페이지에서 확인할 수 있다.