diff --git a/.changes/acl.md b/.changes/acl.md deleted file mode 100644 index 82a1153ef..000000000 --- a/.changes/acl.md +++ /dev/null @@ -1,11 +0,0 @@ ---- -"tauri": patch:breaking -"tauri-plugin": major:feat -"tauri-build": patch:feat -"tauri-utils": patch:feat -"tauri-codegen": patch:feat -"tauri-macros": patch:feat -"@tauri-apps/api": patch:feat ---- - -Implement access control list for IPC usage. diff --git a/.changes/add-command.md b/.changes/add-command.md deleted file mode 100644 index 7c8638185..000000000 --- a/.changes/add-command.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"tauri-cli": 'patch:feat' -"@tauri-apps/cli": 'patch:feat' ---- - -Added `tauri plugin add` command to add a plugin to the Tauri project. diff --git a/.changes/add-files-appimage.md b/.changes/add-files-appimage.md deleted file mode 100644 index 6172126e6..000000000 --- a/.changes/add-files-appimage.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"tauri-bundler": 'patch:enhance' -"tauri-cli": 'patch:enhance' -"@tauri-apps/cli": 'patch:enhance' ---- - -Add `files` option to the AppImage Configuration. diff --git a/.changes/add-mobile-to-plugin.md b/.changes/add-mobile-to-plugin.md deleted file mode 100644 index e3c15a50d..000000000 --- a/.changes/add-mobile-to-plugin.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"tauri-cli": 'minor:feat' -"@tauri-apps/cli": 'minor:feat' ---- - -Added `plugin android add` and `plugin ios add` commands to add mobile plugin functionality to existing projects. diff --git a/.changes/add-progress-bar.md b/.changes/add-progress-bar.md deleted file mode 100644 index 951b5eafd..000000000 --- a/.changes/add-progress-bar.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -"tauri": 'patch:feat' -"tauri-runtime": 'patch:feat' -"tauri-runtime-wry": 'patch:feat' -"tauri-utils": 'patch:feat' ---- - -Added `set_progress_bar` to `Window`. diff --git a/.changes/add-visible-on-all-workspaces.md b/.changes/add-visible-on-all-workspaces.md deleted file mode 100644 index 66cfaeccf..000000000 --- a/.changes/add-visible-on-all-workspaces.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"tauri": 'minor:feat' -"tauri-runtime": 'minor' -"tauri-utils": 'minor:feat' ---- - -Added `visible_on_all_workspaces` configuration option to `WindowBuilder`, `Window`, and `WindowConfig`. diff --git a/.changes/always-on-bottom-api.md b/.changes/always-on-bottom-api.md deleted file mode 100644 index b3cf2ee14..000000000 --- a/.changes/always-on-bottom-api.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@tauri-apps/api": patch:feat ---- - -Added `setAlwaysOnBottom` function on `Window` and the `alwaysOnBottom` option when creating a window. diff --git a/.changes/always-on-bottom-config.md b/.changes/always-on-bottom-config.md deleted file mode 100644 index 6dea7d22a..000000000 --- a/.changes/always-on-bottom-config.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'tauri-utils': 'minor:feat' ---- - -Added the `always_on_bottom` option to the window configuration. diff --git a/.changes/always-on-bottom.md b/.changes/always-on-bottom.md deleted file mode 100644 index ec7322638..000000000 --- a/.changes/always-on-bottom.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -'tauri': 'minor:feat' -'tauri-runtime': 'minor:feat' -'tauri-runtime-wry': 'minor:feat' ---- - -Added `Window::set_always_on_bottom` and the `always_on_bottom` option when creating a window. diff --git a/.changes/android-apis-runtime.md b/.changes/android-apis-runtime.md deleted file mode 100644 index fe14fb143..000000000 --- a/.changes/android-apis-runtime.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"tauri-runtime": 'minor:feat' -"tauri-runtime-wry": 'minor:feat' ---- - -Add `find_class`, `run_on_android_context` on `RuntimeHandle`. diff --git a/.changes/android-buildsrc-gitignore.md b/.changes/android-buildsrc-gitignore.md deleted file mode 100644 index 9f0ee5f4c..000000000 --- a/.changes/android-buildsrc-gitignore.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"tauri-cli": 'patch:enhance' -"@tauri-apps/cli": 'patch:enhance' ---- - -Do not gitignore the Android project's `buildSrc` folder by default since we removed absolute paths from it. diff --git a/.changes/android-enhance-method-parse.md b/.changes/android-enhance-method-parse.md deleted file mode 100644 index 165f6868d..000000000 --- a/.changes/android-enhance-method-parse.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tauri": 'patch:enhance' ---- - -Enhance parsing of annotated Android plugin methods to support private functions. diff --git a/.changes/android-load-config.md b/.changes/android-load-config.md deleted file mode 100644 index 021322029..000000000 --- a/.changes/android-load-config.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tauri": 'patch:enhance' ---- - -Added static function `loadConfig` on the Android `PluginManager` class. diff --git a/.changes/android-on-new-intent.md b/.changes/android-on-new-intent.md deleted file mode 100644 index 4164d23f7..000000000 --- a/.changes/android-on-new-intent.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tauri": 'patch:enhance' ---- - -Listen to `onNewIntent` and forward it to registered plugins. diff --git a/.changes/android-onresume.md b/.changes/android-onresume.md deleted file mode 100644 index 659793cf6..000000000 --- a/.changes/android-onresume.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'tauri': 'patch:enhance' ---- - -Add support for onResume and onPause events in android plugins. diff --git a/.changes/android-plugin-command-exception.md b/.changes/android-plugin-command-exception.md deleted file mode 100644 index 40ccb8135..000000000 --- a/.changes/android-plugin-command-exception.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tauri": 'patch:enhance' ---- - -Adjust Android plugin exception error. diff --git a/.changes/android-plugin-get-config-typed.md b/.changes/android-plugin-get-config-typed.md deleted file mode 100644 index 53be05bb1..000000000 --- a/.changes/android-plugin-get-config-typed.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tauri": patch:breaking ---- - -The Android `PluginManager.loadConfig` now takes a third parameter to define the class type of the config object. diff --git a/.changes/api-Resource.md b/.changes/api-Resource.md deleted file mode 100644 index 43bfa8830..000000000 --- a/.changes/api-Resource.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@tauri-apps/api': 'patch:feat' ---- - -Exposed `Resource` class which should be extended for Rust-backed resources created through `tauri::Manager::resources_table`. diff --git a/.changes/api-app.md b/.changes/api-app.md deleted file mode 100644 index 7241e9798..000000000 --- a/.changes/api-app.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@tauri-apps/api": 'minor:feat' ---- - -Add the `app` module back. \ No newline at end of file diff --git a/.changes/api-emit-to.md b/.changes/api-emit-to.md deleted file mode 100644 index 359bac124..000000000 --- a/.changes/api-emit-to.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@tauri-apps/api': 'patch:feat' ---- - -Added `emitTo` api to `event` module which is equivalent to the rust `emit_to` method. Also added `emitTo` method on `Window`, `Webivew` and `WebviewWindow` classes. diff --git a/.changes/api-event-resource-refactor.md b/.changes/api-event-resource-refactor.md deleted file mode 100644 index b7a81fdf6..000000000 --- a/.changes/api-event-resource-refactor.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@tauri-apps/api': patch:breaking ---- - -Removed event callback's `windowLabel`. diff --git a/.changes/api-ipc-refactor.md b/.changes/api-ipc-refactor.md deleted file mode 100644 index 9b02a48cd..000000000 --- a/.changes/api-ipc-refactor.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@tauri-apps/api": patch:feat ---- - -Change the IPC call to align with the new format for the custom protocol based API. diff --git a/.changes/api-min-node-18.md b/.changes/api-min-node-18.md deleted file mode 100644 index adfb32358..000000000 --- a/.changes/api-min-node-18.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@tauri-apps/api": patch:changes ---- - -Updated minimum Node.js version to 18. diff --git a/.changes/api-module-resolution-node.md b/.changes/api-module-resolution-node.md deleted file mode 100644 index 26e96bf91..000000000 --- a/.changes/api-module-resolution-node.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@tauri-apps/api": "patch:bug" ---- - -Fix a regression where typescript could not find types when using `"moduleResolution": "node"` diff --git a/.changes/api-moduleresolution-node.md b/.changes/api-moduleresolution-node.md deleted file mode 100644 index 26e96bf91..000000000 --- a/.changes/api-moduleresolution-node.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@tauri-apps/api": "patch:bug" ---- - -Fix a regression where typescript could not find types when using `"moduleResolution": "node"` diff --git a/.changes/api-primitives-core.md b/.changes/api-primitives-core.md deleted file mode 100644 index 0615fd486..000000000 --- a/.changes/api-primitives-core.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@tauri-apps/api': 'patch:breaking' ---- - -Changed former `tauri` module from `primitives` to `core`. diff --git a/.changes/api-primitives.md b/.changes/api-primitives.md deleted file mode 100644 index fe283807a..000000000 --- a/.changes/api-primitives.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@tauri-apps/api': 'patch:breaking' ---- - -Changed `tauri` module to `primitives` and removed the undocumented `invoke` export from the root module. diff --git a/.changes/api-set-visible-on-all-workspaces.md b/.changes/api-set-visible-on-all-workspaces.md deleted file mode 100644 index f26505e56..000000000 --- a/.changes/api-set-visible-on-all-workspaces.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -'@tauri-apps/api': 'patch:feat' -'tauri': 'patch:feat' ---- - -Add `visibleOnAllWorkspaces` option when creating the window in JS and `Window.setVisibleOnAllWorkspaces` method. diff --git a/.changes/api-start-resize-dragging.md b/.changes/api-start-resize-dragging.md deleted file mode 100644 index b24844fb8..000000000 --- a/.changes/api-start-resize-dragging.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@tauri-apps/api': 'patch:feat' ---- - -Add `Window.startResizeDragging`. diff --git a/.changes/api-tabbed.md b/.changes/api-tabbed.md deleted file mode 100644 index 18eb3c47b..000000000 --- a/.changes/api-tabbed.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@tauri-apps/api": "patch:feat" ---- - -On Windows, add `Effect.Tabbed`,`Effect.TabbedDark` and `Effect.TabbedLight` effects. diff --git a/.changes/api-top-level-main-module.md b/.changes/api-top-level-main-module.md deleted file mode 100644 index fba6cdb2c..000000000 --- a/.changes/api-top-level-main-module.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@tauri-apps/api': 'patch:bug' ---- - -Add top-level `main`, `module` and `types` fields in `package.json` to be compliant with typescripts's `"moduleResolution": "node"` diff --git a/.changes/api-tray-menu.md b/.changes/api-tray-menu.md deleted file mode 100644 index 2071bcca1..000000000 --- a/.changes/api-tray-menu.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@tauri-apps/api': 'minor:feat' ---- - -Add `tray` and `menu` modules to create and manage tray icons and menus from Javascript. diff --git a/.changes/api-window-parent.md b/.changes/api-window-parent.md deleted file mode 100644 index e399409bc..000000000 --- a/.changes/api-window-parent.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@tauri-apps/api': 'patch:feat' ---- - -Add `parent` option when creating a window. diff --git a/.changes/api-window.md b/.changes/api-window.md deleted file mode 100644 index 54a9c1ff7..000000000 --- a/.changes/api-window.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@tauri-apps/api": 'minor:feat' ---- - -Add the `window` module back. \ No newline at end of file diff --git a/.changes/app-builder-send.md b/.changes/app-builder-send.md deleted file mode 100644 index 479dbad7d..000000000 --- a/.changes/app-builder-send.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tauri": patch:enhance ---- - -Ensure Builder is Send by requiring the menu closure to be Send. diff --git a/.changes/app-bundle-files-config.md b/.changes/app-bundle-files-config.md deleted file mode 100644 index 569404aec..000000000 --- a/.changes/app-bundle-files-config.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"tauri-bundler": patch:feat -"tauri-cli": patch:feat -"@tauri-apps/cli": patch:feat ---- - -Add `files` object on the `tauri > bundle > macOS` configuration option. diff --git a/.changes/app-bundle-files.md b/.changes/app-bundle-files.md deleted file mode 100644 index cde706f22..000000000 --- a/.changes/app-bundle-files.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tauri-bundler": patch:feat ---- - -Add `files` map on the `MacOsSettings` struct to add custom files to the `.app` bundle. diff --git a/.changes/app-plugin-core.md b/.changes/app-plugin-core.md deleted file mode 100644 index 4574fd2f3..000000000 --- a/.changes/app-plugin-core.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'tauri': patch:changes ---- - -Added the `app` plugin back into core. diff --git a/.changes/arboard.md b/.changes/arboard.md deleted file mode 100644 index 5a6aadb1f..000000000 --- a/.changes/arboard.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tauri-runtime-wry": patch:bug ---- - -Use `arboard` instead of `tao` clipboard implementation to prevent a crash. diff --git a/.changes/build-android-env-vars.md b/.changes/build-android-env-vars.md deleted file mode 100644 index a5402774a..000000000 --- a/.changes/build-android-env-vars.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tauri-build": 'patch:enhance' ---- - -Set environment variables used by `tauri::mobile_entry_point`. diff --git a/.changes/bump-1.3.md b/.changes/bump-1.3.md deleted file mode 100644 index 47dabadd5..000000000 --- a/.changes/bump-1.3.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -"tauri-bundler": 'patch:enhance' -"tauri-codegen": 'patch:enhance' -"tauri-macros": 'patch:enhance' -"tauri-utils": 'patch:enhance' -"tauri-runtime": 'patch:enhance' -"tauri-runtime-wry": 'patch:enhance' ---- - -Pull changes from Tauri 1.3 release. diff --git a/.changes/bump-1.5.md b/.changes/bump-1.5.md deleted file mode 100644 index 0ff0d3398..000000000 --- a/.changes/bump-1.5.md +++ /dev/null @@ -1,15 +0,0 @@ ---- -"tauri": 'patch:enhance' -"tauri-bundler": 'patch:enhance' -"tauri-build": 'patch:enhance' -"tauri-codegen": 'patch:enhance' -"tauri-macros": 'patch:enhance' -"tauri-utils": 'patch:enhance' -"tauri-runtime": 'patch:enhance' -"tauri-runtime-wry": 'patch:enhance' -"tauri-cli": 'patch:enhance' -"@tauri-apps/cli": 'patch:enhance' -"@tauri-apps/api": 'patch:enhance' ---- - -Pull changes from Tauri 1.5 release. diff --git a/.changes/bundler-remove-dialog-option.md b/.changes/bundler-remove-dialog-option.md deleted file mode 100644 index 9ee8f8e02..000000000 --- a/.changes/bundler-remove-dialog-option.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tauri-bundler": 'patch:enhance' ---- - -Removed the `UpdaterSettings::dialog` field. diff --git a/.changes/bundler-rpm.md b/.changes/bundler-rpm.md deleted file mode 100644 index 770ca78c2..000000000 --- a/.changes/bundler-rpm.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"tauri-bundler": 'patch:enhance' -"tauri-cli": 'patch:enhance' -"@tauri-apps/cli": 'patch:enhance' ---- - -Add RPM packaging diff --git a/.changes/bundler-socks-proxy.md b/.changes/bundler-socks-proxy.md deleted file mode 100644 index 2d0d4448d..000000000 --- a/.changes/bundler-socks-proxy.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tauri-bundler": patch:enhance ---- - -Support using socks proxy from environment when downloading files. \ No newline at end of file diff --git a/.changes/bundler-zip-deflate.md b/.changes/bundler-zip-deflate.md deleted file mode 100644 index a6cf01db8..000000000 --- a/.changes/bundler-zip-deflate.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'tauri-bundler': 'patch:bug' ---- - -Enable `zip`'s `deflate` feature flag to fix issues when downloading nsis and wix tools. diff --git a/.changes/channel-api.md b/.changes/channel-api.md deleted file mode 100644 index 716eca43a..000000000 --- a/.changes/channel-api.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"api": 'patch:enhance' -"tauri": 'patch:enhance' ---- - -Add channel API for sending data across the IPC. diff --git a/.changes/channel-rust.md b/.changes/channel-rust.md deleted file mode 100644 index d951507b2..000000000 --- a/.changes/channel-rust.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tauri": patch:enhance ---- - -Added `Channel::new` allowing communication from a mobile plugin with Rust. diff --git a/.changes/cli-add-to-main-rs.md b/.changes/cli-add-to-main-rs.md deleted file mode 100644 index 91b83091f..000000000 --- a/.changes/cli-add-to-main-rs.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -'tauri-cli': 'patch:feat' -'@tauri-apps/cli': 'patch:feat' ---- - -Add plugin initialization rust code when using `tauri add` diff --git a/.changes/cli-android-build.md b/.changes/cli-android-build.md deleted file mode 100644 index 708a482db..000000000 --- a/.changes/cli-android-build.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"tauri-cli": 'minor:feat' -"@tauri-apps/cli": 'minor:feat' ---- - -Added `android build` command. diff --git a/.changes/cli-android-dev-release.md b/.changes/cli-android-dev-release.md deleted file mode 100644 index 638c01305..000000000 --- a/.changes/cli-android-dev-release.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -'tauri-cli': 'patch:enhance' -'@tauri-apps/cli': 'patch:enhance' ---- - -Add `--release` flag for `tauri android dev` however you will need to sign your Android app, see https://next--tauri.netlify.app/next/guides/distribution/sign-android diff --git a/.changes/cli-android-specified-targets-only.md b/.changes/cli-android-specified-targets-only.md deleted file mode 100644 index 3eace2f7e..000000000 --- a/.changes/cli-android-specified-targets-only.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -'tauri-cli': 'patch:enhance' -'@tauri-apps/cli': 'patch:enhance' ---- - -Build only specified rust targets for `tauri android build` instead of all. diff --git a/.changes/cli-android-split-per-abit-target.md b/.changes/cli-android-split-per-abit-target.md deleted file mode 100644 index 00330291d..000000000 --- a/.changes/cli-android-split-per-abit-target.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'tauri-cli': 'patch:bug' ---- - -Fix `--split-per-abi` not building any targets unless specified by `--target` flag. diff --git a/.changes/cli-apple-dev-team.md b/.changes/cli-apple-dev-team.md deleted file mode 100644 index b7d63ab27..000000000 --- a/.changes/cli-apple-dev-team.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'tauri-cli': 'patch:bug' ---- - -Fix `tauri info` failing when there is no available iOS code signing certificate. diff --git a/.changes/cli-built-in-dev-server-mobile.md b/.changes/cli-built-in-dev-server-mobile.md deleted file mode 100644 index 5ad54dfa0..000000000 --- a/.changes/cli-built-in-dev-server-mobile.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -'tauri-cli': 'patch:enhance' -'@tauri-apps/cli': 'patch:enhance' ---- - -Use local ip address for built-in dev server on mobile. diff --git a/.changes/cli-config-target-mobile.md b/.changes/cli-config-target-mobile.md deleted file mode 100644 index 6157544e8..000000000 --- a/.changes/cli-config-target-mobile.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"tauri-cli": patch:bug -"@tauri-apps/cli": patch:bug ---- - -Properly read platform-specific configuration files for mobile targets. diff --git a/.changes/cli-env-vars.md b/.changes/cli-env-vars.md deleted file mode 100644 index ff39e2792..000000000 --- a/.changes/cli-env-vars.md +++ /dev/null @@ -1,16 +0,0 @@ ---- -'tauri-cli': 'major:breaking' -'@tauri-apps/cli': 'major:breaking' ---- - -Changed a number of environment variables used by tauri CLI for consistency and clarity: - -- `TAURI_PRIVATE_KEY` -> `TAURI_SIGNING_PRIVATE_KEY` -- `TAURI_KEY_PASSWORD` -> `TAURI_SIGNING_PRIVATE_KEY_PASSWORD` -- `TAURI_SKIP_DEVSERVER_CHECK` -> `TAURI_CLI_NO_DEV_SERVER_WAIT` -- `TAURI_DEV_SERVER_PORT` -> `TAURI_CLI_PORT` -- `TAURI_PATH_DEPTH` -> `TAURI_CLI_CONFIG_DEPTH` -- `TAURI_FIPS_COMPLIANT` -> `TAURI_BUNDLER_WIX_FIPS_COMPLIANT` -- `TAURI_DEV_WATCHER_IGNORE_FILE` -> `TAURI_CLI_WATCHER_IGNORE_FILENAME` -- `TAURI_TRAY` -> `TAURI_LINUX_AYATANA_APPINDICATOR` -- `TAURI_APPLE_DEVELOPMENT_TEAM` -> `APPLE_DEVELOPMENT_TEAM` diff --git a/.changes/cli-expose-plugin-config.md b/.changes/cli-expose-plugin-config.md deleted file mode 100644 index 2cb4b683c..000000000 --- a/.changes/cli-expose-plugin-config.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"tauri-cli": patch:feat -"@tauri-apps/cli": patch:feat ---- - -Expose an environment variable `TAURI_${PLUGIN_NAME}_PLUGIN_CONFIG` for each defined plugin configuration object. diff --git a/.changes/cli-global-gitignore.md b/.changes/cli-global-gitignore.md deleted file mode 100644 index 48e4d5490..000000000 --- a/.changes/cli-global-gitignore.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"tauri-cli": patch:enhance -"@tauri-apps/cli": patch:enhance ---- - -Ignore global `.gitignore` when searching for tauri directory. \ No newline at end of file diff --git a/.changes/cli-hook-invalid-target-triple-env-vars.md b/.changes/cli-hook-invalid-target-triple-env-vars.md deleted file mode 100644 index b5aa5cc6f..000000000 --- a/.changes/cli-hook-invalid-target-triple-env-vars.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -'tauri-cli': 'patch:bug' -'@tauri-apps/cli': 'patch:bug' ---- - -Prevent `Invalid target triple` warnings and correctly set `TAURI_ENV_` vars when target triple contains 4 components. diff --git a/.changes/cli-hooks-env-vars-breaking.md b/.changes/cli-hooks-env-vars-breaking.md deleted file mode 100644 index 6941f5d74..000000000 --- a/.changes/cli-hooks-env-vars-breaking.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -'tauri-cli': 'patch:breaking' -'@tauri-apps/cli': 'patch:breaking' ---- - -Removed `TAURI_ENV_PLATFORM_TYPE` which will not be set for CLI hook commands anymore, use `TAURI_ENV_PLATFORM` instead. Also Changed value of `TAURI_ENV_PLATFORM` and `TAURI_ENV_ARCH` values to match the target triple more accurately: - -- `darwin` and `androideabi` are no longer replaced with `macos` and `android` in `TAURI_ENV_PLATFORM`. -- `i686` and `i586` are no longer replaced with `x86` in `TAURI_ENV_ARCH`. diff --git a/.changes/cli-ios-build.md b/.changes/cli-ios-build.md deleted file mode 100644 index bb0a39b95..000000000 --- a/.changes/cli-ios-build.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"tauri-cli": 'patch:enhance' -"@tauri-apps/cli": 'patch:enhance' ---- - -Added `ios build` command. diff --git a/.changes/cli-ios-metadata-env-var.md b/.changes/cli-ios-metadata-env-var.md deleted file mode 100644 index 9399155b0..000000000 --- a/.changes/cli-ios-metadata-env-var.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"tauri-cli": patch:feat -"@tauri-apps/cli": patch:feat ---- - -Expose the `TAURI_IOS_PROJECT_PATH` and `TAURI_IOS_APP_NAME` environment variables when using `ios` commands. diff --git a/.changes/cli-key-properties.md b/.changes/cli-key-properties.md deleted file mode 100644 index 1ccb6623e..000000000 --- a/.changes/cli-key-properties.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"tauri-cli": 'patch:enhance' -"@tauri-apps/cli": 'patch:enhance' ---- - -Add `key.properties` file to android's `.gitignore`. diff --git a/.changes/cli-libname-dashes.md b/.changes/cli-libname-dashes.md deleted file mode 100644 index c341ca92c..000000000 --- a/.changes/cli-libname-dashes.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -'tauri-cli': 'patch:enhance' -'@tauri-apps/cli': 'patch:enhance' ---- - -On mobile, fix regression introduced in `tauri-cli` version `2.0.0-alpha.3` where library not found error was thrown. diff --git a/.changes/cli-library-compilation.md b/.changes/cli-library-compilation.md deleted file mode 100644 index c26ac0db1..000000000 --- a/.changes/cli-library-compilation.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"tauri-cli": 'patch:enhance' -"@tauri-apps/cli": 'patch:enhance' ---- - -Don't build library files when building desktop targets. diff --git a/.changes/cli-license-field-workspace.md b/.changes/cli-license-field-workspace.md deleted file mode 100644 index faf0bd004..000000000 --- a/.changes/cli-license-field-workspace.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"tauri-cli": patch:bug -"@tauri-apps/cli": patch:bug ---- - -Allow license field in Cargo.toml to be `{ workspace = true }` diff --git a/.changes/cli-mobile-auto-ip.md b/.changes/cli-mobile-auto-ip.md deleted file mode 100644 index 6a21831f7..000000000 --- a/.changes/cli-mobile-auto-ip.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'tauri-cli': 'patch:enhance' ---- - -Auto select an external IP for mobile development and fallback to prompting the user. Use `--force-ip-prompt` to force prompting. diff --git a/.changes/cli-mobile-cwd-config.md b/.changes/cli-mobile-cwd-config.md deleted file mode 100644 index dc6ab98e5..000000000 --- a/.changes/cli-mobile-cwd-config.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -'tauri-cli': 'patch:bug' -'@tauri-apps/cli': 'patch:bug' ---- - -Set current directory to tauri directory before reading config file. diff --git a/.changes/cli-mobile-dev.md b/.changes/cli-mobile-dev.md deleted file mode 100644 index 395680aad..000000000 --- a/.changes/cli-mobile-dev.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"tauri-cli": 'minor:feat' -"@tauri-apps/cli": 'minor:feat' ---- - -Added `android dev` and `ios dev` commands. diff --git a/.changes/cli-mobile-plugin.md b/.changes/cli-mobile-plugin.md deleted file mode 100644 index 31e8538dc..000000000 --- a/.changes/cli-mobile-plugin.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"tauri-cli": 'minor:feat' -"@tauri-apps/cli": 'minor:feat' ---- - -Add commands to add native Android and iOS functionality to plugins. diff --git a/.changes/cli-no-dev-server-wait.md b/.changes/cli-no-dev-server-wait.md deleted file mode 100644 index 1b1abb5a3..000000000 --- a/.changes/cli-no-dev-server-wait.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -'tauri-cli': 'minor:feat' -'@tauri-apps/cli': 'minor:feat' ---- - -Add `--no-dev-server-wait` option to skip waiting for the dev server to start when using `tauri dev`. diff --git a/.changes/cli-nodejs-detection.md b/.changes/cli-nodejs-detection.md deleted file mode 100644 index 1bd8ddc60..000000000 --- a/.changes/cli-nodejs-detection.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'tauri-cli': 'patch:enhance' ---- - -In mobile commands, correctly detect when nodejs binary has the version in its name, for example `node-18` diff --git a/.changes/cli-npx-mobile.md b/.changes/cli-npx-mobile.md deleted file mode 100644 index 973f4fb88..000000000 --- a/.changes/cli-npx-mobile.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -'tauri-cli': 'patch:bug' -'@tauri-apps/cli': 'patch:bug' ---- - -Fix `tauri (android|ios) (dev|build)` failing when using `npx tauri` diff --git a/.changes/cli-plugin-init.md b/.changes/cli-plugin-init.md deleted file mode 100644 index d250ad3f1..000000000 --- a/.changes/cli-plugin-init.md +++ /dev/null @@ -1,12 +0,0 @@ ---- -'tauri-cli': 'patch:breaking' -'@tauri-apps/cli': 'patch:breaking' ---- - -The `tauri plugin` subcommand is receving a couple of consitency and quality of life improvements: - -- Renamed `tauri plugin android/ios add` command to `tauri plugin android/ios init` to match the `tauri plugin init` command. -- Removed the `-n/--name` argument from the `tauri plugin init`, `tauri plugin android/ios init`, and is now parsed from the first positional argument. -- Added `tauri plugin new` to create a plugin in a new directory. -- Changed `tauri plugin init` to initalize a plugin in an existing directory (defaults to current directory) instead of creating a new one. -- Changed `tauri plugin init` to NOT generate mobile projects by default, you can opt-in to generate them using `--android` and `--ios` flags or `--mobile` flag or initalize them later using `tauri plugin android/ios init`. diff --git a/.changes/cli-plugin-name-snake-case.md b/.changes/cli-plugin-name-snake-case.md deleted file mode 100644 index 416fe8bf3..000000000 --- a/.changes/cli-plugin-name-snake-case.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -'tauri-cli': 'patch:bug' -'@tauri-apps/cli': 'patch:bug' ---- - -Ensure `tauri add` prints `rust_code` with plugin name in snake case. diff --git a/.changes/cli-pnpm.md b/.changes/cli-pnpm.md deleted file mode 100644 index c22fa2baa..000000000 --- a/.changes/cli-pnpm.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -'tauri-cli': 'patch:enhance' -'@tauri-apps/cli': 'patch:enhance' ---- - -Fix android project build crashing when using `pnpm` caused by extra `--`. diff --git a/.changes/cli-refactor-ipc-mobile.md b/.changes/cli-refactor-ipc-mobile.md deleted file mode 100644 index 2494371aa..000000000 --- a/.changes/cli-refactor-ipc-mobile.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"tauri-cli": 'patch:enhance' -"@tauri-apps/cli": 'patch:enhance' ---- - -Use temp file instead of environment variable to pass CLI IPC websocket address to the IDE. diff --git a/.changes/cli-removed-new-version-check.md b/.changes/cli-removed-new-version-check.md deleted file mode 100644 index 6aa9dd07b..000000000 --- a/.changes/cli-removed-new-version-check.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -'tauri-cli': 'major:breaking' -'@tauri-apps/cli': 'major:breaking' ---- - -Removed checking for a new version of the CLI. diff --git a/.changes/cli-signer-env-vars.md b/.changes/cli-signer-env-vars.md deleted file mode 100644 index 41c04062e..000000000 --- a/.changes/cli-signer-env-vars.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -'tauri-cli': 'patch:enhance' ---- - -Read the following env vars when using the `tauri signer sign` command to make it easier to use in CI. - -- `TAURI_PRIVATE_KEY` -- `TAURI_PRIVATE_KEY_PASSWORD` -- `TAURI_PRIVATE_KEY_PATH` diff --git a/.changes/cli-skip-targets-install.md b/.changes/cli-skip-targets-install.md deleted file mode 100644 index e5825cb0c..000000000 --- a/.changes/cli-skip-targets-install.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -'tauri-cli': 'patch:enhance' -'@tauri-apps/cli': 'patch:enhance' ---- - -Skip Rust target installation if they are already installed. diff --git a/.changes/cli-wry-0-28.md b/.changes/cli-wry-0-28.md deleted file mode 100644 index b6a0210f3..000000000 --- a/.changes/cli-wry-0-28.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -'tauri-cli': 'patch:enhance' -'@tauri-apps/cli': 'patch:enhance' ---- - -Update mobile template to `wry@0.28` diff --git a/.changes/codegen-mobile-devurl.md b/.changes/codegen-mobile-devurl.md deleted file mode 100644 index ba3854744..000000000 --- a/.changes/codegen-mobile-devurl.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tauri-codegen": 'patch:enhance' ---- - -Change `devPath` URL to use the local IP address on iOS and Android. diff --git a/.changes/codegen-target-from-utils.md b/.changes/codegen-target-from-utils.md deleted file mode 100644 index dfb2ef17b..000000000 --- a/.changes/codegen-target-from-utils.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"tauri-codegen": patch:enhance -"tauri-macros": patch:enhance ---- - -Use `Target` enum from `tauri_utils::platform`. diff --git a/.changes/config-f64-deserialize.md b/.changes/config-f64-deserialize.md deleted file mode 100644 index bd2f145b0..000000000 --- a/.changes/config-f64-deserialize.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'tauri-utils': 'patch:bug' ---- - -Fix compile error when parsing config that includes float values. diff --git a/.changes/config-incognito.md b/.changes/config-incognito.md deleted file mode 100644 index 1ac657deb..000000000 --- a/.changes/config-incognito.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'tauri': 'patch:feat' ---- - -Add `incognito` option to the window configuration object. diff --git a/.changes/config-restructure-rfc-5.md b/.changes/config-restructure-rfc-5.md deleted file mode 100644 index 4116bae7b..000000000 --- a/.changes/config-restructure-rfc-5.md +++ /dev/null @@ -1,25 +0,0 @@ ---- -'tauri': 'major:breaking' -'tauri-utils': 'major:breaking' -'tauri-build': 'major:breaking' -'tauri-codegen': 'major:breaking' -'tauri-cli': 'major:breaking' -'@tauri-apps/cli': 'major:breaking' ---- - -Restructured Tauri config per [RFC#5](https://github.com/tauri-apps/rfcs/blob/f3e82a6b0c5390401e855850d47dc7b7d9afd684/texts/0005-tauri-config-restructure.md): - -- Moved `package.productName`, `package.version` and `tauri.bundle.identifier` fields to the top-level. -- Removed `package` object. -- Renamed `tauri` object to `app`. -- Moved `tauri.bundle` object to the top-level. -- Renamed `build.distDir` field to `frontendDist`. -- Renamed `build.devPath` field to `devUrl` and will no longer accepts paths, it will only accept URLs. -- Moved `tauri.pattern` to `app.security.pattern`. -- Removed `tauri.bundle.updater` object, and its fields have been moved to the updater plugin under `plugins.updater` object. -- Moved `build.withGlobalTauri` to `app.withGlobalTauri`. -- Moved `tauri.bundle.dmg` object to `bundle.macOS.dmg`. -- Moved `tauri.bundle.deb` object to `bundle.linux.deb`. -- Moved `tauri.bundle.appimage` object to `bundle.linux.appimage`. -- Removed all license fields from each bundle configuration object and instead added `bundle.license` and `bundle.licenseFile`. -- Renamed `AppUrl` to `FrontendDist` and refactored its variants to be more explicit. diff --git a/.changes/config-tray-icon-tooltip.md b/.changes/config-tray-icon-tooltip.md deleted file mode 100644 index b02a90d6e..000000000 --- a/.changes/config-tray-icon-tooltip.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'tauri-utils': 'minor:feat' ---- - -Add option to specify a tooltip text for the tray icon in the config. diff --git a/.changes/config-tray-icon.md b/.changes/config-tray-icon.md deleted file mode 100644 index 86e36cbef..000000000 --- a/.changes/config-tray-icon.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'tauri-utils': 'major:breaking' ---- - -`systemTray` config option has been renamed to `trayIcon`. diff --git a/.changes/core-android-proxy-method.md b/.changes/core-android-proxy-method.md deleted file mode 100644 index 8d81a2dfd..000000000 --- a/.changes/core-android-proxy-method.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'tauri': 'patch:enhance' ---- - -Use correct HTTP method when making requests to the proxied server on mobile. diff --git a/.changes/core-app-montior.md b/.changes/core-app-montior.md deleted file mode 100644 index acd09e301..000000000 --- a/.changes/core-app-montior.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'tauri': 'minor:feat' ---- - -Add `App::primary_monitor`, `App::available_monitors`, `AppHandle::primary_monitor`, and `AppHandle::available_monitors` diff --git a/.changes/core-channel-clone.md b/.changes/core-channel-clone.md deleted file mode 100644 index d4446fc60..000000000 --- a/.changes/core-channel-clone.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'tauri': 'patch:enhance' ---- - -Implement `Clone` for `Channel` diff --git a/.changes/core-incognito.md b/.changes/core-incognito.md deleted file mode 100644 index ebfdeb531..000000000 --- a/.changes/core-incognito.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'tauri': 'patch:feat' ---- - -Add `WindowBuilder::incognito` diff --git a/.changes/core-navigate-method.md b/.changes/core-navigate-method.md deleted file mode 100644 index 4767c1a1b..000000000 --- a/.changes/core-navigate-method.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tauri": 'minor:feat' ---- - -Added `Window::navigate`. diff --git a/.changes/core-remove-file-dir-semver-apis.md b/.changes/core-remove-file-dir-semver-apis.md deleted file mode 100644 index a94a03816..000000000 --- a/.changes/core-remove-file-dir-semver-apis.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -'tauri': 'patch:breaking' ---- - -- Removed `tauri::api::file` and `tauri::api::dir` modules, use `std::fs` instead. -- Removed `tauri::api::version` module, use `semver` crate instead. diff --git a/.changes/core-wry-0-28.md b/.changes/core-wry-0-28.md deleted file mode 100644 index 00542fa26..000000000 --- a/.changes/core-wry-0-28.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'tauri': 'patch:enhance' ---- - -On Android, update proguard rules. diff --git a/.changes/custom-protocol-http-android.md b/.changes/custom-protocol-http-android.md deleted file mode 100644 index 679ccd1aa..000000000 --- a/.changes/custom-protocol-http-android.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -"tauri": patch:breaking -"@tauri-apps/api": patch:breaking -"@tauri-apps/cli": patch:breaking -"tauri-cli": patch:breaking ---- - -The custom protocol on Android now uses the `http` scheme instead of `https`. diff --git a/.changes/custom-protocol-response-refactor.md b/.changes/custom-protocol-response-refactor.md deleted file mode 100644 index 791a71ba1..000000000 --- a/.changes/custom-protocol-response-refactor.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tauri": patch:breaking ---- - -Changed `Builder::register_uri_scheme_protocol` to return a `http::Response` instead of `Result`. To return an error response, manually create a response with status code >= 400. diff --git a/.changes/dark-light-mica-effect.md b/.changes/dark-light-mica-effect.md deleted file mode 100644 index d2ce4762b..000000000 --- a/.changes/dark-light-mica-effect.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'tauri-utils': 'patch:feat' ---- - -Add `WindowEffect::MicaDark` and `WindowEffect::MicaLight` diff --git a/.changes/default-tls-features.md b/.changes/default-tls-features.md deleted file mode 100644 index 5ad707dfe..000000000 --- a/.changes/default-tls-features.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tauri": major:feat ---- - -Added the `default-tls` and `reqwest-default-tls` Cargo features for enabling TLS suppport to connect over HTTPS. diff --git a/.changes/default-window-icon.md b/.changes/default-window-icon.md deleted file mode 100644 index b1d13172e..000000000 --- a/.changes/default-window-icon.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tauri": 'patch:enhance' ---- - -Add `default_window_icon` getter on `App` and `AppHandle`. diff --git a/.changes/destroy-api.md b/.changes/destroy-api.md deleted file mode 100644 index 426400b8e..000000000 --- a/.changes/destroy-api.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -"tauri": patch:feat -"@tauri-apps/api": patch:feat -"tauri-runtime": patch:feat -"tauri-runtime-wry": patch:feat ---- - -Added `Window::destroy` to force close a window. diff --git a/.changes/dev-proxy-response-cache.md b/.changes/dev-proxy-response-cache.md deleted file mode 100644 index 53f662316..000000000 --- a/.changes/dev-proxy-response-cache.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tauri": 'patch:enhance' ---- - -Implement response cache on the dev server proxy, used when the server responds with status 304. diff --git a/.changes/dev-proxy.md b/.changes/dev-proxy.md deleted file mode 100644 index 86d86fea4..000000000 --- a/.changes/dev-proxy.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tauri": major:feat ---- - -**Breaking change:** Use the custom protocol as a proxy to the development server on all platforms except Linux. diff --git a/.changes/devicectl.md b/.changes/devicectl.md deleted file mode 100644 index 2d8302f08..000000000 --- a/.changes/devicectl.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"tauri-cli": patch:feat -"@tauri-apps/cli": patch:feat ---- - -Use `devicectl` to connect to iOS 17+ devices on macOS 14+. diff --git a/.changes/dialog-window-forward-slash.md b/.changes/dialog-window-forward-slash.md deleted file mode 100644 index 83fcda5eb..000000000 --- a/.changes/dialog-window-forward-slash.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'tauri': 'patch:bug' ---- - -On Windows, fix `open` dialog `defaultPath`, when invoked from JS, not working if the path uses forward slash (`/`) diff --git a/.changes/dmg-settings.md b/.changes/dmg-settings.md deleted file mode 100644 index 290718cdb..000000000 --- a/.changes/dmg-settings.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tauri-utils": patch:feat ---- - -Add bundle DMG configuration options. diff --git a/.changes/dnd-position.md b/.changes/dnd-position.md deleted file mode 100644 index cc35c0c4e..000000000 --- a/.changes/dnd-position.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -'tauri': 'minor:feat' -'tauri-runtime': 'minor' -'tauri-runtime-wry': 'minor' ---- - -Changed `FileDropEvent` to include drop and hover position. diff --git a/.changes/downgrade-min-sdk-version.md b/.changes/downgrade-min-sdk-version.md deleted file mode 100644 index 98b033b1f..000000000 --- a/.changes/downgrade-min-sdk-version.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"tauri-cli": 'patch:enhance' -"tauri": 'patch:enhance' ---- - -Change minimum Android SDK version to 21 for the plugin library. diff --git a/.changes/dynamic-wry-plugin.md b/.changes/dynamic-wry-plugin.md deleted file mode 100644 index cdcf95ed4..000000000 --- a/.changes/dynamic-wry-plugin.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"tauri-runtime-wry": 'patch:enhance' -"tauri": 'patch:enhance' ---- - -Allow a wry plugin to be registered at runtime. diff --git a/.changes/enable-minify.md b/.changes/enable-minify.md deleted file mode 100644 index 0535a886a..000000000 --- a/.changes/enable-minify.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"tauri-cli": 'patch:enhance' -"@tauri-apps/cli": 'patch:enhance' ---- - -Change the Android template to enable minification on release and pull ProGuard rules from proguard-tauri.pro. diff --git a/.changes/enable-path-commands.md b/.changes/enable-path-commands.md deleted file mode 100644 index 522441c61..000000000 --- a/.changes/enable-path-commands.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tauri": 'patch:enhance' ---- - -Fixes path commands not being added. diff --git a/.changes/enhance-jsobject-return-types.md b/.changes/enhance-jsobject-return-types.md deleted file mode 100644 index d70bdbdb7..000000000 --- a/.changes/enhance-jsobject-return-types.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tauri": 'patch:enhance' ---- - -Enhance Android's `JSObject` return types. diff --git a/.changes/error-on-identifier-change.md b/.changes/error-on-identifier-change.md deleted file mode 100644 index 9229a370b..000000000 --- a/.changes/error-on-identifier-change.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"tauri-cli": 'patch:enhance' -"@tauri-apps/cli": 'patch:enhance' ---- - -Print an error if the Android project was generated with an older bundle identifier or package name. diff --git a/.changes/event-api-window-label.md b/.changes/event-api-window-label.md deleted file mode 100644 index d84aa7b3e..000000000 --- a/.changes/event-api-window-label.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@tauri-apps/api": 'patch:enhance' ---- - -Expose the window target option on event APIs. diff --git a/.changes/event-target-refactor.md b/.changes/event-target-refactor.md deleted file mode 100644 index a9383fc12..000000000 --- a/.changes/event-target-refactor.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@tauri-apps/api": patch:breaking ---- - -The event target is now an object so you can target either a window or a webview. diff --git a/.changes/expose-fs-scope-new.md b/.changes/expose-fs-scope-new.md deleted file mode 100644 index 08b41aaa4..000000000 --- a/.changes/expose-fs-scope-new.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tauri": patch:feat ---- - -Expose `scope::fs::Scope::new`. diff --git a/.changes/file-associations-config.md b/.changes/file-associations-config.md deleted file mode 100644 index 076f21b94..000000000 --- a/.changes/file-associations-config.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tauri-utils": minor:feat ---- - -Add a configuration object for file associations under `BundleConfig`. diff --git a/.changes/file-associations.md b/.changes/file-associations.md deleted file mode 100644 index 6156f0398..000000000 --- a/.changes/file-associations.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tauri": minor:feat ---- - -Added support to file associations. diff --git a/.changes/fix-android-scope.md b/.changes/fix-android-scope.md deleted file mode 100644 index 4cab7f5d7..000000000 --- a/.changes/fix-android-scope.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tauri": patch:bug ---- - -Fixes file scope checks on Android. diff --git a/.changes/fix-api-package.md b/.changes/fix-api-package.md deleted file mode 100644 index ef36060fc..000000000 --- a/.changes/fix-api-package.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@tauri-apps/api": patch:bug ---- - -Fix tslib missing in the distributed api package. \ No newline at end of file diff --git a/.changes/fix-build-script-mobile-runner-npm.md b/.changes/fix-build-script-mobile-runner-npm.md deleted file mode 100644 index db7700583..000000000 --- a/.changes/fix-build-script-mobile-runner-npm.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"tauri-cli": 'patch:enhance' -"@tauri-apps/cli": 'patch:enhance' ---- - -Fixes the generated mobile build script when using an NPM runner. diff --git a/.changes/fix-channel-data-request.md b/.changes/fix-channel-data-request.md deleted file mode 100644 index 632c27f15..000000000 --- a/.changes/fix-channel-data-request.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tauri": patch:bug ---- - -Fixes invalid header value type when requesting IPC body through a channel. diff --git a/.changes/fix-clearmocks.md b/.changes/fix-clearmocks.md deleted file mode 100644 index b788c1f65..000000000 --- a/.changes/fix-clearmocks.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@tauri-apps/api": 'patch:bug' ---- - -No longer crashing in tests without mocks when `clearMocks` is defined in `afterEach` hook. diff --git a/.changes/fix-dev-server-proxy-path.md b/.changes/fix-dev-server-proxy-path.md deleted file mode 100644 index eb8fd9f26..000000000 --- a/.changes/fix-dev-server-proxy-path.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tauri": 'patch:enhance' ---- - -Properly proxy dev server requests with query strings and fragments. diff --git a/.changes/fix-empty-identifier.md b/.changes/fix-empty-identifier.md deleted file mode 100644 index e929844ef..000000000 --- a/.changes/fix-empty-identifier.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"tauri-cli": 'patch:enhance' -"@tauri-apps/cli": 'patch:enhance' -"tauri-macros": 'patch:enhance' ---- - -Resolve Android package name from single word bundle identifiers. diff --git a/.changes/fix-file-drop-event-payload.md b/.changes/fix-file-drop-event-payload.md deleted file mode 100644 index 44c1ff4bf..000000000 --- a/.changes/fix-file-drop-event-payload.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@tauri-apps/api": 'patch:enhance' ---- - -Added `position` field to the `FileDropEvent` payload. diff --git a/.changes/fix-global-event.md b/.changes/fix-global-event.md deleted file mode 100644 index 9bf30d43c..000000000 --- a/.changes/fix-global-event.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tauri": patch:bug ---- - -Fixes global events not reaching to window listeners. diff --git a/.changes/fix-icons-android.md b/.changes/fix-icons-android.md deleted file mode 100644 index 650b3f0df..000000000 --- a/.changes/fix-icons-android.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"@tauri-apps/cli": patch:bug -"tauri-cli": patch:bug ---- - -Fixes `icon` command not writing files to the correct Android project folders. diff --git a/.changes/fix-ide-build-run.md b/.changes/fix-ide-build-run.md deleted file mode 100644 index f89fab21b..000000000 --- a/.changes/fix-ide-build-run.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"tauri-cli": patch:bug -"@tauri-apps/cli": patch:bug ---- - -Fixes `android build --open` and `ios build --open` IDE failing to read CLI options. diff --git a/.changes/fix-ios-channel.md b/.changes/fix-ios-channel.md deleted file mode 100644 index a1bf8bf7a..000000000 --- a/.changes/fix-ios-channel.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tauri": 'patch:enhance' ---- - -Fixed the deserialisation of a `Channel` in iOS. \ No newline at end of file diff --git a/.changes/fix-ios-cli-panic.md b/.changes/fix-ios-cli-panic.md deleted file mode 100644 index 451e7a300..000000000 --- a/.changes/fix-ios-cli-panic.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"tauri-cli": patch:bug -"@tauri-apps/cli": patch:bug ---- - -Fixes panic when exiting the `ios dev` command with Ctrl + C. diff --git a/.changes/fix-ios-logs.md b/.changes/fix-ios-logs.md deleted file mode 100644 index 367e512f1..000000000 --- a/.changes/fix-ios-logs.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"tauri-cli": patch:bug -"@tauri-apps/cli": patch:bug ---- - -Fixes a regression on alpha.11 where iOS logs aren't being displayed when using `ios dev` with a real device. diff --git a/.changes/fix-ios-plugin-throws-command.md b/.changes/fix-ios-plugin-throws-command.md deleted file mode 100644 index 01d302107..000000000 --- a/.changes/fix-ios-plugin-throws-command.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tauri": 'patch:enhance' ---- - -Use actual iOS plugin instance to run command with `throws`. diff --git a/.changes/fix-ios-run-xcode14.md b/.changes/fix-ios-run-xcode14.md deleted file mode 100644 index 0774a5cff..000000000 --- a/.changes/fix-ios-run-xcode14.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"tauri-cli": 'patch:enhance' -"@tauri-apps/cli": 'patch:enhance' ---- - -Fixes running on device using Xcode 14. diff --git a/.changes/fix-ios-template.md b/.changes/fix-ios-template.md deleted file mode 100644 index f8f1df92d..000000000 --- a/.changes/fix-ios-template.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"tauri-cli": 'patch:enhance' -"@tauri-apps/cli": 'patch:enhance' ---- - -Fixes the iOS project script to build the Rust library. diff --git a/.changes/fix-ipc-payload.md b/.changes/fix-ipc-payload.md deleted file mode 100644 index ea495b054..000000000 --- a/.changes/fix-ipc-payload.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tauri": 'patch:bug' ---- - -No longer unpacking and flattening the `payload` over the IPC so that commands with arguments called `cmd`, `callback`, `error`, `options` or `payload` aren't breaking the IPC. diff --git a/.changes/fix-ipc-remote-url-macos.md b/.changes/fix-ipc-remote-url-macos.md deleted file mode 100644 index 314ab2e29..000000000 --- a/.changes/fix-ipc-remote-url-macos.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tauri": patch:bug ---- - -Fixes IPC failing to communicate for remote URLs on macOS and iOS. diff --git a/.changes/fix-mobile-env-vars.md b/.changes/fix-mobile-env-vars.md deleted file mode 100644 index 1433afd99..000000000 --- a/.changes/fix-mobile-env-vars.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"tauri-cli": 'patch:enhance' -"@tauri-apps/cli": 'patch:enhance' ---- - -Fixes `TAURI_*` environment variables for hook scripts on mobile commands. diff --git a/.changes/fix-mock-tauri-internals.md b/.changes/fix-mock-tauri-internals.md deleted file mode 100644 index 25a7b2ebb..000000000 --- a/.changes/fix-mock-tauri-internals.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@tauri-apps/api': 'patch:bug' ---- - -`mockIPC` and `mockWindows` no longer crash if `window.__TAURI_INTERNALS__` is undefined. diff --git a/.changes/fix-nodejs-android-cmds.md b/.changes/fix-nodejs-android-cmds.md deleted file mode 100644 index 41c62ca0d..000000000 --- a/.changes/fix-nodejs-android-cmds.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@tauri-apps/cli": 'patch:enhance' ---- - -Update tauri-mobile to fix running ADB scripts. diff --git a/.changes/fix-orientation-crash.md b/.changes/fix-orientation-crash.md deleted file mode 100644 index ad181f56b..000000000 --- a/.changes/fix-orientation-crash.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"tauri-cli": 'patch:enhance' -"@tauri-apps/cli": 'patch:enhance' ---- - -Update Android project template with fix to crash on orientation change. diff --git a/.changes/fix-plugin-ios-bool.md b/.changes/fix-plugin-ios-bool.md deleted file mode 100644 index 37a13079b..000000000 --- a/.changes/fix-plugin-ios-bool.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tauri": 'patch:enhance' ---- - -Fixes boolean plugin parameters freezing the application. diff --git a/.changes/fix-plugin-removal.md b/.changes/fix-plugin-removal.md deleted file mode 100644 index 6cf606b7e..000000000 --- a/.changes/fix-plugin-removal.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"tauri-cli": 'patch:enhance' -"@tauri-apps/cli": 'patch:enhance' ---- - -Clear Android plugin JSON file before building Rust library to ensure removed plugins are propagated to the Android project. diff --git a/.changes/fix-plugin-template-cargotoml.md b/.changes/fix-plugin-template-cargotoml.md deleted file mode 100644 index e3ccd5b7a..000000000 --- a/.changes/fix-plugin-template-cargotoml.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"tauri-cli": 'patch:enhance' -"@tauri-apps/cli": 'patch:enhance' ---- - -Readd the Cargo.toml file to the plugin template. diff --git a/.changes/fix-plugin-template.md b/.changes/fix-plugin-template.md deleted file mode 100644 index c581c27c8..000000000 --- a/.changes/fix-plugin-template.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"@tauri-apps/cli": patch:bug -"tauri-cli": patch:bug ---- - -Fix invalid plugin template. diff --git a/.changes/fix-proguard-injection.md b/.changes/fix-proguard-injection.md deleted file mode 100644 index eedcabbc0..000000000 --- a/.changes/fix-proguard-injection.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tauri-build": 'patch:bug' ---- - -Fixes injection of the proguard rules on the Android project. diff --git a/.changes/fix-proguard-rules.md b/.changes/fix-proguard-rules.md deleted file mode 100644 index 31e67486b..000000000 --- a/.changes/fix-proguard-rules.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tauri": 'patch:enhance' ---- - -Fixes ProGuard rules. diff --git a/.changes/fix-protocol-response.md b/.changes/fix-protocol-response.md deleted file mode 100644 index a8acf7baa..000000000 --- a/.changes/fix-protocol-response.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tauri": patch:enhance ---- - -Include CORS header on custom protocol response errors to ensure frontend can read the error message. diff --git a/.changes/fix-set-activation-policy.md b/.changes/fix-set-activation-policy.md deleted file mode 100644 index 8254fafb2..000000000 --- a/.changes/fix-set-activation-policy.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"tauri": patch:bug -"tauri-runtime": patch:bug -"tauri-runtime-wry": patch:bug ---- - -Fix calling `set_activation_policy` when the event loop is running. diff --git a/.changes/fix-shell-build.md b/.changes/fix-shell-build.md deleted file mode 100644 index ce7c3dc67..000000000 --- a/.changes/fix-shell-build.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tauri": 'patch:enhance' ---- - -Fix compilation issues without the shell API features. diff --git a/.changes/fix-tauri-binary-windows.md b/.changes/fix-tauri-binary-windows.md deleted file mode 100644 index 8e932906a..000000000 --- a/.changes/fix-tauri-binary-windows.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"tauri-cli": 'patch:enhance' -"@tauri-apps/cli": 'patch:enhance' ---- - -Fixes the Android build gradle plugin implementation on Windows. diff --git a/.changes/fix-tray-icon-validation.md b/.changes/fix-tray-icon-validation.md deleted file mode 100644 index 487fb8a03..000000000 --- a/.changes/fix-tray-icon-validation.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tauri-build": patch:bug ---- - -Skip validation of the `tray-icon` feature flag. diff --git a/.changes/fix-windows-custom-protocol-url.md b/.changes/fix-windows-custom-protocol-url.md deleted file mode 100644 index 5c3b44c84..000000000 --- a/.changes/fix-windows-custom-protocol-url.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -"tauri": patch:breaking -"@tauri-apps/api": patch:breaking -"@tauri-apps/cli": patch:breaking -"tauri-cli": patch:breaking ---- - -The custom protocol on Windows now uses the `http` scheme instead of `https`. diff --git a/.changes/fix-windows-custom-protocol.md b/.changes/fix-windows-custom-protocol.md deleted file mode 100644 index 8d6c9a233..000000000 --- a/.changes/fix-windows-custom-protocol.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"tauri": patch:bug -"tauri-runtime-wry": patch:bug ---- - -Fixes custom protocol not working on Windows. diff --git a/.changes/fix-wix-output-filename-version.md b/.changes/fix-wix-output-filename-version.md deleted file mode 100644 index ac165855d..000000000 --- a/.changes/fix-wix-output-filename-version.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tauri-bundler": 'patch:bug' ---- - -Use original version string on WiX output file name. \ No newline at end of file diff --git a/.changes/fix-xcodescript-lib-path.md b/.changes/fix-xcodescript-lib-path.md deleted file mode 100644 index 99b7bfab5..000000000 --- a/.changes/fix-xcodescript-lib-path.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"tauri-cli": 'patch:enhance' -"@tauri-apps/cli": 'patch:enhance' ---- - -Fixes iOS build script using the wrong path for the app library file. diff --git a/.changes/force-colored-logs.md b/.changes/force-colored-logs.md deleted file mode 100644 index 27d48e4b0..000000000 --- a/.changes/force-colored-logs.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"tauri-cli": 'patch:enhance' -"@tauri-apps/cli": 'patch:enhance' ---- - -Force colored logs on mobile commands. diff --git a/.changes/generate-tauri-activity.md b/.changes/generate-tauri-activity.md deleted file mode 100644 index 3be10eafc..000000000 --- a/.changes/generate-tauri-activity.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tauri": 'patch:enhance' ---- - -Generate `TauriActivity` Kotlin class on the build script. diff --git a/.changes/get-ipc-response-test.md b/.changes/get-ipc-response-test.md deleted file mode 100644 index 9cd3ce1d2..000000000 --- a/.changes/get-ipc-response-test.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tauri": patch:enhance ---- - -Added `test::get_ipc_response`. diff --git a/.changes/gradle-8.md b/.changes/gradle-8.md deleted file mode 100644 index 845db01db..000000000 --- a/.changes/gradle-8.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -'tauri-cli': 'patch:enhance' -'@tauri-apps/cli': 'patch:enhance' ---- - -Update android template to gradle 8.0 diff --git a/.changes/gtk018.md b/.changes/gtk018.md deleted file mode 100644 index 90ac1404c..000000000 --- a/.changes/gtk018.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"tauri-runtime": 'minor:deps' -"tauri-runtime-wry": 'minor:deps' -"tauri": 'minor:deps' ---- - -Upgrade `gtk` to 0.18. diff --git a/.changes/gtk16.md b/.changes/gtk16.md deleted file mode 100644 index 4ca4359b7..000000000 --- a/.changes/gtk16.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -"tauri-runtime": 'minor:feat' -"tauri-runtime-wry": 'minor:feat' -"tauri": 'minor:feat' ---- - -Update gtk to 0.16. - diff --git a/.changes/hooks-webview.md b/.changes/hooks-webview.md deleted file mode 100644 index 95c00685f..000000000 --- a/.changes/hooks-webview.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tauri": patch:breaking ---- - -The `invoke_system`, `on_page_load` hooks now gives you a `Webview` argument instead of a `Window`. diff --git a/.changes/http-types-refactor.md b/.changes/http-types-refactor.md deleted file mode 100644 index d44158cf1..000000000 --- a/.changes/http-types-refactor.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"tauri": patch:breaking -"tauri-runtime": patch:breaking -"tauri-runtime-wry": patch:breaking ---- - -`tauri-runtime` no longer implements its own HTTP types and relies on the `http` crate instead. diff --git a/.changes/icon-svg.md b/.changes/icon-svg.md deleted file mode 100644 index 6db33a222..000000000 --- a/.changes/icon-svg.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"tauri-cli": patch:feat -"@tauri-apps/cli": patch:feat ---- - -Add suport to SVG input image for the `tauri icon` command. diff --git a/.changes/improve-local-ip-detection.md b/.changes/improve-local-ip-detection.md deleted file mode 100644 index 5668e53ab..000000000 --- a/.changes/improve-local-ip-detection.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"tauri-cli": 'patch:enhance' -"@tauri-apps/cli": 'patch:enhance' ---- - -Improve local IP address detection with user selection. diff --git a/.changes/improve-mobile-plugin-error-handling.md b/.changes/improve-mobile-plugin-error-handling.md deleted file mode 100644 index a819ad07e..000000000 --- a/.changes/improve-mobile-plugin-error-handling.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tauri": 'patch:enhance' ---- - -Improve the `run_mobile_plugin` function error handling. diff --git a/.changes/inject-config.md b/.changes/inject-config.md deleted file mode 100644 index 735e86f2d..000000000 --- a/.changes/inject-config.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"tauri-cli": 'patch:enhance' -"@tauri-apps/cli": 'patch:enhance' ---- - -Inject Tauri configuration in the Android assets. diff --git a/.changes/inject-proguard.md b/.changes/inject-proguard.md deleted file mode 100644 index f9eae0c5d..000000000 --- a/.changes/inject-proguard.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tauri": 'patch:enhance' ---- - -Inject `proguard-tauri.pro` file in the Android project. diff --git a/.changes/invoke-handler-attributes.md b/.changes/invoke-handler-attributes.md deleted file mode 100644 index 35cedd052..000000000 --- a/.changes/invoke-handler-attributes.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"tauri-macros": 'patch:enhance' -"tauri": 'patch:enhance' ---- - -Added support to attibutes for each command path in the `generate_handler` macro. diff --git a/.changes/invoke-return-bool.md b/.changes/invoke-return-bool.md deleted file mode 100644 index 5e475c5aa..000000000 --- a/.changes/invoke-return-bool.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"tauri-macros": major:feat -"tauri-codegen": major:feat -"tauri": major:feat ---- - -Return `bool` in the invoke handler. diff --git a/.changes/invoke-system-args.md b/.changes/invoke-system-args.md deleted file mode 100644 index b10410007..000000000 --- a/.changes/invoke-system-args.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tauri": patch:breaking ---- - -Changed `Builder::invoke_system` to take references instead of owned values. diff --git a/.changes/invoke-system-refactor.md b/.changes/invoke-system-refactor.md deleted file mode 100644 index f76c0163c..000000000 --- a/.changes/invoke-system-refactor.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tauri": patch:breaking ---- - -The initialization script for `Builder::invoke_system` now must initialize the `window.__TAURI_INTERNALS__.postMessage` function instead of `window.__TAURI_POST_MESSAGE__`. diff --git a/.changes/ios-create-asset-dir.md b/.changes/ios-create-asset-dir.md deleted file mode 100644 index 9753aa6e2..000000000 --- a/.changes/ios-create-asset-dir.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"tauri-cli": patch:bug -"@tauri-apps/cli": patch:bug ---- - -Ensure asset directory exists on the iOS project. diff --git a/.changes/ios-deployment-target.md b/.changes/ios-deployment-target.md deleted file mode 100644 index e66aec4e7..000000000 --- a/.changes/ios-deployment-target.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tauri-build": 'patch:enhance' ---- - -Read the `IPHONEOS_DEPLOYMENT_TARGET` environment variable to set the Swift iOS target version, defaults to 13. diff --git a/.changes/ios-entitlements.md b/.changes/ios-entitlements.md deleted file mode 100644 index 5bf13ff57..000000000 --- a/.changes/ios-entitlements.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"tauri-cli": patch:feat -"@tauri-apps/cli": patch:feat ---- - -Generate empty entitlements file for the iOS project. diff --git a/.changes/ios-icon-color.md b/.changes/ios-icon-color.md deleted file mode 100644 index 7cfb8802e..000000000 --- a/.changes/ios-icon-color.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"tauri-cli": 'patch:enhance' -"@tauri-apps/cli": 'patch:enhance' ---- - -Added `--ios-color` option to the `tauri icon` command. diff --git a/.changes/ios-keep-alive.md b/.changes/ios-keep-alive.md deleted file mode 100644 index 0d2829aa3..000000000 --- a/.changes/ios-keep-alive.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"tauri-cli": 'patch:enhance' -"@tauri-apps/cli": 'patch:enhance' ---- - -Keep the process alive even when the iOS application is closed. diff --git a/.changes/ios-logs.md b/.changes/ios-logs.md deleted file mode 100644 index cfaa27570..000000000 --- a/.changes/ios-logs.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"tauri-cli": 'patch:enhance' -"@tauri-apps/cli": 'patch:enhance' -"tauri": 'patch:enhance' ---- - -Show all application logs on iOS. diff --git a/.changes/ios-product-name.md b/.changes/ios-product-name.md deleted file mode 100644 index b29680736..000000000 --- a/.changes/ios-product-name.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"tauri-cli": patch:feat -"@tauri-apps/cli": patch:feat ---- - -Set the iOS project PRODUCT_NAME value to the string under `tauri.conf.json > package > productName` if it is set. diff --git a/.changes/ipc-custom-protocol.md b/.changes/ipc-custom-protocol.md deleted file mode 100644 index f3b99fb69..000000000 --- a/.changes/ipc-custom-protocol.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"tauri": patch:enhance -"tauri-utils": patch:enhance ---- - -Use custom protocols on the IPC implementation to enhance performance. diff --git a/.changes/ipc-refactor.md b/.changes/ipc-refactor.md deleted file mode 100644 index 6fd4527b5..000000000 --- a/.changes/ipc-refactor.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"tauri": patch:breaking -"tauri-macros": patch:breaking ---- - -Moved `tauri::api::ipc` to `tauri::ipc` and refactored all types. diff --git a/.changes/ipc-scope-remove-enable-tauri-api.md b/.changes/ipc-scope-remove-enable-tauri-api.md deleted file mode 100644 index 3e0a77095..000000000 --- a/.changes/ipc-scope-remove-enable-tauri-api.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"tauri": 'patch:enhance' -"tauri-utils": 'patch:enhance' ---- - -Remove `enable_tauri_api` from the IPC scope. diff --git a/.changes/kill-dev-process-on-err.md b/.changes/kill-dev-process-on-err.md deleted file mode 100644 index c59f7140a..000000000 --- a/.changes/kill-dev-process-on-err.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"tauri-cli": patch:bug -"@tauri-apps/cli": patch:bug ---- - -Exit `beforeDevCommand` process if the android or iOS `dev` command fails. diff --git a/.changes/kuchikiki.md b/.changes/kuchikiki.md deleted file mode 100644 index b57057901..000000000 --- a/.changes/kuchikiki.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tauri-utils": patch:sec ---- - -Changed HTML implementation from unmaintained `kuchiki` to `kuchikiki`. diff --git a/.changes/lib-name-xcode.md b/.changes/lib-name-xcode.md deleted file mode 100644 index 5af4eb4b3..000000000 --- a/.changes/lib-name-xcode.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'tauri': 'patch:enhance' ---- - -Use correct lib name in xcode project. diff --git a/.changes/linux-ipc-body-feature.md b/.changes/linux-ipc-body-feature.md deleted file mode 100644 index a80dbc0fd..000000000 --- a/.changes/linux-ipc-body-feature.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tauri": patch:breaking ---- - -Removed the `linux-protocol-headers` feature (now always enabled) and added `linux-ipc-protocol`. diff --git a/.changes/linux-protocol-body-feature.md b/.changes/linux-protocol-body-feature.md deleted file mode 100644 index 9542fbdd8..000000000 --- a/.changes/linux-protocol-body-feature.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tauri-runtime-wry": patch:breaking ---- - -Removed the `linux-headers` feature (now always enabled) and added `linux-protocol-body`. diff --git a/.changes/local-dev-path-mobile.md b/.changes/local-dev-path-mobile.md deleted file mode 100644 index 5a1381323..000000000 --- a/.changes/local-dev-path-mobile.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"tauri-cli": 'patch:enhance' -"@tauri-apps/cli": 'patch:enhance' ---- - -Fixes HMR on mobile when devPath is configured to load a filesystem path. diff --git a/.changes/log-file-fix-for-linux-and-windows.md b/.changes/log-file-fix-for-linux-and-windows.md deleted file mode 100644 index 4949b3d2d..000000000 --- a/.changes/log-file-fix-for-linux-and-windows.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'tauri': 'minor:bug' ---- - -Fix default log path for linux and windows diff --git a/.changes/logcat-all-tags.md b/.changes/logcat-all-tags.md deleted file mode 100644 index 8d40bcfe7..000000000 --- a/.changes/logcat-all-tags.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"tauri-cli": 'patch:enhance' -"@tauri-apps/cli": 'patch:enhance' ---- - -Print log output for all tags on Android development. diff --git a/.changes/menu-accelerator-generics.md b/.changes/menu-accelerator-generics.md deleted file mode 100644 index bd3bf34f0..000000000 --- a/.changes/menu-accelerator-generics.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'tauri': 'patch:breaking' ---- - -All menu item constructors `accelerator` argument have been changed to `Option>` so when providing `None` you need to specify the generic argument like `None::<&str>`. diff --git a/.changes/menu-init-drop-main-thread.md b/.changes/menu-init-drop-main-thread.md deleted file mode 100644 index 360c8681f..000000000 --- a/.changes/menu-init-drop-main-thread.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'tauri': 'patch:bug' ---- - -Ensure initalize logic and dropping of menu item is done on the main thread, this fixes the crash when a menu item is dropped on another thread. diff --git a/.changes/menu-init-result.md b/.changes/menu-init-result.md deleted file mode 100644 index 818aa514f..000000000 --- a/.changes/menu-init-result.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'tauri': 'patch:breaking' ---- - -All menu item constructors have been changed to return a `Result` diff --git a/.changes/merge-ios-plist.md b/.changes/merge-ios-plist.md deleted file mode 100644 index 87cf86f3a..000000000 --- a/.changes/merge-ios-plist.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"tauri-cli": patch:feat -"@tauri-apps/cli": patch:feat ---- - -Merge `src-tauri/Info.plist` and `src-tauri/Info.ios.plist` with the iOS project plist file. diff --git a/.changes/migrate-allowlist.md b/.changes/migrate-allowlist.md deleted file mode 100644 index b10ccc70b..000000000 --- a/.changes/migrate-allowlist.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"tauri-cli": 'patch:feat' -"@tauri-apps/cli": 'patch:feat' ---- - -Migrate the allowlist config to the new capability file format. diff --git a/.changes/migrate-cmd.md b/.changes/migrate-cmd.md deleted file mode 100644 index 4fae458f3..000000000 --- a/.changes/migrate-cmd.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"tauri-cli": 'patch:feat' -"@tauri-apps/cli": 'patch:feat' ---- - -Added `migrate` command. diff --git a/.changes/migrate-csp.md b/.changes/migrate-csp.md deleted file mode 100644 index 551c7c847..000000000 --- a/.changes/migrate-csp.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"tauri-cli": patch:enhance -"@tauri-apps/cli": patch:enhance ---- - -Update migrate command to update the configuration CSP to include `ipc:` on the `connect-src` directive, needed by the new IPC using custom protocols. diff --git a/.changes/migrate-plugins.md b/.changes/migrate-plugins.md deleted file mode 100644 index e4c63d3e1..000000000 --- a/.changes/migrate-plugins.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"tauri-cli": patch:feat -"@tauri-apps/cli": patch:feat ---- - -The `migrate` command now automatically reads all JavaScript files and updates `@tauri-apps/api` import paths and install the missing plugins. diff --git a/.changes/migrate-tauri-build-version.md b/.changes/migrate-tauri-build-version.md deleted file mode 100644 index 727b22d9c..000000000 --- a/.changes/migrate-tauri-build-version.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"tauri-cli": patch:feat -"@tauri-apps/cli": patch:feat ---- - -Include tauri-build on the migration script. diff --git a/.changes/min-sdk-version.md b/.changes/min-sdk-version.md deleted file mode 100644 index 633247f34..000000000 --- a/.changes/min-sdk-version.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tauri-utils": 'patch:enhance' ---- - -Added `android` configuration object under `tauri > bundle`. diff --git a/.changes/mobile-config-naming-conventions.md b/.changes/mobile-config-naming-conventions.md deleted file mode 100644 index 5517951ab..000000000 --- a/.changes/mobile-config-naming-conventions.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tauri-utils": patch:breaking ---- - -Follow file name conventions set by desktop for mobile Tauri configuration files. Added `target` argument on most `config::parse` methods. diff --git a/.changes/mobile-config.md b/.changes/mobile-config.md deleted file mode 100644 index 85026f10e..000000000 --- a/.changes/mobile-config.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tauri-utils": 'minor:feat' ---- - -Parse `android` and `ios` Tauri configuration files. diff --git a/.changes/mobile-dev-watcher-ignore-gen.md b/.changes/mobile-dev-watcher-ignore-gen.md deleted file mode 100644 index 96ca550d8..000000000 --- a/.changes/mobile-dev-watcher-ignore-gen.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"tauri-cli": 'patch:enhance' -"@tauri-apps/cli": 'patch:enhance' ---- - -Ignore the `gen` folder on the dev watcher. diff --git a/.changes/mobile-docs.md b/.changes/mobile-docs.md deleted file mode 100644 index b7656f694..000000000 --- a/.changes/mobile-docs.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"tauri": patch:enhance -"tauri-runtime": patch:enhance ---- - -Include mobile on docs.rs targets. diff --git a/.changes/mobile-entry-point-macro.md b/.changes/mobile-entry-point-macro.md deleted file mode 100644 index 5f428bdc4..000000000 --- a/.changes/mobile-entry-point-macro.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tauri-macros": 'minor:feat' ---- - -Added the `mobile_entry_point` macro. diff --git a/.changes/mobile-env-vars-rename.md b/.changes/mobile-env-vars-rename.md deleted file mode 100644 index 7067ce7ba..000000000 --- a/.changes/mobile-env-vars-rename.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"tauri-build": 'patch:enhance' -"tauri-macros": 'patch:enhance' ---- - -Refactor mobile environment variables. diff --git a/.changes/mobile-init.md b/.changes/mobile-init.md deleted file mode 100644 index 7b47ed16c..000000000 --- a/.changes/mobile-init.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"tauri-cli": 'minor:feat' -"@tauri-apps/cli": 'minor:feat' ---- - -Added `android init` and `ios init` commands. diff --git a/.changes/mobile-lib-name.md b/.changes/mobile-lib-name.md deleted file mode 100644 index 496d4e7f8..000000000 --- a/.changes/mobile-lib-name.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"tauri-cli": 'patch:enhance' -"@tauri-apps/cli": 'patch:enhance' ---- - -Add support to custom and kebab case library names for mobile apps. diff --git a/.changes/mobile-open.md b/.changes/mobile-open.md deleted file mode 100644 index 007eafe53..000000000 --- a/.changes/mobile-open.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"tauri-cli": 'minor:feat' -"@tauri-apps/cli": 'minor:feat' ---- - -Added `android open` and `ios open` commands. diff --git a/.changes/mobile-plugin-config.md b/.changes/mobile-plugin-config.md deleted file mode 100644 index 6eb4f772b..000000000 --- a/.changes/mobile-plugin-config.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tauri": 'patch:enhance' ---- - -Expose plugin configuration on the Android and iOS plugin classes. diff --git a/.changes/mobile-plugin-resolve-object.md b/.changes/mobile-plugin-resolve-object.md deleted file mode 100644 index 4819e4d69..000000000 --- a/.changes/mobile-plugin-resolve-object.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tauri": patch:enhance ---- - -Mobile plugins can now resolve using an arbitrary object instead of using the `JSObject` class via `Invoke.resolve` on iOS and `Invoke.resolveObject` on Android. diff --git a/.changes/mobile-plugin-typed-invoke-args.md b/.changes/mobile-plugin-typed-invoke-args.md deleted file mode 100644 index d98d78794..000000000 --- a/.changes/mobile-plugin-typed-invoke-args.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tauri": patch:breaking ---- - -Mobile plugins now have access to a parser for the invoke arguments instead of relying on the `Invoke#get${TYPE}` methods. diff --git a/.changes/mobile-plugins.md b/.changes/mobile-plugins.md deleted file mode 100644 index 03a673a0e..000000000 --- a/.changes/mobile-plugins.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tauri": 'minor:feat' ---- - -Run Android and iOS native plugins on the invoke handler if a Rust plugin command is not found. diff --git a/.changes/mobile-webview-access.md b/.changes/mobile-webview-access.md deleted file mode 100644 index be725d5e7..000000000 --- a/.changes/mobile-webview-access.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"tauri-runtime-wry": 'minor:feat' -"tauri": 'minor:feat' ---- - -Support `with_webview` for Android platform alowing execution of JNI code in context. diff --git a/.changes/mobile.md b/.changes/mobile.md deleted file mode 100644 index e494dfd85..000000000 --- a/.changes/mobile.md +++ /dev/null @@ -1,13 +0,0 @@ ---- -"api": major:feat -"tauri-utils": major:feat -"tauri-bundler": major:feat -"tauri-codegen": major:feat -"tauri-macros": major:feat -"tauri-build": major:feat -"tauri": major:feat -"tauri-cli": major:feat -"@tauri-apps/cli": major:feat ---- - -First mobile alpha release! diff --git a/.changes/move-add-command.md b/.changes/move-add-command.md deleted file mode 100644 index 8f10d6bb2..000000000 --- a/.changes/move-add-command.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"tauri-cli": patch:breaking -"@tauri-apps/cli": patch:breaking ---- - -Renamed the `plugin add` command to `add`. diff --git a/.changes/move-app.md b/.changes/move-app.md deleted file mode 100644 index 746c84ab4..000000000 --- a/.changes/move-app.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"api": 'patch:enhance' -"tauri": 'patch:enhance' ---- - -Moved the `app` feature to its own plugin in the plugins-workspace repository. diff --git a/.changes/move-cli.md b/.changes/move-cli.md deleted file mode 100644 index 0cd3ac386..000000000 --- a/.changes/move-cli.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"api": 'patch:enhance' -"tauri": 'patch:enhance' -"tauri-utils": 'patch:enhance' ---- - -Moved the `cli` feature to its own plugin in the plugins-workspace repository. diff --git a/.changes/move-command-module.md b/.changes/move-command-module.md deleted file mode 100644 index 1c67393eb..000000000 --- a/.changes/move-command-module.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tauri": patch:breaking ---- - -Moved the `command` module items to the `ipc` module so its import name does not clash with the `command` macro. diff --git a/.changes/move-dialog-plugin.md b/.changes/move-dialog-plugin.md deleted file mode 100644 index 16a7e4040..000000000 --- a/.changes/move-dialog-plugin.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"tauri": 'patch:enhance' -"api": 'patch:enhance' ---- - -Moved the dialog APIs to its own plugin in the plugins-workspace repository. diff --git a/.changes/move-event.md b/.changes/move-event.md deleted file mode 100644 index 40509a43b..000000000 --- a/.changes/move-event.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -"api": 'patch:enhance' -"tauri": 'patch:enhance' -"tauri-runtime": 'patch:enhance' -"tauri-runtime-wry": 'patch:enhance' ---- - -Moved the `event` JS APIs to a plugin. diff --git a/.changes/move-fs.md b/.changes/move-fs.md deleted file mode 100644 index b468af4e1..000000000 --- a/.changes/move-fs.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"api": 'patch:enhance' -"tauri": 'patch:enhance' ---- - -Moved the file system APIs to its own plugin in the plugins-workspace repository. diff --git a/.changes/move-http-api.md b/.changes/move-http-api.md deleted file mode 100644 index 98dde1732..000000000 --- a/.changes/move-http-api.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"api": 'patch:enhance' -"tauri": 'patch:enhance' ---- - -Moved the `http` feature to its own plugin in the plugins-workspace repository. diff --git a/.changes/move-os.md b/.changes/move-os.md deleted file mode 100644 index b1dfd4ae8..000000000 --- a/.changes/move-os.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"api": 'patch:enhance' -"tauri": 'patch:enhance' ---- - -Moved the `os` feature to its own plugin in the plugins-workspace repository. diff --git a/.changes/move-process.md b/.changes/move-process.md deleted file mode 100644 index 637d13e07..000000000 --- a/.changes/move-process.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"api": 'patch:enhance' -"tauri": 'patch:enhance' ---- - -Moved the `process` feature to its own plugin in the plugins-workspace repository. diff --git a/.changes/move-protocol-asset.md b/.changes/move-protocol-asset.md deleted file mode 100644 index 3dd27fbf0..000000000 --- a/.changes/move-protocol-asset.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"tauri": 'patch:enhance' -"tauri-utils": 'patch:enhance' ---- - -Moved the `protocol` scope configuration to the `asset_protocol` field in `SecurityConfig`. diff --git a/.changes/move-shell.md b/.changes/move-shell.md deleted file mode 100644 index 0bd1264df..000000000 --- a/.changes/move-shell.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -"api": 'patch:enhance' -"tauri": 'patch:enhance' -"tauri-codegen": 'patch:enhance' -"tauri-macros": 'patch:enhance' ---- - -Moved the `shell` functionality to its own plugin in the plugins-workspace repository. diff --git a/.changes/move-tauri-build-plugin-fns.md b/.changes/move-tauri-build-plugin-fns.md deleted file mode 100644 index 51ac98bbb..000000000 --- a/.changes/move-tauri-build-plugin-fns.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tauri-build": patch:breaking ---- - -Moved `mobile::PluginBuilder`, `mobile::update_entitlements`, `config::plugin_config` and `mobile::update_android_manifest` to the new `tauri-plugin` crate. diff --git a/.changes/move-updater-config.md b/.changes/move-updater-config.md deleted file mode 100644 index 279834d9f..000000000 --- a/.changes/move-updater-config.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -"tauri": 'patch:enhance' -"tauri-utils": 'patch:enhance' -"tauri-cli": 'patch:enhance' -"@tauri-apps/cli": 'patch:enhance' ---- - -Moved the updater configuration to the `BundleConfig`. diff --git a/.changes/move-updater.md b/.changes/move-updater.md deleted file mode 100644 index 9a9b1df02..000000000 --- a/.changes/move-updater.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"api": 'patch:enhance' -"tauri": 'patch:enhance' -"tauri-utils": 'patch:enhance' ---- - -Moved the `updater` feature to its own plugin in the plugins-workspace repository. diff --git a/.changes/move-window-apis.md b/.changes/move-window-apis.md deleted file mode 100644 index 5f3218f95..000000000 --- a/.changes/move-window-apis.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@tauri-apps/api": patch:breaking ---- - -Moved webview-specific APIs from the `Window` class to the `Webview` class. diff --git a/.changes/msrv-1.64.md b/.changes/msrv-1.64.md deleted file mode 100644 index 2a6186c6b..000000000 --- a/.changes/msrv-1.64.md +++ /dev/null @@ -1,13 +0,0 @@ ---- -"tauri-cli": 'minor:feat' -"tauri-bundler": 'minor:feat' -"tauri": 'minor:feat' -"tauri-build": 'minor:feat' -"tauri-codegen": 'minor:feat' -"tauri-macros": 'minor:feat' -"tauri-utils": 'minor:feat' -"tauri-runtime": 'minor:feat' -"tauri-runtime-wry": 'minor:feat' ---- - -Bump the MSRV to 1.64. diff --git a/.changes/msrv-1.65.md b/.changes/msrv-1.65.md deleted file mode 100644 index 911372072..000000000 --- a/.changes/msrv-1.65.md +++ /dev/null @@ -1,13 +0,0 @@ ---- -"tauri-cli": 'minor:feat' -"tauri-bundler": 'minor:feat' -"tauri": 'minor:feat' -"tauri-build": 'minor:feat' -"tauri-codegen": 'minor:feat' -"tauri-macros": 'minor:feat' -"tauri-utils": 'minor:feat' -"tauri-runtime": 'minor:feat' -"tauri-runtime-wry": 'minor:feat' ---- - -Bump the MSRV to 1.65. diff --git a/.changes/msrv-1.70.md b/.changes/msrv-1.70.md deleted file mode 100644 index 7004f94cd..000000000 --- a/.changes/msrv-1.70.md +++ /dev/null @@ -1,13 +0,0 @@ ---- -"tauri-cli": 'minor:feat' -"tauri-bundler": 'minor:feat' -"tauri": 'minor:feat' -"tauri-build": 'minor:feat' -"tauri-codegen": 'minor:feat' -"tauri-macros": 'minor:feat' -"tauri-utils": 'minor:feat' -"tauri-runtime": 'minor:feat' -"tauri-runtime-wry": 'minor:feat' ---- - -Bump the MSRV to 1.70. diff --git a/.changes/multiwebview-api.md b/.changes/multiwebview-api.md deleted file mode 100644 index 6dfce338c..000000000 --- a/.changes/multiwebview-api.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@tauri-apps/api": patch:feat ---- - -Added support to multiwebview via the new `window` and `webview` modules. diff --git a/.changes/multiwebview.md b/.changes/multiwebview.md deleted file mode 100644 index 68f927334..000000000 --- a/.changes/multiwebview.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"tauri": patch:feat -"tauri-runtime": patch:feat -"tauri-runtime-wry": patch:feat ---- - -Add multiwebview support behind the `unstable` feature flag. See `WindowBuilder` and `WebviewBuilder` for more information. diff --git a/.changes/napi-rs.md b/.changes/napi-rs.md deleted file mode 100644 index 165a06339..000000000 --- a/.changes/napi-rs.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@tauri-apps/cli': 'patch:enhance' ---- - -Update `napi-rs` dependencies to latest to fix CLI hanging up forever. diff --git a/.changes/npm-pass-args.md b/.changes/npm-pass-args.md deleted file mode 100644 index 6496d32f5..000000000 --- a/.changes/npm-pass-args.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -'tauri-cli': 'patch:enhance' -"@tauri-apps/cli": 'patch:enhance' ---- - -Correctly pass arguments from `npm run` to `tauri`. diff --git a/.changes/nsis-bulgarian.md b/.changes/nsis-bulgarian.md deleted file mode 100644 index 8fdc2e3a8..000000000 --- a/.changes/nsis-bulgarian.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'tauri-bundler': 'patch:enhance' ---- - -Added Bulgarian language support to the NSIS bundler. diff --git a/.changes/nsis-russian.md b/.changes/nsis-russian.md deleted file mode 100644 index 33ed5056b..000000000 --- a/.changes/nsis-russian.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'tauri-bundler': 'patch:enhance' ---- - -Added Russian language support to the NSIS bundler. diff --git a/.changes/on-download-hook.md b/.changes/on-download-hook.md deleted file mode 100644 index a25a74910..000000000 --- a/.changes/on-download-hook.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tauri": patch:feat ---- - -Added `WindowBuilder::on_download` to handle download request events. diff --git a/.changes/on-navigation-plugin.md b/.changes/on-navigation-plugin.md deleted file mode 100644 index 32b534472..000000000 --- a/.changes/on-navigation-plugin.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"tauri": 'minor:feat' ---- - -Added `PluginBuilder::on_navigation`. -Added `Plugin::on_navigation`. diff --git a/.changes/on-new-intent.md b/.changes/on-new-intent.md deleted file mode 100644 index c7c89f80f..000000000 --- a/.changes/on-new-intent.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tauri": 'patch:enhance' ---- - -Added the `onNewIntent` Plugin hook on Android. diff --git a/.changes/on-page-load-hook.md b/.changes/on-page-load-hook.md deleted file mode 100644 index 340a39bd5..000000000 --- a/.changes/on-page-load-hook.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"tauri-runtime": patch:feat -"tauri-runtime-wry": patch:feat ---- - -Added `on_page_load` hook for `PendingWindow`. diff --git a/.changes/only-proxy-on-mobile.md b/.changes/only-proxy-on-mobile.md deleted file mode 100644 index 299816918..000000000 --- a/.changes/only-proxy-on-mobile.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tauri": 'patch:enhance' ---- - -Only proxy the dev server on mobile to simplify desktop usage. diff --git a/.changes/open-ts-overload.md b/.changes/open-ts-overload.md deleted file mode 100644 index 6ea100f34..000000000 --- a/.changes/open-ts-overload.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"api": 'patch:enhance' ---- - -Overload the dialog `open` function to have better TS result types. diff --git a/.changes/package-info-crate-name.md b/.changes/package-info-crate-name.md deleted file mode 100644 index c4d3aa930..000000000 --- a/.changes/package-info-crate-name.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"tauri-utils": 'patch:enhance' -"tauri-codegen": 'patch:enhance' ---- - -Added `crate_name` field on `PackageInfo`. diff --git a/.changes/path-sep-delimter.md b/.changes/path-sep-delimter.md deleted file mode 100644 index 6882135eb..000000000 --- a/.changes/path-sep-delimter.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@tauri-apps/api': 'minor:enhance' ---- - -Changed `sep` and `delimiter` from `path` module into functions to fix import in frameworks like `next.js` diff --git a/.changes/plugin-android-project-refactor.md b/.changes/plugin-android-project-refactor.md deleted file mode 100644 index d79965d73..000000000 --- a/.changes/plugin-android-project-refactor.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"tauri-cli": 'patch:enhance' -"tauri-build": 'patch:enhance' ---- - -Use absolute path to each Android plugin project instead of copying the files to enhance developer experience. diff --git a/.changes/plugin-api-handle.md b/.changes/plugin-api-handle.md deleted file mode 100644 index 8a02043df..000000000 --- a/.changes/plugin-api-handle.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tauri": 'patch:enhance' ---- - -Add `app` method for the `PluginApi` struct. diff --git a/.changes/plugin-config-getter.md b/.changes/plugin-config-getter.md deleted file mode 100644 index b8e831f4a..000000000 --- a/.changes/plugin-config-getter.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tauri-build": patch:feat ---- - -Added the `config::plugin_config` function to read the plugin configuration set from the CLI. diff --git a/.changes/plugin-handle-clone.md b/.changes/plugin-handle-clone.md deleted file mode 100644 index 7863ad762..000000000 --- a/.changes/plugin-handle-clone.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tauri": 'patch:enhance' ---- - -Implement `Clone` for `plugin::PluginHandle`. diff --git a/.changes/plugin-init-fns.md b/.changes/plugin-init-fns.md deleted file mode 100644 index ad85adf94..000000000 --- a/.changes/plugin-init-fns.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tauri": 'minor:feat' ---- - -Added `initialize_android_plugin` and `initialize_ios_plugin` APIs on `AppHandle`. diff --git a/.changes/plugin-init-refactor.md b/.changes/plugin-init-refactor.md deleted file mode 100644 index b2cbbafd7..000000000 --- a/.changes/plugin-init-refactor.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"tauri-cli": 'minor:feat' -"@tauri-apps/cli": 'minor:feat' ---- - -Changed the `--api` flag on `plugin init` to `--no-api`. diff --git a/.changes/plugin-setup-refactor.md b/.changes/plugin-setup-refactor.md deleted file mode 100644 index 6e8afa6fb..000000000 --- a/.changes/plugin-setup-refactor.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tauri": major:feat ---- - -Changed the plugin setup hook to take a second argument of type `PluginApi`. diff --git a/.changes/plugin-template-examples-manifest.md b/.changes/plugin-template-examples-manifest.md deleted file mode 100644 index fd082fe3f..000000000 --- a/.changes/plugin-template-examples-manifest.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"tauri-cli": 'patch:enhance' -"@tauri-apps/cli": 'patch:enhance' ---- - -Add Cargo manifest files for the plugin example templates. diff --git a/.changes/pnpm-android.md b/.changes/pnpm-android.md deleted file mode 100644 index d91a2b4ef..000000000 --- a/.changes/pnpm-android.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"tauri-cli": 'patch:enhance' -"@tauri-apps/cli": 'patch:enhance' ---- - -Fix `tauri android build/dev` crashing when used with standalone `pnpm` executable on Windows. diff --git a/.changes/pre.json b/.changes/pre.json index f8f97e8da..e688efba7 100644 --- a/.changes/pre.json +++ b/.changes/pre.json @@ -1,348 +1,4 @@ { - "tag": "alpha", - "changes": [ - ".changes/add-command.md", - ".changes/add-mobile-to-plugin.md", - ".changes/add-progress-bar.md", - ".changes/add-visible-on-all-workspaces.md", - ".changes/always-on-bottom-api.md", - ".changes/always-on-bottom-config.md", - ".changes/always-on-bottom.md", - ".changes/android-apis-runtime.md", - ".changes/android-buildsrc-gitignore.md", - ".changes/android-enhance-method-parse.md", - ".changes/android-load-config.md", - ".changes/android-on-new-intent.md", - ".changes/android-onresume.md", - ".changes/android-plugin-command-exception.md", - ".changes/android-plugin-get-config-typed.md", - ".changes/api-Resource.md", - ".changes/api-app.md", - ".changes/api-ipc-refactor.md", - ".changes/api-min-node-18.md", - ".changes/api-module-resolution-node.md", - ".changes/api-moduleresolution-node.md", - ".changes/api-primitives-core.md", - ".changes/api-primitives.md", - ".changes/api-tabbed.md", - ".changes/api-top-level-main-module.md", - ".changes/api-tray-menu.md", - ".changes/api-window.md", - ".changes/app-builder-send.md", - ".changes/app-bundle-files-config.md", - ".changes/app-bundle-files.md", - ".changes/app-plugin-core.md", - ".changes/arboard.md", - ".changes/build-android-env-vars.md", - ".changes/bump-1.3.md", - ".changes/bump-1.5.md", - ".changes/bundler-remove-dialog-option.md", - ".changes/bundler-rpm.md", - ".changes/bundler-socks-proxy.md", - ".changes/bundler-zip-deflate.md", - ".changes/channel-api.md", - ".changes/channel-rust.md", - ".changes/cli-android-build.md", - ".changes/cli-android-dev-release.md", - ".changes/cli-android-specified-targets-only.md", - ".changes/cli-android-split-per-abit-target.md", - ".changes/cli-apple-dev-team.md", - ".changes/cli-built-in-dev-server-mobile.md", - ".changes/cli-config-target-mobile.md", - ".changes/cli-env-vars.md", - ".changes/cli-expose-plugin-config.md", - ".changes/cli-hook-invalid-target-triple-env-vars.md", - ".changes/cli-hooks-env-vars-breaking.md", - ".changes/cli-ios-build.md", - ".changes/cli-ios-metadata-env-var.md", - ".changes/cli-key-properties.md", - ".changes/cli-libname-dashes.md", - ".changes/cli-library-compilation.md", - ".changes/cli-mobile-auto-ip.md", - ".changes/cli-mobile-cwd-config.md", - ".changes/cli-mobile-dev.md", - ".changes/cli-mobile-plugin.md", - ".changes/cli-no-dev-server-wait.md", - ".changes/cli-nodejs-detection.md", - ".changes/cli-npx-mobile.md", - ".changes/cli-plugin-init.md", - ".changes/cli-plugin-name-snake-case.md", - ".changes/cli-pnpm.md", - ".changes/cli-refactor-ipc-mobile.md", - ".changes/cli-removed-new-version-check.md", - ".changes/cli-signer-env-vars.md", - ".changes/cli-skip-targets-install.md", - ".changes/cli-wry-0-28.md", - ".changes/codegen-mobile-devurl.md", - ".changes/codegen-target-from-utils.md", - ".changes/config-f64-deserialize.md", - ".changes/config-incognito.md", - ".changes/config-tray-icon-tooltip.md", - ".changes/config-tray-icon.md", - ".changes/core-android-proxy-method.md", - ".changes/core-app-montior.md", - ".changes/core-channel-clone.md", - ".changes/core-incognito.md", - ".changes/core-navigate-method.md", - ".changes/core-remove-file-dir-semver-apis.md", - ".changes/core-wry-0-28.md", - ".changes/custom-protocol-http-android.md", - ".changes/custom-protocol-response-refactor.md", - ".changes/dark-light-mica-effect.md", - ".changes/default-tls-features.md", - ".changes/default-window-icon.md", - ".changes/dev-proxy-response-cache.md", - ".changes/dev-proxy.md", - ".changes/devicectl.md", - ".changes/dialog-window-forward-slash.md", - ".changes/dmg-settings.md", - ".changes/dnd-position.md", - ".changes/downgrade-min-sdk-version.md", - ".changes/dynamic-wry-plugin.md", - ".changes/enable-minify.md", - ".changes/enable-path-commands.md", - ".changes/enhance-jsobject-return-types.md", - ".changes/error-on-identifier-change.md", - ".changes/event-api-window-label.md", - ".changes/expose-fs-scope-new.md", - ".changes/file-associations-config.md", - ".changes/file-associations.md", - ".changes/fix-android-scope.md", - ".changes/fix-api-package.md", - ".changes/fix-build-script-mobile-runner-npm.md", - ".changes/fix-channel-data-request.md", - ".changes/fix-clearmocks.md", - ".changes/fix-dev-server-proxy-path.md", - ".changes/fix-empty-identifier.md", - ".changes/fix-file-drop-event-payload.md", - ".changes/fix-global-event.md", - ".changes/fix-icons-android.md", - ".changes/fix-ide-build-run.md", - ".changes/fix-ios-channel.md", - ".changes/fix-ios-cli-panic.md", - ".changes/fix-ios-logs.md", - ".changes/fix-ios-plugin-throws-command.md", - ".changes/fix-ios-run-xcode14.md", - ".changes/fix-ios-template.md", - ".changes/fix-ipc-payload.md", - ".changes/fix-ipc-remote-url-macos.md", - ".changes/fix-mobile-env-vars.md", - ".changes/fix-mock-tauri-internals.md", - ".changes/fix-nodejs-android-cmds.md", - ".changes/fix-orientation-crash.md", - ".changes/fix-plugin-ios-bool.md", - ".changes/fix-plugin-removal.md", - ".changes/fix-plugin-template-cargotoml.md", - ".changes/fix-plugin-template.md", - ".changes/fix-proguard-injection.md", - ".changes/fix-proguard-rules.md", - ".changes/fix-protocol-response.md", - ".changes/fix-shell-build.md", - ".changes/fix-tauri-binary-windows.md", - ".changes/fix-tray-icon-validation.md", - ".changes/fix-windows-custom-protocol-url.md", - ".changes/fix-windows-custom-protocol.md", - ".changes/fix-wix-output-filename-version.md", - ".changes/fix-xcodescript-lib-path.md", - ".changes/force-colored-logs.md", - ".changes/generate-tauri-activity.md", - ".changes/get-ipc-response-test.md", - ".changes/gradle-8.md", - ".changes/gtk018.md", - ".changes/gtk16.md", - ".changes/http-types-refactor.md", - ".changes/icon-svg.md", - ".changes/improve-local-ip-detection.md", - ".changes/improve-mobile-plugin-error-handling.md", - ".changes/inject-config.md", - ".changes/inject-proguard.md", - ".changes/invoke-handler-attributes.md", - ".changes/invoke-return-bool.md", - ".changes/invoke-system-args.md", - ".changes/invoke-system-refactor.md", - ".changes/ios-create-asset-dir.md", - ".changes/ios-deployment-target.md", - ".changes/ios-entitlements.md", - ".changes/ios-icon-color.md", - ".changes/ios-keep-alive.md", - ".changes/ios-logs.md", - ".changes/ios-product-name.md", - ".changes/ipc-custom-protocol.md", - ".changes/ipc-refactor.md", - ".changes/ipc-scope-remove-enable-tauri-api.md", - ".changes/kill-dev-process-on-err.md", - ".changes/kuchikiki.md", - ".changes/lib-name-xcode.md", - ".changes/linux-ipc-body-feature.md", - ".changes/linux-protocol-body-feature.md", - ".changes/local-dev-path-mobile.md", - ".changes/log-file-fix-for-linux-and-windows.md", - ".changes/logcat-all-tags.md", - ".changes/merge-ios-plist.md", - ".changes/migrate-cmd.md", - ".changes/migrate-csp.md", - ".changes/migrate-plugins.md", - ".changes/migrate-tauri-build-version.md", - ".changes/min-sdk-version.md", - ".changes/mobile-config-naming-conventions.md", - ".changes/mobile-config.md", - ".changes/mobile-dev-watcher-ignore-gen.md", - ".changes/mobile-docs.md", - ".changes/mobile-entry-point-macro.md", - ".changes/mobile-env-vars-rename.md", - ".changes/mobile-init.md", - ".changes/mobile-lib-name.md", - ".changes/mobile-open.md", - ".changes/mobile-plugin-config.md", - ".changes/mobile-plugin-resolve-object.md", - ".changes/mobile-plugin-typed-invoke-args.md", - ".changes/mobile-plugins.md", - ".changes/mobile-webview-access.md", - ".changes/mobile.md", - ".changes/move-add-command.md", - ".changes/move-app.md", - ".changes/move-cli.md", - ".changes/move-dialog-plugin.md", - ".changes/move-event.md", - ".changes/move-fs.md", - ".changes/move-http-api.md", - ".changes/move-os.md", - ".changes/move-process.md", - ".changes/move-protocol-asset.md", - ".changes/move-shell.md", - ".changes/move-updater-config.md", - ".changes/move-updater.md", - ".changes/msrv-1.64.md", - ".changes/msrv-1.65.md", - ".changes/msrv-1.70.md", - ".changes/napi-rs.md", - ".changes/npm-pass-args.md", - ".changes/nsis-bulgarian.md", - ".changes/on-download-hook.md", - ".changes/on-navigation-plugin.md", - ".changes/on-new-intent.md", - ".changes/on-page-load-hook.md", - ".changes/only-proxy-on-mobile.md", - ".changes/open-ts-overload.md", - ".changes/package-info-crate-name.md", - ".changes/path-sep-delimter.md", - ".changes/plugin-android-project-refactor.md", - ".changes/plugin-api-handle.md", - ".changes/plugin-config-getter.md", - ".changes/plugin-handle-clone.md", - ".changes/plugin-init-fns.md", - ".changes/plugin-init-refactor.md", - ".changes/plugin-setup-refactor.md", - ".changes/plugin-template-examples-manifest.md", - ".changes/pnpm-android.md", - ".changes/prevent-ios-crash.md", - ".changes/process-mod-refactor.md", - ".changes/raw-encoding.md", - ".changes/refactor-macros.md", - ".changes/refactor-on-page-load.md", - ".changes/refactor-setup.md", - ".changes/refactor-tauri-android-dependency.md", - ".changes/register_asynchronous_uri_scheme_protocol.md", - ".changes/relative-mobile-args.md", - ".changes/remove-allowlist.md", - ".changes/remove-attohttpc.md", - ".changes/remove-clipboard.md", - ".changes/remove-fs-apis.md", - ".changes/remove-global-shortcut.md", - ".changes/remove-macros-command-module.md", - ".changes/remove-mobile-log.md", - ".changes/remove-sdk-dir.md", - ".changes/remove-shell-constructor.md", - ".changes/remove-tray-icon-mobile.md", - ".changes/remove-updater-dialog.md", - ".changes/remove-updater-event.md", - ".changes/remove-window.md", - ".changes/rename-hook-env-vars.md", - ".changes/rewrite-android-manifest.md", - ".changes/rfd101.md", - ".changes/run-event-opened.md", - ".changes/run-mobile-plugin.md", - ".changes/runevent-filedrop.md", - ".changes/runtime-bump-deps.md", - ".changes/runtime-create-window-handler.md", - ".changes/runtime-custom-protocol-async.md", - ".changes/runtime-defaultvbox.md", - ".changes/runtime-menu-system-tray.md", - ".changes/runtime-monitor.md", - ".changes/runtime-navigate-method.md", - ".changes/runtime-navigation-handler-url-arg.md", - ".changes/runtime-new-args.md", - ".changes/runtime-on-download-hooks.md", - ".changes/runtime-opened-event.md", - ".changes/safepathbuf-refactor.md", - ".changes/set-progress-bar-api.md", - ".changes/set_native_icon_signature.md", - ".changes/shadow-api.md", - ".changes/shadow-config.md", - ".changes/shadow.md", - ".changes/shadows-default-on.md", - ".changes/simplify-ios-plugin-init-fn.md", - ".changes/skip-target-install-arg.md", - ".changes/state-0.6.md", - ".changes/submenu-and-menu-builders-item-and-id.md", - ".changes/syn-2.0.md", - ".changes/system-tray-feat.md", - ".changes/target-dir-detection.md", - ".changes/tauri-api-removal.md", - ".changes/tauri-app-handle-ref.md", - ".changes/tauri-asset-protocol.md", - ".changes/tauri-build-mobile.md", - ".changes/tauri-build-resource-compiler.md", - ".changes/tauri-cleanup-before-exit.md", - ".changes/tauri-defaultvbox.md", - ".changes/tauri-env-args.md", - ".changes/tauri-env-vars.md", - ".changes/tauri-event-system-apis.md", - ".changes/tauri-extranous-result-types-removal.md", - ".changes/tauri-libxdo-feat.md", - ".changes/tauri-menu-predefined-close-wiwndow.md", - ".changes/tauri-menu-tray-refactor.md", - ".changes/tauri-mobile-entry-point.md", - ".changes/tauri-nsview.md", - ".changes/tauri-remove-global-window-event-type.md", - ".changes/tauri-resources-table.md", - ".changes/tauri-run_on_main_thread.md", - ".changes/tauri-runtime-uuid.md", - ".changes/tauri-runtime-wry-env-vars.md", - ".changes/tauri-runtime-wry-uuid.md", - ".changes/tauri-runtime-wry-wry-0-28.md", - ".changes/tauri-scopes.md", - ".changes/tauri-tabbed.md", - ".changes/tauri-tray-icon-feat-flag.md", - ".changes/tauri-tray-icon-id.md", - ".changes/tauri-tray-on-tray-event.md", - ".changes/tauri-utils-tabbed.md", - ".changes/tauri-utils-tray-icon-id copy.md", - ".changes/tauri-utils-windows-version.md", - ".changes/tauri-uuid-rand.md", - ".changes/tempdir-api.md", - ".changes/tempdir-core.md", - ".changes/tls-features-automatically-enabled.md", - ".changes/tls-features-refactor.md", - ".changes/tracing.md", - ".changes/ubuntu-20.04-cli.js.md", - ".changes/ubuntu-20.04-cli.rs.md", - ".changes/update-entitlements-api.md", - ".changes/update-mobile-template.md", - ".changes/validate-appimage.md", - ".changes/window-effects-api.md", - ".changes/window-effects-config.md", - ".changes/window-effects.md", - ".changes/window-on-message-refactor.md", - ".changes/window-on-navigation-arg.md", - ".changes/window-plugin-core.md", - ".changes/windows-rs-0.51.md", - ".changes/with-webview.md", - ".changes/wry-0.32.md", - ".changes/wry-0.34.md", - ".changes/wry-0.35.md", - ".changes/wry-navigate-method.md", - ".changes/wry26.md", - ".changes/xcode-archive.md" - ] + "tag": "beta", + "changes": [] } diff --git a/.changes/prevent-double-rewrite-manifest.md b/.changes/prevent-double-rewrite-manifest.md deleted file mode 100644 index b01e561f2..000000000 --- a/.changes/prevent-double-rewrite-manifest.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"tauri-cli": patch:enhance -"@tauri-apps/cli": patch:enhance ---- - -Prevent unneeded double Cargo.toml rewrite on `dev` and `build`. diff --git a/.changes/prevent-ios-crash.md b/.changes/prevent-ios-crash.md deleted file mode 100644 index 8d3295d4b..000000000 --- a/.changes/prevent-ios-crash.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tauri": patch:bug ---- - -Prevent crash on iOS when the Swift plugin data is not a valid JSON string. diff --git a/.changes/process-mod-refactor.md b/.changes/process-mod-refactor.md deleted file mode 100644 index 47517cff7..000000000 --- a/.changes/process-mod-refactor.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tauri": 'patch:enhance' ---- - -Moved the `tauri::api::process` module to `tauri::process`. diff --git a/.changes/raw-encoding.md b/.changes/raw-encoding.md deleted file mode 100644 index 8c43cfa78..000000000 --- a/.changes/raw-encoding.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"api": 'minor:feat' -"tauri": 'minor:feat' ---- - -Added `raw` encoding option to read stdout and stderr raw bytes. diff --git a/.changes/readme.md b/.changes/readme.md deleted file mode 100644 index 318eea024..000000000 --- a/.changes/readme.md +++ /dev/null @@ -1,44 +0,0 @@ -# Changes - -##### via https://github.com/jbolda/covector - -As you create PRs and make changes that require a version bump, please add a new markdown file in this folder. You do not note the version _number_, but rather the type of bump that you expect: major, minor, or patch. The filename is not important, as long as it is a `.md`, but we recommend that it represents the overall change for organizational purposes. - -When you select the version bump required, you do _not_ need to consider dependencies. Only note the package with the actual change, and any packages that depend on that package will be bumped automatically in the process. - -Use the following format: - -```md ---- -'package-a': 'patch:enhance' -'package-b': 'patch:enhance' ---- - -Change summary goes here -``` - -Summaries do not have a specific character limit, but are text only. These summaries are used within the (future implementation of) changelogs. They will give context to the change and also point back to the original PR if more details and context are needed. - -Changes will be designated as a `major`, `minor` or `patch` as further described in [semver](https://semver.org/). - -Given a version number MAJOR.MINOR.PATCH, increment the: - -- MAJOR version when you make incompatible API changes, -- MINOR version when you add functionality in a backwards compatible manner, and -- PATCH version when you make backwards compatible bug fixes. - -Additional labels for pre-release and build metadata are available as extensions to the MAJOR.MINOR.PATCH format, but will be discussed prior to usage (as extra steps will be necessary in consideration of merging and publishing). - -Additionally you could specify a tag for the change file to group it with other changes by prefixing the bump with `:`, for example: - -```md ---- -'package-a': 'patch:enhance' ---- - -Change summary goes here -``` - -which will group this change file with other changes that specify the `bug` tag. - -For list of available tags, see the `changeTags` key in [./config.json](./config.json) diff --git a/.changes/refactor-codegen-build.md b/.changes/refactor-codegen-build.md deleted file mode 100644 index 7867298b8..000000000 --- a/.changes/refactor-codegen-build.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tauri-build": patch:breaking ---- - -`CodegenContext::build` and `CodegenContext::try_build` have been removed, use `tauri_build::try_build(tauri_build::Attributes::new().codegen(codegen))` instead. diff --git a/.changes/refactor-exit.md b/.changes/refactor-exit.md deleted file mode 100644 index 5ac8e6bb3..000000000 --- a/.changes/refactor-exit.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tauri": patch:breaking ---- - -`AppHandle::exit` and `AppHandle::restart` now go triggers `RunEvent::ExitRequested` and `RunEvent::Exit` and cannot be executed on the event loop handler. diff --git a/.changes/refactor-macros.md b/.changes/refactor-macros.md deleted file mode 100644 index 49b3fb4ed..000000000 --- a/.changes/refactor-macros.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"tauri-macros": 'patch:enhance' -"tauri": 'patch:enhance' ---- - -Refactored the implementation of the `mobile_entry_point` macro. diff --git a/.changes/refactor-on-page-load.md b/.changes/refactor-on-page-load.md deleted file mode 100644 index d241ac25b..000000000 --- a/.changes/refactor-on-page-load.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"tauri": patch:breaking ---- - -Added `WindowBuilder::on_page_load` and refactored the `Builder::on_page_load` handler to take references. -The page load hook is now triggered for load started and finished events, to determine what triggered it see `PageLoadPayload::event`. diff --git a/.changes/refactor-setup.md b/.changes/refactor-setup.md deleted file mode 100644 index 584392242..000000000 --- a/.changes/refactor-setup.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tauri": major:feat ---- - -**Breaking change:** The window creation and setup hook are now called when the event loop is ready. diff --git a/.changes/refactor-tauri-android-dependency.md b/.changes/refactor-tauri-android-dependency.md deleted file mode 100644 index a0bd094ab..000000000 --- a/.changes/refactor-tauri-android-dependency.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"tauri": 'patch:enhance' -"tauri-build": 'patch:enhance' ---- - -Changed how the `tauri-android` dependency is injected. This requires the `gen/android` project to be recreated. diff --git a/.changes/register_asynchronous_uri_scheme_protocol.md b/.changes/register_asynchronous_uri_scheme_protocol.md deleted file mode 100644 index 68617316f..000000000 --- a/.changes/register_asynchronous_uri_scheme_protocol.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tauri": patch:enhance ---- - -Added `Builder::register_asynchronous_uri_scheme_protocol` to allow resolving a custom URI scheme protocol request asynchronously to prevent blocking the main thread. diff --git a/.changes/relative-mobile-args.md b/.changes/relative-mobile-args.md deleted file mode 100644 index 601f9f6a3..000000000 --- a/.changes/relative-mobile-args.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"tauri-cli": patch:enhance -"@tauri-apps/cli": patch:enhance ---- - -Transform paths to relative to the mobile project for the IDE script runner script. diff --git a/.changes/remove-allowlist.md b/.changes/remove-allowlist.md deleted file mode 100644 index 55cf32fb8..000000000 --- a/.changes/remove-allowlist.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -"tauri": 'patch:enhance' -"tauri-utils": 'patch:enhance' -"tauri-cli": 'patch:enhance' -"@tauri-apps/cli": 'patch:enhance' ---- - -Removed the allowlist configuration. diff --git a/.changes/remove-attohttpc.md b/.changes/remove-attohttpc.md deleted file mode 100644 index 239701a7f..000000000 --- a/.changes/remove-attohttpc.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tauri": major:feat ---- - -Removed the attohttpc client. The `reqwest-*` Cargo features were also removed. diff --git a/.changes/remove-clipboard.md b/.changes/remove-clipboard.md deleted file mode 100644 index 4469be99a..000000000 --- a/.changes/remove-clipboard.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -"tauri": 'patch:enhance' -"tauri-runtime": 'patch:enhance' -"tauri-runtime-wry": 'patch:enhance' -"api": 'patch:enhance' ---- - -Moved the `clipboard` feature to its own plugin in the plugins-workspace repository. diff --git a/.changes/remove-fs-apis.md b/.changes/remove-fs-apis.md deleted file mode 100644 index 4c684e941..000000000 --- a/.changes/remove-fs-apis.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tauri": 'patch:enhance' ---- - -Removed extract and move APIs from `tauri::api::file`. diff --git a/.changes/remove-global-shortcut.md b/.changes/remove-global-shortcut.md deleted file mode 100644 index 67017fd1e..000000000 --- a/.changes/remove-global-shortcut.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -"api": 'patch:enhance' -"tauri": 'patch:enhance' -"tauri-runtime": 'patch:enhance' -"tauri-runtime-wry": 'patch:enhance' ---- - -Moved the `global-shortcut` feature to its own plugin in the plugins-workspace repository. diff --git a/.changes/remove-macros-command-module.md b/.changes/remove-macros-command-module.md deleted file mode 100644 index fdf720267..000000000 --- a/.changes/remove-macros-command-module.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tauri-macros": 'patch:enhance' ---- - -Removed the module command macros. diff --git a/.changes/remove-mobile-log.md b/.changes/remove-mobile-log.md deleted file mode 100644 index 3f02355e8..000000000 --- a/.changes/remove-mobile-log.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"tauri": 'patch:enhance' -"tauri-macros": 'patch:enhance' -"tauri-build": 'patch:enhance' ---- - -Removed mobile logging initialization, which will be handled by `tauri-plugin-log`. diff --git a/.changes/remove-sdk-dir.md b/.changes/remove-sdk-dir.md deleted file mode 100644 index c4150a925..000000000 --- a/.changes/remove-sdk-dir.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tauri-build": 'patch:enhance' ---- - -Remove `WindowsAttributes::sdk_dir`. diff --git a/.changes/remove-shell-constructor.md b/.changes/remove-shell-constructor.md deleted file mode 100644 index c8c4b0bbd..000000000 --- a/.changes/remove-shell-constructor.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"api": 'minor:feat' ---- - -Removed shell's `Command` constructor and added the `Command.create` static function instead. diff --git a/.changes/remove-tray-icon-mobile.md b/.changes/remove-tray-icon-mobile.md deleted file mode 100644 index 2ab793e0e..000000000 --- a/.changes/remove-tray-icon-mobile.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"tauri-codegen": 'patch:enhance' -"tauri": 'patch:enhance' ---- - -Refactor the `Context` conditional fields and only parse the tray icon on desktop. diff --git a/.changes/remove-updater-dialog.md b/.changes/remove-updater-dialog.md deleted file mode 100644 index bf12438c4..000000000 --- a/.changes/remove-updater-dialog.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"tauri": 'patch:enhance' -"tauri-utils": 'patch:enhance' ---- - -Remove the updater's dialog option. diff --git a/.changes/remove-updater-event.md b/.changes/remove-updater-event.md deleted file mode 100644 index fcaa80e4e..000000000 --- a/.changes/remove-updater-event.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"tauri": 'patch:enhance' ---- - -Removed `UpdaterEvent`. See `tauri-plugin-updater` for new usage. - diff --git a/.changes/remove-window-url.md b/.changes/remove-window-url.md deleted file mode 100644 index 677f914f3..000000000 --- a/.changes/remove-window-url.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tauri-utils": patch:breaking ---- - -Renamed `config::WindowUrl` to `config::WebviewUrl`. diff --git a/.changes/remove-window.md b/.changes/remove-window.md deleted file mode 100644 index 15662c88e..000000000 --- a/.changes/remove-window.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"tauri": 'patch:enhance' -"api": 'patch:enhance' ---- - -Moved the `window` JS APIs to its own plugin in the plugins-workspace repository. diff --git a/.changes/rename-hook-env-vars.md b/.changes/rename-hook-env-vars.md deleted file mode 100644 index 0b5309a4c..000000000 --- a/.changes/rename-hook-env-vars.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -"@tauri-apps/cli": patch:breaking -"tauri-cli": patch:breaking -"tauri-build": patch:breaking -"tauri-utils": patch:breaking -"tauri-codegen": patch:breaking -"tauri-macros": patch:breaking ---- - -Renamed the beforeDevCommand, beforeBuildCommand and beforeBundleCommand hooks environment variables from `TAURI_PLATFORM, TAURI_ARCH, TAURI_FAMILY, TAURI_PLATFORM_VERSION, TAURI_PLATFORM_TYPE and TAURI_DEBUG` to `TAURI_ENV_PLATFORM, TAURI_ENV_ARCH, TAURI_ENV_FAMILY, TAURI_ENV_PLATFORM_VERSION, TAURI_ENV_PLATFORM_TYPE and TAURI_ENV_DEBUG` to differentiate the prefix with other CLI environment variables. diff --git a/.changes/request-exit.md b/.changes/request-exit.md deleted file mode 100644 index 8f4064058..000000000 --- a/.changes/request-exit.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"tauri-runtime": patch:feat -"tauri-runtime-wry": patch:feat ---- - -Added `RuntimeHandle::request_exit` function. diff --git a/.changes/rewrite-android-manifest.md b/.changes/rewrite-android-manifest.md deleted file mode 100644 index f1244a8cb..000000000 --- a/.changes/rewrite-android-manifest.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tauri-build": patch:feat ---- - -Added the `mobile::update_android_manifest` function. diff --git a/.changes/rfd101.md b/.changes/rfd101.md deleted file mode 100644 index 78feeb53d..000000000 --- a/.changes/rfd101.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"tauri": 'minor:feat' ---- - -Update rfd to 0.11. - diff --git a/.changes/run-event-opened.md b/.changes/run-event-opened.md deleted file mode 100644 index 99c845802..000000000 --- a/.changes/run-event-opened.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tauri": patch:feat ---- - -Expose `RunEvent::Opened` on macOS and iOS for deep link support. diff --git a/.changes/run-iteration-improvements.md b/.changes/run-iteration-improvements.md deleted file mode 100644 index bbe6b7c46..000000000 --- a/.changes/run-iteration-improvements.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tauri": patch:breaking ---- - -Added a callback to the `App::run_iteration` and removed its return value. diff --git a/.changes/run-mobile-plugin.md b/.changes/run-mobile-plugin.md deleted file mode 100644 index 1d18a0b48..000000000 --- a/.changes/run-mobile-plugin.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tauri": 'patch:enhance' ---- - -Added `App::run_mobile_plugin` and `AppHandle::run_mobile_plugin`. diff --git a/.changes/runevent-filedrop.md b/.changes/runevent-filedrop.md deleted file mode 100644 index 02972abda..000000000 --- a/.changes/runevent-filedrop.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -'tauri': 'patch:bug' -'tauri-runtime-wry': 'patch' ---- - -Fix `RunEvent::WindowEvent(event: WindowEvent::FileDrop(FileDropEvent))` never triggered and always prevent default OS behavior when `disable_file_drop_handler` is not used. diff --git a/.changes/runtime-bump-deps.md b/.changes/runtime-bump-deps.md deleted file mode 100644 index 2ccaa99bb..000000000 --- a/.changes/runtime-bump-deps.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tauri-runtime": patch:deps ---- - -Update dependencies. diff --git a/.changes/runtime-create-window-handler.md b/.changes/runtime-create-window-handler.md deleted file mode 100644 index ab624f8e4..000000000 --- a/.changes/runtime-create-window-handler.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -'tauri-runtime': 'minor:breaking' -'tauri-runtime-wry': 'minor:breaking' ---- - -`Dispatch::create_window`, `Runtime::create_window` and `RuntimeHandle::create_window` has been changed to accept a 3rd parameter which is a closure that takes `RawWindow` and to be executed right after the window is created and before the webview is added to the window. diff --git a/.changes/runtime-custom-protocol-async.md b/.changes/runtime-custom-protocol-async.md deleted file mode 100644 index 76967cca0..000000000 --- a/.changes/runtime-custom-protocol-async.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tauri-runtime": patch:enhance ---- - -Changed custom protocol closure type to enable asynchronous usage. diff --git a/.changes/runtime-defaultvbox.md b/.changes/runtime-defaultvbox.md deleted file mode 100644 index 51c38df25..000000000 --- a/.changes/runtime-defaultvbox.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'tauri-runtime-wry': 'minor:feat' ---- - -Add `Dispatch::default_vbox` diff --git a/.changes/runtime-menu-system-tray.md b/.changes/runtime-menu-system-tray.md deleted file mode 100644 index 491022356..000000000 --- a/.changes/runtime-menu-system-tray.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -'tauri-runtime': 'major:breaking' -'tauri-runtime-wry': 'major:breaking' ---- - -System tray and menu related APIs and structs have all been removed and are now implemented in tauri outside of the runtime-space. diff --git a/.changes/runtime-monitor.md b/.changes/runtime-monitor.md deleted file mode 100644 index 91f1f764e..000000000 --- a/.changes/runtime-monitor.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"tauri-runtime": "minor:feat" -"tauri-runtime-wry": "minor:feat" ---- - -Added `primary_monitor` and `available_monitors` to `Runtime` and `RuntimeHandle`. diff --git a/.changes/runtime-navigate-method.md b/.changes/runtime-navigate-method.md deleted file mode 100644 index 0f907aa7d..000000000 --- a/.changes/runtime-navigate-method.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tauri-runtime": 'minor:feat' ---- - -Added `navigate` function to `Dispatch` trait. diff --git a/.changes/runtime-navigation-handler-url-arg.md b/.changes/runtime-navigation-handler-url-arg.md deleted file mode 100644 index b6f48f689..000000000 --- a/.changes/runtime-navigation-handler-url-arg.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tauri-runtime": patch:breaking ---- - -The `PendingWindow#navigation_handler` closure now receives a `&Url` argument instead of `Url`. diff --git a/.changes/runtime-new-args.md b/.changes/runtime-new-args.md deleted file mode 100644 index e5fc889af..000000000 --- a/.changes/runtime-new-args.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -'tauri-runtime': 'minor:breaking' -'tauri-runtime-wry': 'minor:breaking' ---- - -`Runtime::new` and `Runtime::new_any_thread` now accept a `RuntimeInitArgs`. diff --git a/.changes/runtime-on-download-hooks.md b/.changes/runtime-on-download-hooks.md deleted file mode 100644 index 3f2a0d31e..000000000 --- a/.changes/runtime-on-download-hooks.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"tauri-runtime": patch:feat -"tauri-runtime-wry": patch:feat ---- - -Added download event closure via `PendingWindow::download_handler`. diff --git a/.changes/runtime-opened-event.md b/.changes/runtime-opened-event.md deleted file mode 100644 index 81a1ed9ee..000000000 --- a/.changes/runtime-opened-event.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"tauri-runtime": minor:feat -"tauri-runtime-wry": minor:feat ---- - -Added the `Opened` variant to `RunEvent`. diff --git a/.changes/runtime-wry-window-close-event.md b/.changes/runtime-wry-window-close-event.md deleted file mode 100644 index 6653f7fec..000000000 --- a/.changes/runtime-wry-window-close-event.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tauri-runtime-wry": patch:breaking ---- - -`WindowDispatch::close` now triggers the `CloseRequested` flow. diff --git a/.changes/safepathbuf-refactor.md b/.changes/safepathbuf-refactor.md deleted file mode 100644 index c915f3634..000000000 --- a/.changes/safepathbuf-refactor.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tauri": 'patch:enhance' ---- - -Expose `SafePathBuf` type in `tauri::path`. diff --git a/.changes/set-progress-bar-api.md b/.changes/set-progress-bar-api.md deleted file mode 100644 index f709d61b9..000000000 --- a/.changes/set-progress-bar-api.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@tauri-apps/api": patch:feat ---- - -Added the `setProgressBar` API on the `Window` class. diff --git a/.changes/set_native_icon_signature.md b/.changes/set_native_icon_signature.md deleted file mode 100644 index 774420baf..000000000 --- a/.changes/set_native_icon_signature.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tauri": 'patch:bug' ---- - -Changed `IconMenuItem::set_native_icon` signature to take `&self` instead of `&mut self` to fix compilation error on macos. diff --git a/.changes/shadow-api.md b/.changes/shadow-api.md deleted file mode 100644 index 01b7797aa..000000000 --- a/.changes/shadow-api.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@tauri-apps/api': 'minor:feat' ---- - -Added the `shadow` option when creating a window and `setShadow` function. diff --git a/.changes/shadow-config.md b/.changes/shadow-config.md deleted file mode 100644 index 6d01ed00d..000000000 --- a/.changes/shadow-config.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'tauri-utils': 'minor:feat' ---- - -Added the `shadow` option to the window configuration and `set_shadow` option to the `window` allow list. diff --git a/.changes/shadow.md b/.changes/shadow.md deleted file mode 100644 index 1eb40dda0..000000000 --- a/.changes/shadow.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -'tauri': 'minor:feat' -'tauri-runtime-wry': 'minor:feat' -'tauri-runtime': 'minor:feat' ---- - -Added the `shadow` option when creating a window and `Window::set_shadow`. diff --git a/.changes/shadows-default-on.md b/.changes/shadows-default-on.md deleted file mode 100644 index e46ed93a8..000000000 --- a/.changes/shadows-default-on.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'tauri': 'patch:enhance' ---- - -Enable shadows by default. diff --git a/.changes/simplify-ios-plugin-init-fn.md b/.changes/simplify-ios-plugin-init-fn.md deleted file mode 100644 index 099d9e118..000000000 --- a/.changes/simplify-ios-plugin-init-fn.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tauri": 'patch:enhance' ---- - -Change iOS plugin init function signature to `func init_plugin() -> Plugin`. diff --git a/.changes/skip-target-install-arg.md b/.changes/skip-target-install-arg.md deleted file mode 100644 index 98e96702c..000000000 --- a/.changes/skip-target-install-arg.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -'tauri-cli': 'patch:enhance' -'@tauri-apps/cli': 'patch:enhance' ---- - -Add `--skip-targets-install` flag for `tauri android init` and `tauri ios init` to skip installing needed rust targets vie rustup. diff --git a/.changes/state-0.6.md b/.changes/state-0.6.md deleted file mode 100644 index 7efc9c0f0..000000000 --- a/.changes/state-0.6.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tauri": patch:deps ---- - -Update `state` to v0.6. diff --git a/.changes/submenu-and-menu-builders-item-and-id.md b/.changes/submenu-and-menu-builders-item-and-id.md deleted file mode 100644 index 37889a40e..000000000 --- a/.changes/submenu-and-menu-builders-item-and-id.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'tauri': 'patch:breaking' ---- - -Changed `MenuBuilder\SubmenuBuilder::text`, `MenuBuilder\SubmenuBuilder::check`, `MenuBuilder\SubmenuBuilder::icon` and `MenuBuilder\SubmenuBuilder::native_icon` to take an `id` as the first argument. diff --git a/.changes/syn-2.0.md b/.changes/syn-2.0.md deleted file mode 100644 index 3ea03d003..000000000 --- a/.changes/syn-2.0.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tauri-macros": patch:deps ---- - -Update to syn v2. diff --git a/.changes/system-tray-feat.md b/.changes/system-tray-feat.md deleted file mode 100644 index 2516e4e43..000000000 --- a/.changes/system-tray-feat.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -'tauri-runtime': 'major:breaking' -'tauri-runtime-wry': 'major:breaking' ---- - -Removed `system-tray` feature flag diff --git a/.changes/target-dir-detection.md b/.changes/target-dir-detection.md deleted file mode 100644 index c77b1adb7..000000000 --- a/.changes/target-dir-detection.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"tauri-cli": 'patch:enhance' -"@tauri-apps/cli": 'patch:enhance' ---- - -Fix target directory detection when compiling for Android. diff --git a/.changes/tauri-api-removal.md b/.changes/tauri-api-removal.md deleted file mode 100644 index b6c728d03..000000000 --- a/.changes/tauri-api-removal.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'tauri': 'major:breaking' ---- - -Removed `tauri::api` module as most apis have been moved to either a plugin or we recommend using other crates. diff --git a/.changes/tauri-app-handle-ref.md b/.changes/tauri-app-handle-ref.md deleted file mode 100644 index 7afc2171e..000000000 --- a/.changes/tauri-app-handle-ref.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'tauri': 'major:breaking' ---- - -Changed `App::handle` and `Manager::app_handle` to return a reference to an `AppHandle` instead of an owned value. diff --git a/.changes/tauri-asset-protocol.md b/.changes/tauri-asset-protocol.md deleted file mode 100644 index f90bb6b1e..000000000 --- a/.changes/tauri-asset-protocol.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'tauri': 'patch:bug' ---- - -Fix `asset` protocol failing to fetch files. diff --git a/.changes/tauri-build-config-json.md b/.changes/tauri-build-config-json.md deleted file mode 100644 index 9e27852e9..000000000 --- a/.changes/tauri-build-config-json.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'tauri-build': 'patch:enhance' ---- - -Add `config-json` cargo feature flag (enabled by default) to. Disabling this feature flag will stop cargo from rebuilding when `tauri.conf.json` changes, see [#8721](https://github.com/tauri-apps/tauri/issues/8721) for more info. diff --git a/.changes/tauri-build-mobile.md b/.changes/tauri-build-mobile.md deleted file mode 100644 index 4e55d09cf..000000000 --- a/.changes/tauri-build-mobile.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tauri-build": 'minor:feat' ---- - -Add `mobile::PluginBuilder` for running build tasks related to Tauri plugins. diff --git a/.changes/tauri-build-resource-compiler.md b/.changes/tauri-build-resource-compiler.md deleted file mode 100644 index 876d707db..000000000 --- a/.changes/tauri-build-resource-compiler.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tauri-build": 'patch:bug' ---- - -Fixed an issue that caused the resource compiler to not run on Windows when `package.version` was not set in `tauri.conf.json` preventing the app from starting. diff --git a/.changes/tauri-bundle-settings-rfc-5.md b/.changes/tauri-bundle-settings-rfc-5.md deleted file mode 100644 index ca963edaf..000000000 --- a/.changes/tauri-bundle-settings-rfc-5.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'tauri-bundler': 'major:breaking' ---- - -- Removed all license fields from `WixSettings`, `NsisSettings` and `MacOsSettings` and replaced with `license` and `license_file` fields in `BundlerSettings`. diff --git a/.changes/tauri-cleanup-before-exit.md b/.changes/tauri-cleanup-before-exit.md deleted file mode 100644 index ff99c9215..000000000 --- a/.changes/tauri-cleanup-before-exit.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'tauri': 'minor:feat' ---- - -Add `App::cleanup_before_exit` and `AppHandle::cleanup_before_exit` to manually call the cleanup logic. **You should always exit the tauri app immediately after this function returns and not use any tauri-related APIs.** diff --git a/.changes/tauri-close-requested-another-webview.md b/.changes/tauri-close-requested-another-webview.md deleted file mode 100644 index d8d7a1efa..000000000 --- a/.changes/tauri-close-requested-another-webview.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'tauri': 'patch:bug' ---- - -Fix can not prevent closing a window from another webview. diff --git a/.changes/tauri-common-control.md b/.changes/tauri-common-control.md deleted file mode 100644 index 2cf07bc29..000000000 --- a/.changes/tauri-common-control.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'tauri': 'patch:enhance' ---- - -Add `common-controls-v6` cargo feature flag (enabled by default). diff --git a/.changes/tauri-custom-protcol-for-window-url.md b/.changes/tauri-custom-protcol-for-window-url.md deleted file mode 100644 index 95f3bb1b8..000000000 --- a/.changes/tauri-custom-protcol-for-window-url.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'tauri': 'patch:enhance' ---- - -Allow IPC calls when window origin is a defined custom protocol. diff --git a/.changes/tauri-decorated-transparent.md b/.changes/tauri-decorated-transparent.md deleted file mode 100644 index 69e115903..000000000 --- a/.changes/tauri-decorated-transparent.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -'tauri': 'patch:bug' -'tauri-runtime-wry': 'patch' ---- - -On Windows, fix decorated window not transparent initially until resized. diff --git a/.changes/tauri-defaultvbox.md b/.changes/tauri-defaultvbox.md deleted file mode 100644 index 967fb66f4..000000000 --- a/.changes/tauri-defaultvbox.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'tauri': 'minor:feat' ---- - -On Linux, add `Window::default_vbox` to get a reference to the `gtk::Box` that contains the menu bar and the webview. diff --git a/.changes/tauri-env-args.md b/.changes/tauri-env-args.md deleted file mode 100644 index 8c02c9b2f..000000000 --- a/.changes/tauri-env-args.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'tauri': 'major:breaking' ---- - -Changed `Env.args` to `Env.args_os` and now uses `OsString` instead of `String` diff --git a/.changes/tauri-env-vars.md b/.changes/tauri-env-vars.md deleted file mode 100644 index fe27b5105..000000000 --- a/.changes/tauri-env-vars.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'tauri-runtime-wry': 'major:breaking' ---- - -Check if automation is enabled with the `TAURI_WEBVIEW_AUTOMATION` environment variable instead of `TAURI_AUTOMATION`. diff --git a/.changes/tauri-event-after-multiwebview.md b/.changes/tauri-event-after-multiwebview.md deleted file mode 100644 index 39d54cdfc..000000000 --- a/.changes/tauri-event-after-multiwebview.md +++ /dev/null @@ -1,12 +0,0 @@ ---- -'tauri': 'patch:breaking' ---- - -Refactored the event system to better accommodate the new window types: - -- Added `EventTarget` enum. -- Added `App/AppHandle::listen`, `App/AppHandle::once` and `App/AppHandle::unlisten` to listen to events targeting `App/AppHandle` -- `App/AppHandle/Window/Webview/WebviewWindow::emit` will now emit to all event listeners. -- `App/AppHandle/Window/Webview/WebviewWindow::emit_to` will emit to event targets that match the given label, see `EventTarget` enum. -- `App/AppHandle/Window/Webview/WebviewWindow::emit_filter` will emit to event targets based on a filter callback which now takes `&EventTarget` instead of `&Window`. -- Renamed `Manager::listen_global` and `Manager::once_global` to `listen_any` and `once_any` respectively to be consistent with `EventTarget::Any`, it will now also listen to any event to any target (aka event sniffer). diff --git a/.changes/tauri-event-enum-refactor.md b/.changes/tauri-event-enum-refactor.md deleted file mode 100644 index e0be49b6d..000000000 --- a/.changes/tauri-event-enum-refactor.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@tauri-apps/api": patch:breaking ---- - -Renamed `TauriEvent.WINDOW_FILE_DROP` to `TauriEvent.WEBVIEW_FILE_DROP`, `TauriEvent.WINDOW_FILE_DROP_HOVER` to `TauriEvent.WEBVIEW_FILE_DROP_HOVER` and `TauriEvent.WINDOW_FILE_DROP_CANCELLED` to `TauriEvent.WEBVIEW_FILE_DROP_CANCELLED`. diff --git a/.changes/tauri-event-system-apis.md b/.changes/tauri-event-system-apis.md deleted file mode 100644 index adc60a5a0..000000000 --- a/.changes/tauri-event-system-apis.md +++ /dev/null @@ -1,12 +0,0 @@ ---- -'tauri': 'major:breaking' ---- - -The event system APIS on Rust is recieving a few changes for consistency and quality of life improvements: - -- Renamed `Manager::emit_all` to just `Manager::emit` and will now both trigger the events on JS side as well as Rust. -- Removed `Manager::trigger_global`, use `Manager::emit` -- Added `Manager::emit_filter`. -- Removed `Window::emit`, and moved the implementation to `Manager::emit`. -- Removed `Window::emit_and_trigger` and `Window::trigger`, use `Window::emit` instead. -- Changed `Window::emit_to` to only trigger the target window listeners so it won't be catched by `Manager::listen_global` diff --git a/.changes/tauri-extranous-result-types-removal.md b/.changes/tauri-extranous-result-types-removal.md deleted file mode 100644 index 91ef1c3ab..000000000 --- a/.changes/tauri-extranous-result-types-removal.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -'tauri': 'major:breaking' ---- - -- Removed `tauri::path::Error` and added its variants to `tauri::Error` -- Removed `tauri::path::Result` and `tauri::plugin::Result` aliases, you should use `tauri::Result` or your own `Result` type. diff --git a/.changes/tauri-libxdo-feat.md b/.changes/tauri-libxdo-feat.md deleted file mode 100644 index 648376946..000000000 --- a/.changes/tauri-libxdo-feat.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'tauri': 'minor:feat' ---- - -Add `linux-libxdo` feature flag (disabled by default) to enable linking to `libxdo` which is used to make `Cut`, `Copy`, `Paste` and `SelectAll` native menu items work on Linux. diff --git a/.changes/tauri-menu-predefined-close-wiwndow.md b/.changes/tauri-menu-predefined-close-wiwndow.md deleted file mode 100644 index 42c8b81fd..000000000 --- a/.changes/tauri-menu-predefined-close-wiwndow.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tauri": "patch:bug" ---- - -Fix incorrect menu item for `PredefinedMenuItem::close_window` \ No newline at end of file diff --git a/.changes/tauri-menu-tray-refactor.md b/.changes/tauri-menu-tray-refactor.md deleted file mode 100644 index 7c21970ce..000000000 --- a/.changes/tauri-menu-tray-refactor.md +++ /dev/null @@ -1,17 +0,0 @@ ---- -'tauri': 'major:breaking' ---- - -The tray icon and menu have received a huge refactor with a lot of breaking changes in order to add new functionalities and improve the DX around using them and here is an overview of the changes: - -- All menu and tray types are now exported from `tauri::menu` and `tauri::tray` modules with new names so make sure to check the new types. -- Removed `tauri::Builder::system_tray`, instead you should use `tauri::tray::TrayIconBuilder` inside `tauri::Builder::setup` hook to create your tray icons. -- Changed `tauri::Builder::menu` to be a function to accomodate for new menu changes, you can passe `tauri::menu::Menu::default` to it to create a default menu. -- Renamed `tauri::Context` methods `system_tray_icon`, `tauri::Context::system_tray_icon_mut` and `tauri::Context::set_system_tray_icon` to `tauri::Context::tray_icon`, `tauri::Context::tray_icon_mut` and `tauri::Context::set_tray_icon` to be consistent with new type names. -- Added `RunEvent::MenuEvent` and `RunEvent::TrayIconEvent`. -- Added `App/AppHandle::set_menu`, `App/AppHandle::remove_menu`, `App/AppHandle::show_menu`, `App/AppHandle::hide_menu` and `App/AppHandle::menu` to access, remove, hide or show the app-wide menu that is used as the global menu on macOS and on all windows that don't have a specific menu set for it on Windows and Linux. -- Added `Window::set_menu`, `Window::remove_menu`, `Window::show_menu`, `Window::hide_menu`, `Window::is_menu_visible` and `Window::menu` to access, remove, hide or show the menu on this window. -- Added `Window::popup_menu` and `Window::popup_menu_at` to show a context menu on the window at the cursor position or at a specific position. You can also popup a context menu using `popup` and `popup_at` methods from `ContextMenu` trait which is implemented for `Menu` and `Submenu` types. -- Added `App/AppHandle::tray`, `App/AppHandle::tray_by_id`, `App/AppHandle::remove_tray` and `App/AppHandle::remove_tray_by_id` to access or remove a registered tray. -- Added `WindowBuilder/App/AppHandle::on_menu_event` to register a new menu event handler. -- Added `App/AppHandle::on_tray_icon_event` to register a new tray event handler. diff --git a/.changes/tauri-mobile-entry-point.md b/.changes/tauri-mobile-entry-point.md deleted file mode 100644 index 35e06db71..000000000 --- a/.changes/tauri-mobile-entry-point.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tauri": 'minor:feat' ---- - -Export types required by the `mobile_entry_point` macro. diff --git a/.changes/tauri-nsview.md b/.changes/tauri-nsview.md deleted file mode 100644 index e50bfb0b2..000000000 --- a/.changes/tauri-nsview.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'tauri': 'minor:feat' ---- - -On macOS, add `Window::ns_view` to get a pointer to the NSWindow content view. diff --git a/.changes/tauri-parent-owner.md b/.changes/tauri-parent-owner.md deleted file mode 100644 index 73dddadfb..000000000 --- a/.changes/tauri-parent-owner.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'tauri': 'patch:feat' ---- - -Add `WindowBuilder::parent` which is a convenient wrapper around parent functionality for Windows, Linux and macOS. Also added `WindowBuilder::owner` on Windows only. Also added `WindowBuilder::transient_for` and `WindowBuilder::transient_for_raw` on Linux only. diff --git a/.changes/tauri-remove-global-window-event-type.md b/.changes/tauri-remove-global-window-event-type.md deleted file mode 100644 index 390f19378..000000000 --- a/.changes/tauri-remove-global-window-event-type.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'tauri': 'major:breaking' ---- - -Removed `GlobalWindowEvent` struct, and unpacked its field to be passed directly to `tauri::Builder::on_window_event`. diff --git a/.changes/tauri-remove-parent-window.md b/.changes/tauri-remove-parent-window.md deleted file mode 100644 index 20502ee1b..000000000 --- a/.changes/tauri-remove-parent-window.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'tauri': 'patch:breaking' ---- - -Renamed `WindowBuilder::owner_window` to `WindowBuilder::owner_raw` and `WindowBuilder::parent_window` to `WindowBuilder::parent_raw`. diff --git a/.changes/tauri-resources-table.md b/.changes/tauri-resources-table.md deleted file mode 100644 index ac695f9c0..000000000 --- a/.changes/tauri-resources-table.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'tauri': 'patch:feat' ---- - -Exposed `Manager::resources_table` to access the resources table used by tauri, which could be used by plugins or app authors to store their resources and retrieve it later using an id and can be used to create Rust-backed resources in JS. diff --git a/.changes/tauri-run_on_main_thread.md b/.changes/tauri-run_on_main_thread.md deleted file mode 100644 index a9bbc7a29..000000000 --- a/.changes/tauri-run_on_main_thread.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'tauri': 'minor:feat' ---- - -Expose `run_on_main_thread` method on `App` that is similar to `AppHandle::run_on_main_thread`. diff --git a/.changes/tauri-runtime-remove-parent-window.md b/.changes/tauri-runtime-remove-parent-window.md deleted file mode 100644 index 0b94874e6..000000000 --- a/.changes/tauri-runtime-remove-parent-window.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -'tauri-runtime': 'patch' -'tauri-runtime-wry': 'patch' ---- - -Added `WindowBuilder::transient_for` and Renamed `WindowBuilder::owner_window` to `WindowBuilder::owner` and `WindowBuilder::parent_window` to `WindowBuilder::parent`. diff --git a/.changes/tauri-runtime-uuid.md b/.changes/tauri-runtime-uuid.md deleted file mode 100644 index 65d6b1268..000000000 --- a/.changes/tauri-runtime-uuid.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'tauri-runtime': 'patch:breaking' ---- - -Added `WindowEventId` type and Changed `Dispatch::on_window_event` return type from `Uuid` to `WindowEventId` diff --git a/.changes/tauri-runtime-wry-env-vars.md b/.changes/tauri-runtime-wry-env-vars.md deleted file mode 100644 index 6255b939e..000000000 --- a/.changes/tauri-runtime-wry-env-vars.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'tauri': 'major:breaking' ---- - -Changed `TAURI_AUTOMATION` to `TAURI_WEBVIEW_AUTOMATION` diff --git a/.changes/tauri-runtime-wry-uuid.md b/.changes/tauri-runtime-wry-uuid.md deleted file mode 100644 index 427b293ae..000000000 --- a/.changes/tauri-runtime-wry-uuid.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'tauri-runtime-wry': 'patch:breaking' ---- - -Changed `WebviewId` to be an alias for `u32` instead of `u64` diff --git a/.changes/tauri-runtime-wry-wry-0-28.md b/.changes/tauri-runtime-wry-wry-0-28.md deleted file mode 100644 index 6225b352b..000000000 --- a/.changes/tauri-runtime-wry-wry-0-28.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'tauri-runtime-wry': 'patch:enhance' ---- - -Update `wry` to `0.28` diff --git a/.changes/tauri-scopes.md b/.changes/tauri-scopes.md deleted file mode 100644 index 76767c18a..000000000 --- a/.changes/tauri-scopes.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -'tauri': 'patch:breaking' ---- - -`tauri::scope` module is recieving a couple of consistency changes: - -- Added `tauri::scope::fs` module. -- Removed `scope::IpcScope` re-export, use `scope::ipc::Scope`. -- Removed `FsScope`, `GlobPattern` and `FsScopeEvent`, use `scope::fs::Scope`, `scope::fs::Pattern` and `scope::fs::Event` respectively. diff --git a/.changes/tauri-tabbed.md b/.changes/tauri-tabbed.md deleted file mode 100644 index db9638156..000000000 --- a/.changes/tauri-tabbed.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tauri": "patch:feat" ---- - -On Windows, add `Effect::Tabbed`,`Effect::TabbedDark` and `Effect::TabbedLight` effects. diff --git a/.changes/tauri-tray-icon-feat-flag.md b/.changes/tauri-tray-icon-feat-flag.md deleted file mode 100644 index 7bbad7a65..000000000 --- a/.changes/tauri-tray-icon-feat-flag.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'tauri': 'major:breaking' ---- - -Renamed `system-tray` feature flag to `tray-icon`. diff --git a/.changes/tauri-tray-icon-id.md b/.changes/tauri-tray-icon-id.md deleted file mode 100644 index 5e42a4fda..000000000 --- a/.changes/tauri-tray-icon-id.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'tauri': 'patch:enhance' ---- - -Set `main` as the default `id` for the tray icon registered from the configuration file, so if the `id` is not specified, it can be retrieved using `app.tray_by_id("main")`. diff --git a/.changes/tauri-tray-on-tray-event.md b/.changes/tauri-tray-on-tray-event.md deleted file mode 100644 index 89abc7cae..000000000 --- a/.changes/tauri-tray-on-tray-event.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'tauri': 'patch:breaking' ---- - -Changed `TrayIconBuilder/TrayIcon::on_tray_event` to `TrayIconBuilder/TrayIcon::on_tray_icon_event` for consistency of naming. diff --git a/.changes/tauri-undecorated-resizing.md b/.changes/tauri-undecorated-resizing.md deleted file mode 100644 index b9077636f..000000000 --- a/.changes/tauri-undecorated-resizing.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'tauri': 'patch:bug' ---- - -Fix undecorated window resizing on Windows and Linux. diff --git a/.changes/tauri-utils-config-error-box.md b/.changes/tauri-utils-config-error-box.md deleted file mode 100644 index c67ec5ba0..000000000 --- a/.changes/tauri-utils-config-error-box.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'tauri-utils': 'patch:breaking' ---- - -Changed `error` field in `ConfigError::FormatToml` to be boxed `Box` to reduce the enum `ConfigError` size in memory. diff --git a/.changes/tauri-utils-config-parent.md b/.changes/tauri-utils-config-parent.md deleted file mode 100644 index 11d42493b..000000000 --- a/.changes/tauri-utils-config-parent.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'tauri-utils': 'patch:feat' ---- - -Add `parent` option for window config. diff --git a/.changes/tauri-utils-dist-dir-optional.md b/.changes/tauri-utils-dist-dir-optional.md deleted file mode 100644 index b88b0f868..000000000 --- a/.changes/tauri-utils-dist-dir-optional.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'tauri-utils': 'patch:breaking' ---- - -Changed `dist_dir` and `dev_path` config options to be optional. diff --git a/.changes/tauri-utils-tabbed.md b/.changes/tauri-utils-tabbed.md deleted file mode 100644 index 6de589411..000000000 --- a/.changes/tauri-utils-tabbed.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"tauri-utils": "patch:feat" ---- - -On Windows, add `WindowEffect::Tabbed`,`WindowEffect::TabbedDark` and `WindowEffect::TabbedLight` - diff --git a/.changes/tauri-utils-tray-icon-id copy.md b/.changes/tauri-utils-tray-icon-id copy.md deleted file mode 100644 index 6f1eea9be..000000000 --- a/.changes/tauri-utils-tray-icon-id copy.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'tauri-utils': 'patch:enhance' ---- - -Add an option to specify `id` for the tray icon in the tauri configuration file. diff --git a/.changes/tauri-utils-webivew-url-custom-protocol.md b/.changes/tauri-utils-webivew-url-custom-protocol.md deleted file mode 100644 index 4342d999d..000000000 --- a/.changes/tauri-utils-webivew-url-custom-protocol.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'tauri-utils': 'patch:feat' ---- - -Add `WebviewUrl::CustomProtocol` enum variant. diff --git a/.changes/tauri-utils-windows-version.md b/.changes/tauri-utils-windows-version.md deleted file mode 100644 index d755a8f4a..000000000 --- a/.changes/tauri-utils-windows-version.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'tauri-utils': 'minor:breaking' ---- - -Removed `platform::windows_version` and `platform::is_windows_7`, use `windows-version` crate instead. diff --git a/.changes/tauri-uuid-rand.md b/.changes/tauri-uuid-rand.md deleted file mode 100644 index af1a51533..000000000 --- a/.changes/tauri-uuid-rand.md +++ /dev/null @@ -1,15 +0,0 @@ ---- -'tauri': 'patch:breaking' ---- - -This release contains a number of breaking changes to improve the consistency of tauri internals and the public facing APIs -and simplifying the types where applicable: - -- Removed `EventHandler` type. -- Added `EventId` type -- Changed `Manager::listen_global` and `Window::listen` to return the new `EventId` type instead of `EventHandler`. -- Removed the return type of `Manager::once_global` and `Window::once` -- Changed `Manager::unlisten` and `Window::unlisten` to take he new `EventId` type. -- Added `tauri::scope::ScopeEventId` -- Changed `FsScope::listen` to return the new `ScopeEventId` instead of `Uuid`. -- Added `FsScope::unlisten` diff --git a/.changes/tauri-window-builder-from-config.md b/.changes/tauri-window-builder-from-config.md deleted file mode 100644 index 8a3bdb8a5..000000000 --- a/.changes/tauri-window-builder-from-config.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'tauri': 'patch:breaking' ---- - -Changed `WindowBuilder::from_config` to return a `Result`. diff --git a/.changes/tauri-window-builder-with-config-ref.md b/.changes/tauri-window-builder-with-config-ref.md deleted file mode 100644 index 8baaba91a..000000000 --- a/.changes/tauri-window-builder-with-config-ref.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -'tauri-runtime': 'patch:breaking' -'tauri-runtime-wry': 'patch:breaking' ---- - -Changed `WindowBuilder::with_config` to take a reference to a `WindowConfig` instead of an owned value. diff --git a/.changes/tauri-window-start-resize-dragging.md b/.changes/tauri-window-start-resize-dragging.md deleted file mode 100644 index 8b3125fb5..000000000 --- a/.changes/tauri-window-start-resize-dragging.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -'tauri': 'patch:feat' -'tauri-runtime': 'patch' -'tauri-runtime-wry': 'patch' ---- - -Add `Window::start_resize_dragging` and `ResizeDirection` enum. diff --git a/.changes/tempdir-api.md b/.changes/tempdir-api.md deleted file mode 100644 index 6a16a157a..000000000 --- a/.changes/tempdir-api.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@tauri-apps/api': 'patch:enhance' ---- - -Add `tempDir` function to `path` module diff --git a/.changes/tempdir-core.md b/.changes/tempdir-core.md deleted file mode 100644 index e16b80f12..000000000 --- a/.changes/tempdir-core.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'tauri': 'patch:enhance' ---- - -Add `temp_dir` method to `PathResolver` diff --git a/.changes/tls-features-automatically-enabled.md b/.changes/tls-features-automatically-enabled.md deleted file mode 100644 index e8629a839..000000000 --- a/.changes/tls-features-automatically-enabled.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"tauri-cli": 'patch:enhance' -"@tauri-apps/cli": 'patch:enhance' ---- - -Automatically enable the `rustls-tls` tauri feature on mobile and `native-tls` on desktop if `rustls-tls` is not enabled. diff --git a/.changes/tls-features-refactor.md b/.changes/tls-features-refactor.md deleted file mode 100644 index 8dd54f548..000000000 --- a/.changes/tls-features-refactor.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tauri": 'patch:enhance' ---- - -Renamed the `default-tls` feature to `native-tls` and added `rustls-tls` feature. diff --git a/.changes/tracing.md b/.changes/tracing.md deleted file mode 100644 index baee89fdb..000000000 --- a/.changes/tracing.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"tauri": patch:enhance -"tauri-runtime-wry": patch:enhance -"tauri-macros": patch:enhance ---- - -Added tracing for window startup, plugins, `Window::eval`, events, IPC, updater and custom protocol request handlers behind the `tracing` feature flag. diff --git a/.changes/ubuntu-20.04-cli.js.md b/.changes/ubuntu-20.04-cli.js.md deleted file mode 100644 index 640558ce4..000000000 --- a/.changes/ubuntu-20.04-cli.js.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@tauri-apps/cli": 'patch:enhance' ---- - -Use Ubuntu 20.04 to compile the CLI, increasing the minimum libc version required. diff --git a/.changes/ubuntu-20.04-cli.rs.md b/.changes/ubuntu-20.04-cli.rs.md deleted file mode 100644 index 58f0adc76..000000000 --- a/.changes/ubuntu-20.04-cli.rs.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tauri-cli": 'patch:enhance' ---- - -- Use Ubuntu 20.04 to compile the CLI for cargo-binstall, increasing the minimum libc required. diff --git a/.changes/update-entitlements-api.md b/.changes/update-entitlements-api.md deleted file mode 100644 index ccf53a63e..000000000 --- a/.changes/update-entitlements-api.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tauri-build": patch:feat ---- - -Added the `mobile::update_entitlements` function for iOS. diff --git a/.changes/update-mobile-template.md b/.changes/update-mobile-template.md deleted file mode 100644 index cf2197968..000000000 --- a/.changes/update-mobile-template.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"tauri-cli": patch:breaking -"@tauri-apps/cli": patch:breaking ---- - -Updated the mobile plugin templates following the tauri v2.0.0-alpha.17 changes. diff --git a/.changes/update-template-for-permissions.md b/.changes/update-template-for-permissions.md deleted file mode 100644 index f8de47538..000000000 --- a/.changes/update-template-for-permissions.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"tauri-cli": patch:enhance -"@tauri-apps/cli": patch:enhance ---- - -Update app and plugin template following the new access control permission model. diff --git a/.changes/validate-appimage.md b/.changes/validate-appimage.md deleted file mode 100644 index 9a6367a82..000000000 --- a/.changes/validate-appimage.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tauri": patch:bug ---- - -Fix the validation of `std::env::current_exe` warn the user if AppImage is not mounted instead of panicking diff --git a/.changes/webdriver-webview-options.md b/.changes/webdriver-webview-options.md deleted file mode 100644 index 1b43803ed..000000000 --- a/.changes/webdriver-webview-options.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tauri-driver": patch:feat ---- - -Added `webviewOptions` object to the `tauri:options` capability to configure the [Edge webview options](https://learn.microsoft.com/en-us/microsoft-edge/webdriver-chromium/capabilities-edge-options#webviewoptions-object) on Windows. diff --git a/.changes/webview-proxy.md b/.changes/webview-proxy.md deleted file mode 100644 index 633a0cc84..000000000 --- a/.changes/webview-proxy.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -'tauri': 'minor:feat' -'tauri-utils': 'minor:feat' -'tauri-runtime-wry': 'minor' -'tauri-runtime': 'minor' ---- - -Added the `WindowConfig::proxy_url` `WebviewBuilder::proxy_url() / WebviewWindowBuilder::proxy_url()` options when creating a webview. diff --git a/.changes/webview-window-api.md b/.changes/webview-window-api.md deleted file mode 100644 index caa116642..000000000 --- a/.changes/webview-window-api.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@tauri-apps/api": patch:breaking ---- - -Added back the `WebviewWindow` API that exposes functionality of a window that hosts a single webview. The dedicated `Window` and `Webview` types are exposed for multiwebview features. diff --git a/.changes/webview-window-refactor.md b/.changes/webview-window-refactor.md deleted file mode 100644 index 9c52f82c6..000000000 --- a/.changes/webview-window-refactor.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tauri": patch:breaking ---- - -Renamed `Window` to `WebviewWindow`, `WindowBuilder` to `WebviewWindowBuilder`, `Manager::windows` to `Manager::webview_windows` and `Manager::get_window` to `Manager::get_webview_window`. diff --git a/.changes/window-close-requested.md b/.changes/window-close-requested.md deleted file mode 100644 index b1a33f9c9..000000000 --- a/.changes/window-close-requested.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"tauri": patch:breaking -"@tauri-apps/api": patch:breaking ---- - -`Window::close` now triggers a close requested event instead of forcing the window to be closed. diff --git a/.changes/window-data-url-rename.md b/.changes/window-data-url-rename.md deleted file mode 100644 index dc4440a2b..000000000 --- a/.changes/window-data-url-rename.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tauri": patch:breaking ---- - -Renamed the `window-data-url` feature flag to `webview-data-url`. diff --git a/.changes/window-effects-api.md b/.changes/window-effects-api.md deleted file mode 100644 index 44e25bb01..000000000 --- a/.changes/window-effects-api.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@tauri-apps/api': 'minor:feat' ---- - -Added the `windowEffects` option when creating a window and `setWindowEffects` method to change it at runtime. diff --git a/.changes/window-effects-config.md b/.changes/window-effects-config.md deleted file mode 100644 index 941771324..000000000 --- a/.changes/window-effects-config.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'tauri-utils': 'minor:feat' ---- - -Added the `window_effects` option to the window configuration. diff --git a/.changes/window-effects.md b/.changes/window-effects.md deleted file mode 100644 index f5f767807..000000000 --- a/.changes/window-effects.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -'tauri': 'minor:feat' -'tauri-runtime-wry': 'minor:feat' -'tauri-runtime': 'minor:feat' ---- - -Added the `window_effects` option when creating a window and `Window::set_effects` to change it at runtime. diff --git a/.changes/window-on-message-refactor.md b/.changes/window-on-message-refactor.md deleted file mode 100644 index 335e8ff19..000000000 --- a/.changes/window-on-message-refactor.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tauri": patch:breaking ---- - -Changed `Window::on_message` signature to take a responder closure instead of returning the response object in order to asynchronously process the request. diff --git a/.changes/window-on-navigation-arg.md b/.changes/window-on-navigation-arg.md deleted file mode 100644 index 79ebb0e7e..000000000 --- a/.changes/window-on-navigation-arg.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tauri": patch:breaking ---- - -The `Window#on_navigation` closure now receives a `&Url` argument instead of `Url`. diff --git a/.changes/window-plugin-core.md b/.changes/window-plugin-core.md deleted file mode 100644 index d3b72168e..000000000 --- a/.changes/window-plugin-core.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'tauri': patch:changes ---- - -Added the `window` plugin back into core. diff --git a/.changes/windows-rs-0.51.md b/.changes/windows-rs-0.51.md deleted file mode 100644 index 11916973c..000000000 --- a/.changes/windows-rs-0.51.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -"tauri": "patch:deps" -"tauri-runtime": "patch:deps" -"tauri-runtime-wry": "patch:deps" -"tauri-utils": "patch:deps" ---- - -Update `windows` to version `0.51` and `webview2-com` to version `0.27` - diff --git a/.changes/with-webview.md b/.changes/with-webview.md deleted file mode 100644 index 4b1e8a575..000000000 --- a/.changes/with-webview.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"tauri": 'minor:feat' -"tauri-runtime": 'minor:feat' -"tauri-runtime-wry": 'minor:feat' ---- - -Implemented `with_webview` on Android and iOS. diff --git a/.changes/wry-0.32.md b/.changes/wry-0.32.md deleted file mode 100644 index a9bfc8f0a..000000000 --- a/.changes/wry-0.32.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tauri-runtime-wry": patch:enhance ---- - -Update wry to 0.32 to include asynchronous custom protocol support. diff --git a/.changes/wry-0.34.md b/.changes/wry-0.34.md deleted file mode 100644 index 49bc4b686..000000000 --- a/.changes/wry-0.34.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"tauri": patch:deps -"tauri-runtime-wry": patch:deps ---- - -Updated to wry@0.34, removing the `dox` feature flag. diff --git a/.changes/wry-0.35.md b/.changes/wry-0.35.md deleted file mode 100644 index a98e23a0b..000000000 --- a/.changes/wry-0.35.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tauri-runtime-wry": patch:deps ---- - -Update to wry v0.35. diff --git a/.changes/wry-navigate-method.md b/.changes/wry-navigate-method.md deleted file mode 100644 index ca7aa7bb2..000000000 --- a/.changes/wry-navigate-method.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tauri-runtime-wry": 'minor:feat' ---- - -Implement navigate method diff --git a/.changes/wry26.md b/.changes/wry26.md deleted file mode 100644 index dee422188..000000000 --- a/.changes/wry26.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"tauri-runtime-wry": 'minor:feat' ---- - -Update wry to 0.26. - diff --git a/.changes/xcode-archive.md b/.changes/xcode-archive.md deleted file mode 100644 index f7d2407e9..000000000 --- a/.changes/xcode-archive.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"tauri-cli": patch:bug -"@tauri-apps/cli": patch:bug ---- - -Added support to Xcode's archive. This requires regenerating the Xcode project. diff --git a/.scripts/covector/package-latest-version.js b/.scripts/covector/package-latest-version.js index 53430e6db..26a42a742 100644 --- a/.scripts/covector/package-latest-version.js +++ b/.scripts/covector/package-latest-version.js @@ -45,7 +45,7 @@ https.get(url, options, (response) => { response.on('end', function () { const data = JSON.parse(chunks.join('')) if (kind === 'cargo') { - const versions = data.versions.filter((v) => v.num.startsWith(target)) + const versions = data.versions?.filter((v) => v.num.startsWith(target)) ?? [] console.log(versions.length ? versions[0].num : '0.0.0') } else if (kind === 'npm') { const versions = Object.keys(data.versions).filter((v) => diff --git a/core/tauri-build/CHANGELOG.md b/core/tauri-build/CHANGELOG.md index c353ffb26..ae623619d 100644 --- a/core/tauri-build/CHANGELOG.md +++ b/core/tauri-build/CHANGELOG.md @@ -1,5 +1,41 @@ # Changelog +## \[2.0.0-beta.0] + +### New Features + +- [`74a2a603`](https://www.github.com/tauri-apps/tauri/commit/74a2a6036a5e57462f161d728cbd8a6f121028ca)([#8661](https://www.github.com/tauri-apps/tauri/pull/8661)) Implement access control list for IPC usage. + +### Enhancements + +- [`e8d3793c`](https://www.github.com/tauri-apps/tauri/commit/e8d3793c3c34715569312a91633fde4d58d7621c)([#8732](https://www.github.com/tauri-apps/tauri/pull/8732)) Add `config-json` cargo feature flag (enabled by default) to. Disabling this feature flag will stop cargo from rebuilding when `tauri.conf.json` changes, see [#8721](https://github.com/tauri-apps/tauri/issues/8721) for more info. + +### Dependencies + +- Upgraded to `tauri-utils@2.0.0-beta.0` +- Upgraded to `tauri-codegen@2.0.0-beta.0` + +### Breaking Changes + +- [`8de308d1`](https://www.github.com/tauri-apps/tauri/commit/8de308d1bf6a855d7a26af58bd0e744938ba47d8)([#8723](https://www.github.com/tauri-apps/tauri/pull/8723)) Restructured Tauri config per [RFC#5](https://github.com/tauri-apps/rfcs/blob/f3e82a6b0c5390401e855850d47dc7b7d9afd684/texts/0005-tauri-config-restructure.md): + + - Moved `package.productName`, `package.version` and `tauri.bundle.identifier` fields to the top-level. + - Removed `package` object. + - Renamed `tauri` object to `app`. + - Moved `tauri.bundle` object to the top-level. + - Renamed `build.distDir` field to `frontendDist`. + - Renamed `build.devPath` field to `devUrl` and will no longer accepts paths, it will only accept URLs. + - Moved `tauri.pattern` to `app.security.pattern`. + - Removed `tauri.bundle.updater` object, and its fields have been moved to the updater plugin under `plugins.updater` object. + - Moved `build.withGlobalTauri` to `app.withGlobalTauri`. + - Moved `tauri.bundle.dmg` object to `bundle.macOS.dmg`. + - Moved `tauri.bundle.deb` object to `bundle.linux.deb`. + - Moved `tauri.bundle.appimage` object to `bundle.linux.appimage`. + - Removed all license fields from each bundle configuration object and instead added `bundle.license` and `bundle.licenseFile`. + - Renamed `AppUrl` to `FrontendDist` and refactored its variants to be more explicit. +- [`0cdfda28`](https://www.github.com/tauri-apps/tauri/commit/0cdfda28767701369cd774e2b20d943c6ddc9f05)([#8737](https://www.github.com/tauri-apps/tauri/pull/8737)) Moved `mobile::PluginBuilder`, `mobile::update_entitlements`, `config::plugin_config` and `mobile::update_android_manifest` to the new `tauri-plugin` crate. +- [`74a2a603`](https://www.github.com/tauri-apps/tauri/commit/74a2a6036a5e57462f161d728cbd8a6f121028ca)([#8661](https://www.github.com/tauri-apps/tauri/pull/8661)) `CodegenContext::build` and `CodegenContext::try_build` have been removed, use `tauri_build::try_build(tauri_build::Attributes::new().codegen(codegen))` instead. + ## \[2.0.0-alpha.14] ### Dependencies diff --git a/core/tauri-build/Cargo.toml b/core/tauri-build/Cargo.toml index 1070c5c5e..f2f36446f 100644 --- a/core/tauri-build/Cargo.toml +++ b/core/tauri-build/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tauri-build" -version = "2.0.0-alpha.14" +version = "2.0.0-beta.0" description = "build time code to pair with https://crates.io/crates/tauri" exclude = [ "CHANGELOG.md", "/target" ] readme = "README.md" @@ -28,8 +28,8 @@ rustdoc-args = [ "--cfg", "docsrs" ] [dependencies] anyhow = "1" quote = { version = "1", optional = true } -tauri-codegen = { version = "2.0.0-alpha.13", path = "../tauri-codegen", optional = true } -tauri-utils = { version = "2.0.0-alpha.13", path = "../tauri-utils", features = [ "build", "resources" ] } +tauri-codegen = { version = "2.0.0-beta.0", path = "../tauri-codegen", optional = true } +tauri-utils = { version = "2.0.0-beta.0", path = "../tauri-utils", features = [ "build", "resources" ] } cargo_toml = "0.17" serde = "1" serde_json = "1" diff --git a/core/tauri-codegen/CHANGELOG.md b/core/tauri-codegen/CHANGELOG.md index ebc49d656..5feecb30a 100644 --- a/core/tauri-codegen/CHANGELOG.md +++ b/core/tauri-codegen/CHANGELOG.md @@ -1,5 +1,34 @@ # Changelog +## \[2.0.0-beta.0] + +### New Features + +- [`74a2a603`](https://www.github.com/tauri-apps/tauri/commit/74a2a6036a5e57462f161d728cbd8a6f121028ca)([#8661](https://www.github.com/tauri-apps/tauri/pull/8661)) Implement access control list for IPC usage. + +### Dependencies + +- Upgraded to `tauri-utils@2.0.0-beta.0` + +### Breaking Changes + +- [`8de308d1`](https://www.github.com/tauri-apps/tauri/commit/8de308d1bf6a855d7a26af58bd0e744938ba47d8)([#8723](https://www.github.com/tauri-apps/tauri/pull/8723)) Restructured Tauri config per [RFC#5](https://github.com/tauri-apps/rfcs/blob/f3e82a6b0c5390401e855850d47dc7b7d9afd684/texts/0005-tauri-config-restructure.md): + + - Moved `package.productName`, `package.version` and `tauri.bundle.identifier` fields to the top-level. + - Removed `package` object. + - Renamed `tauri` object to `app`. + - Moved `tauri.bundle` object to the top-level. + - Renamed `build.distDir` field to `frontendDist`. + - Renamed `build.devPath` field to `devUrl` and will no longer accepts paths, it will only accept URLs. + - Moved `tauri.pattern` to `app.security.pattern`. + - Removed `tauri.bundle.updater` object, and its fields have been moved to the updater plugin under `plugins.updater` object. + - Moved `build.withGlobalTauri` to `app.withGlobalTauri`. + - Moved `tauri.bundle.dmg` object to `bundle.macOS.dmg`. + - Moved `tauri.bundle.deb` object to `bundle.linux.deb`. + - Moved `tauri.bundle.appimage` object to `bundle.linux.appimage`. + - Removed all license fields from each bundle configuration object and instead added `bundle.license` and `bundle.licenseFile`. + - Renamed `AppUrl` to `FrontendDist` and refactored its variants to be more explicit. + ## \[2.0.0-alpha.13] ### Dependencies diff --git a/core/tauri-codegen/Cargo.toml b/core/tauri-codegen/Cargo.toml index 7c41b8e67..74cce533e 100644 --- a/core/tauri-codegen/Cargo.toml +++ b/core/tauri-codegen/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tauri-codegen" -version = "2.0.0-alpha.13" +version = "2.0.0-beta.0" description = "code generation meant to be consumed inside of `tauri` through `tauri-build` or `tauri-macros`" exclude = [ "CHANGELOG.md", "/target" ] readme = "README.md" @@ -19,7 +19,7 @@ proc-macro2 = "1" quote = "1" serde = { version = "1", features = [ "derive" ] } serde_json = "1" -tauri-utils = { version = "2.0.0-alpha.13", path = "../tauri-utils", features = [ "build" ] } +tauri-utils = { version = "2.0.0-beta.0", path = "../tauri-utils", features = [ "build" ] } thiserror = "1" walkdir = "2" brotli = { version = "3", optional = true, default-features = false, features = [ "std" ] } diff --git a/core/tauri-macros/CHANGELOG.md b/core/tauri-macros/CHANGELOG.md index a77d58261..ad342b817 100644 --- a/core/tauri-macros/CHANGELOG.md +++ b/core/tauri-macros/CHANGELOG.md @@ -1,5 +1,16 @@ # Changelog +## \[2.0.0-beta.0] + +### New Features + +- [`74a2a603`](https://www.github.com/tauri-apps/tauri/commit/74a2a6036a5e57462f161d728cbd8a6f121028ca)([#8661](https://www.github.com/tauri-apps/tauri/pull/8661)) Implement access control list for IPC usage. + +### Dependencies + +- Upgraded to `tauri-utils@2.0.0-beta.0` +- Upgraded to `tauri-codegen@2.0.0-beta.0` + ## \[2.0.0-alpha.13] ### Enhancements diff --git a/core/tauri-macros/Cargo.toml b/core/tauri-macros/Cargo.toml index 16ffde159..24f027884 100644 --- a/core/tauri-macros/Cargo.toml +++ b/core/tauri-macros/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tauri-macros" -version = "2.0.0-alpha.13" +version = "2.0.0-beta.0" description = "Macros for the tauri crate." exclude = [ "CHANGELOG.md", "/target" ] readme = "README.md" @@ -20,8 +20,8 @@ proc-macro2 = { version = "1", features = [ "span-locations" ] } quote = "1" syn = { version = "2", features = [ "full" ] } heck = "0.4" -tauri-codegen = { version = "2.0.0-alpha.13", default-features = false, path = "../tauri-codegen" } -tauri-utils = { version = "2.0.0-alpha.13", path = "../tauri-utils" } +tauri-codegen = { version = "2.0.0-beta.0", default-features = false, path = "../tauri-codegen" } +tauri-utils = { version = "2.0.0-beta.0", path = "../tauri-utils" } [features] custom-protocol = [ ] diff --git a/core/tauri-plugin/CHANGELOG.md b/core/tauri-plugin/CHANGELOG.md new file mode 100644 index 000000000..b279b4db0 --- /dev/null +++ b/core/tauri-plugin/CHANGELOG.md @@ -0,0 +1,7 @@ +# Changelog + +## \[2.0.0-beta.0] + +### New Features + +- [`74a2a603`](https://www.github.com/tauri-apps/tauri/commit/74a2a6036a5e57462f161d728cbd8a6f121028ca)([#8661](https://www.github.com/tauri-apps/tauri/pull/8661)) Implement access control list for IPC usage. diff --git a/core/tauri-plugin/Cargo.toml b/core/tauri-plugin/Cargo.toml index 2b105cc45..ccc24c486 100644 --- a/core/tauri-plugin/Cargo.toml +++ b/core/tauri-plugin/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tauri-plugin" -version = "1.0.0" +version = "2.0.0-beta.0" authors = { workspace = true } homepage = { workspace = true } repository = { workspace = true } @@ -9,6 +9,11 @@ license = { workspace = true } edition = { workspace = true } rust-version = { workspace = true } +[package.metadata.docs.rs] +features = [ "build", "runtime" ] +rustc-args = [ "--cfg", "docsrs" ] +rustdoc-args = [ "--cfg", "docsrs" ] + [features] build = [ "dep:anyhow", @@ -17,14 +22,14 @@ build = [ "dep:glob", "dep:toml", "dep:plist", - "dep:walkdir", + "dep:walkdir" ] -runtime = [] +runtime = [ ] [dependencies] anyhow = { version = "1", optional = true } serde = { version = "1", optional = true } -tauri-utils = { version = "2.0.0-alpha.13", default-features = false, path = "../tauri-utils" } +tauri-utils = { version = "2.0.0-beta.0", default-features = false, path = "../tauri-utils" } serde_json = { version = "1", optional = true } glob = { version = "0.3", optional = true } toml = { version = "0.8", optional = true } @@ -33,8 +38,3 @@ walkdir = { version = "1", optional = true } [target."cfg(target_os = \"macos\")".dependencies] plist = { version = "1", optional = true } - -[package.metadata.docs.rs] -features = ["build", "runtime"] -rustc-args = ["--cfg", "docsrs"] -rustdoc-args = ["--cfg", "docsrs"] diff --git a/core/tauri-runtime-wry/CHANGELOG.md b/core/tauri-runtime-wry/CHANGELOG.md index 76e2a26d2..67f4136ad 100644 --- a/core/tauri-runtime-wry/CHANGELOG.md +++ b/core/tauri-runtime-wry/CHANGELOG.md @@ -1,5 +1,34 @@ # Changelog +## \[2.0.0-beta.0] + +### New Features + +- [`af610232`](https://www.github.com/tauri-apps/tauri/commit/af6102327376884364b2075b468bdf08ee0d02aa)([#8710](https://www.github.com/tauri-apps/tauri/pull/8710)) Added `Window::destroy` to force close a window. +- [`c77b4032`](https://www.github.com/tauri-apps/tauri/commit/c77b40324ea9bf580871fc11aed69ba0c9b6b8cf)([#8280](https://www.github.com/tauri-apps/tauri/pull/8280)) Add multiwebview support behind the `unstable` feature flag. See `WindowBuilder` and `WebviewBuilder` for more information. +- [`00e15675`](https://www.github.com/tauri-apps/tauri/commit/00e1567584721644797b587205187f9cbe4e5cd1)([#8708](https://www.github.com/tauri-apps/tauri/pull/8708)) Added `RuntimeHandle::request_exit` function. + +### Bug Fixes + +- [`95da1a27`](https://www.github.com/tauri-apps/tauri/commit/95da1a27476e01e06f6ce0335df8535b662dd9c4)([#8713](https://www.github.com/tauri-apps/tauri/pull/8713)) Fix calling `set_activation_policy` when the event loop is running. + +### What's Changed + +- [`9f8037c2`](https://www.github.com/tauri-apps/tauri/commit/9f8037c2882abac19582025001675370f0d7b669)([#8633](https://www.github.com/tauri-apps/tauri/pull/8633)) On Windows, fix decorated window not transparent initially until resized. +- [`9eaeb5a8`](https://www.github.com/tauri-apps/tauri/commit/9eaeb5a8cd95ae24b5e66205bdc2763cb7f965ce)([#8622](https://www.github.com/tauri-apps/tauri/pull/8622)) Added `WindowBuilder::transient_for` and Renamed `WindowBuilder::owner_window` to `WindowBuilder::owner` and `WindowBuilder::parent_window` to `WindowBuilder::parent`. +- [`7f033f6d`](https://www.github.com/tauri-apps/tauri/commit/7f033f6dcd54c69a4193765a5c1584755ba92c61)([#8537](https://www.github.com/tauri-apps/tauri/pull/8537)) Add `Window::start_resize_dragging` and `ResizeDirection` enum. +- [`6639a579`](https://www.github.com/tauri-apps/tauri/commit/6639a579c76d45210f33a72d37e21d4c5a9d334b)([#8441](https://www.github.com/tauri-apps/tauri/pull/8441)) Added the `WindowConfig::proxy_url` `WebviewBuilder::proxy_url() / WebviewWindowBuilder::proxy_url()` options when creating a webview. + +### Dependencies + +- Upgraded to `tauri-utils@2.0.0-beta.0` +- Upgraded to `tauri-runtime@2.0.0-beta.0` + +### Breaking Changes + +- [`af610232`](https://www.github.com/tauri-apps/tauri/commit/af6102327376884364b2075b468bdf08ee0d02aa)([#8710](https://www.github.com/tauri-apps/tauri/pull/8710)) `WindowDispatch::close` now triggers the `CloseRequested` flow. +- [`9eaeb5a8`](https://www.github.com/tauri-apps/tauri/commit/9eaeb5a8cd95ae24b5e66205bdc2763cb7f965ce)([#8622](https://www.github.com/tauri-apps/tauri/pull/8622)) Changed `WindowBuilder::with_config` to take a reference to a `WindowConfig` instead of an owned value. + ## \[1.0.0-alpha.9] ### New Features diff --git a/core/tauri-runtime-wry/Cargo.toml b/core/tauri-runtime-wry/Cargo.toml index d026972d7..b2018f6b8 100644 --- a/core/tauri-runtime-wry/Cargo.toml +++ b/core/tauri-runtime-wry/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tauri-runtime-wry" -version = "1.0.0-alpha.9" +version = "2.0.0-beta.0" description = "Wry bindings to the Tauri runtime" exclude = [ "CHANGELOG.md", "/target" ] readme = "README.md" @@ -15,8 +15,8 @@ rust-version = { workspace = true } [dependencies] wry = { version = "0.35.2", default-features = false, features = [ "file-drop", "protocol", "os-webview" ] } tao = { git = "https://github.com/tauri-apps/tao", branch = "dev", default-features = false, features = [ "rwh_05", "rwh_06" ] } -tauri-runtime = { version = "1.0.0-alpha.8", path = "../tauri-runtime" } -tauri-utils = { version = "2.0.0-alpha.13", path = "../tauri-utils" } +tauri-runtime = { version = "2.0.0-beta.0", path = "../tauri-runtime" } +tauri-utils = { version = "2.0.0-beta.0", path = "../tauri-utils" } raw-window-handle = "0.5" http = "0.2" tracing = { version = "0.1", optional = true } diff --git a/core/tauri-runtime/CHANGELOG.md b/core/tauri-runtime/CHANGELOG.md index a4fe67580..90085b207 100644 --- a/core/tauri-runtime/CHANGELOG.md +++ b/core/tauri-runtime/CHANGELOG.md @@ -1,5 +1,31 @@ # Changelog +## \[2.0.0-beta.0] + +### New Features + +- [`af610232`](https://www.github.com/tauri-apps/tauri/commit/af6102327376884364b2075b468bdf08ee0d02aa)([#8710](https://www.github.com/tauri-apps/tauri/pull/8710)) Added `Window::destroy` to force close a window. +- [`c77b4032`](https://www.github.com/tauri-apps/tauri/commit/c77b40324ea9bf580871fc11aed69ba0c9b6b8cf)([#8280](https://www.github.com/tauri-apps/tauri/pull/8280)) Add multiwebview support behind the `unstable` feature flag. See `WindowBuilder` and `WebviewBuilder` for more information. +- [`00e15675`](https://www.github.com/tauri-apps/tauri/commit/00e1567584721644797b587205187f9cbe4e5cd1)([#8708](https://www.github.com/tauri-apps/tauri/pull/8708)) Added `RuntimeHandle::request_exit` function. + +### Bug Fixes + +- [`95da1a27`](https://www.github.com/tauri-apps/tauri/commit/95da1a27476e01e06f6ce0335df8535b662dd9c4)([#8713](https://www.github.com/tauri-apps/tauri/pull/8713)) Fix calling `set_activation_policy` when the event loop is running. + +### What's Changed + +- [`9eaeb5a8`](https://www.github.com/tauri-apps/tauri/commit/9eaeb5a8cd95ae24b5e66205bdc2763cb7f965ce)([#8622](https://www.github.com/tauri-apps/tauri/pull/8622)) Added `WindowBuilder::transient_for` and Renamed `WindowBuilder::owner_window` to `WindowBuilder::owner` and `WindowBuilder::parent_window` to `WindowBuilder::parent`. +- [`7f033f6d`](https://www.github.com/tauri-apps/tauri/commit/7f033f6dcd54c69a4193765a5c1584755ba92c61)([#8537](https://www.github.com/tauri-apps/tauri/pull/8537)) Add `Window::start_resize_dragging` and `ResizeDirection` enum. +- [`6639a579`](https://www.github.com/tauri-apps/tauri/commit/6639a579c76d45210f33a72d37e21d4c5a9d334b)([#8441](https://www.github.com/tauri-apps/tauri/pull/8441)) Added the `WindowConfig::proxy_url` `WebviewBuilder::proxy_url() / WebviewWindowBuilder::proxy_url()` options when creating a webview. + +### Dependencies + +- Upgraded to `tauri-utils@2.0.0-beta.0` + +### Breaking Changes + +- [`9eaeb5a8`](https://www.github.com/tauri-apps/tauri/commit/9eaeb5a8cd95ae24b5e66205bdc2763cb7f965ce)([#8622](https://www.github.com/tauri-apps/tauri/pull/8622)) Changed `WindowBuilder::with_config` to take a reference to a `WindowConfig` instead of an owned value. + ## \[1.0.0-alpha.8] ### New Features diff --git a/core/tauri-runtime/Cargo.toml b/core/tauri-runtime/Cargo.toml index 2b7c5557f..a6d646df7 100644 --- a/core/tauri-runtime/Cargo.toml +++ b/core/tauri-runtime/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tauri-runtime" -version = "1.0.0-alpha.8" +version = "2.0.0-beta.0" description = "Runtime for Tauri applications" exclude = [ "CHANGELOG.md", "/target" ] readme = "README.md" @@ -29,7 +29,7 @@ targets = [ serde = { version = "1.0", features = [ "derive" ] } serde_json = "1.0" thiserror = "1.0" -tauri-utils = { version = "2.0.0-alpha.13", path = "../tauri-utils" } +tauri-utils = { version = "2.0.0-beta.0", path = "../tauri-utils" } http = "0.2.4" raw-window-handle = "0.5" url = { version = "2" } diff --git a/core/tauri-utils/CHANGELOG.md b/core/tauri-utils/CHANGELOG.md index 7fb3e8066..6270beddf 100644 --- a/core/tauri-utils/CHANGELOG.md +++ b/core/tauri-utils/CHANGELOG.md @@ -1,5 +1,39 @@ # Changelog +## \[2.0.0-beta.0] + +### New Features + +- [`74a2a603`](https://www.github.com/tauri-apps/tauri/commit/74a2a6036a5e57462f161d728cbd8a6f121028ca)([#8661](https://www.github.com/tauri-apps/tauri/pull/8661)) Implement access control list for IPC usage. +- [`9eaeb5a8`](https://www.github.com/tauri-apps/tauri/commit/9eaeb5a8cd95ae24b5e66205bdc2763cb7f965ce)([#8622](https://www.github.com/tauri-apps/tauri/pull/8622)) Add `parent` option for window config. +- [`58fe2e81`](https://www.github.com/tauri-apps/tauri/commit/58fe2e812a85b9f4eba105286a63f271ea637836)([#8670](https://www.github.com/tauri-apps/tauri/pull/8670)) Add `WebviewUrl::CustomProtocol` enum variant. + +### What's Changed + +- [`6639a579`](https://www.github.com/tauri-apps/tauri/commit/6639a579c76d45210f33a72d37e21d4c5a9d334b)([#8441](https://www.github.com/tauri-apps/tauri/pull/8441)) Added the `WindowConfig::proxy_url` `WebviewBuilder::proxy_url() / WebviewWindowBuilder::proxy_url()` options when creating a webview. + +### Breaking Changes + +- [`8de308d1`](https://www.github.com/tauri-apps/tauri/commit/8de308d1bf6a855d7a26af58bd0e744938ba47d8)([#8723](https://www.github.com/tauri-apps/tauri/pull/8723)) Restructured Tauri config per [RFC#5](https://github.com/tauri-apps/rfcs/blob/f3e82a6b0c5390401e855850d47dc7b7d9afd684/texts/0005-tauri-config-restructure.md): + + - Moved `package.productName`, `package.version` and `tauri.bundle.identifier` fields to the top-level. + - Removed `package` object. + - Renamed `tauri` object to `app`. + - Moved `tauri.bundle` object to the top-level. + - Renamed `build.distDir` field to `frontendDist`. + - Renamed `build.devPath` field to `devUrl` and will no longer accepts paths, it will only accept URLs. + - Moved `tauri.pattern` to `app.security.pattern`. + - Removed `tauri.bundle.updater` object, and its fields have been moved to the updater plugin under `plugins.updater` object. + - Moved `build.withGlobalTauri` to `app.withGlobalTauri`. + - Moved `tauri.bundle.dmg` object to `bundle.macOS.dmg`. + - Moved `tauri.bundle.deb` object to `bundle.linux.deb`. + - Moved `tauri.bundle.appimage` object to `bundle.linux.appimage`. + - Removed all license fields from each bundle configuration object and instead added `bundle.license` and `bundle.licenseFile`. + - Renamed `AppUrl` to `FrontendDist` and refactored its variants to be more explicit. +- [`c77b4032`](https://www.github.com/tauri-apps/tauri/commit/c77b40324ea9bf580871fc11aed69ba0c9b6b8cf)([#8280](https://www.github.com/tauri-apps/tauri/pull/8280)) Renamed `config::WindowUrl` to `config::WebviewUrl`. +- [`a093682d`](https://www.github.com/tauri-apps/tauri/commit/a093682d2df7169b024bb4f736c7f1fd2ea8b327)([#8621](https://www.github.com/tauri-apps/tauri/pull/8621)) Changed `error` field in `ConfigError::FormatToml` to be boxed `Box` to reduce the enum `ConfigError` size in memory. +- [`58fe2e81`](https://www.github.com/tauri-apps/tauri/commit/58fe2e812a85b9f4eba105286a63f271ea637836)([#8670](https://www.github.com/tauri-apps/tauri/pull/8670)) Changed `dist_dir` and `dev_path` config options to be optional. + ## \[2.0.0-alpha.13] ### Bug Fixes diff --git a/core/tauri-utils/Cargo.toml b/core/tauri-utils/Cargo.toml index 90d4104af..ec3a9a347 100644 --- a/core/tauri-utils/Cargo.toml +++ b/core/tauri-utils/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tauri-utils" -version = "2.0.0-alpha.13" +version = "2.0.0-beta.0" description = "Utilities for Tauri" exclude = [ "CHANGELOG.md", "/target" ] readme = "README.md" @@ -30,7 +30,7 @@ getrandom = { version = "0.2", optional = true, features = [ "std" ] } serialize-to-javascript = { version = "=0.1.1", optional = true } ctor = "0.2" json5 = { version = "0.4", optional = true } -toml = { version = "0.8", features = ["parse"] } +toml = { version = "0.8", features = [ "parse" ] } json-patch = "1.2" glob = "0.3" walkdir = { version = "2", optional = true } @@ -48,11 +48,17 @@ heck = "0.4" swift-rs = { version = "1.0.6", optional = true, features = [ "build" ] } [features] -build = [ "proc-macro2", "quote", "cargo_metadata", "schema", "swift-rs" ] +build = [ + "proc-macro2", + "quote", + "cargo_metadata", + "schema", + "swift-rs" +] compression = [ "brotli" ] schema = [ "schemars" ] isolation = [ "aes-gcm", "getrandom", "serialize-to-javascript" ] process-relaunch-dangerous-allow-symlink-macos = [ ] config-json5 = [ "json5" ] -config-toml = [] +config-toml = [ ] resources = [ "walkdir" ] diff --git a/core/tauri/CHANGELOG.md b/core/tauri/CHANGELOG.md index 622ec1078..f78e4d615 100644 --- a/core/tauri/CHANGELOG.md +++ b/core/tauri/CHANGELOG.md @@ -1,5 +1,79 @@ # Changelog +## \[2.0.0-beta.0] + +### New Features + +- [`74a2a603`](https://www.github.com/tauri-apps/tauri/commit/74a2a6036a5e57462f161d728cbd8a6f121028ca)([#8661](https://www.github.com/tauri-apps/tauri/pull/8661)) Implement access control list for IPC usage. +- [`a2fc3a63`](https://www.github.com/tauri-apps/tauri/commit/a2fc3a63579ca739646d696870cbecbb3a169d33)([#8657](https://www.github.com/tauri-apps/tauri/pull/8657)) Add `visibleOnAllWorkspaces` option when creating the window in JS and `Window.setVisibleOnAllWorkspaces` method. +- [`af610232`](https://www.github.com/tauri-apps/tauri/commit/af6102327376884364b2075b468bdf08ee0d02aa)([#8710](https://www.github.com/tauri-apps/tauri/pull/8710)) Added `Window::destroy` to force close a window. +- [`c77b4032`](https://www.github.com/tauri-apps/tauri/commit/c77b40324ea9bf580871fc11aed69ba0c9b6b8cf)([#8280](https://www.github.com/tauri-apps/tauri/pull/8280)) Add multiwebview support behind the `unstable` feature flag. See `WindowBuilder` and `WebviewBuilder` for more information. +- [`9eaeb5a8`](https://www.github.com/tauri-apps/tauri/commit/9eaeb5a8cd95ae24b5e66205bdc2763cb7f965ce)([#8622](https://www.github.com/tauri-apps/tauri/pull/8622)) Add `WindowBuilder::parent` which is a convenient wrapper around parent functionality for Windows, Linux and macOS. Also added `WindowBuilder::owner` on Windows only. Also added `WindowBuilder::transient_for` and `WindowBuilder::transient_for_raw` on Linux only. + +### Enhancements + +- [`e8d3793c`](https://www.github.com/tauri-apps/tauri/commit/e8d3793c3c34715569312a91633fde4d58d7621c)([#8732](https://www.github.com/tauri-apps/tauri/pull/8732)) Add `common-controls-v6` cargo feature flag (enabled by default). +- [`58fe2e81`](https://www.github.com/tauri-apps/tauri/commit/58fe2e812a85b9f4eba105286a63f271ea637836)([#8670](https://www.github.com/tauri-apps/tauri/pull/8670)) Allow IPC calls when window origin is a defined custom protocol. + +### Bug Fixes + +- [`95da1a27`](https://www.github.com/tauri-apps/tauri/commit/95da1a27476e01e06f6ce0335df8535b662dd9c4)([#8713](https://www.github.com/tauri-apps/tauri/pull/8713)) Fix calling `set_activation_policy` when the event loop is running. +- [`e1eb911f`](https://www.github.com/tauri-apps/tauri/commit/e1eb911f5ebe84285aae710e0ebdd945ad389431)([#8582](https://www.github.com/tauri-apps/tauri/pull/8582)) Ensure initalize logic and dropping of menu item is done on the main thread, this fixes the crash when a menu item is dropped on another thread. +- [`a093682d`](https://www.github.com/tauri-apps/tauri/commit/a093682d2df7169b024bb4f736c7f1fd2ea8b327)([#8621](https://www.github.com/tauri-apps/tauri/pull/8621)) Fix can not prevent closing a window from another webview. +- [`7f033f6d`](https://www.github.com/tauri-apps/tauri/commit/7f033f6dcd54c69a4193765a5c1584755ba92c61)([#8537](https://www.github.com/tauri-apps/tauri/pull/8537)) Fix undecorated window resizing on Windows and Linux. + +### What's Changed + +- [`9f8037c2`](https://www.github.com/tauri-apps/tauri/commit/9f8037c2882abac19582025001675370f0d7b669)([#8633](https://www.github.com/tauri-apps/tauri/pull/8633)) On Windows, fix decorated window not transparent initially until resized. +- [`7f033f6d`](https://www.github.com/tauri-apps/tauri/commit/7f033f6dcd54c69a4193765a5c1584755ba92c61)([#8537](https://www.github.com/tauri-apps/tauri/pull/8537)) Add `Window::start_resize_dragging` and `ResizeDirection` enum. +- [`6639a579`](https://www.github.com/tauri-apps/tauri/commit/6639a579c76d45210f33a72d37e21d4c5a9d334b)([#8441](https://www.github.com/tauri-apps/tauri/pull/8441)) Added the `WindowConfig::proxy_url` `WebviewBuilder::proxy_url() / WebviewWindowBuilder::proxy_url()` options when creating a webview. + +### Dependencies + +- Upgraded to `tauri-build@22.0.0-beta.0` +- Upgraded to `tauri-utils@2.0.0-beta.0` +- Upgraded to `tauri-macros@2.0.0-beta.0` +- Upgraded to `tauri-runtime@2.0.0-beta.0` +- Upgraded to `tauri-runtime-wry@2.0.0-beta.0` + +### Breaking Changes + +- [`8de308d1`](https://www.github.com/tauri-apps/tauri/commit/8de308d1bf6a855d7a26af58bd0e744938ba47d8)([#8723](https://www.github.com/tauri-apps/tauri/pull/8723)) Restructured Tauri config per [RFC#5](https://github.com/tauri-apps/rfcs/blob/f3e82a6b0c5390401e855850d47dc7b7d9afd684/texts/0005-tauri-config-restructure.md): + + - Moved `package.productName`, `package.version` and `tauri.bundle.identifier` fields to the top-level. + - Removed `package` object. + - Renamed `tauri` object to `app`. + - Moved `tauri.bundle` object to the top-level. + - Renamed `build.distDir` field to `frontendDist`. + - Renamed `build.devPath` field to `devUrl` and will no longer accepts paths, it will only accept URLs. + - Moved `tauri.pattern` to `app.security.pattern`. + - Removed `tauri.bundle.updater` object, and its fields have been moved to the updater plugin under `plugins.updater` object. + - Moved `build.withGlobalTauri` to `app.withGlobalTauri`. + - Moved `tauri.bundle.dmg` object to `bundle.macOS.dmg`. + - Moved `tauri.bundle.deb` object to `bundle.linux.deb`. + - Moved `tauri.bundle.appimage` object to `bundle.linux.appimage`. + - Removed all license fields from each bundle configuration object and instead added `bundle.license` and `bundle.licenseFile`. + - Renamed `AppUrl` to `FrontendDist` and refactored its variants to be more explicit. +- [`c77b4032`](https://www.github.com/tauri-apps/tauri/commit/c77b40324ea9bf580871fc11aed69ba0c9b6b8cf)([#8280](https://www.github.com/tauri-apps/tauri/pull/8280)) The `invoke_system`, `on_page_load` hooks now gives you a `Webview` argument instead of a `Window`. +- [`e1eb911f`](https://www.github.com/tauri-apps/tauri/commit/e1eb911f5ebe84285aae710e0ebdd945ad389431)([#8582](https://www.github.com/tauri-apps/tauri/pull/8582)) All menu item constructors `accelerator` argument have been changed to `Option>` so when providing `None` you need to specify the generic argument like `None::<&str>`. +- [`e1eb911f`](https://www.github.com/tauri-apps/tauri/commit/e1eb911f5ebe84285aae710e0ebdd945ad389431)([#8582](https://www.github.com/tauri-apps/tauri/pull/8582)) All menu item constructors have been changed to return a `Result` +- [`aa758a85`](https://www.github.com/tauri-apps/tauri/commit/aa758a850f7a3c8e57520ee4ea63a17689469cb0)([#8716](https://www.github.com/tauri-apps/tauri/pull/8716)) Moved the `command` module items to the `ipc` module so its import name does not clash with the `command` macro. +- [`00e15675`](https://www.github.com/tauri-apps/tauri/commit/00e1567584721644797b587205187f9cbe4e5cd1)([#8708](https://www.github.com/tauri-apps/tauri/pull/8708)) `AppHandle::exit` and `AppHandle::restart` now go triggers `RunEvent::ExitRequested` and `RunEvent::Exit` and cannot be executed on the event loop handler. +- [`ec9818ac`](https://www.github.com/tauri-apps/tauri/commit/ec9818accba567816cb5647c0fac2019f11c027a)([#8696](https://www.github.com/tauri-apps/tauri/pull/8696)) Added a callback to the `App::run_iteration` and removed its return value. +- [`a093682d`](https://www.github.com/tauri-apps/tauri/commit/a093682d2df7169b024bb4f736c7f1fd2ea8b327)([#8621](https://www.github.com/tauri-apps/tauri/pull/8621)) Refactored the event system to better accommodate the new window types: + + - Added `EventTarget` enum. + - Added `App/AppHandle::listen`, `App/AppHandle::once` and `App/AppHandle::unlisten` to listen to events targeting `App/AppHandle` + - `App/AppHandle/Window/Webview/WebviewWindow::emit` will now emit to all event listeners. + - `App/AppHandle/Window/Webview/WebviewWindow::emit_to` will emit to event targets that match the given label, see `EventTarget` enum. + - `App/AppHandle/Window/Webview/WebviewWindow::emit_filter` will emit to event targets based on a filter callback which now takes `&EventTarget` instead of `&Window`. + - Renamed `Manager::listen_global` and `Manager::once_global` to `listen_any` and `once_any` respectively to be consistent with `EventTarget::Any`, it will now also listen to any event to any target (aka event sniffer). +- [`9eaeb5a8`](https://www.github.com/tauri-apps/tauri/commit/9eaeb5a8cd95ae24b5e66205bdc2763cb7f965ce)([#8622](https://www.github.com/tauri-apps/tauri/pull/8622)) Renamed `WindowBuilder::owner_window` to `WindowBuilder::owner_raw` and `WindowBuilder::parent_window` to `WindowBuilder::parent_raw`. +- [`9eaeb5a8`](https://www.github.com/tauri-apps/tauri/commit/9eaeb5a8cd95ae24b5e66205bdc2763cb7f965ce)([#8622](https://www.github.com/tauri-apps/tauri/pull/8622)) Changed `WindowBuilder::from_config` to return a `Result`. +- [`c77b4032`](https://www.github.com/tauri-apps/tauri/commit/c77b40324ea9bf580871fc11aed69ba0c9b6b8cf)([#8280](https://www.github.com/tauri-apps/tauri/pull/8280)) Renamed `Window` to `WebviewWindow`, `WindowBuilder` to `WebviewWindowBuilder`, `Manager::windows` to `Manager::webview_windows` and `Manager::get_window` to `Manager::get_webview_window`. +- [`af610232`](https://www.github.com/tauri-apps/tauri/commit/af6102327376884364b2075b468bdf08ee0d02aa)([#8710](https://www.github.com/tauri-apps/tauri/pull/8710)) `Window::close` now triggers a close requested event instead of forcing the window to be closed. +- [`c77b4032`](https://www.github.com/tauri-apps/tauri/commit/c77b40324ea9bf580871fc11aed69ba0c9b6b8cf)([#8280](https://www.github.com/tauri-apps/tauri/pull/8280)) Renamed the `window-data-url` feature flag to `webview-data-url`. + ## \[2.0.0-alpha.21] ### New Features diff --git a/core/tauri/Cargo.toml b/core/tauri/Cargo.toml index c650f36ae..53062cbb6 100644 --- a/core/tauri/Cargo.toml +++ b/core/tauri/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tauri" -version = "2.0.0-alpha.21" +version = "2.0.0-beta.0" description = "Make tiny, secure apps for all desktop platforms with Tauri" exclude = [ "/test", "/.scripts", "CHANGELOG.md", "/target" ] readme = "README.md" @@ -50,10 +50,10 @@ uuid = { version = "1", features = [ "v4" ], optional = true } url = { version = "2.4" } anyhow = "1.0" thiserror = "1.0" -tauri-runtime = { version = "1.0.0-alpha.8", path = "../tauri-runtime" } -tauri-macros = { version = "2.0.0-alpha.13", path = "../tauri-macros" } -tauri-utils = { version = "2.0.0-alpha.13", features = [ "resources" ], path = "../tauri-utils" } -tauri-runtime-wry = { version = "1.0.0-alpha.9", path = "../tauri-runtime-wry", optional = true } +tauri-runtime = { version = "2.0.0-beta.0", path = "../tauri-runtime" } +tauri-macros = { version = "2.0.0-beta.0", path = "../tauri-macros" } +tauri-utils = { version = "2.0.0-beta.0", features = [ "resources" ], path = "../tauri-utils" } +tauri-runtime-wry = { version = "2.0.0-beta.0", path = "../tauri-runtime-wry", optional = true } getrandom = "0.2" serde_repr = "0.1" state = "0.6" @@ -111,8 +111,8 @@ swift-rs = "1.0.6" [build-dependencies] heck = "0.4" -tauri-build = { path = "../tauri-build/", default-features = false, version = "2.0.0-alpha.14" } -tauri-utils = { path = "../tauri-utils/", version = "2.0.0-alpha.13", features = [ "build" ] } +tauri-build = { path = "../tauri-build/", default-features = false, version = "2.0.0-beta.0" } +tauri-utils = { path = "../tauri-utils/", version = "2.0.0-beta.0", features = [ "build" ] } [dev-dependencies] proptest = "1.4.0" @@ -126,12 +126,7 @@ cargo_toml = "0.17" http-range = "0.1.5" [features] -default = [ - "wry", - "compression", - "objc-exception", - "common-controls-v6" -] +default = [ "wry", "compression", "objc-exception", "common-controls-v6" ] unstable = [ ] common-controls-v6 = [ "tray-icon?/common-controls-v6", "muda/common-controls-v6" ] tray-icon = [ "dep:tray-icon" ] diff --git a/examples/api/src-tauri/Cargo.lock b/examples/api/src-tauri/Cargo.lock index 9d28a35b5..54ce8a00b 100644 --- a/examples/api/src-tauri/Cargo.lock +++ b/examples/api/src-tauri/Cargo.lock @@ -3686,7 +3686,7 @@ checksum = "69758bda2e78f098e4ccb393021a0963bb3442eac05f135c30f61b7370bbafae" [[package]] name = "tauri" -version = "2.0.0-alpha.21" +version = "2.0.0-beta.0" dependencies = [ "anyhow", "bytes", @@ -3737,7 +3737,7 @@ dependencies = [ [[package]] name = "tauri-build" -version = "2.0.0-alpha.14" +version = "2.0.0-beta.0" dependencies = [ "anyhow", "cargo_toml", @@ -3759,7 +3759,7 @@ dependencies = [ [[package]] name = "tauri-codegen" -version = "2.0.0-alpha.13" +version = "2.0.0-beta.0" dependencies = [ "base64", "brotli", @@ -3783,7 +3783,7 @@ dependencies = [ [[package]] name = "tauri-macros" -version = "2.0.0-alpha.13" +version = "2.0.0-beta.0" dependencies = [ "heck", "proc-macro2", @@ -3811,7 +3811,7 @@ dependencies = [ [[package]] name = "tauri-plugin-cli" -version = "2.0.0-alpha.6" +version = "2.0.0-beta.0" source = "git+https://github.com/tauri-apps/plugins-workspace?branch=v2#61edbbec0acda4213ed8684f75a973e8be123a52" dependencies = [ "clap", @@ -3835,7 +3835,7 @@ dependencies = [ [[package]] name = "tauri-runtime" -version = "1.0.0-alpha.8" +version = "2.0.0-beta.0" dependencies = [ "gtk", "http", @@ -3851,7 +3851,7 @@ dependencies = [ [[package]] name = "tauri-runtime-wry" -version = "1.0.0-alpha.9" +version = "2.0.0-beta.0" dependencies = [ "cocoa", "gtk", @@ -3871,7 +3871,7 @@ dependencies = [ [[package]] name = "tauri-utils" -version = "2.0.0-alpha.13" +version = "2.0.0-beta.0" dependencies = [ "aes-gcm", "brotli", diff --git a/examples/api/src-tauri/tauri-plugin-sample/Cargo.lock b/examples/api/src-tauri/tauri-plugin-sample/Cargo.lock index cb47713eb..fab654643 100644 --- a/examples/api/src-tauri/tauri-plugin-sample/Cargo.lock +++ b/examples/api/src-tauri/tauri-plugin-sample/Cargo.lock @@ -2336,7 +2336,7 @@ dependencies = [ [[package]] name = "tauri" -version = "2.0.0-alpha.3" +version = "2.0.0-beta.0" dependencies = [ "anyhow", "attohttpc", @@ -2385,7 +2385,7 @@ dependencies = [ [[package]] name = "tauri-build" -version = "2.0.0-alpha.1" +version = "2.0.0-beta.0" dependencies = [ "anyhow", "cargo_toml", @@ -2403,7 +2403,7 @@ dependencies = [ [[package]] name = "tauri-codegen" -version = "2.0.0-alpha.1" +version = "2.0.0-beta.0" dependencies = [ "base64 0.21.0", "brotli", @@ -2427,7 +2427,7 @@ dependencies = [ [[package]] name = "tauri-macros" -version = "2.0.0-alpha.1" +version = "2.0.0-beta.0" dependencies = [ "heck", "proc-macro2", @@ -2487,7 +2487,7 @@ dependencies = [ [[package]] name = "tauri-utils" -version = "2.0.0-alpha.1" +version = "2.0.0-beta.0" dependencies = [ "brotli", "ctor", diff --git a/examples/file-associations/src-tauri/Cargo.lock b/examples/file-associations/src-tauri/Cargo.lock index 6dc075619..c31ba59f8 100644 --- a/examples/file-associations/src-tauri/Cargo.lock +++ b/examples/file-associations/src-tauri/Cargo.lock @@ -3318,7 +3318,7 @@ checksum = "1b1c7f239eb94671427157bd93b3694320f3668d4e1eff08c7285366fd777fac" [[package]] name = "tauri" -version = "2.0.0-alpha.21" +version = "2.0.0-beta.0" dependencies = [ "anyhow", "bytes", @@ -3364,7 +3364,7 @@ dependencies = [ [[package]] name = "tauri-build" -version = "2.0.0-alpha.14" +version = "2.0.0-beta.0" dependencies = [ "anyhow", "cargo_toml", @@ -3388,7 +3388,7 @@ dependencies = [ [[package]] name = "tauri-codegen" -version = "2.0.0-alpha.13" +version = "2.0.0-beta.0" dependencies = [ "base64", "brotli", @@ -3423,7 +3423,7 @@ dependencies = [ [[package]] name = "tauri-macros" -version = "2.0.0-alpha.13" +version = "2.0.0-beta.0" dependencies = [ "heck", "proc-macro2", @@ -3435,7 +3435,7 @@ dependencies = [ [[package]] name = "tauri-runtime" -version = "1.0.0-alpha.8" +version = "2.0.0-beta.0" dependencies = [ "gtk", "http", @@ -3451,7 +3451,7 @@ dependencies = [ [[package]] name = "tauri-runtime-wry" -version = "1.0.0-alpha.9" +version = "2.0.0-beta.0" dependencies = [ "cocoa", "gtk", @@ -3471,7 +3471,7 @@ dependencies = [ [[package]] name = "tauri-utils" -version = "2.0.0-alpha.13" +version = "2.0.0-beta.0" dependencies = [ "brotli", "cargo_metadata", diff --git a/examples/plugins/tauri-plugin-example/Cargo.lock b/examples/plugins/tauri-plugin-example/Cargo.lock index 936c14e89..6ff5723a9 100644 --- a/examples/plugins/tauri-plugin-example/Cargo.lock +++ b/examples/plugins/tauri-plugin-example/Cargo.lock @@ -2536,7 +2536,7 @@ checksum = "14c39fd04924ca3a864207c66fc2cd7d22d7c016007f9ce846cbb9326331930a" [[package]] name = "tauri" -version = "2.0.0-alpha.21" +version = "2.0.0-beta.0" dependencies = [ "anyhow", "bytes", @@ -2580,7 +2580,7 @@ dependencies = [ [[package]] name = "tauri-build" -version = "2.0.0-alpha.14" +version = "2.0.0-beta.0" dependencies = [ "anyhow", "cargo_toml", @@ -2602,7 +2602,7 @@ dependencies = [ [[package]] name = "tauri-codegen" -version = "2.0.0-alpha.13" +version = "2.0.0-beta.0" dependencies = [ "base64", "ico", @@ -2625,7 +2625,7 @@ dependencies = [ [[package]] name = "tauri-macros" -version = "2.0.0-alpha.13" +version = "2.0.0-beta.0" dependencies = [ "heck", "proc-macro2", @@ -2657,7 +2657,7 @@ dependencies = [ [[package]] name = "tauri-runtime" -version = "1.0.0-alpha.8" +version = "2.0.0-beta.0" dependencies = [ "gtk", "http", @@ -2673,7 +2673,7 @@ dependencies = [ [[package]] name = "tauri-utils" -version = "2.0.0-alpha.13" +version = "2.0.0-beta.0" dependencies = [ "cargo_metadata", "ctor", diff --git a/examples/resources/src-tauri/Cargo.lock b/examples/resources/src-tauri/Cargo.lock index 49862aec0..5bdca818b 100644 --- a/examples/resources/src-tauri/Cargo.lock +++ b/examples/resources/src-tauri/Cargo.lock @@ -3343,7 +3343,7 @@ checksum = "fd1ba337640d60c3e96bc6f0638a939b9c9a7f2c316a1598c279828b3d1dc8c5" [[package]] name = "tauri" -version = "2.0.0-alpha.21" +version = "2.0.0-beta.0" dependencies = [ "anyhow", "bytes", @@ -3389,7 +3389,7 @@ dependencies = [ [[package]] name = "tauri-build" -version = "2.0.0-alpha.14" +version = "2.0.0-beta.0" dependencies = [ "anyhow", "cargo_toml", @@ -3413,7 +3413,7 @@ dependencies = [ [[package]] name = "tauri-codegen" -version = "2.0.0-alpha.13" +version = "2.0.0-beta.0" dependencies = [ "base64", "brotli", @@ -3437,7 +3437,7 @@ dependencies = [ [[package]] name = "tauri-macros" -version = "2.0.0-alpha.13" +version = "2.0.0-beta.0" dependencies = [ "heck", "proc-macro2", @@ -3449,7 +3449,7 @@ dependencies = [ [[package]] name = "tauri-runtime" -version = "1.0.0-alpha.8" +version = "2.0.0-beta.0" dependencies = [ "gtk", "http", @@ -3465,7 +3465,7 @@ dependencies = [ [[package]] name = "tauri-runtime-wry" -version = "1.0.0-alpha.9" +version = "2.0.0-beta.0" dependencies = [ "cocoa", "gtk", @@ -3485,7 +3485,7 @@ dependencies = [ [[package]] name = "tauri-utils" -version = "2.0.0-alpha.13" +version = "2.0.0-beta.0" dependencies = [ "brotli", "cargo_metadata", diff --git a/examples/web/core/Cargo.lock b/examples/web/core/Cargo.lock index 072a0f2dc..8e5f819ba 100644 --- a/examples/web/core/Cargo.lock +++ b/examples/web/core/Cargo.lock @@ -3351,7 +3351,7 @@ checksum = "69758bda2e78f098e4ccb393021a0963bb3442eac05f135c30f61b7370bbafae" [[package]] name = "tauri" -version = "2.0.0-alpha.20" +version = "2.0.0-beta.0" dependencies = [ "anyhow", "bytes", @@ -3396,7 +3396,7 @@ dependencies = [ [[package]] name = "tauri-build" -version = "2.0.0-alpha.13" +version = "2.0.0-beta.0" dependencies = [ "anyhow", "cargo_toml", @@ -3415,7 +3415,7 @@ dependencies = [ [[package]] name = "tauri-build" -version = "2.0.0-alpha.13" +version = "2.0.0-beta.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a7a2582ffb43e5c28932c43ffc40c295a9196a9a33ffb1163269c6baed84834a" dependencies = [ @@ -3436,7 +3436,7 @@ dependencies = [ [[package]] name = "tauri-codegen" -version = "2.0.0-alpha.12" +version = "2.0.0-beta.0" dependencies = [ "base64", "brotli", @@ -3460,7 +3460,7 @@ dependencies = [ [[package]] name = "tauri-macros" -version = "2.0.0-alpha.12" +version = "2.0.0-beta.0" dependencies = [ "heck", "proc-macro2", @@ -3472,7 +3472,7 @@ dependencies = [ [[package]] name = "tauri-plugin-dialog" -version = "2.0.0-alpha.7" +version = "2.0.0-beta.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8a0ff9a134afd29589d6154547a04dee18f5999aa63b91fdf7d58e597264633a" dependencies = [ @@ -3490,7 +3490,7 @@ dependencies = [ [[package]] name = "tauri-plugin-fs" -version = "2.0.0-alpha.7" +version = "2.0.0-beta.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4930141ae4379cdfdc2270b28bf3d54faf1e757f3f8218f2b5b1366faa2dda79" dependencies = [ @@ -3506,7 +3506,7 @@ dependencies = [ [[package]] name = "tauri-runtime" -version = "1.0.0-alpha.7" +version = "2.0.0-beta.0" dependencies = [ "gtk", "http", @@ -3522,7 +3522,7 @@ dependencies = [ [[package]] name = "tauri-runtime-wry" -version = "1.0.0-alpha.8" +version = "2.0.0-beta.0" dependencies = [ "cocoa", "gtk", @@ -3541,7 +3541,7 @@ dependencies = [ [[package]] name = "tauri-utils" -version = "2.0.0-alpha.12" +version = "2.0.0-beta.0" dependencies = [ "brotli", "ctor", @@ -3568,7 +3568,7 @@ dependencies = [ [[package]] name = "tauri-utils" -version = "2.0.0-alpha.12" +version = "2.0.0-beta.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f4858f99fc9f28b72008ef51d04d18b7e3646845c2bc18ee340045fed6ed5095" dependencies = [ diff --git a/tooling/api/CHANGELOG.md b/tooling/api/CHANGELOG.md index f69646e80..e09ea0177 100644 --- a/tooling/api/CHANGELOG.md +++ b/tooling/api/CHANGELOG.md @@ -1,5 +1,26 @@ # Changelog +## \[2.0.0-beta.0] + +### New Features + +- [`74a2a603`](https://www.github.com/tauri-apps/tauri/commit/74a2a6036a5e57462f161d728cbd8a6f121028ca)([#8661](https://www.github.com/tauri-apps/tauri/pull/8661)) Implement access control list for IPC usage. +- [`a093682d`](https://www.github.com/tauri-apps/tauri/commit/a093682d2df7169b024bb4f736c7f1fd2ea8b327)([#8621](https://www.github.com/tauri-apps/tauri/pull/8621)) Added `emitTo` api to `event` module which is equivalent to the rust `emit_to` method. Also added `emitTo` method on `Window`, `Webivew` and `WebviewWindow` classes. +- [`a2fc3a63`](https://www.github.com/tauri-apps/tauri/commit/a2fc3a63579ca739646d696870cbecbb3a169d33)([#8657](https://www.github.com/tauri-apps/tauri/pull/8657)) Add `visibleOnAllWorkspaces` option when creating the window in JS and `Window.setVisibleOnAllWorkspaces` method. +- [`7f033f6d`](https://www.github.com/tauri-apps/tauri/commit/7f033f6dcd54c69a4193765a5c1584755ba92c61)([#8537](https://www.github.com/tauri-apps/tauri/pull/8537)) Add `Window.startResizeDragging`. +- [`9eaeb5a8`](https://www.github.com/tauri-apps/tauri/commit/9eaeb5a8cd95ae24b5e66205bdc2763cb7f965ce)([#8622](https://www.github.com/tauri-apps/tauri/pull/8622)) Add `parent` option when creating a window. +- [`af610232`](https://www.github.com/tauri-apps/tauri/commit/af6102327376884364b2075b468bdf08ee0d02aa)([#8710](https://www.github.com/tauri-apps/tauri/pull/8710)) Added `Window::destroy` to force close a window. +- [`c77b4032`](https://www.github.com/tauri-apps/tauri/commit/c77b40324ea9bf580871fc11aed69ba0c9b6b8cf)([#8280](https://www.github.com/tauri-apps/tauri/pull/8280)) Added support to multiwebview via the new `window` and `webview` modules. + +### Breaking Changes + +- [`c77b4032`](https://www.github.com/tauri-apps/tauri/commit/c77b40324ea9bf580871fc11aed69ba0c9b6b8cf)([#8280](https://www.github.com/tauri-apps/tauri/pull/8280)) Removed event callback's `windowLabel`. +- [`c77b4032`](https://www.github.com/tauri-apps/tauri/commit/c77b40324ea9bf580871fc11aed69ba0c9b6b8cf)([#8280](https://www.github.com/tauri-apps/tauri/pull/8280)) The event target is now an object so you can target either a window or a webview. +- [`c77b4032`](https://www.github.com/tauri-apps/tauri/commit/c77b40324ea9bf580871fc11aed69ba0c9b6b8cf)([#8280](https://www.github.com/tauri-apps/tauri/pull/8280)) Moved webview-specific APIs from the `Window` class to the `Webview` class. +- [`c77b4032`](https://www.github.com/tauri-apps/tauri/commit/c77b40324ea9bf580871fc11aed69ba0c9b6b8cf)([#8280](https://www.github.com/tauri-apps/tauri/pull/8280)) Renamed `TauriEvent.WINDOW_FILE_DROP` to `TauriEvent.WEBVIEW_FILE_DROP`, `TauriEvent.WINDOW_FILE_DROP_HOVER` to `TauriEvent.WEBVIEW_FILE_DROP_HOVER` and `TauriEvent.WINDOW_FILE_DROP_CANCELLED` to `TauriEvent.WEBVIEW_FILE_DROP_CANCELLED`. +- [`c77b4032`](https://www.github.com/tauri-apps/tauri/commit/c77b40324ea9bf580871fc11aed69ba0c9b6b8cf)([#8280](https://www.github.com/tauri-apps/tauri/pull/8280)) Added back the `WebviewWindow` API that exposes functionality of a window that hosts a single webview. The dedicated `Window` and `Webview` types are exposed for multiwebview features. +- [`af610232`](https://www.github.com/tauri-apps/tauri/commit/af6102327376884364b2075b468bdf08ee0d02aa)([#8710](https://www.github.com/tauri-apps/tauri/pull/8710)) `Window::close` now triggers a close requested event instead of forcing the window to be closed. + ## \[2.0.0-alpha.14] ### Bug Fixes diff --git a/tooling/api/package.json b/tooling/api/package.json index 941f70d86..ab729bb84 100644 --- a/tooling/api/package.json +++ b/tooling/api/package.json @@ -1,6 +1,6 @@ { "name": "@tauri-apps/api", - "version": "2.0.0-alpha.14", + "version": "2.0.0-beta.0", "description": "Tauri API definitions", "funding": { "type": "opencollective", diff --git a/tooling/bundler/CHANGELOG.md b/tooling/bundler/CHANGELOG.md index e26f93306..12c690a38 100644 --- a/tooling/bundler/CHANGELOG.md +++ b/tooling/bundler/CHANGELOG.md @@ -1,5 +1,20 @@ # Changelog +## \[2.0.0-beta.0] + +### Enhancements + +- [`d6c7568c`](https://www.github.com/tauri-apps/tauri/commit/d6c7568c27445653edf570f3969163bc358ba2ba)([#8720](https://www.github.com/tauri-apps/tauri/pull/8720)) Add `files` option to the AppImage Configuration. +- [`30be0e30`](https://www.github.com/tauri-apps/tauri/commit/30be0e305773edbd07d3834d2cad979ac67a4d23)([#8303](https://www.github.com/tauri-apps/tauri/pull/8303)) Added Russian language support to the NSIS bundler. + +### Dependencies + +- Upgraded to `tauri-utils@2.0.0-beta.0` + +### Breaking Changes + +- [`8de308d1`](https://www.github.com/tauri-apps/tauri/commit/8de308d1bf6a855d7a26af58bd0e744938ba47d8)([#8723](https://www.github.com/tauri-apps/tauri/pull/8723)) - Removed all license fields from `WixSettings`, `NsisSettings` and `MacOsSettings` and replaced with `license` and `license_file` fields in `BundlerSettings`. + ## \[2.0.0-alpha.14] ### New Features diff --git a/tooling/bundler/Cargo.toml b/tooling/bundler/Cargo.toml index 99dd815f4..8b3783f20 100644 --- a/tooling/bundler/Cargo.toml +++ b/tooling/bundler/Cargo.toml @@ -2,7 +2,7 @@ workspace = { } [package] name = "tauri-bundler" -version = "2.0.0-alpha.14" +version = "2.0.0-beta.0" authors = [ "George Burton ", "Tauri Programme within The Commons Conservancy" @@ -17,7 +17,7 @@ rust-version = "1.70" exclude = [ "CHANGELOG.md", "/target", "rustfmt.toml" ] [dependencies] -tauri-utils = { version = "2.0.0-alpha.13", path = "../../core/tauri-utils", features = [ "resources" ] } +tauri-utils = { version = "2.0.0-beta.0", path = "../../core/tauri-utils", features = [ "resources" ] } image = "0.24.7" libflate = "2.0" anyhow = "1.0" diff --git a/tooling/cli/CHANGELOG.md b/tooling/cli/CHANGELOG.md index c484e7181..777f9375d 100644 --- a/tooling/cli/CHANGELOG.md +++ b/tooling/cli/CHANGELOG.md @@ -1,5 +1,47 @@ # Changelog +## \[2.0.0-beta.0] + +### New Features + +- [`7fcc0bcd`](https://www.github.com/tauri-apps/tauri/commit/7fcc0bcd3482bbc8771e330942ef6cd78cc8ec35)([#8490](https://www.github.com/tauri-apps/tauri/pull/8490)) Add plugin initialization rust code when using `tauri add` +- [`1878766f`](https://www.github.com/tauri-apps/tauri/commit/1878766f7f81a03b0f0b87ec33ee113d7aa7a902)([#8667](https://www.github.com/tauri-apps/tauri/pull/8667)) Migrate the allowlist config to the new capability file format. + +### Enhancements + +- [`d6c7568c`](https://www.github.com/tauri-apps/tauri/commit/d6c7568c27445653edf570f3969163bc358ba2ba)([#8720](https://www.github.com/tauri-apps/tauri/pull/8720)) Add `files` option to the AppImage Configuration. +- [`b3209bb2`](https://www.github.com/tauri-apps/tauri/commit/b3209bb28bb379d5046d577c7e42319d6e76ced0)([#8688](https://www.github.com/tauri-apps/tauri/pull/8688)) Ignore global `.gitignore` when searching for tauri directory. +- [`e691208e`](https://www.github.com/tauri-apps/tauri/commit/e691208e7b39bb8e3ffc9bf66cff731a5025ef16)([#7837](https://www.github.com/tauri-apps/tauri/pull/7837)) Prevent unneeded double Cargo.toml rewrite on `dev` and `build`. +- [`f492efd7`](https://www.github.com/tauri-apps/tauri/commit/f492efd7144fdd8d25cac0c4d2389a95ab75fb02)([#8666](https://www.github.com/tauri-apps/tauri/pull/8666)) Update app and plugin template following the new access control permission model. + +### Bug Fixes + +- [`9cb9aa79`](https://www.github.com/tauri-apps/tauri/commit/9cb9aa7978f231f7da238b33d6ab33fdd2d2c842)([#8672](https://www.github.com/tauri-apps/tauri/pull/8672)) Allow license field in Cargo.toml to be `{ workspace = true }` + +### Dependencies + +- Upgraded to `tauri-utils@2.0.0-beta.0` +- Upgraded to `tauri-bundler@2.0.0-beta.0` + +### Breaking Changes + +- [`8de308d1`](https://www.github.com/tauri-apps/tauri/commit/8de308d1bf6a855d7a26af58bd0e744938ba47d8)([#8723](https://www.github.com/tauri-apps/tauri/pull/8723)) Restructured Tauri config per [RFC#5](https://github.com/tauri-apps/rfcs/blob/f3e82a6b0c5390401e855850d47dc7b7d9afd684/texts/0005-tauri-config-restructure.md): + + - Moved `package.productName`, `package.version` and `tauri.bundle.identifier` fields to the top-level. + - Removed `package` object. + - Renamed `tauri` object to `app`. + - Moved `tauri.bundle` object to the top-level. + - Renamed `build.distDir` field to `frontendDist`. + - Renamed `build.devPath` field to `devUrl` and will no longer accepts paths, it will only accept URLs. + - Moved `tauri.pattern` to `app.security.pattern`. + - Removed `tauri.bundle.updater` object, and its fields have been moved to the updater plugin under `plugins.updater` object. + - Moved `build.withGlobalTauri` to `app.withGlobalTauri`. + - Moved `tauri.bundle.dmg` object to `bundle.macOS.dmg`. + - Moved `tauri.bundle.deb` object to `bundle.linux.deb`. + - Moved `tauri.bundle.appimage` object to `bundle.linux.appimage`. + - Removed all license fields from each bundle configuration object and instead added `bundle.license` and `bundle.licenseFile`. + - Renamed `AppUrl` to `FrontendDist` and refactored its variants to be more explicit. + ## \[2.0.0-alpha.21] ### New Features diff --git a/tooling/cli/Cargo.lock b/tooling/cli/Cargo.lock index 18bfc22d5..98a727175 100644 --- a/tooling/cli/Cargo.lock +++ b/tooling/cli/Cargo.lock @@ -4737,7 +4737,7 @@ dependencies = [ [[package]] name = "tauri-bundler" -version = "2.0.0-alpha.14" +version = "2.0.0-beta.0" dependencies = [ "anyhow", "ar", @@ -4765,7 +4765,7 @@ dependencies = [ "strsim", "tar", "tauri-icns", - "tauri-utils 2.0.0-alpha.13", + "tauri-utils 2.0.0-beta.0", "tempfile", "thiserror", "time", @@ -4779,7 +4779,7 @@ dependencies = [ [[package]] name = "tauri-cli" -version = "2.0.0-alpha.21" +version = "2.0.0-beta.0" dependencies = [ "anyhow", "axum", @@ -4829,7 +4829,7 @@ dependencies = [ "tauri-bundler", "tauri-icns", "tauri-utils 1.5.0", - "tauri-utils 2.0.0-alpha.13", + "tauri-utils 2.0.0-beta.0", "thiserror", "tokio", "toml 0.8.8", @@ -4895,7 +4895,7 @@ dependencies = [ [[package]] name = "tauri-utils" -version = "2.0.0-alpha.13" +version = "2.0.0-beta.0" dependencies = [ "aes-gcm", "ctor 0.2.5", diff --git a/tooling/cli/Cargo.toml b/tooling/cli/Cargo.toml index 5d1e3704b..c5d6dff6e 100644 --- a/tooling/cli/Cargo.toml +++ b/tooling/cli/Cargo.toml @@ -3,7 +3,7 @@ members = [ "node" ] [package] name = "tauri-cli" -version = "2.0.0-alpha.21" +version = "2.0.0-beta.0" authors = [ "Tauri Programme within The Commons Conservancy" ] edition = "2021" rust-version = "1.70" @@ -49,7 +49,7 @@ sublime_fuzzy = "0.7" clap_complete = "4" clap = { version = "4.4", features = [ "derive", "env" ] } anyhow = "1.0" -tauri-bundler = { version = "2.0.0-alpha.14", default-features = false, path = "../bundler" } +tauri-bundler = { version = "2.0.0-beta.0", default-features = false, path = "../bundler" } colored = "2.0" serde = { version = "1.0", features = [ "derive" ] } serde_json = "1.0" @@ -59,7 +59,7 @@ shared_child = "1.0" duct = "0.13" toml_edit = "0.21" json-patch = "1.2" -tauri-utils = { version = "2.0.0-alpha.13", path = "../../core/tauri-utils", features = [ "isolation", "schema", "config-json5", "config-toml" ] } +tauri-utils = { version = "2.0.0-beta.0", path = "../../core/tauri-utils", features = [ "isolation", "schema", "config-json5", "config-toml" ] } tauri-utils-v1 = { version = "1", package = "tauri-utils", features = [ "isolation", "schema", "config-json5", "config-toml" ] } toml = "0.8" jsonschema = "0.17" diff --git a/tooling/cli/metadata-v2.json b/tooling/cli/metadata-v2.json index b93a8d676..64ec232c2 100644 --- a/tooling/cli/metadata-v2.json +++ b/tooling/cli/metadata-v2.json @@ -1,9 +1,9 @@ { "cli.js": { - "version": "2.0.0-alpha.21", + "version": "2.0.0-beta.0", "node": ">= 10.0.0" }, - "tauri": "2.0.0-alpha.21", - "tauri-build": "2.0.0-alpha.14", - "tauri-plugin": "2.0.0-alpha.-1" + "tauri": "2.0.0-beta.0", + "tauri-build": "2.0.0-beta.0", + "tauri-plugin": "2.0.0-beta.0" } diff --git a/tooling/cli/node/CHANGELOG.md b/tooling/cli/node/CHANGELOG.md index d1bd0dfc8..7c7c0b8e4 100644 --- a/tooling/cli/node/CHANGELOG.md +++ b/tooling/cli/node/CHANGELOG.md @@ -1,5 +1,46 @@ # Changelog +## \[2.0.0-beta.0] + +### New Features + +- [`7fcc0bcd`](https://www.github.com/tauri-apps/tauri/commit/7fcc0bcd3482bbc8771e330942ef6cd78cc8ec35)([#8490](https://www.github.com/tauri-apps/tauri/pull/8490)) Add plugin initialization rust code when using `tauri add` +- [`1878766f`](https://www.github.com/tauri-apps/tauri/commit/1878766f7f81a03b0f0b87ec33ee113d7aa7a902)([#8667](https://www.github.com/tauri-apps/tauri/pull/8667)) Migrate the allowlist config to the new capability file format. + +### Enhancements + +- [`d6c7568c`](https://www.github.com/tauri-apps/tauri/commit/d6c7568c27445653edf570f3969163bc358ba2ba)([#8720](https://www.github.com/tauri-apps/tauri/pull/8720)) Add `files` option to the AppImage Configuration. +- [`b3209bb2`](https://www.github.com/tauri-apps/tauri/commit/b3209bb28bb379d5046d577c7e42319d6e76ced0)([#8688](https://www.github.com/tauri-apps/tauri/pull/8688)) Ignore global `.gitignore` when searching for tauri directory. +- [`e691208e`](https://www.github.com/tauri-apps/tauri/commit/e691208e7b39bb8e3ffc9bf66cff731a5025ef16)([#7837](https://www.github.com/tauri-apps/tauri/pull/7837)) Prevent unneeded double Cargo.toml rewrite on `dev` and `build`. +- [`f492efd7`](https://www.github.com/tauri-apps/tauri/commit/f492efd7144fdd8d25cac0c4d2389a95ab75fb02)([#8666](https://www.github.com/tauri-apps/tauri/pull/8666)) Update app and plugin template following the new access control permission model. + +### Bug Fixes + +- [`9cb9aa79`](https://www.github.com/tauri-apps/tauri/commit/9cb9aa7978f231f7da238b33d6ab33fdd2d2c842)([#8672](https://www.github.com/tauri-apps/tauri/pull/8672)) Allow license field in Cargo.toml to be `{ workspace = true }` + +### Dependencies + +- Upgraded to `tauri-cli@2.0.0-beta.0` + +### Breaking Changes + +- [`8de308d1`](https://www.github.com/tauri-apps/tauri/commit/8de308d1bf6a855d7a26af58bd0e744938ba47d8)([#8723](https://www.github.com/tauri-apps/tauri/pull/8723)) Restructured Tauri config per [RFC#5](https://github.com/tauri-apps/rfcs/blob/f3e82a6b0c5390401e855850d47dc7b7d9afd684/texts/0005-tauri-config-restructure.md): + + - Moved `package.productName`, `package.version` and `tauri.bundle.identifier` fields to the top-level. + - Removed `package` object. + - Renamed `tauri` object to `app`. + - Moved `tauri.bundle` object to the top-level. + - Renamed `build.distDir` field to `frontendDist`. + - Renamed `build.devPath` field to `devUrl` and will no longer accepts paths, it will only accept URLs. + - Moved `tauri.pattern` to `app.security.pattern`. + - Removed `tauri.bundle.updater` object, and its fields have been moved to the updater plugin under `plugins.updater` object. + - Moved `build.withGlobalTauri` to `app.withGlobalTauri`. + - Moved `tauri.bundle.dmg` object to `bundle.macOS.dmg`. + - Moved `tauri.bundle.deb` object to `bundle.linux.deb`. + - Moved `tauri.bundle.appimage` object to `bundle.linux.appimage`. + - Removed all license fields from each bundle configuration object and instead added `bundle.license` and `bundle.licenseFile`. + - Renamed `AppUrl` to `FrontendDist` and refactored its variants to be more explicit. + ## \[2.0.0-alpha.21] ### New Features diff --git a/tooling/cli/node/package.json b/tooling/cli/node/package.json index 74cfc7a49..118093715 100644 --- a/tooling/cli/node/package.json +++ b/tooling/cli/node/package.json @@ -1,6 +1,6 @@ { "name": "@tauri-apps/cli", - "version": "2.0.0-alpha.21", + "version": "2.0.0-beta.0", "description": "Command line interface for building Tauri apps", "funding": { "type": "opencollective", diff --git a/tooling/webdriver/CHANGELOG.md b/tooling/webdriver/CHANGELOG.md index 8d9e57336..111d25369 100644 --- a/tooling/webdriver/CHANGELOG.md +++ b/tooling/webdriver/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## \[0.1.4] + +### New Features + +- [`435d7513`](https://www.github.com/tauri-apps/tauri/commit/435d7513e45eab8b512e9a7e695a1adef8a98a46)([#8609](https://www.github.com/tauri-apps/tauri/pull/8609)) Added `webviewOptions` object to the `tauri:options` capability to configure the [Edge webview options](https://learn.microsoft.com/en-us/microsoft-edge/webdriver-chromium/capabilities-edge-options#webviewoptions-object) on Windows. + ## \[0.1.3] ### What's Changed diff --git a/tooling/webdriver/Cargo.lock b/tooling/webdriver/Cargo.lock index 9fcf9c9d1..aaf536cd3 100644 --- a/tooling/webdriver/Cargo.lock +++ b/tooling/webdriver/Cargo.lock @@ -421,7 +421,7 @@ dependencies = [ [[package]] name = "tauri-driver" -version = "0.1.3" +version = "0.1.4-alpha.0" dependencies = [ "anyhow", "futures", diff --git a/tooling/webdriver/Cargo.toml b/tooling/webdriver/Cargo.toml index 922053a99..52793fac1 100644 --- a/tooling/webdriver/Cargo.toml +++ b/tooling/webdriver/Cargo.toml @@ -2,7 +2,7 @@ workspace = { } [package] name = "tauri-driver" -version = "0.1.3" +version = "0.1.4" authors = [ "Tauri Programme within The Commons Conservancy" ] categories = [ "gui", "web-programming" ] license = "Apache-2.0 OR MIT"