Skip to content

Commit

Permalink
Merge branch 'dev' into nsis
Browse files Browse the repository at this point in the history
  • Loading branch information
amrbashir committed Nov 1, 2022
2 parents b8825b7 + 35264b4 commit a5def17
Show file tree
Hide file tree
Showing 476 changed files with 16,478 additions and 8,001 deletions.
5 changes: 5 additions & 0 deletions .changes/accept-first-mouse-api.md
@@ -0,0 +1,5 @@
---
"api": minor
---

Added the `acceptFirstMouse` window option.
6 changes: 6 additions & 0 deletions .changes/accept-first-mouse.md
@@ -0,0 +1,6 @@
---
"tauri": minor
"tauri-runtime-wry": minor
---

Add `accept_first_mouse` option for macOS windows.
5 changes: 5 additions & 0 deletions .changes/api-fs-exists-return-type.md
@@ -0,0 +1,5 @@
---
"api": patch
---

Fix incorrect return type on `fs/exists`
5 changes: 5 additions & 0 deletions .changes/api-monitor-class-initialization.md
@@ -0,0 +1,5 @@
---
"api": "patch"
---

Initialize `Monitor` instances with the correct classes for `position` and `size` fields instead of plain object.
5 changes: 5 additions & 0 deletions .changes/api-node14.md
@@ -0,0 +1,5 @@
---
"api": minor
---

**Breaking change:** Node.js v12 is no longer supported.
6 changes: 6 additions & 0 deletions .changes/app-dirs-api.md
@@ -0,0 +1,6 @@
---
"tauri": minor
"api": minor
---

Add new app-specific `BaseDirectory` enum variants `AppConfig`, `AppData`, `AppLocalData`, `AppCache` and `AppLog` along with equivalent functions in `path` module and deprecated ambiguous variants `Log` and `App` along with their equivalent functions in `path` module.
5 changes: 5 additions & 0 deletions .changes/asset-protocol-streaming-mime-type.md
@@ -0,0 +1,5 @@
---
"tauri": "patch"
---

Set the correct mimetype when streaming files through `asset:` protocol
6 changes: 6 additions & 0 deletions .changes/automatic-tabbing.md
@@ -0,0 +1,6 @@
---
"tauri": minor
"tauri-runtime-wry": minor
---

Disable automatic window tabbing on macOS when the `tabbing_identifier` option is not defined, the window is transparent or does not have decorations.
5 changes: 5 additions & 0 deletions .changes/bundler-japanese-lang.md
@@ -0,0 +1,5 @@
---
"tauri-bundler": "patch"
---

Use correct code `ja-JP` for japanese instead of `jp-JP`.
5 changes: 5 additions & 0 deletions .changes/cli-dev-alive-on-error.md
@@ -0,0 +1,5 @@
---
"cli.rs": "patch"
---

Keep `tauri dev` watcher alive when the configuration is invalid.
5 changes: 5 additions & 0 deletions .changes/cli-ignore-workspace-members.md
@@ -0,0 +1,5 @@
---
"cli.rs": patch
---

Ignore workspace members in dev watcher if they are ignored by `.taurignore`
6 changes: 6 additions & 0 deletions .changes/cli-improve-config-watcher.md
@@ -0,0 +1,6 @@
---
"cli.rs": patch
"cli.js": patch
---

Detect JSON5 and TOML configuration files in the dev watcher.
5 changes: 5 additions & 0 deletions .changes/cli-no-default-featurs-arg.md
@@ -0,0 +1,5 @@
---
"cli.rs": "patch"
---

Fix cli passing `--no-default-features` to the app instead of the runner (Cargo).
7 changes: 7 additions & 0 deletions .changes/cli-product-name-validation.md
@@ -0,0 +1,7 @@
---
"cli.rs": "patch"
"tauri-utils": "patch"
---

Validate `pacakge > productName` in the tauri config and produce errors if it contains one of the following characters `/\:*?\"<>|`

5 changes: 5 additions & 0 deletions .changes/cli-static-files-hot-reload.md
@@ -0,0 +1,5 @@
---
"cli.rs": "minor"
---

Hot-reload the frontend when `tauri.conf.json > build > devPath` points to a directory.
5 changes: 5 additions & 0 deletions .changes/cli-target-triple-env.md
@@ -0,0 +1,5 @@
---
"cli.rs": "patch"
---

Expose `TAURI_TARGET_TRIPLE` to `beforeDevCommand`, `beforeBuildCommand` and `beforeBundleCommand`
6 changes: 6 additions & 0 deletions .changes/cli-watcher-info.md
@@ -0,0 +1,6 @@
---
"cli.rs": patch
"cli.js": patch
---

Log dev watcher file change detection.
5 changes: 5 additions & 0 deletions .changes/cli.js-node-shim-and-deno.md
@@ -0,0 +1,5 @@
---
"cli.js": patch
---

