Skip to content

Commit

Permalink
changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
Colin Grant committed Dec 1, 2021
1 parent 2df0fbc commit 863f89b
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,18 @@

[1.21.0 Milestone](https://github.com/eclipse-theia/theia/milestone/29)

- [core] `WindowService` and `ElectronMainApplication` updated to allow for asynchronous pre-exit code in Electron. [#10379](https://github.com/eclipse-theia/theia/pull/10379)

<a name="breaking_changes_1.21.0">[Breaking Changes:](#breaking_changes_1.21.0)</a>

- [webpack] Source maps for the frontend renamed from `webpack://[namespace]/[resource-filename]...`
to `webpack:///[resource-path]?[loaders]` where `resource-path` is the path to the file relative
to your application package's root.
- [core] `WindowService` interface changed considerably [#10379](https://github.com/eclipse-theia/theia/pull/10379)
- remove `canUnload(): boolean`- it's replaced by `isSafeToShutDown(): Promise<boolean>` to allow asynchronous handling in Electron.
- add `isSafeToShutDown()` - replaces `canUnload()`.
- add `setSafeToShutDown()` - ensures that next close event will not be prevented.
- add `reload()` - to allow different handling in Electron and browser.

## v1.20.0 - 11/25/2021

Expand Down

0 comments on commit 863f89b

Please sign in to comment.