Apply Version Updates From Current Changes #10179
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Version Updates
Merging this PR will release new versions of the following packages based on your change files.
@tauri-apps/api
[2.0.0-beta.15]
New Features
Enhancements
EventName
on window'sonce
and remove listener before calling handler #10246 by @Legend-Master) UseEventName
onWindow
,Webview
andWebviewWindow
'sonce
so you can get auto complete for tauri's built-in eventsBug Fixes
EventName
on window'sonce
and remove listener before calling handler #10246 by @Legend-Master) Fixonce
doesn't detached after one callback if event handler throwsBreaking Changes
261c9f9 (refactor!(core & api): rename drag events for better consistency and clarity #10170 by @amrbashir) Renamed drag and drop events in
TauriEvent
enum to better convey when they are triggered:TauriEvent.DRAG
->TauriEvent.DRAG_ENTER
TauriEvent.DROP_OVER
->TauriEvent.DRAG_OVER
TauriEvent.DROP
->TauriEvent.DRAG_DROP
TauriEvent.DROP_CANCELLED
->TauriEvent::DRAG_LEAVE
Also the
type
field values inWindow/Webview/WebviewWindow.onDropEvent
andDragDropEvent
have changed:dragged
->enter
dragOver
->over
dropped
->drop
cancelled
->leave
2b1ceb4 (refactor(api)!: renamed
getCurrent
functions to avoid ambiguity #10229 by @amrbashir) Renamed the JSgetCurrent
andgetAll
functions to a clearer name to avoid ambiguity:getCurrent
inwindow
module has been renamed togetCurrentWindow
getCurrent
inwebview
module has been renamed togetCurrentWebview
getCurrent
inwebviewWindow
module has been renamed togetCurrentWebviewWindow
getAll
inwindow
module has been renamed togetAllWindows
getAll
inwebview
module has been renamed togetAllWebviews
getAll
inwebviewWindow
module has been renamed togetAllWebviewWindows
tauri-utils
[2.0.0-beta.19]
New Features
RawIsolationPayload::content_type
method.tauri-macos-sign
[0.1.0-beta.0]
New Features
tauri-bundler
[2.0.1-beta.18]
New Features
Bug Fixes
.app
bundle is disabled.Dependencies
[email protected]
[email protected]
Breaking Changes
!ifmacrodef
for installer hooks #10177 by @Legend-Master) Changed NSIS installer hooks from!define
to!macro
tauri-runtime
[2.0.0-beta.20]
Dependencies
[email protected]
tauri-runtime-wry
[2.0.0-beta.20]
Bug Fixes
Dependencies
[email protected]
[email protected]
tauri-codegen
[2.0.0-beta.19]
Bug Fixes
What's Changed
test = true
ingenerate_context!
macro to skip some code generation that could affect some tests, for now it only skips empedding a plist on macOS.Dependencies
[email protected]
tauri-macros
[2.0.0-beta.19]
What's Changed
test = true
ingenerate_context!
macro to skip some code generation that could affect some tests, for now it only skips empedding a plist on macOS.Dependencies
[email protected]
[email protected]
tauri-plugin
[2.0.0-beta.19]
Dependencies
[email protected]
tauri-build
[2.0.0-beta.19]
Bug Fixes
Dependencies
[email protected]
[email protected]
tauri
[2.0.0-beta.24]
New Features
Enhancements
AppHandle::restart
andprocess::restart
as diverging functions #10171 by @amrbashir) MarkAppHandle::restart
andprocess::restart
as diverging functions.Bug Fixes
isolation
pattern.PluginApi::register_ios_plugin
behind thewry
Cargo feature asWebview::with_webview
is only available when that feature is enabled.Dependencies
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
Breaking Changes
ba9590a (feat!: add Listener and Emitter traits #9640 by @amrbashir) Added
Emitter
andListener
traits that defines what an emitter or a listener can do, this however comes with a few breaking changes:Manager::listen_any
, useListener::listen_any
instead.Manager::once_any
, useListener::once_any
instead.Manager::unlisten
, useListener::unlisten
instead.Manager::emit
, useEmitter::emit
instead.Manager::emit_to
, useEmitter::emit_to
instead.Manager::emit_filter
, useEmitter::emit_filter
instead.App/AppHandle::listen
,WebviewWindow::listen
,Window::listen
andWebview::listen
, useListener::listen
instead.App/AppHandle::once
,WebviewWindow::once
,Window::once
andWebview::once
, useListener::once
instead.App/AppHandle::unlisten
,WebviewWindow::unlisten
,Window::unlisten
andWebview::unlisten
, useListener::unlisten
instead.261c9f9 (refactor!(core & api): rename drag events for better consistency and clarity #10170 by @amrbashir) Renamed
DragDropEvent
enum variants to better convey when they are triggered:DragDropEvent::Dragged
->DragDropEvent::Enter
DragDropEvent::DragOver
->DragDropEvent::Over
DragDropEvent::Dropped
->DragDropEvent::Drop
DragDropEvent::Cancelled
->DragDropEvent::Leave
This also comes with a change in the events being emitted to JS and Rust event listeners:
tauri://drag
->tauri://drag-enter
tauri://drop-over
->tauri://drag-over
tauri://drop
->tauri://drag-drop
tauri://drag-cancelled
->tauri://drag-leave
2b1ceb4 (refactor(api)!: renamed
getCurrent
functions to avoid ambiguity #10229 by @amrbashir) Renamed the JSgetCurrent
andgetAll
functions to a clearer name to avoid ambiguity:getCurrent
inwindow
module has been renamed togetCurrentWindow
getCurrent
inwebview
module has been renamed togetCurrentWebview
getCurrent
inwebviewWindow
module has been renamed togetCurrentWebviewWindow
getAll
inwindow
module has been renamed togetAllWindows
getAll
inwebview
module has been renamed togetAllWebviews
getAll
inwebviewWindow
module has been renamed togetAllWebviewWindows
57612ab (feat: add TSend generic to Channel #10139 by @Brendonovich) Add
TSend
generic toipc::Channel
for typesafesend
calls and type inspection intauri-specta
@tauri-apps/cli
[2.0.0-beta.22]
New Features
--method
argument forios build
to select the export options' method.IOS_CERTIFICATE
,IOS_CERTIFICATE_PASSWORD
andIOS_MOBILE_PROVISION
environment variables.Enhancements
c01e87a (refactor(cli/migrate): use
oxc
kit to parse and migrate js/ts files #10198 by @amrbashir) Enhancetauri migrate
to also migrate variables likeappWindow
:will become:
Bug Fixes
clipboard
permissions migration #10186 by @amrbashir) Fixmigrate
command, migrating incorrect permissions forclipboard
.oxc
kit to parse and migrate js/ts files #10198 by @amrbashir) Fixtauri migrate
incorrectly migrating@tauri-apps/api/tauri
module to justcore
and@tauri-apps/api/window
to justwebviewWindow
.--target-dir
flag #10234 by @amrbashir) Fix cli failing to detect the correct cargo target directory when using cargo--target-dir
flag withtauri build
ortauri dev
Dependencies
[email protected]
tauri-cli
[2.0.0-beta.22]
New Features
--method
argument forios build
to select the export options' method.IOS_CERTIFICATE
,IOS_CERTIFICATE_PASSWORD
andIOS_MOBILE_PROVISION
environment variables.Enhancements
c01e87a (refactor(cli/migrate): use
oxc
kit to parse and migrate js/ts files #10198 by @amrbashir) Enhancetauri migrate
to also migrate variables likeappWindow
:will become:
Bug Fixes
clipboard
permissions migration #10186 by @amrbashir) Fixmigrate
command, migrating incorrect permissions forclipboard
.oxc
kit to parse and migrate js/ts files #10198 by @amrbashir) Fixtauri migrate
incorrectly migrating@tauri-apps/api/tauri
module to justcore
and@tauri-apps/api/window
to justwebviewWindow
.--target-dir
flag #10234 by @amrbashir) Fix cli failing to detect the correct cargo target directory when using cargo--target-dir
flag withtauri build
ortauri dev
Dependencies
[email protected]
[email protected]
[email protected]