Compare commits

..

7 Commits

Author SHA1 Message Date
Lucas Nogueira
83a9e6c572 Merge remote-tracking branch 'origin/dev' into feat/command-tests 2023-01-04 19:00:48 -03:00
Lucas Nogueira
f7e86798c2 lint 2023-01-04 18:19:15 -03:00
Lucas Nogueira
936d46a41a struct arg test 2023-01-02 15:43:37 -03:00
Lucas Nogueira
a115f91c52 add future test 2023-01-02 15:21:49 -03:00
Lucas Nogueira
2624af9c24 add rename_all test 2022-12-09 09:02:06 -03:00
Lucas Nogueira
b0485d0187 add async command tests, command with arg 2022-12-08 17:02:58 -03:00
Lucas Nogueira
a2724b3e1c basic setup for command tests 2022-12-08 14:15:20 -03:00
900 changed files with 38503 additions and 26561 deletions

View File

@@ -0,0 +1,5 @@
---
"tauri-bundler": patch
---
Add dylib support to `tauri.bundle.macOS.frameworks`.

View File

@@ -1,6 +0,0 @@
---
"cli.rs": minor
"cli.js": minor
---
Added `plugin android add` and `plugin ios add` commands to add mobile plugin functionality to existing projects.

View File

@@ -0,0 +1,5 @@
---
"api": minor
---
Added the `additionalBrowserArgs` option when creating a window.

View File

@@ -0,0 +1,5 @@
---
"tauri-utils": minor
---
Added the `additional_browser_args` option to the window configuration.

View File

@@ -0,0 +1,7 @@
---
"tauri": minor
"tauri-runtime-wry": minor
"tauri-runtime": minor
---
Added the `additional_browser_args` option when creating a window.

View File

@@ -1,6 +0,0 @@
---
"tauri-runtime": minor
"tauri-runtime-wry": minor
---
Add `find_class`, `run_on_android_context` on `RuntimeHandle`.

View File

@@ -1,6 +0,0 @@
---
"cli.rs": patch
"cli.js": patch
---
Do not gitignore the Android project's `buildSrc` folder by default since we removed absolute paths from it.

View File

@@ -1,5 +0,0 @@
---
"tauri": patch
---
Enhance parsing of annotated Android plugin methods to support private functions.

View File

@@ -1,5 +0,0 @@
---
"tauri": patch
---
Added static function `loadConfig` on the Android `PluginManager` class.

View File

@@ -1,5 +0,0 @@
---
"tauri": patch
---
Adjust Android plugin exception error.

View File

@@ -1,5 +0,0 @@
---
"tauri-build": patch
---
Set environment variables used by `tauri::mobile_entry_point`.

View File

@@ -1,10 +0,0 @@
---
"tauri-bundler": patch
"tauri-codegen": patch
"tauri-macros": patch
"tauri-utils": patch
"tauri-runtime": patch
"tauri-runtime-wry": patch
---
Pull changes from Tauri 1.3 release.

View File

@@ -1,5 +0,0 @@
---
"tauri-bundler": patch
---
Removed the `UpdaterSettings::dialog` field.

View File

@@ -1,6 +0,0 @@
---
"api": patch
"tauri": patch
---
Add channel API for sending data across the IPC.

View File

@@ -1,6 +0,0 @@
---
"cli.rs": minor
"cli.js": minor
---
Added `android build` command.

View File

@@ -1,6 +0,0 @@
---
'cli.rs': 'patch'
'cli.js': 'patch'
---
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

View File

@@ -1,6 +0,0 @@
---
'cli.rs': 'patch'
'cli.js': 'patch'
---
Build only specified rust targets for `tauri android build` instead of all.

View File

@@ -1,6 +0,0 @@
---
'cli.rs': 'patch'
'cli.js': 'patch'
---
Use local ip address for built-in dev server on mobile.

6
.changes/cli-info.md Normal file
View File

