@tauri-apps/api@1.0.0-rc.0
Esta página aún no está disponible en tu idioma.
-
Add
fileDropEnabled
property toWindowOptions
so you can now disable it when creating windows from js. -
Add
logDir
function to thepath
module to access the suggested log directory. AddBaseDirectory.Log
to thefs
module. -
Expose
ask
,message
andconfirm
APIs on the dialog module. -
Event
emit
now automatically serialize non-string types. -
Fix
http.fetch
throwing error if the response is successful but the body is empty. -
Add
title
option to file open/save dialogs. -
Fix
os.platform
returningmacos
andwindows
instead ofdarwin
andwin32
. -
The
formatCallback
helper function now returns a number instead of a string. -
Added
rawHeaders
tohttp > Response
. -
Removed the
currentDir
API from thepath
module.- a08509c6 fix(api): remove
currentDir
API from thepath
module on 2022-02-04
- a08509c6 fix(api): remove
-
Remove
.ts
files on the published package. -
Breaking change: Replaces all usages of
number[]
withUint8Array
to be closer aligned with the wider JS ecosystem. -
WindowManager
methodsinnerPosition
outerPosition
now correctly return instance ofPhysicalPosition
.WindowManager
methodsinnerSize
outerSize
now correctly return instance ofPhysicalSize
. -
Change the
event
field of theEvent
interface to typeEventName
instead ofstring
. -
Now
resolve()
,join()
andnormalize()
from thepath
module, won’t throw errors if the path doesn’t exist, which matches NodeJS behavior. -
Fixes the dialog
defaultPath
usage on Linux. -
Fixes
window.label
property returning null instead of the actual label. -
Remove the
BaseDirectory::Current
enum variant for security reasons.- 696dca58 refactor(core): remove
BaseDirectory::Current
variant on 2022-01-26
- 696dca58 refactor(core): remove
-
Change
WindowLabel
type 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
© 2024 Tauri Contributors. CC-BY / MIT