Fix crash when nodejs binary has the version in its name, for example `node18` or when running through deno.
63 changes: 21 additions & 42 deletions .changes/config.json
Expand Up @@ -17,12 +17,7 @@
"pipe": true
},
{
"command": "echo \"# Cargo Audit\"",
"dryRunCommand": true,
"pipe": true
},
{
"command": "echo '```'",
"command": "echo '<details>\n<summary><em><h4>Cargo Audit</h4></em></summary>\n\n```'",
"dryRunCommand": true,
"pipe": true
},
Expand All @@ -33,7 +28,7 @@
"pipe": true
},
{
"command": "echo '```'",
"command": "echo '```\n\n</details>\n'",
"dryRunCommand": true,
"pipe": true
}
Expand All @@ -45,12 +40,7 @@
"dryRunCommand": true
},
{
"command": "echo \"# Cargo Publish\"",
"dryRunCommand": true,
"pipe": true
},
{
"command": "echo '```'",
"command": "echo '<details>\n<summary><em><h4>Cargo Publish</h4></em></summary>\n\n```'",
"dryRunCommand": true,
"pipe": true
},
Expand All @@ -60,7 +50,7 @@
"pipe": true
},
{
"command": "echo '```'",
"command": "echo '```\n\n</details>\n'",
"dryRunCommand": true,
"pipe": true
}
Expand All @@ -87,12 +77,7 @@
"dryRunCommand": true
},
{
"command": "echo \"# Yarn Audit\n\"",
"dryRunCommand": true,
"pipe": true
},
{
"command": "echo '<details>\n<summary>click to view</summary>\n\n```'",
"command": "echo '<details>\n<summary><em><h4>Yarn Audit</h4></em></summary>\n\n```'",
"dryRunCommand": true,
"pipe": true
},
Expand All @@ -115,12 +100,7 @@
"publish": [
"sleep 15s",
{
"command": "echo \"# Yarn Package Publish\"",
"dryRunCommand": true,
"pipe": true
},
{
"command": "echo '```'",
"command": "echo '<details>\n<summary><em><h4>Yarn Publish</h4></em></summary>\n\n```'",
"dryRunCommand": true,
"pipe": true
},
Expand All @@ -130,7 +110,7 @@
"pipe": true
},
{
"command": "echo '```'",
"command": "echo '```\n\n</details>\n'",
"dryRunCommand": true,
"pipe": true
}
Expand Down Expand Up @@ -158,12 +138,7 @@
"dryRunCommand": true
},
{
"command": "echo \"# Yarn Audit\n\"",
"dryRunCommand": true,
"pipe": true
},
{
"command": "echo '<details>\n<summary>click to view</summary>\n\n```'",
"command": "echo '<details>\n<summary><em><h4>Yarn Audit</h4></em></summary>\n\n```'",
"dryRunCommand": true,
"pipe": true
},
Expand All @@ -185,12 +160,7 @@
],
"publish": [
{
"command": "echo \"# Yarn Package Publish\"",
"dryRunCommand": true,
"pipe": true
},
{
"command": "echo '```'",
"command": "echo '<details>\n<summary><em><h4>Yarn Publish</h4></em></summary>\n\n```'",
"dryRunCommand": true,
"pipe": true
},
Expand All @@ -200,7 +170,7 @@
"pipe": true
},
{
"command": "echo '```'",
"command": "echo '```\n\n</details>\n'",
"dryRunCommand": true,
"pipe": true
}
Expand Down Expand Up @@ -239,7 +209,13 @@
"path": "./core/tauri-build",
"manager": "rust",
"dependencies": ["tauri-codegen", "tauri-utils"],
"postversion": "node ../../.scripts/covector/sync-cli-metadata.js ${ pkg.pkg } ${ release.type }"
"postversion": "node ../../.scripts/covector/sync-cli-metadata.js ${ pkg.pkg } ${ release.type }",
"assets": [
{
"path": "./tooling/cli/schema.json",
"name": "schema.json"
}
]
},
"tauri": {
"path": "./core/tauri",
Expand All @@ -256,7 +232,10 @@
"path": "./tooling/cli/node",
"manager": "javascript",
"dependencies": ["cli.rs"],
"postversion": "node ../../../.scripts/covector/sync-cli-metadata.js ${ pkg.pkg } ${ release.type }",
"postversion": [
"node ../../../.scripts/covector/sync-cli-metadata.js ${ pkg.pkg } ${ release.type }",
"cargo build --manifest-path ../../core/config-schema/Cargo.toml"
],
"prepublish": [],
"publish": [],
"postpublish": []
Expand Down
5 changes: 5 additions & 0 deletions .changes/custom-protocol-uri-parse.md
@@ -0,0 +1,5 @@
---
"tauri": minor
---

The custom protocol now validates the request URI. This has implications when using the `asset` protocol without the `convertFileSrc` helper, the URL must now use the `asset://localhost/$filePath` format.
5 changes: 5 additions & 0 deletions .changes/dialog-save-return-fix.md
@@ -0,0 +1,5 @@
---
"api": patch
---

Fix `dialog.save` return type
5 changes: 5 additions & 0 deletions .changes/drop-web-context.md
@@ -0,0 +1,5 @@
---
"tauri-runtime-wry": patch
---

Drop the WebContext when the WebView is dropped.
5 changes: 5 additions & 0 deletions .changes/escape-pattern.md
@@ -0,0 +1,5 @@
---
"tauri": "patch"
---

Escape glob special characters in files/directories when dropping files or using the open/save dialogs.
5 changes: 5 additions & 0 deletions .changes/fix-cli-envs.md
@@ -0,0 +1,5 @@
---
"cli.rs": "patch"
---

Set `TAURI_PLATFORM_TYPE`, `TAURI_FAMILY`, `TAURI_ARCH` and `TAURI_PLATFORM` env vars for hook commands to based on the app not the cli.
5 changes: 0 additions & 5 deletions .changes/fix-debian-arm64.md

This file was deleted.

5 changes: 5 additions & 0 deletions .changes/fix-event-payload.md
@@ -0,0 +1,5 @@
---
"tauri": patch
---

Properly emit events with object payload.
6 changes: 6 additions & 0 deletions .changes/fix-html-template.md
@@ -0,0 +1,6 @@
---
"tauri-utils": patch
"tauri-codegen": patch
---

Properly serialize HTML template tags.
5 changes: 5 additions & 0 deletions .changes/fix-metadata-update.md
@@ -0,0 +1,5 @@
---
"tauri": patch
---

Fixes access to the `WebviewWindow.getByLabel` function in a `tauri://window-created` event listener.
5 changes: 5 additions & 0 deletions .changes/fix-resource-scope.md
@@ -0,0 +1,5 @@
---
"tauri": patch
---

Fixes resource reading being always rejected by the scope.
5 changes: 5 additions & 0 deletions .changes/fix-tauri-pattern-freeze.md
@@ -0,0 +1,5 @@
---
"tauri": patch
---

Fixes `__TAURI_PATTERN__` object freeze.
7 changes: 7 additions & 0 deletions .changes/focused.md
@@ -0,0 +1,7 @@
---
"tauri": minor
"tauri-runtime": minor
"tauri-runtime-wry": minor
---

Readd the option to create an unfocused window via the `focused` method. The `focus` function has been deprecated.
6 changes: 6 additions & 0 deletions .changes/hidden-title-macos.md
@@ -0,0 +1,6 @@
---
'tauri': minor
"tauri-runtime-wry": minor
---

Add `hidden_title` option for macOS windows.
5 changes: 5 additions & 0 deletions .changes/isolation-pattern-config.md
@@ -0,0 +1,5 @@
---
"tauri-utils": minor
---

`PatternKind::Isolation` is now defined even without the `isolation` feature.
6 changes: 6 additions & 0 deletions .changes/linux-header-support.md
@@ -0,0 +1,6 @@
---
"tauri": minor
"tauri-runtime-wry": minor
---

Custom protocol headers are now implemented on Linux when running on webkit2gtk 2.36 or above.
5 changes: 5 additions & 0 deletions .changes/mac-app-hide-allowlist.md
@@ -0,0 +1,5 @@
---
"tauri-utils": minor
---

Added the `app` allowlist module.
5 changes: 5 additions & 0 deletions .changes/mac-app-hide-api.md
@@ -0,0 +1,5 @@
---
"api": minor
---

Added `show` and `hide` methods on the `app` module.
6 changes: 6 additions & 0 deletions .changes/mac-app-hide-runtime.md
@@ -0,0 +1,6 @@
---
"tauri-runtime-wry": minor
"tauri-runtime": minor
---

Added `Runtime::show()`, `RuntimeHandle::show()`, `Runtime::hide()`, `RuntimeHandle::hide()` for hiding/showing the entire application on macOS.
5 changes: 5 additions & 0 deletions .changes/mac-app-hide.md
@@ -0,0 +1,5 @@
---
"tauri": minor
---

Add `App::show()`, `AppHandle::show()`, `App::hide()` and `AppHandle::hide()` for hiding/showing the entire application on macOS.
5 changes: 5 additions & 0 deletions .changes/menu-deadlock.md
@@ -0,0 +1,5 @@
---
"tauri": "patch"
---

Fix a deadlock when modifying the menu in the `on_menu_event` closure.
6 changes: 6 additions & 0 deletions .changes/menu-on-left-click.md
@@ -0,0 +1,6 @@
---
"tauri-runtime-wry": "patch"
---

Fix regression in `SystemTray::with_menu_on_left_click`

0 comments on commit a5def17

Please sign in to comment.