tauri@1.2.0
- Add
accept_first_mouse
option for macOS windows. - Add new app-specific
BaseDirectory
enum variantsAppConfig
,AppData
,AppLocalData
,AppCache
andAppLog
along with equivalent functions inpath
module and deprecated ambiguous variantsLog
andApp
along with their equivalent functions inpath
module. - Set the correct mimetype when streaming files through
asset:
protocol- 39443b43 fix(core): set correct mimetype for asset protocol streams, closes #5203 (#5210) on 2022-09-30
- 2d9c2b47 Revert “fix(core): set correct mimetype for asset protocol streams, closes #5203 (#5210)” on 2022-09-30
- 9b1a6a1c fix(core): set correct mimetype for asset protocol streams, #5203 (#5536) on 2022-11-04
- Disable automatic window tabbing on macOS when the
tabbing_identifier
option is not defined, the window is transparent or does not have decorations. - The custom protocol now validates the request URI. This has implications when using the
asset
protocol without theconvertFileSrc
helper, the URL must now use theasset://localhost/$filePath
format. - Escape glob special characters in files/directories when dropping files or using the open/save dialogs.
- Properly emit events with object payload.
- Fixes access to the
WebviewWindow.getByLabel
function in atauri://window-created
event listener. - Fixes resource reading being always rejected by the scope.
- Fixes
__TAURI_PATTERN__
object freeze. - Readd the option to create an unfocused window via the
focused
method. Thefocus
function has been deprecated. - Add
hidden_title
option for macOS windows. - Custom protocol headers are now implemented on Linux when running on webkit2gtk 2.36 or above.
- Add
App::show()
,AppHandle::show()
,App::hide()
andAppHandle::hide()
for hiding/showing the entire application on macOS. - Fix a deadlock when modifying the menu in the
on_menu_event
closure. - Resolve base system directory in shell scope.
- Added
tabbing_identifier
to the window builder on macOS. - Add
title_bar_style
option for macOS windows. - Added methods to set the system tray title on macOS.
- Added the
user_agent
option when creating a window.
© 2024 Tauri Contributors. CC-BY / MIT