Skip to content

Commit

Permalink
Merge branch 'next' into nsis
Browse files Browse the repository at this point in the history
  • Loading branch information
amrbashir committed Oct 31, 2022
2 parents b8825b7 + 348b26f commit e20c099
Show file tree
Hide file tree
Showing 552 changed files with 22,269 additions and 8,439 deletions.
5 changes: 5 additions & 0 deletions .changes/accept-first-mouse-api.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"api": minor
---

Added the `acceptFirstMouse` window option.
6 changes: 6 additions & 0 deletions .changes/accept-first-mouse.md
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
@@ -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/build-android-env-vars.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"tauri-build": patch
---

Set environment variables used by `tauri::mobile_entry_point`.
5 changes: 5 additions & 0 deletions .changes/bundler-japanese-lang.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"tauri-bundler": "patch"
---

Use correct code `ja-JP` for japanese instead of `jp-JP`.
6 changes: 6 additions & 0 deletions .changes/cli-android-build.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"cli.rs": minor
"cli.js": minor
---

Added `android build` command.
5 changes: 5 additions & 0 deletions .changes/cli-dev-alive-on-error.md
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"cli.rs": patch
"cli.js": patch
---

Detect JSON5 and TOML configuration files in the dev watcher.
6 changes: 6 additions & 0 deletions .changes/cli-ios-build.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"cli.rs": patch
"cli.js": patch
---

Added `ios build` command.
6 changes: 6 additions & 0 deletions .changes/cli-mobile-dev.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"cli.rs": minor
"cli.js": minor
---

Added `android dev` and `ios dev` commands.
5 changes: 5 additions & 0 deletions .changes/cli-no-default-featurs-arg.md
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
@@ -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.
5 changes: 5 additions & 0 deletions .changes/codegen-mobile-devurl.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"tauri-codegen": patch
---

Change `devPath` URL to use the local IP address on iOS and Android.
65 changes: 21 additions & 44 deletions .changes/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
"timeout": 3600000,
"pkgManagers": {
"rust": {
"errorOnVersionRange": "^2.0.0-0",
"version": true,
"getPublishedVersion": "cargo search ${ pkgFile.pkg.package.name } --limit 1 | sed -nE \"s/^[^\\\"]*\\\"//; s/\\\".*//1p\"",
"prepublish": [
Expand All @@ -17,12 +16,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 +27,7 @@
"pipe": true
},
{
"command": "echo '```'",
"command": "echo '```\n\n</details>\n'",
"dryRunCommand": true,
"pipe": true
}
Expand All @@ -45,12 +39,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 +49,7 @@
"pipe": true
},
{
"command": "echo '```'",
"command": "echo '```\n\n</details>\n'",
"dryRunCommand": true,
"pipe": true
}
Expand All @@ -78,7 +67,6 @@
]
},
"javascript": {
"errorOnVersionRange": "^2.0.0-0",
"version": true,
"getPublishedVersion": "npm view ${ pkgFile.pkg.name } version",
"prepublish": [
Expand All @@ -87,12 +75,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 +98,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 +108,7 @@
"pipe": true
},
{
"command": "echo '```'",
"command": "echo '```\n\n</details>\n'",
"dryRunCommand": true,
"pipe": true
}
Expand Down Expand Up @@ -158,12 +136,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 +158,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 +168,7 @@
"pipe": true
},
{
"command": "echo '```'",
"command": "echo '```\n\n</details>\n'",
"dryRunCommand": true,
"pipe": true
}
Expand Down Expand Up @@ -239,7 +207,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 +230,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
Original file line number Diff line number Diff line change
@@ -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/dev-proxy.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"tauri": major
---

**Breaking change:** Use the custom protocol as a proxy to the development server on all platforms except Linux.
5 changes: 5 additions & 0 deletions .changes/dialog-save-return-fix.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"api": patch
---

Fix `dialog.save` return type
5 changes: 5 additions & 0 deletions .changes/drop-web-context.md
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"tauri": patch
---

Properly emit events with object payload.
6 changes: 6 additions & 0 deletions .changes/fix-html-template.md
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"tauri": patch
---

Fixes `__TAURI_PATTERN__` object freeze.
7 changes: 7 additions & 0 deletions .changes/focused.md
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
'tauri': minor
"tauri-runtime-wry": minor
---

Add `hidden_title` option for macOS windows.

0 comments on commit e20c099

Please sign in to comment.