# API 변경 계획 다음은 Electron 2.0 에서 제거될 API 목록입니다. 정해진 적용 계획은 없지만 적어도 90일 전에 중단 경고를 할 것 입니다. ## `BrowserWindow` ```js // Deprecated let optionsA = {webPreferences: {blinkFeatures: ''}} let windowA = new BrowserWindow(optionsA) // Replace with let optionsB = {webPreferences: {enableBlinkFeatures: ''}} let windowB = new BrowserWindow(optionsB) ``` ## `clipboard` ```js // Deprecated clipboard.readRtf() // Replace with clipboard.readRTF() // Deprecated clipboard.writeRtf() // Replace with clipboard.writeRTF() // Deprecated clipboard.readHtml() // Replace with clipboard.readHTML() // Deprecated clipboard.writeHtml() // Replace with clipboard.writeHTML() ``` ## `nativeImage` ```js // Deprecated nativeImage.toPng() // Replace with nativeImage.toPNG() // Deprecated nativeImage.toJpeg() // Replace with nativeImage.toJPEG() ``` ## `process` ```js // Deprecated process.versions['atom-shell'] // Replace with process.versions.electron ``` ## `Tray` ```js // Deprecated tray.setHighlightMode(true) // Replace with tray.setHighlightMode('on') // Deprecated tray.setHighlightMode(false) // Replace with tray.setHighlightMode('off') ``` ## `webContents` ```js // Deprecated webContents.openDevTools({detach: true}) // Replace with webContents.openDevTools({mode: 'detach'}) ```