Skip to content

Commit

Permalink
Merge pull request #7214 from tauri-apps/next
Browse files Browse the repository at this point in the history
chore: merge `next` into `dev`
  • Loading branch information
wusyong authored Jun 16, 2023
2 parents 28921cb + 6b81d70 commit 535f223
Show file tree
Hide file tree
Showing 763 changed files with 21,745 additions and 33,777 deletions.
6 changes: 6 additions & 0 deletions .changes/add-command.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"tauri-cli": 'patch:feat'
"@tauri-apps/cli": 'patch:feat'
---

Added `tauri plugin add` command to add a plugin to the Tauri project.
6 changes: 6 additions & 0 deletions .changes/add-mobile-to-plugin.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"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.
5 changes: 5 additions & 0 deletions .changes/add-tauri-get-version.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'tauri': 'minor:feat'
---

Added `tauri::VERSION` const to get Tauri's version from Rust.
5 changes: 5 additions & 0 deletions .changes/add-webview-version.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'tauri': 'minor:feat'
---

Added `tauri::webview_version` , to get webview version.
6 changes: 6 additions & 0 deletions .changes/android-apis-runtime.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"tauri-runtime": 'minor:feat'
"tauri-runtime-wry": 'minor:feat'
---

Add `find_class`, `run_on_android_context` on `RuntimeHandle`.
6 changes: 6 additions & 0 deletions .changes/android-buildsrc-gitignore.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"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.
5 changes: 5 additions & 0 deletions .changes/android-enhance-method-parse.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"tauri": 'patch:enhance'
---

Enhance parsing of annotated Android plugin methods to support private functions.
5 changes: 5 additions & 0 deletions .changes/android-load-config.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"tauri": 'patch:enhance'
---

Added static function `loadConfig` on the Android `PluginManager` class.
5 changes: 5 additions & 0 deletions .changes/android-plugin-command-exception.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"tauri": 'patch:enhance'
---

Adjust Android plugin exception error.
5 changes: 5 additions & 0 deletions .changes/api-js-os-locale.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@tauri-apps/api': 'patch:enhance'
---

Add `locale` function in the `os` module to get the system locale.
5 changes: 5 additions & 0 deletions .changes/api-rs-os-locale.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"tauri": "patch:enhance"
---

Add `tauri::api::os::locale` function to get the system locale.
6 changes: 6 additions & 0 deletions .changes/appimage-follow-symlinks.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
'tauri-bundler': 'patch:bug'
---

- Updated the AppImage bundler to follow symlinks for `/usr/lib*`.
- Fixes AppImage bundling for Void Linux, which was failing to bundle webkit2gtk because the `/usr/lib64` is a symlink to `/usr/lib`.
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:enhance'
---

Set environment variables used by `tauri::mobile_entry_point`.
10 changes: 10 additions & 0 deletions .changes/bump-1.3.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
"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.
5 changes: 5 additions & 0 deletions .changes/bundler-remove-dialog-option.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"tauri-bundler": 'patch:enhance'
---

Removed the `UpdaterSettings::dialog` field.
6 changes: 6 additions & 0 deletions .changes/channel-api.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"api": 'patch:enhance'
"tauri": 'patch:enhance'
---

Add channel API for sending data across the IPC.
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 @@
---
"tauri-cli": 'minor:feat'
"@tauri-apps/cli": 'minor:feat'
---

Added `android build` command.
6 changes: 6 additions & 0 deletions .changes/cli-android-dev-release.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
'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
6 changes: 6 additions & 0 deletions .changes/cli-android-specified-targets-only.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
'tauri-cli': 'patch:enhance'
'@tauri-apps/cli': 'patch:enhance'
---

Build only specified rust targets for `tauri android build` instead of all.
5 changes: 5 additions & 0 deletions .changes/cli-android-split-per-abit-target.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'tauri-cli': 'patch:bug'
---

Fix `--split-per-abi` not building any targets unless specified by `--target` flag.
6 changes: 6 additions & 0 deletions .changes/cli-autoreload-mime-type.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
'tauri-cli': 'patch:bug'
'@tauri-apps/cli': 'patch:bug'
---

