Skip to content

Commit

Permalink
Merge branch 'dev' into build/api/simpify-output-js
Browse files Browse the repository at this point in the history
  • Loading branch information
amrbashir committed Oct 17, 2023
2 parents 6f717e2 + 2fe8782 commit ff688d9
Show file tree
Hide file tree
Showing 180 changed files with 3,062 additions and 2,536 deletions.
6 changes: 6 additions & 0 deletions .changes/cli-config-target-mobile.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"tauri-cli": patch:bug
"@tauri-apps/cli": patch:bug
---

Properly read platform-specific configuration files for mobile targets.
12 changes: 12 additions & 0 deletions .changes/cli-plugin-init.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
'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`.
6 changes: 6 additions & 0 deletions .changes/codegen-target-from-utils.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"tauri-codegen": patch:enhance
"tauri-macros": patch:enhance
---

Use `Target` enum from `tauri_utils::platform`.
8 changes: 8 additions & 0 deletions .changes/custom-protocol-http-android.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
"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`.
5 changes: 5 additions & 0 deletions .changes/custom-protocol-response-refactor.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"tauri": patch:breaking
---

Changed `Builder::register_uri_scheme_protocol` to return a `http::Response` instead of `Result<http::Response>`. To return an error response, manually create a response with status code >= 400.
6 changes: 6 additions & 0 deletions .changes/devicectl.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"tauri-cli": patch:feat
"@tauri-apps/cli": patch:feat
---

Use `devicectl` to connect to iOS 17+ devices on macOS 14+.
5 changes: 5 additions & 0 deletions .changes/fix-channel-data-request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"tauri": patch:bug
---

Fixes invalid header value type when requesting IPC body through a channel.
6 changes: 6 additions & 0 deletions .changes/fix-icons-android.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@tauri-apps/cli": patch:bug
"tauri-cli": patch:bug
---

Fixes `icon` command not writing files to the correct Android project folders.
6 changes: 6 additions & 0 deletions .changes/fix-ios-logs.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"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.
5 changes: 5 additions & 0 deletions .changes/fix-ipc-payload.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"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.
5 changes: 5 additions & 0 deletions .changes/fix-ipc-remote-url-macos.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"tauri": patch:bug
---

Fixes IPC failing to communicate for remote URLs on macOS and iOS.
8 changes: 8 additions & 0 deletions .changes/fix-windows-custom-protocol-url.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
"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`.
6 changes: 6 additions & 0 deletions .changes/fix-windows-custom-protocol.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"tauri": patch:bug
"tauri-runtime-wry": patch:bug
---

Fixes custom protocol not working on Windows.
7 changes: 7 additions & 0 deletions .changes/http-types-refactor.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
"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.
5 changes: 5 additions & 0 deletions .changes/invoke-system-args.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"tauri": patch:breaking
---

Changed `Builder::invoke_system` to take references instead of owned values.
6 changes: 6 additions & 0 deletions .changes/ios-create-asset-dir.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"tauri-cli": patch:bug
"@tauri-apps/cli": patch:bug
---

Ensure asset directory exists on the iOS project.
5 changes: 5 additions & 0 deletions .changes/mobile-config-naming-conventions.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"tauri-utils": patch:breaking
---

Follow file name conventions set by desktop for mobile Tauri configuration files. Added `target` argument on most `config::parse` methods.
6 changes: 6 additions & 0 deletions .changes/mobile-docs.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"tauri": patch:enhance
"tauri-runtime": patch:enhance
---

Include mobile on docs.rs targets.
6 changes: 6 additions & 0 deletions .changes/move-add-command.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"tauri-cli": patch:breaking
"@tauri-apps/cli": patch:breaking
---

