tauri@1.0.0-beta.0
Esta página aún no está disponible en tu idioma.
-
Breaking:
api::path::resolve_path()andapi::path::app_dir()now takes the config as first argument and thePackageInfoas second argument. Breaking:api::path::app_dir()now resolves to$\{configDir}/$\{config.tauri.bundle.identifier}. -
Adds
manageAPI to theBuilderstruct, which manages app state. -
Breaking: The
assetsfield on thetauri::Contextstruct is now aArc<impl Assets>. -
Only commands with a
async fnare executed on a separate task.#[command] fn command_nameruns on the main thread. -
Renamed the
commandAPI module toprocess. -
Adds
optionsargument to the shell command API (envandcwdconfiguration). -
Improves support for commands returning
Result. -
Adds
statusandoutputAPIs to thetauri::api::process::Commandstruct. -
The
create_windowAPI callback now takes two arguments: theWindowBuilderand theWebviewAttributesand must return a tuple containing both values. -
Reintroduce
cspinjection, configured ontauri.conf.json > tauri > security > csp. -
Adds the default types used with
Builder::default()to items that exposeParamsin their type. This allows you to skip specifying a generic parameter to types likeWindow<P>if you use the default type. -
Change draggable region element detection from
drag-regionclass todata-tauri-drag-regionattribute. -
Emit
tauri://resize,tauri://move,tauri://close-requested,tauri://destroyed,tauri://focus,tauri://blurandtauri://scale-changeevents to the window. -
The event
emitfunction payload type is nowimpl Serializeinstead ofOption<impl Serialize>. -
Update
tauri-hotkeyto v0.1.2, fixing a compilation issue on 32-bit platforms. -
Implemented window menus APIs.
-
Added the `#[non_exhaustive] attribute where appropriate.
-
Notification.requestPermission()now returns"denied"when not allowlisted.IsNotificationPermissionGrantedreturnsfalsewhen not allowlisted. -
Refactored the
Plugintraitinitializeandextend_apisignatures.initializenow takes theAppas first argument, andextend_apitakes anInvokeinstead ofInvokeMessage. This adds support to managed state on plugins. -
window.print()now works on all platforms. -
Breaking:
Contextfields are now private, and is expected to be created throughContext::new(...). All fields previously available throughContextare now public methods. -
Settingsis now serialized usingbincode. -
The window management API was refactored: removed
setX,setY,setWidth,setHeightAPIs, renamedresizetosetSizeand the size and position APIs now allow defining both logical and physical values. -
Removed the
tcpmodule fromtauri::api. -
Removes the
with_windowattribute on thecommandmacro. Tauri now infers it using theCommandArgtrait. -
Move
restart_applicationAPI fromappmodule toprocessmodule. -
tauri-runtimecrate initial release. -
The
setupError type must beSend. -
Simplify usage of app event and window label types. The following functions now accept references the
Tagcan be borrowed as. This means an&strcan now be accepted for functions likeWindow::emit. This is a breaking change for the following items, which now need to take a reference. Additionally, type inference for&"event".into()will no longer work, but&"event".to_string()will. The solution for this is to now just pass"event"becauseBorrow<str>is implemented for the default event typeString. -
Breaking:
Window::emitnow acceptsBorrowfor the event. -
Breaking:
Window::emit_othersnow acceptsBorrowfor the event -
Breaking:
Window::triggernow acceptsBorrowfor the event. -
Breaking:
Manager::emit_allnow acceptsBorrowfor the event. -
Breaking:
Manager::emit_tonow acceptsBorrowfor both the event and window label. -
Breaking:
Manager::trigger_globalnow acceptsBorrowfor the event. -
Breaking:
Manager::get_windownow acceptsBorrowfor the window label. -
(internal):
trait tauri::runtime::tag::TagRefhelper for accepting tag references. Any time you want to accept a tag reference, that trait will handle requiring the reference to have all the necessary bounds, and generate errors when the exposed function doesn’t set a bound likeP::Event: Borrow<E>. -
181e132 refactor(core): simplify usage of app event and window label types (#1623) on 2021-04-27
-
a755d23 refactor(core): more bounds for better errors from #1623 (#1632) on 2021-04-27
-
tauri-runtime-wryinitial release. -
Adds system tray support.
-
Rename
AttributestoWindowBuilder. -
The
Window#create_windowAPI now has the same signature asApp#create_window. -
Adds
on_window_eventAPI to theWindowstruct. -
Adds window getters.
-
Update
wryto v0.9.
© 2025 Tauri Contributors. CC-BY / MIT