@@ -0,0 +1,6 @@
---
"cli.rs": "patch"
---
Fix `tauri info` panicking when parsing crates version on a newly created project without a `Cargo.lock` file.

View File

@@ -1,6 +0,0 @@
---
"cli.rs": patch
"cli.js": patch
---
Added `ios build` command.

View File

@@ -1,6 +0,0 @@
---
"cli.rs": patch
"cli.js": patch
---
Add `key.properties` file to android's `.gitignore`.

View File

@@ -1,6 +0,0 @@
---
'cli.rs': 'patch'
'cli.js': 'patch'
---
On mobile, fix regression introduced in `tauri-cli` version `2.0.0-alpha.3` where library not found error was thrown.

View File

@@ -1,5 +0,0 @@
---
'cli.rs': 'patch'
---
Auto select an external IP for mobile development and fallback to prompting the user. Use `--force-ip-prompt` to force prompting.

View File

@@ -1,6 +0,0 @@
---
"cli.rs": minor
"cli.js": minor
---
Added `android dev` and `ios dev` commands.

View File

@@ -1,6 +0,0 @@
---
"cli.rs": minor
"cli.js": minor
---
Add commands to add native Android and iOS functionality to plugins.

View File

@@ -1,5 +0,0 @@
---
'cli.rs': 'patch'
---
In mobile commands, correctly detect when nodejs binary has the version in its name, for example `node-18`

View File

@@ -1,6 +0,0 @@
---
'cli.rs': 'patch'
'cli.js': 'patch'
---
Fix android project build crashing when using `pnpm` caused by extra `--`.

View File

@@ -1,6 +0,0 @@
---
"cli.rs": patch
"cli.js": patch
---
Use temp file instead of environment variable to pass CLI IPC websocket address to the IDE.

View File

@@ -1,6 +0,0 @@
---
'cli.rs': 'patch'
'cli.js': 'patch'
---
Update mobile template to `wry@0.28`

View File

@@ -1,5 +0,0 @@
---
"tauri-codegen": patch
---
Change `devPath` URL to use the local IP address on iOS and Android.

View File

