tauri@1.0.0-rc.4
Esta página aún no está disponible en tu idioma.
- Run
AppHandle
cleanup code before restarting the application on theprocess > relaunch
API. - Breaking change: The
Builder#create_window
API now returns a Result validating the window label. - Added
tsp
config option undertauri > bundle > windows
, which enables Time-Stamp Protocol (RFC 3161) for the timestamping server under code signing on Windows if set totrue
. - Revert the
clap
usage back to the version 3.0 API. - The
tauri::api::process::Command
API now properly reads stdout and stderr messages that ends with a carriage return (\r
) instead of just a newline (\n
). - Fixes filesystem and asset scope stripping the first component of the allowed path.
- Ignore trailing slashes on path scope validation.
- Fixes
Command::output
andCommand::status
deadlock when running on async commands. - Update tray menu id map when
SystemTrayHandle::set_menu
is called. - Allow absolute paths on the filesystem APIs as long as it does not include parent directory components.
- Breaking change: The
tauri::api::file::Extract
API is now available when thefs-extract-api
feature is enabled. - Allow listening to events on the filesystem and asset scopes.
- Allow configuring forbidden paths on the asset and filesystem scopes.
- Extend the allowed patterns for the filesystem and asset protocol when the user selects a path (dialog open and save commands and file drop on the window).
- The HTTP scope now matches the entire URL using a glob pattern instead of only its path.
- Parse window icons at compile time.
- Breaking change: Move
ico
andpng
parsing behindicon-ico
andicon-png
Cargo features. - Return an error when creating a window with an invalid label instead of panicking.
- Allows the configuration CSP to be an object mapping a directive name to its source list.
- Allow range in the form of
bytes=0-*
on the asset protocol. - Reimplement endpoint to read file as string for performance.
- Breaking change: Renamed the
command
Cargo feature toprocess-command-api
. - Disabled the default features for the
zip
crate. - The
cmd
field is no longer required on the shell scope for sidecars. - Fixes a regression on the
unlisten
command. - Run
AppHandle
cleanup code before restarting the application when a new update is installed. - Added a
WindowBuilder
type. - Added
WindowBuilder::on_web_resource_request
, which allows customizing the tauri custom protocol response.
© 2024 Tauri Contributors. CC-BY / MIT