Fix built-in devserver adding hot-reload code to non-html files.
6 changes: 6 additions & 0 deletions .changes/cli-built-in-dev-server-mobile.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
'tauri-cli': 'patch:enhance'
'@tauri-apps/cli': 'patch:enhance'
---

Use local ip address for built-in dev server on mobile.
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 @@
---
"tauri-cli": 'patch:enhance'
"@tauri-apps/cli": 'patch:enhance'
---

Added `ios build` command.
6 changes: 6 additions & 0 deletions .changes/cli-key-properties.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"tauri-cli": 'patch:enhance'
"@tauri-apps/cli": 'patch:enhance'
---

Add `key.properties` file to android's `.gitignore`.
6 changes: 6 additions & 0 deletions .changes/cli-libname-dashes.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
'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.
6 changes: 6 additions & 0 deletions .changes/cli-library-compilation.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"tauri-cli": 'patch:enhance'
"@tauri-apps/cli": 'patch:enhance'
---

Don't build library files when building desktop targets.
5 changes: 5 additions & 0 deletions .changes/cli-mobile-auto-ip.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'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.
6 changes: 6 additions & 0 deletions .changes/cli-mobile-cwd-config.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
'tauri-cli': 'patch:bug'
'@tauri-apps/cli': 'patch:bug'
---

Set current directory to tauri directory before reading config file.
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 @@
---
"tauri-cli": 'minor:feat'
"@tauri-apps/cli": 'minor:feat'
---

Added `android dev` and `ios dev` commands.
6 changes: 6 additions & 0 deletions .changes/cli-mobile-plugin.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"tauri-cli": 'minor:feat'
"@tauri-apps/cli": 'minor:feat'
---

Add commands to add native Android and iOS functionality to plugins.
5 changes: 5 additions & 0 deletions .changes/cli-nodejs-detection.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'tauri-cli': 'patch:enhance'
---

In mobile commands, correctly detect when nodejs binary has the version in its name, for example `node-18`
6 changes: 6 additions & 0 deletions .changes/cli-pnpm.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
'tauri-cli': 'patch:enhance'
'@tauri-apps/cli': 'patch:enhance'
---

Fix android project build crashing when using `pnpm` caused by extra `--`.
5 changes: 5 additions & 0 deletions .changes/cli-profile.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'tauri-cli': 'patch:bug'
---

Fix building with a custom cargo profile
6 changes: 6 additions & 0 deletions .changes/cli-refactor-ipc-mobile.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"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.
6 changes: 6 additions & 0 deletions .changes/cli-skip-targets-install.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
'tauri-cli': 'patch:enhance'
'@tauri-apps/cli': 'patch:enhance'
---

Skip Rust target installation if they are already installed.
6 changes: 6 additions & 0 deletions .changes/cli-windows-arm64.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
'tauri-cli': 'minor:feat'
'@tauri-apps/cli': 'minor:feat'
---

Provide prebuilt CLIs for Windows ARM64 targets.
6 changes: 6 additions & 0 deletions .changes/cli-wry-0-28.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
'tauri-cli': 'patch:enhance'
'@tauri-apps/cli': 'patch:enhance'
---

Update mobile template to `[email protected]`
5 changes: 5 additions & 0 deletions .changes/clijs-node-version-20.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@tauri-apps/cli': 'patch:bug'
---

Fix nodejs binary regex when `0` is in the version name, for example `node-20`
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:enhance'
---

Change `devPath` URL to use the local IP address on iOS and Android.
5 changes: 5 additions & 0 deletions .changes/config-incognito.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'tauri': 'patch:feat'
---

Add `incognito` option to the window configuration object.
5 changes: 5 additions & 0 deletions .changes/config-require-literal_leading_dot.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'tauri-utils': 'minor:feat'
---

Add option to configure `require_literal_leading_dot` on `fs` and `asset` protcol scopes.
5 changes: 5 additions & 0 deletions .changes/config-scope-url.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'tauri': 'patch:bug'
---