@@ -3,11 +3,12 @@
"timeout": 3600000,
"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.1 libayatana-appindicator3-dev",
"sudo apt-get install -y webkit2gtk-4.0 libayatana-appindicator3-dev",
"cargo install cargo-audit --features=fix",
{
"command": "cargo generate-lockfile",
@@ -67,6 +68,7 @@
]
},
"javascript": {
"errorOnVersionRange": "^2.0.0-0",
"version": true,
"getPublishedVersion": "node ../../.scripts/covector/package-latest-version.js npm ${ pkgFile.pkg.name } ${ pkgFile.pkg.version }",
"prepublish": [
@@ -103,7 +105,7 @@
"pipe": true
},
{
"command": "yarn publish --access public --loglevel silly --tag next",
"command": "yarn publish --access public --loglevel silly",
"dryRunCommand": "npm publish --dry-run --access public",
"pipe": true
},
@@ -209,7 +211,7 @@
"dependencies": ["tauri-codegen", "tauri-utils"],
"postversion": [
"node ../../.scripts/covector/sync-cli-metadata.js ${ pkg.pkg } ${ release.type }",
"cargo build --manifest-path ../tauri-config-schema/Cargo.toml"
"cargo build --manifest-path ../config-schema/Cargo.toml"
],
"assets": [
{
@@ -225,8 +227,7 @@
"tauri-macros",
"tauri-utils",
"tauri-runtime",
"tauri-runtime-wry",
"tauri-build"
"tauri-runtime-wry"
],
"postversion": "node ../../.scripts/covector/sync-cli-metadata.js ${ pkg.pkg } ${ release.type }"
},
@@ -237,7 +238,7 @@
"dependencies": ["cli.rs"],
"postversion": [
"node ../../../.scripts/covector/sync-cli-metadata.js ${ pkg.pkg } ${ release.type }",
"cargo build --manifest-path ../../../core/tauri-config-schema/Cargo.toml"
"cargo build --manifest-path ../../../core/config-schema/Cargo.toml"
],
"prepublish": [],
"publish": [],
@@ -249,7 +250,7 @@
"dependencies": ["tauri-bundler", "tauri-utils"],
"postversion": [
"cargo check",
"cargo build --manifest-path ../../core/tauri-config-schema/Cargo.toml"
"cargo build --manifest-path ../../core/config-schema/Cargo.toml"
],
"assets": [
{

View File

@@ -0,0 +1,5 @@
---
"api": "minor"
---
Added the `WindowOptions::contentProtected` option and `WebviewWindow#setContentProtected` to change it at runtime.

View File

@@ -0,0 +1,5 @@
---
"tauri-utils": "patch"
---
Added the `content_protected` option to the window configuration.

View File

@@ -0,0 +1,7 @@
---
"tauri": "minor"
"tauri-runtime": "minor"
"tauri-runtime-wry": "minor"
---
Added the `content_protected` option when creating a window and `Window::set_content_protected` to change it at runtime.

View File

@@ -0,0 +1,5 @@
---
"tauri": minor
---
Added `Window::on_navigation`.

View File

@@ -0,0 +1,5 @@
---
"tauri": "patch"
---
Sync `__TAURI_METADATA__.__windows` across all windows.

View File

@@ -1,5 +0,0 @@
---
'tauri': 'patch'
---
On Android, update proguard rules.

View File

@@ -0,0 +1,5 @@
---
"api": minor
---
Allow setting the text of the dialog buttons.

View File

@@ -0,0 +1,5 @@
---
"tauri": minor
---
Added `OkWithLabel` and `OkCancelWithLabels` variants to the `api::dialog::MessageDialogButtons` enum to set the text of the dialog buttons.

6
.changes/custom-icon.md Normal file
View File

@@ -0,0 +1,6 @@
---
"cli.rs": minor
"cli.js": minor
---
Add `--png` option for the `icon` command to generate custom icon sizes.

View File

@@ -1,5 +0,0 @@
---
"tauri": major
---
Added the `default-tls` and `reqwest-default-tls` Cargo features for enabling TLS suppport to connect over HTTPS.

View File

@@ -1,5 +0,0 @@
---
"tauri": patch
---
Add `default_window_icon` getter on `App` and `AppHandle`.

View File

@@ -1,5 +0,0 @@
---
"tauri": patch
---
Implement response cache on the dev server proxy, used when the server responds with status 304.

View File

@@ -1,5 +0,0 @@
---
"tauri": major
---
**Breaking change:** Use the custom protocol as a proxy to the development server on all platforms except Linux.

View File

@@ -1,6 +0,0 @@
---
"cli.rs": patch
"tauri": patch
---
Change minimum Android SDK version to 21 for the plugin library.

View File

@@ -1,6 +0,0 @@
---
"tauri-runtime-wry": patch
"tauri": patch
---
Allow a wry plugin to be registered at runtime.

View File

@@ -1,6 +0,0 @@
---
"cli.rs": patch
"cli.js": patch
---
Change the Android template to enable minification on release and pull ProGuard rules from proguard-tauri.pro.

View File

@@ -1,5 +0,0 @@
---
"tauri": patch
---
Enhance Android's `JSObject` return types.

View File

@@ -1,6 +0,0 @@
---
"cli.rs": patch
"cli.js": patch
---
Print an error if the Android project was generated with an older bundle identifier or package name.

View File

@@ -0,0 +1,7 @@
---
"tauri-runtime-wry": minor
"tauri-runtime": minor
"tauri": minor
---
Added `Builder::device_event_filter` and `App::set_device_event_filter` methods.

5
.changes/fix-2549.md Normal file
View File

@@ -0,0 +1,5 @@
---
"tauri": "patch"
---
Fix resize glitch when double clicking a custom titlebar in the top resize area.

View File

@@ -1,6 +0,0 @@
---
"cli.rs": patch
"cli.js": patch
---
Fixes the generated mobile build script when using an NPM runner.

View File

@@ -1,5 +0,0 @@
---
"tauri": patch
---
Properly proxy dev server requests with query strings and fragments.

View File

@@ -1,7 +0,0 @@
---
"cli.rs": patch
"cli.js": patch
"tauri-macros": patch
---
Resolve Android package name from single word bundle identifiers.

View File

@@ -1,5 +0,0 @@
---
"tauri": patch
---
Use actual iOS plugin instance to run command with `throws`.

View File

@@ -1,6 +0,0 @@
---
"cli.rs": patch
"cli.js": patch
---
Fixes running on device using Xcode 14.

View File

@@ -1,6 +0,0 @@
---
"cli.rs": patch
"cli.js": patch
---
Fixes the iOS project script to build the Rust library.

View File

@@ -1,6 +0,0 @@
---
"cli.rs": patch
"cli.js": patch
---
Fixes `TAURI_*` environment variables for hook scripts on mobile commands.

View File

@@ -1,5 +0,0 @@
---
"cli.js": patch
---
Update tauri-mobile to fix running ADB scripts.

View File

@@ -1,6 +0,0 @@
---
"cli.rs": patch
"cli.js": patch
---
Update Android project template with fix to crash on orientation change.

View File

@@ -1,5 +0,0 @@
---
"tauri": patch
---
Fixes boolean plugin parameters freezing the application.

View File

@@ -1,6 +0,0 @@
---
"cli.rs": patch
"cli.js": patch
---
Clear Android plugin JSON file before building Rust library to ensure removed plugins are propagated to the Android project.

View File

@@ -1,6 +0,0 @@
---
"cli.rs": patch
"cli.js": patch
---
Readd the Cargo.toml file to the plugin template.

View File

@@ -1,5 +0,0 @@
---
"tauri": patch
---
Fixes ProGuard rules.

View File

@@ -1,5 +0,0 @@
---
"tauri": patch
---
Fix compilation issues without the shell API features.

View File

@@ -1,6 +0,0 @@
---
"cli.rs": patch
"cli.js": patch
---
Fixes the Android build gradle plugin implementation on Windows.

View File

@@ -1,5 +0,0 @@
---
'tauri-bundler': 'patch'
---
Correctly escape XML for resource files in WiX bundler.

View File

@@ -1,6 +0,0 @@
---
"cli.rs": patch
"cli.js": patch
---
Fixes iOS build script using the wrong path for the app library file.

View File

@@ -1,6 +0,0 @@
---
"cli.rs": patch
"cli.js": patch
---
Force colored logs on mobile commands.

View File

@@ -1,5 +0,0 @@
---
"tauri": patch
---
Generate `TauriActivity` Kotlin class on the build script.

View File

@@ -0,0 +1,5 @@
---
"tauri": "patch"
---
Fix the filesystem scope allowing sub-directories of the directory picked by the dialog when `recursive` option was `false`.

View File

@@ -1,6 +0,0 @@
---
'cli.rs': 'patch'
'cli.js': 'patch'
---
Update android template to gradle 8.0

5
.changes/heck-unicode.md Normal file
View File

@@ -0,0 +1,5 @@
---
"cli.rs": "patch"
---
Fix building apps with unicode characters in their `productName`.

View File

@@ -1,6 +0,0 @@
---
"cli.rs": patch
"cli.js": patch
---
Improve local IP address detection with user selection.

View File

@@ -1,5 +0,0 @@
---
"tauri": patch
---
Improve the `run_mobile_plugin` function error handling.

View File

@@ -1,6 +0,0 @@
---
"cli.rs": patch
"cli.js": patch
---
Inject Tauri configuration in the Android assets.

View File

@@ -1,5 +0,0 @@
---
"tauri": patch
---
Inject `proguard-tauri.pro` file in the Android project.

View File

@@ -1,6 +0,0 @@
---
"tauri-macros": patch
"tauri": patch
---
Added support to attibutes for each command path in the `generate_handler` macro.

View File

@@ -1,7 +0,0 @@
---
"tauri-macros": major
"tauri-codegen": major
"tauri": major
---
Return `bool` in the invoke handler.

View File

@@ -1,5 +0,0 @@
---
"tauri-build": patch
---
Read the `IPHONEOS_DEPLOYMENT_TARGET` environment variable to set the Swift iOS target version, defaults to 13.

View File

@@ -1,6 +0,0 @@
---
"cli.rs": patch
"cli.js": patch
---
Added `--ios-color` option to the `tauri icon` command.

View File

@@ -1,6 +0,0 @@
---
"cli.rs": patch
"cli.js": patch
---
Keep the process alive even when the iOS application is closed.

View File

@@ -1,7 +0,0 @@
---
"cli.rs": patch
"cli.js": patch
"tauri": patch
---
Show all application logs on iOS.

View File

@@ -1,6 +0,0 @@
---
"tauri": patch
"tauri-utils": patch
---
Remove `enable_tauri_api` from the IPC scope.

View File

@@ -2,6 +2,7 @@
"tauri": minor
"tauri-runtime": minor
"tauri-runtime-wry": minor
"api": minor
---
Implemented `with_webview` on Android and iOS.
Add `is_minimized()` window method.

View File

@@ -1,5 +0,0 @@
---
'tauri': 'patch'
---
Use correct lib name in xcode project.

View File

@@ -1,6 +0,0 @@
---
"cli.rs": patch
"cli.js": patch
---
Fixes HMR on mobile when devPath is configured to load a filesystem path.

View File

@@ -1,6 +0,0 @@
---
"cli.rs": patch
"cli.js": patch
---
Print log output for all tags on Android development.

View File

@@ -1,5 +0,0 @@
---
"tauri-utils": patch
---
Added `android` configuration object under `tauri > bundle`.

View File

@@ -1,5 +0,0 @@
---
"tauri-utils": minor
---
Parse `android` and `ios` Tauri configuration files.

View File

@@ -1,6 +0,0 @@
---
"cli.rs": patch
"cli.js": patch
---
Ignore the `gen` folder on the dev watcher.

View File

@@ -1,5 +0,0 @@
---
"tauri-macros": minor
---
Added the `mobile_entry_point` macro.

View File

@@ -1,6 +0,0 @@
---
"tauri-build": patch
"tauri-macros": patch
---
Refactor mobile environment variables.

View File

@@ -1,6 +0,0 @@
---
"cli.rs": minor
"cli.js": minor
---
Added `android init` and `ios init` commands.

View File

@@ -1,6 +0,0 @@
---
"cli.rs": patch
"cli.js": patch
---
Add support to custom and kebab case library names for mobile apps.

View File

@@ -1,6 +0,0 @@
---
"cli.rs": minor
"cli.js": minor
---
Added `android open` and `ios open` commands.

View File

@@ -1,5 +0,0 @@
---
"tauri": patch
---
Expose plugin configuration on the Android and iOS plugin classes.

View File

@@ -1,5 +0,0 @@
---
"tauri": minor
---
Run Android and iOS native plugins on the invoke handler if a Rust plugin command is not found.

View File

@@ -1,6 +0,0 @@
---
"tauri-runtime-wry": minor
"tauri": minor
---
Support `with_webview` for Android platform alowing execution of JNI code in context.

View File

@@ -1,13 +0,0 @@
---
"api": major
"tauri-utils": major
"tauri-bundler": major
"tauri-codegen": major
"tauri-macros": major
"tauri-build": major
"tauri": major
"cli.rs": major
"cli.js": major
---
First mobile alpha release!

Some files were not shown because too many files have changed in this diff Show More