Apply Version Updates From Current Changes #11440
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.1.0]
New Features
5c4b830 (feat(api): add
SERIALIZE_TO_IPC_FN
const and implement it for dpi types, add more constructors #11191 by @amrbashir) Improved support fordpi
module types to allow these types to be used without manual conversions withinvoke
:SERIALIZE_TO_IPC_FN
const incore
module which can be used to implement custom IPC serialization for types passed toinvoke
.Size
andPosition
classes indpi
module.SERIALIZE_TO_IPC_FN
method onPhysicalSize
,PhysicalPosition
,LogicalSize
andLogicalPosition
to convert it into a valid IPC-compatible value that can be deserialized correctly on the Rust side into its equivalent struct.4d545ab (feat: background color APIs #11486 by @amrbashir) Added
Webview::setBackgroundColor
,WebviewWindow::setBackgroundColor
APIs to set the window background color dynamicallyand a
backgroundColor
window option to set the background color on window creation.cbc095e (feat: add
WebviewWindow/Webview::devtools
#11451 by @amrbashir) Addapp > windows > devtools
config option and when creating the webview from JS, to enable or disable devtools for a specific webview.2a75c64 (feat(core): add window_class name API on Windows #11469 by @amrbashir) Added
windowClassname
option, when constructing aWebview
orWebviewWindow
, to specify the name of the window class on Windows.Bug Fixes
items
field in the object passed toMenu/Submenu.new
#11441 by @amrbashir) Fix submenu created as a menu item instead of a submenu when created by using an object in theitems
field in the options object passed toMenu.new
orSubmenu.new
.tauri-utils
[2.1.0]
New Features
app > security > headers
to define headers that will be added to every http response from tauri to the web view. This doesn't include IPC messages and error responses.Window::set_background_color
andWindowBuilder::background_color
.WebviewWindow/Webview::devtools
#11451 by @amrbashir) Addapp > windows > devtools
config option and when creating the webview from JS, to enable or disable devtools for a specific webview.bundle > linux > rpm > compression
config option to control RPM bundle compression type and level.use_https_scheme
for Windows and Android #11477 by @amrbashir) Addapp > windows > useHttpsScheme
config option to choose whether the custom protocols should usehttps://<scheme>.localhost
instead of the defaulthttp://<scheme>.localhost
on Windows and Androidapp > windows > windowClassname
config option to specify the name of the window class on Windows.Enhancements
Bug Fixes
tauri-bundler
[2.1.0]
New Features
bundle > windows > wix > fragmentPaths
with Handlebars #11521 by @amrbashir) Processbundle > windows > wix > fragmentPaths
with Handlebars to interpolate expressions within it.recommends
for deb and rpm #11402 by @amrbashir) Addbundle > linux > deb > recommends
andbundle > linux > rpm > recommends
fields to declare a strong, but not absolute, dependency for your.deb
and.rpm
packages.bundle > linux > rpm > compression
config option to control RPM bundle compression type and level.Dependencies
[email protected]
tauri-runtime
[2.2.0]
New Features
Window::set_background_color
andWindowBuilder::background_color
.use_https_scheme
for Windows and Android #11477 by @amrbashir) AddWebviewWindowBuilder/WebviewBuilder::use_https_scheme
to choose whether the custom protocols should usehttps://<scheme>.localhost
instead of the defaulthttp://<scheme>.localhost
on Windows and AndroidWebviewWindow/Webview::devtools
#11451 by @amrbashir) AddWebviewWindowBuilder::devtools
andWebviewBuilder::devtools
to enable or disable devtools for a specific webview.WindowBuilder/WebviewWindowBuilder::window_classname
method to specify the name of the window class on Windows.Bug Fixes
Dependencies
[email protected]
tauri-runtime-wry
[2.2.0]
New Features
Window::set_background_color
andWindowBuilder::background_color
.use_https_scheme
for Windows and Android #11477 by @amrbashir) AddWebviewWindowBuilder/WebviewBuilder::use_https_scheme
to choose whether the custom protocols should usehttps://<scheme>.localhost
instead of the defaulthttp://<scheme>.localhost
on Windows and AndroidWebviewWindow/Webview::devtools
#11451 by @amrbashir) AddWebviewWindowBuilder::devtools
andWebviewBuilder::devtools
to enable or disable devtools for a specific webview.WindowBuilder/WebviewWindowBuilder::window_classname
method to specify the name of the window class on Windows.Bug Fixes
cursor_position
getter on main thread #11401 by @amrbashir) FixApp/AppHandle/Window/Webview/WebviewWindow::cursor_position
getter method failing on Linux withGDK may only be used from the main thread
.Dependencies
[email protected]
[email protected]
tauri-codegen
[2.0.3]
Dependencies
[email protected]
tauri-macros
[2.0.3]
Enhancements
diagnostic::on_unimplemented
on rustc 1.78 and newer for async commands with references #11522 by @amrbashir) Enhance the error message when usingasync
commands with a reference.Dependencies
[email protected]
[email protected]
tauri-plugin
[2.0.3]
Dependencies
[email protected]
tauri-build
[2.0.3]
Dependencies
[email protected]
[email protected]
tauri
[2.1.0]
New Features
fabc2f2 (feat: add HeaderConfig to SecurityConfig #11485 by @39zde) Adds a new configuration option
app > security > headers
to define headers that will be added to every http response from tauri to the web view. This doesn't include IPC messages and error responses.8036c78 (feat(core/path): add
PathResolver::home_dir
on Android #11455 by @amrbashir) AddPathResolver::home_dir()
method on Android.5c4b830 (feat(api): add
SERIALIZE_TO_IPC_FN
const and implement it for dpi types, add more constructors #11191 by @amrbashir) Improved support fordpi
module types to allow these types to be used without manual conversions withinvoke
:SERIALIZE_TO_IPC_FN
const incore
module which can be used to implement custom IPC serialization for types passed toinvoke
.Size
andPosition
classes indpi
module.SERIALIZE_TO_IPC_FN
method onPhysicalSize
,PhysicalPosition
,LogicalSize
andLogicalPosition
to convert it into a valid IPC-compatible value that can be deserialized correctly on the Rust side into its equivalent struct.4d545ab (feat: background color APIs #11486 by @amrbashir) Added
Window::set_background_color
andWindowBuilder::background_color
.cbc095e (feat: add
WebviewWindow/Webview::devtools
#11451 by @amrbashir) Addapp > windows > devtools
config option and when creating the webview from JS, to enable or disable devtools for a specific webview.f0da0bd (feat(core): add WebviewWindow::resolve_command_scope #11439 by @lucasfernog) Added
WebviewWindow::resolve_command_scope
to check a command scope at runtime.Detect if
SERIALIZE_TO_IPC_FN
, const from the JScore
module, is implemented on objects when serializing over IPC and use it.f37e97d (feat: add
use_https_scheme
for Windows and Android #11477 by @amrbashir) Addapp > windows > useHttpsScheme
config option to choose whether the custom protocols should usehttps://<scheme>.localhost
instead of the defaulthttp://<scheme>.localhost
on Windows and Androidf37e97d (feat: add
use_https_scheme
for Windows and Android #11477 by @amrbashir) AddWebviewWindowBuilder/WebviewBuilder::use_https_scheme
to choose whether the custom protocols should usehttps://<scheme>.localhost
instead of the defaulthttp://<scheme>.localhost
on Windows and Androidcbc095e (feat: add
WebviewWindow/Webview::devtools
#11451 by @amrbashir) AddWebviewWindowBuilder::devtools
andWebviewBuilder::devtools
to enable or disable devtools for a specific webview.129414f (fix: fix webview not focused by default #11569 by @amrbashir) Add
WebviewBuilder::focused
method to choose whether to focus webview or not on creation.2a75c64 (feat(core): add window_class name API on Windows #11469 by @amrbashir) Added
app > windows > windowClassname
config option to specify the name of the window class on Windows.2a75c64 (feat(core): add window_class name API on Windows #11469 by @amrbashir) Added
WindowBuilder/WebviewWindowBuilder::window_classname
method to specify the name of the window class on Windows.Enhancements
diagnostic::on_unimplemented
on rustc 1.78 and newer for async commands with references #11522 by @amrbashir) Enhance the error message when usingasync
commands with a reference.Bug Fixes
cursor_position
getter on main thread #11401 by @amrbashir) FixApp/AppHandle/Window/Webview/WebviewWindow::cursor_position
getter method failing on Linux withGDK may only be used from the main thread
.emit_to
#11581 by @Mikkel-T) Fix listeners created withEventTarget::AnyLabel
never receiving events.Dependencies
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
@tauri-apps/cli
[2.1.0]
New Features
tauri remove
to remove plugins from projects.bundle > linux > rpm > compression
config option to control RPM bundle compression type and level.Enhancements
tauri migrate
update $schema in tauri.conf.json #11414 by @Czxck001) Migrate the$schema
Tauri configuration to the v2 format.main
window on thetauri add
andtauri permission add
commands.Bug Fixes
tauri migrate
failing to install NPM deps when running from Deno #11523 by @amrbashir) Fixtauri migrate
failing to install NPM depenencies when running from Deno.android dev
not working on Windows without--host
#11624 by @lucasfernog) Use the public network IP address onandroid dev
by default on Windows.Dependencies
[email protected]
tauri-cli
[2.1.0]
New Features
bundle > windows > wix > fragmentPaths
with Handlebars #11521 by @amrbashir) Processbundle > windows > wix > fragmentPaths
with Handlebars to interpolate expressions within it.tauri remove
to remove plugins from projects.bundle > linux > rpm > compression
config option to control RPM bundle compression type and level.Enhancements
tauri migrate
update $schema in tauri.conf.json #11414 by @Czxck001) Migrate the$schema
Tauri configuration to the v2 format.main
window on thetauri add
andtauri permission add
commands.Bug Fixes
tauri migrate
failing to install NPM deps when running from Deno #11523 by @amrbashir) Fixtauri migrate
failing to install NPM depenencies when running from Deno.android dev
not working on Windows without--host
#11624 by @lucasfernog) Use the public network IP address onandroid dev
by default on Windows.Dependencies
[email protected]
[email protected]