Fix parsing `allowlist > http > scope` urls that added a trailing slash which broke matching the incoming requests url.
9 changes: 4 additions & 5 deletions .changes/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,11 @@
"defaultChangeTag": "changes",
"pkgManagers": {
"rust": {
"errorOnVersionRange": "^2.0.0-0",
"version": true,
"getPublishedVersion": "node ../../.scripts/covector/package-latest-version.js cargo ${ pkgFile.pkg.package.name } ${ pkgFile.pkg.package.version }",
"prepublish": [
"sudo apt-get update",
"sudo apt-get install -y webkit2gtk-4.0 libayatana-appindicator3-dev",
"sudo apt-get install -y webkit2gtk-4.1 libayatana-appindicator3-dev",
"cargo install cargo-audit --features=fix",
{
"command": "cargo generate-lockfile",
Expand Down Expand Up @@ -77,7 +76,6 @@
]
},
"javascript": {
"errorOnVersionRange": "^2.0.0-0",
"version": true,
"getPublishedVersion": "node ../../.scripts/covector/package-latest-version.js npm ${ pkgFile.pkg.name } ${ pkgFile.pkg.version }",
"prepublish": [
Expand Down Expand Up @@ -114,7 +112,7 @@
"pipe": true
},
{
"command": "yarn publish --access public --loglevel silly",
"command": "yarn publish --access public --loglevel silly --tag next",
"dryRunCommand": "npm publish --dry-run --access public",
"pipe": true
},
Expand Down Expand Up @@ -236,7 +234,8 @@
"tauri-macros",
"tauri-utils",
"tauri-runtime",
"tauri-runtime-wry"
"tauri-runtime-wry",
"tauri-build"
],
"postversion": "node ../../.scripts/covector/sync-cli-metadata.js ${ pkg.pkg } ${ release.type }"
},
Expand Down
5 changes: 5 additions & 0 deletions .changes/core-android-proxy-method.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'tauri': 'patch:enhance'
---

Use correct HTTP method when making requests to the proxied server on mobile.
5 changes: 5 additions & 0 deletions .changes/core-asset-protocol-streaming-crash.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'tauri': 'patch:enhance'
---

Enhance the `asset` protocol to support streaming of large files.
5 changes: 5 additions & 0 deletions .changes/core-channel-clone.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'tauri': 'patch:enhance'
---

Implement `Clone` for `Channel`
5 changes: 5 additions & 0 deletions .changes/core-incognito.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'tauri': 'patch:feat'
---

Add `WindowBuilder::incognito`
5 changes: 5 additions & 0 deletions .changes/core-ipc-failed-navigation.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'tauri': 'patch:bug'
---

Fix IPC failing after a failed navigation to an external URL.
5 changes: 5 additions & 0 deletions .changes/core-navigation-handler.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'tauri': 'patch:bug'
---

Fix `WindowBuilder::on_navigation` handler not registered properly.
5 changes: 5 additions & 0 deletions .changes/core-updater-204-js-event.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'tauri': 'patch:bug'
---

Emit `UPTODATE` update status to javascript when the updater server returns status code `204`
5 changes: 5 additions & 0 deletions .changes/core-window-config.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'tauri': 'patch:enhance'
---

Fix some configurations not applied when creating the window through Javascript.
5 changes: 5 additions & 0 deletions .changes/core-windows-notification-sound.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"tauri": "patch:enhance"
---

Play a sound when showing a notification on Windows.
5 changes: 5 additions & 0 deletions .changes/core-wry-0-28.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'tauri': 'patch:enhance'
---

On Android, update proguard rules.
7 changes: 7 additions & 0 deletions .changes/deb-custom-desktop-file-config.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
"tauri-utils": 'patch:enhance'
"tauri-cli": 'patch:enhance'
"@tauri-apps/cli": 'patch:enhance'
---

Added the `desktop_template` option on `tauri.conf.json > tauri > bundle > deb`.
5 changes: 5 additions & 0 deletions .changes/deb-custom-desktop-file.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"tauri-bundler": "minor:feat"
---

Added `desktop_template` option on `DebianSettings`.
Loading

0 comments on commit 535f223

Please sign in to comment.