mirror of
https://github.com/tauri-apps/tauri.git
synced 2024-12-30 06:23:46 +03:00
16 lines
674 B
Markdown
16 lines
674 B
Markdown
|
---
|
||
|
'tauri': 'patch:breaking'
|
||
|
---
|
||
|
|
||
|
This release contains a number of breaking changes to improve the consistency of tauri internals and the public facing APIs
|
||
|
and simplifying the types where applicable:
|
||
|
|
||
|
- Removed `EventHandler` type.
|
||
|
- Added `EventId` type
|
||
|
- Changed `Manager::listen_global` and `Window::listen` to return the new `EventId` type instead of `EventHandler`.
|
||
|
- Removed the return type of `Manager::once_global` and `Window::once`
|
||
|
- Changed `Manager::unlisten` and `Window::unlisten` to take he new `EventId` type.
|
||
|
- Added `tauri::scope::ScopeEventId`
|
||
|
- Changed `FsScope::listen` to return the new `ScopeEventId` instead of `Uuid`.
|
||
|
- Added `FsScope::unlisten`
|