@tauri-apps/api@1.0.0-rc.0
此内容尚不支持你的语言。
-
Add
fileDropEnabledproperty toWindowOptionsso you can now disable it when creating windows from js. -
Add
logDirfunction to thepathmodule to access the suggested log directory. AddBaseDirectory.Logto thefsmodule. -
Expose
ask,messageandconfirmAPIs on the dialog module. -
Event
emitnow automatically serialize non-string types. -
Fix
http.fetchthrowing error if the response is successful but the body is empty. -
Add
titleoption to file open/save dialogs. -
Fix
os.platformreturningmacosandwindowsinstead ofdarwinandwin32. -
The
formatCallbackhelper function now returns a number instead of a string. -
Added
rawHeaderstohttp > Response. -
Removed the
currentDirAPI from thepathmodule.- a08509c6 fix(api): remove
currentDirAPI from thepathmodule on 2022-02-04
- a08509c6 fix(api): remove
-
Remove
.tsfiles on the published package. -
Breaking change: Replaces all usages of
number[]withUint8Arrayto be closer aligned with the wider JS ecosystem. -
WindowManagermethodsinnerPositionouterPositionnow correctly return instance ofPhysicalPosition.WindowManagermethodsinnerSizeouterSizenow correctly return instance ofPhysicalSize. -
Change the
eventfield of theEventinterface to typeEventNameinstead ofstring. -
Now
resolve(),join()andnormalize()from thepathmodule, won’t throw errors if the path doesn’t exist, which matches NodeJS behavior. -
Fixes the dialog
defaultPathusage on Linux. -
Fixes
window.labelproperty returning null instead of the actual label. -
Remove the
BaseDirectory::Currentenum variant for security reasons.- 696dca58 refactor(core): remove
BaseDirectory::Currentvariant on 2022-01-26
- 696dca58 refactor(core): remove
-
Change
WindowLabeltype tostring.- f68603ae chore(docs): simplify event system documentation on 2021-09-27
-
When building Universal macOS Binaries through the virtual target
universal-apple-darwin: -
Expect a universal binary to be created by the user
-
Ensure that binary is bundled and accessed correctly at runtime
-
3035e458 Remove target triple from sidecar bin paths, closes #3355 (#3356) on 2022-02-07
© 2025 Tauri Contributors. CC-BY / MIT