Renamed the `plugin add` command to `add`.
34 changes: 34 additions & 0 deletions .changes/pre.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
".changes/android-on-new-intent.md",
".changes/android-plugin-command-exception.md",
".changes/api-ipc-refactor.md",
".changes/app-builder-send.md",
".changes/build-android-env-vars.md",
".changes/bump-1.3.md",
".changes/bundler-remove-dialog-option.md",
Expand All @@ -23,6 +24,7 @@
".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-expose-plugin-config.md",
".changes/cli-ios-build.md",
".changes/cli-ios-metadata-env-var.md",
Expand All @@ -40,6 +42,7 @@
".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-incognito.md",
".changes/config-tray-icon-tooltip.md",
".changes/config-tray-icon.md",
Expand All @@ -50,11 +53,15 @@
".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/dnd-position.md",
".changes/downgrade-min-sdk-version.md",
".changes/dynamic-wry-plugin.md",
".changes/enable-minify.md",
Expand All @@ -65,12 +72,17 @@
".changes/file-associations-config.md",
".changes/file-associations.md",
".changes/fix-build-script-mobile-runner-npm.md",
".changes/fix-channel-data-request.md",
".changes/fix-dev-server-proxy-path.md",
".changes/fix-empty-identifier.md",
".changes/fix-icons-android.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-nodejs-android-cmds.md",
".changes/fix-orientation-crash.md",
Expand All @@ -82,17 +94,22 @@
".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-xcodescript-lib-path.md",
".changes/force-colored-logs.md",
".changes/generate-tauri-activity.md",
".changes/gradle-8.md",
".changes/gtk16.md",
".changes/http-types-refactor.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/ios-create-asset-dir.md",
".changes/ios-deployment-target.md",
".changes/ios-entitlements.md",
".changes/ios-icon-color.md",
Expand All @@ -114,6 +131,7 @@
".changes/migrate-csp.md",
".changes/migrate-plugins.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-entry-point-macro.md",
Expand All @@ -125,6 +143,7 @@
".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",
Expand All @@ -141,6 +160,7 @@
".changes/msrv-1.65.md",
".changes/napi-rs.md",
".changes/npm-pass-args.md",
".changes/nsis-bulgarian.md",
".changes/on-navigation-plugin.md",
".changes/on-new-intent.md",
".changes/only-proxy-on-mobile.md",
Expand All @@ -161,6 +181,7 @@
".changes/refactor-macros.md",
".changes/refactor-setup.md",
".changes/refactor-tauri-android-dependency.md",
".changes/register_asynchronous_uri_scheme_protocol.md",
".changes/remove-allowlist.md",
".changes/remove-attohttpc.md",
".changes/remove-clipboard.md",
Expand All @@ -179,6 +200,7 @@
".changes/run-event-opened.md",
".changes/run-mobile-plugin.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",
Expand All @@ -187,38 +209,50 @@
".changes/runtime-new-args.md",
".changes/runtime-opened-event.md",
".changes/safepathbuf-refactor.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/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-cleanup-before-exit.md",
".changes/tauri-defaultvbox.md",
".changes/tauri-env-args.md",
".changes/tauri-libxdo-feat.md",
".changes/tauri-menu-tray-refactor.md",
".changes/tauri-mobile-entry-point.md",
".changes/tauri-nsview.md",
".changes/tauri-run_on_main_thread.md",
".changes/tauri-runtime-wry-wry-0-28.md",
".changes/tauri-scopes.md",
".changes/tauri-tray-icon-feat-flag.md",
".changes/tauri-tray-icon-id.md",
".changes/tauri-tray-on-tray-event.md",
".changes/tauri-utils-tray-icon-id copy.md",
".changes/tempdir-api.md",
".changes/tempdir-core.md",
".changes/tls-features-automatically-enabled.md",
".changes/tls-features-refactor.md",
".changes/ubuntu-20.04-cli.js.md",
".changes/ubuntu-20.04-cli.rs.md",
".changes/update-entitlements-api.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/with-webview.md",
".changes/wry-0.32.md",
".changes/wry-navigate-method.md",
".changes/wry26.md"
]
Expand Down
5 changes: 5 additions & 0 deletions .changes/register_asynchronous_uri_scheme_protocol.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"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.
5 changes: 5 additions & 0 deletions .changes/runtime-custom-protocol-async.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"tauri-runtime": patch:enhance
---

Changed custom protocol closure type to enable asynchronous usage.
5 changes: 5 additions & 0 deletions .changes/set_native_icon_signature.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"tauri": 'patch:bug'
---

Changed `IconMenuItem::set_native_icon` signature to take `&self` instead of `&mut self` to fix compilation error on macos.
5 changes: 5 additions & 0 deletions .changes/tauri-api-removal.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'tauri': 'major:breaking'
---

Removed `tauri::api` module as most apis have been moved to either a plugin or we recommend using other crates.
5 changes: 5 additions & 0 deletions .changes/tauri-asset-protocol.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'tauri': 'patch:bug'
---

Fix `asset` protocol failing to fetch files.
5 changes: 5 additions & 0 deletions .changes/tauri-env-args.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'tauri': 'major:breaking'
---

Changed `Env.args` to `Env.args_os` and now uses `OsString` instead of `String`
9 changes: 9 additions & 0 deletions .changes/tauri-scopes.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
'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.
5 changes: 5 additions & 0 deletions .changes/tauri-tray-icon-id.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'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")`.
5 changes: 5 additions & 0 deletions .changes/tauri-tray-on-tray-event.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'tauri': 'patch:breaking'
---

Changed `TrayIconBuilder/TrayIcon::on_tray_event` to `TrayIconBuilder/TrayIcon::on_tray_icon_event` for consistency of naming.
5 changes: 5 additions & 0 deletions .changes/tauri-utils-tray-icon-id copy.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'tauri-utils': 'patch:enhance'
---

Add an option to specify `id` for the tray icon in the tauri configuration file.
5 changes: 5 additions & 0 deletions .changes/validate-appimage.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"tauri": patch:bug
---

Fix the validation of `std::env::current_exe` warn the user if AppImage is not mounted instead of panicking
5 changes: 5 additions & 0 deletions .changes/window-on-message-refactor.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"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.
5 changes: 5 additions & 0 deletions .changes/wry-0.32.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"tauri-runtime-wry": patch:enhance
---

Update wry to 0.32 to include asynchronous custom protocol support.
Loading

0 comments on commit ff688d9

Please sign in to comment.