Compare commits

...

65 Commits

Author SHA1 Message Date
Lucas Nogueira
4dfba14fbb fix tests 2023-07-31 13:03:55 -03:00
Lucas Nogueira
f514d655b6 make description optional 2023-07-31 12:55:57 -03:00
Lucas Nogueira
e729a9c83f use btreemap for manifests 2023-07-31 12:52:44 -03:00
Lucas Nogueira
41961e7de0 allow the app capability json to contain an array 2023-07-31 12:50:23 -03:00
Lucas Nogueira
cb78c12db8 resolve conflicts on capability ids 2023-07-31 09:37:26 -03:00
Lucas Nogueira
13a774e0ca automatically define a capability for each plugin feature 2023-07-31 08:00:15 -03:00
Lucas Nogueira
d894ad2896 allow the capability JSON to have a list of capabilities 2023-07-31 07:54:14 -03:00
Lucas Nogueira
b382a4e08f allow core to define plugin manifests 2023-07-30 17:53:26 -03:00
Lucas Nogueira
b82899b96b allow the app to define custom capabilities 2023-07-30 17:36:20 -03:00
Lucas Nogueira
708cb9fa28 initial draft for runtime authority 2023-07-26 09:01:37 -03:00
Lucas Nogueira
8467f138bb move types to tauri-utils 2023-07-25 12:51:35 -03:00
Lucas Nogueira
50aaf4ec14 initial lockfile format and generation script 2023-07-24 22:11:38 -03:00
Lucas Nogueira
f8d98db9ff initial namespace config definition 2023-07-24 22:11:18 -03:00
Lucas Nogueira
0811f512c5 initial plugin metadata implementation 2023-07-24 15:37:08 -03:00
renovate[bot]
b7277357b9 chore(deps) Update Tauri API Definitions (#7311)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-20 09:23:58 -03:00
dependabot[bot]
3788fb1476 chore(deps-dev): bump vite from 3.0.9 to 3.2.7 in /examples/api (#7223)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-20 09:18:12 -03:00
dependabot[bot]
339cfa1124 chore(deps): bump word-wrap from 1.2.3 to 1.2.4 in /tooling/api (#7451)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-20 09:17:55 -03:00
renovate[bot]
c40b8ae15f chore(deps) Update Rust crate tar to 0.4.39 (#7452)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-20 09:17:12 -03:00
Lucas Fernandes Nogueira
7b45e7fa1b feat(build): trigger rerun if plugin config env var changes (#7458) 2023-07-19 13:16:43 -03:00
Lucas Fernandes Nogueira
ecffaa2524 feat(build): skip writing manifest/entitlements when no changes found (#7457) 2023-07-19 13:16:35 -03:00
Lucas Fernandes Nogueira
1e1d839e7e feat(build): add function to rewrite AndroidManifest.xml (#7450) 2023-07-19 08:15:08 -03:00
Lucas Fernandes Nogueira
522de0e788 feat(core): allow a plugin build script to read the plugin config object (#7447) 2023-07-18 11:04:15 -03:00
Lucas Fernandes Nogueira
aba04fa823 feat(build): add API to update the iOS entitlements file (#7448) 2023-07-18 10:20:55 -03:00
Lucas Fernandes Nogueira
aa94f7197e feat(ios): add empty entitlements file to iOS project (#7445) 2023-07-18 10:20:32 -03:00
Lucas Fernandes Nogueira
c7dacca466 feat(cli): expose iOS project path and app name as env vars (#7446) 2023-07-18 10:19:01 -03:00
Lucas Fernandes Nogueira
753900dd6e feat(ios): expose RunEvent::Opened (#7440) 2023-07-17 19:44:34 -03:00
Fabian-Lars
a5752db985 feat(core): forward onNewIntent event to android plugins (#7436) 2023-07-17 10:20:16 -03:00
Bo
3b98141aa2 feat: add file association support, closes #3736 (#4320)
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
Co-authored-by: Raphii <iam@raphii.co>
Co-authored-by: Fabian-Lars <fabianlars@fabianlars.de>
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2023-07-16 18:34:43 -03:00
Amr Bashir
84c4159754 feat(core): add monitor functions for App/AppHandle, closes #6394 (#6403)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-07-12 17:14:04 -03:00
renovate[bot]
f280dcfb7c chore(deps) Update Rust crate libflate to v2 (#7410)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-12 07:40:43 -03:00
Amr Bashir
74b1f4fc66 feat(core): add dark/light mica option (#7384)
* feat(core): add dark/light mica option

* Update .changes/dark-light-mica-effect.md

* fix macos build
2023-07-10 14:31:29 +03:00
Amr Bashir
fd5dc788d1 refactor: cleanup and remove unused tauri::api modules (#7352) 2023-07-10 12:17:17 +09:00
Davide Baldo
43c6285e90 chore(deps): update unmaintained dependency from kuchiki to kuchikiki (#7359)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-07-05 17:41:46 -03:00
Amr Bashir
23b0e1b9e5 fix: add resolution for semver npm package to fix cve (#7353) 2023-07-04 17:00:01 +03:00
Fabian-Lars
3065c8aea3 fix(bundler): Enable zip's deflate feature flag (#7296) 2023-06-26 11:43:43 -03:00
i-c-b
5eb8554331 fix(cli): Apple Dev Teams format for info::Section::Display (#7282)
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app>
2023-06-24 08:30:34 -03:00
Fabian-Lars
38d0bed8eb fix(cli): Split metadata.json per major version. (#7276) 2023-06-22 10:43:47 -03:00
renovate[bot]
0ef9c6b7ec chore(deps) Update Rust crate serde_json to 1.0.97 (#7271)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-21 10:56:25 -03:00
renovate[bot]
5cbf4df390 chore(deps) Update Rust crate swift-rs to 1.0.5 (#7272)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-21 07:50:27 -03:00
renovate[bot]
6db81ec879 chore(deps) Update Rust crate ureq to 2.7 (#7274)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-21 07:50:11 -03:00
renovate[bot]
180eeb7363 chore(deps) Update Tauri API Definitions (#7275)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-21 07:49:53 -03:00
Jeffrey Hutchins
2a000e150d feat: add navigate method (#7235) 2023-06-20 16:56:17 -03:00
Amr Bashir
b04444928c ci: fix version-or-publish PR naming (#7268) 2023-06-20 16:54:11 -03:00
yydcnjjw
33f6aa438e fix: ipc scope not found error at windows (#7264)
The incorrect value ("window") was utilized when determining the Windows platform.
2023-06-20 17:33:52 +08:00
Simon Hyll
c4e9740c83 added missing futures-util (#7260) 2023-06-20 12:39:31 +08:00
Simon Hyll
c34e37b1f7 docs: added rustdoc icons (#7253)
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-06-19 21:51:05 -03:00
Lucas Fernandes Nogueira
e63111b65a chore: remove v1 references on documentation and benchmark (#7258)
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
2023-06-19 09:47:51 -03:00
Lucas Fernandes Nogueira
d1a6e2f333 chore(deps): update state to 0.6 (#7252) 2023-06-18 20:57:36 -03:00
Lucas Fernandes Nogueira
7036bc93ed fix(ci): use native-tls-vendored for @tauri-apps/cli darwin arm64 build (#7245) 2023-06-17 19:14:02 -03:00
github-actions[bot]
bd29b05f15 Apply Version Updates From Current Changes (v2) (#7242)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2023-06-17 15:05:12 -03:00
Lucas Nogueira
3d707ddf5f fix(ci): run covector workflow on dev branch 2023-06-17 14:15:34 -03:00
Lucas Fernandes Nogueira
6252380f44 fix(cli): kill beforeDevCommand process if mobile dev command fails (#7241) 2023-06-17 14:10:01 -03:00
Lucas Fernandes Nogueira
655c714e41 fix(cli): do not panic on Ctrl+C on ios dev (#7240) 2023-06-17 14:09:37 -03:00
Lucas Fernandes Nogueira
1542ad17d6 chore(ci): delete workflow from next branch (#7239) 2023-06-17 08:10:20 -07:00
Lucas Fernandes Nogueira
84695cb83b chore(changes): delete change files from 1.4 release (#7238) 2023-06-17 08:08:51 -07:00
Lucas Nogueira
1e9c463d12 Merge remote-tracking branch 'origin/1.x' into dev 2023-06-17 11:02:14 -03:00
Lucas Fernandes Nogueira
2acc474ccb fix(ci): only check change tags on added or modified files (#7236) 2023-06-17 16:57:25 +03:00
github-actions[bot]
4b3d66c793 Apply Version Updates From Current Changes (v1) (#7234)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2023-06-17 10:45:52 -03:00
Lucas Fernandes Nogueira
49dbbbbcdf feat(ci): prepare CI for 1.x branch (#7231) 2023-06-17 09:41:22 -03:00
Amr Bashir
6afd34727f fix(core): revert #6680, remove default notification sound on Windows (#7229)
fix(core): revert #6680, remove default notification sound on Windows
2023-06-17 09:18:16 -03:00
Amr Bashir
066c09a6ea fix(core): fix require_literal_leading_dot flipped behavior (#7227) 2023-06-17 09:17:36 -03:00
Jeffrey Hutchins
c7534e732d feat(android): disable action bar in dark mode themes.xml (#7226) 2023-06-17 04:57:33 +03:00
Amr Bashir
8922be591c feat(android): disable action bar in themes.xml (#7164) 2023-06-16 13:02:11 -03:00
Amr Bashir
4847b87b10 fix(cli): handle npx for mobile commands, closes #7209 (#7218)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-06-16 12:28:57 -03:00
Ngo Iok Ui (Wu Yu Wei)
535f223eca Merge pull request #7214 from tauri-apps/next
chore: merge `next` into `dev`
2023-06-16 19:39:22 +08:00
234 changed files with 9177 additions and 2160 deletions

View File

@@ -1,5 +0,0 @@
---
'tauri': 'minor:feat'
---
Added `tauri::VERSION` const to get Tauri's version from Rust.

View File

@@ -1,5 +0,0 @@
---
'tauri': 'minor:feat'
---
Added `tauri::webview_version` , to get webview version.

View File

@@ -0,0 +1,5 @@
---
"tauri": 'patch:enhance'
---
Listen to `onNewIntent` and forward it to registered plugins.

View File

@@ -1,5 +0,0 @@
---
'@tauri-apps/api': 'patch:enhance'
---
Add `locale` function in the `os` module to get the system locale.

View File

@@ -1,5 +0,0 @@
---
"tauri": "patch:enhance"
---
Add `tauri::api::os::locale` function to get the system locale.

View File

@@ -1,6 +0,0 @@
---
'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`.

View File

@@ -0,0 +1,5 @@
---
'tauri-bundler': 'patch:bug'
---
Enable `zip`'s `deflate` feature flag to fix issues when downloading nsis and wix tools.

View File

@@ -0,0 +1,5 @@
---
'tauri-cli': 'patch:bug'
---
Fix `tauri info` failing when there is no available iOS code signing certificate.

View File

@@ -1,6 +0,0 @@
---
'tauri-cli': 'patch:bug'
'@tauri-apps/cli': 'patch:bug'
---
Fix built-in devserver adding hot-reload code to non-html files.

View File

@@ -0,0 +1,6 @@
---
"tauri-cli": patch:feat
"@tauri-apps/cli": patch:feat
---
Expose an environment variable `TAURI_${PLUGIN_NAME}_PLUGIN_CONFIG` for each defined plugin configuration object.

View File

@@ -0,0 +1,6 @@
---
"tauri-cli": patch:feat
"@tauri-apps/cli": patch:feat
---
Expose the `TAURI_IOS_PROJECT_PATH` and `TAURI_IOS_APP_NAME` environment variables when using `ios` commands.

View File

@@ -0,0 +1,6 @@
---
'tauri-cli': 'patch:bug'
'@tauri-apps/cli': 'patch:bug'
---
Fix `tauri (android|ios) (dev|build)` failing when using `npx tauri`

View File

@@ -1,5 +0,0 @@
---
'tauri-cli': 'patch:bug'
---
Fix building with a custom cargo profile

View File

@@ -1,6 +0,0 @@
---
'tauri-cli': 'minor:feat'
'@tauri-apps/cli': 'minor:feat'
---
Provide prebuilt CLIs for Windows ARM64 targets.

View File

@@ -1,5 +0,0 @@
---
'@tauri-apps/cli': 'patch:bug'
---
Fix nodejs binary regex when `0` is in the version name, for example `node-20`

View File

@@ -1,5 +0,0 @@
---
'tauri-utils': 'minor:feat'
---
Add option to configure `require_literal_leading_dot` on `fs` and `asset` protcol scopes.

View File

@@ -1,5 +0,0 @@
---
'tauri': 'patch:bug'
---
Fix parsing `allowlist > http > scope` urls that added a trailing slash which broke matching the incoming requests url.

View File

@@ -7,7 +7,9 @@
"bug": "Bug Fixes",
"pref": "Performance Improvements",
"changes": "What's Changed",
"deps": "Dependencies"
"sec": "Security fixes",
"deps": "Dependencies",
"breaking": "Breaking Changes"
},
"defaultChangeTag": "changes",
"pkgManagers": {

View File

@@ -0,0 +1,5 @@
---
'tauri': 'minor:feat'
---
Add `App::primary_monitor`, `App::available_monitors`, `AppHandle::primary_monitor`, and `AppHandle::available_monitors`

View File

@@ -1,5 +0,0 @@
---
'tauri': 'patch:enhance'
---
Enhance the `asset` protocol to support streaming of large files.

View File

@@ -1,5 +0,0 @@
---
'tauri': 'patch:bug'
---
Fix IPC failing after a failed navigation to an external URL.

View File

@@ -0,0 +1,5 @@
---
"tauri": 'minor:feat'
---
Added `Window::navigate`.

View File

@@ -1,5 +0,0 @@
---
'tauri': 'patch:bug'
---
Fix `WindowBuilder::on_navigation` handler not registered properly.

View File

@@ -0,0 +1,6 @@
---
'tauri': 'patch:breaking'
---
- Removed `tauri::api::file` and `tauri::api::dir` modules, use `std::fs` instead.
- Removed `tauri::api::version` module, use `semver` crate instead.

View File

@@ -1,5 +0,0 @@
---
'tauri': 'patch:bug'
---
Emit `UPTODATE` update status to javascript when the updater server returns status code `204`

View File

@@ -1,5 +0,0 @@
---
'tauri': 'patch:enhance'
---
Fix some configurations not applied when creating the window through Javascript.

View File

@@ -1,5 +0,0 @@
---
"tauri": "patch:enhance"
---
Play a sound when showing a notification on Windows.

View File

@@ -0,0 +1,5 @@
---
'tauri-utils': 'patch:feat'
---
Add `WindowEffect::MicaDark` and `WindowEffect::MicaLight`

View File

@@ -1,7 +0,0 @@
---
"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`.

View File

@@ -1,5 +0,0 @@
---
"tauri-bundler": "minor:feat"
---
Added `desktop_template` option on `DebianSettings`.

View File

@@ -1,5 +0,0 @@
---
'@tauri-apps/api': 'minor:feat'
---
Added the `maximizable`, `minimizable` and `closable` fields on `WindowOptions`.

View File

@@ -1,5 +0,0 @@
---
'@tauri-apps/api': 'minor:feat'
---
Added the `setMaximizable`, `setMinimizable`, `setClosable`, `isMaximizable`, `isMinimizable` and `isClosable` methods.

View File

@@ -1,5 +0,0 @@
---
'tauri-utils': 'minor:feat'
---
Added the `maximizable`, `minimizable` and `closable` options to the window configuration.

View File

@@ -1,6 +0,0 @@
---
'tauri-runtime-wry': 'minor:feat'
'tauri-runtime': 'minor:feat'
---
Added the `maximizable`, `minimizable` and `closable` methods to `WindowBuilder`.

View File

@@ -1,6 +0,0 @@
---
'tauri-runtime-wry': 'minor:feat'
'tauri-runtime': 'minor:feat'
---
Added `set_maximizable`, `set_minimizable`, `set_closable`, `is_maximizable`, `is_minimizable` and `is_closable` methods to the `Dispatch` trait.

View File

@@ -1,5 +0,0 @@
---
'tauri': 'minor:feat'
---
Added the `maximizable`, `minimizable` and `closable` options to the window builder.

View File

@@ -1,5 +0,0 @@
---
'tauri': 'minor:feat'
---
Added the `set_maximizable`, `set_minimizable`, `set_closable`, `is_maximizable`, `is_minimizable` and `is_closable` methods on `Window`.

View File

@@ -1,5 +0,0 @@
---
"tauri-codegen": 'patch:enhance'
---
Early panic if the PNG icon is not RGBA.

View File

@@ -1,6 +0,0 @@
---
'tauri-cli': 'minor:feat'
'@tauri-apps/cli': 'minor:feat'
---
Added `tauri completions` to generate shell completions scripts.

View File

@@ -0,0 +1,5 @@
---
"tauri-utils": minor:feat
---
Add a configuration object for file associations under `BundleConfig`.

View File

@@ -0,0 +1,5 @@
---
"tauri": minor:feat
---
Added support to file associations.

View File

@@ -1,5 +0,0 @@
---
'tauri-runtime': 'patch:bug'
---
Fixes typo in `CursorIcon` deserialization of the `ZoomIn` variant.

View File

@@ -1,6 +0,0 @@
---
'tauri-cli': 'patch:bug'
'@tauri-apps/cli': 'patch:bug'
---
Fixes Cargo.toml feature rewriting.

View File

@@ -0,0 +1,6 @@
---
"tauri-cli": patch:bug
"@tauri-apps/cli": patch:bug
---
Fixes panic when exiting the `ios dev` command with Ctrl + C.

View File

@@ -1,5 +0,0 @@
---
"tauri-macros": 'patch:enhance'
---
Improve compiler error message when generating an async command that has a reference input and don't return a Result.

View File

@@ -0,0 +1,6 @@
---
"tauri-cli": patch:feat
"@tauri-apps/cli": patch:feat
---
Generate empty entitlements file for the iOS project.

View File

@@ -1,5 +0,0 @@
---
'@tauri-apps/api': 'minor:feat'
---
Add `WebviewWindow.is_focused` and `WebviewWindow.getFocusedWindow` getters.

View File

@@ -1,6 +0,0 @@
---
'tauri-runtime': 'minor:feat'
'tauri-runtime-wry': 'minor:feat'
---
Add `Window::is_focused` getter.

View File

@@ -1,5 +0,0 @@
---
'tauri': 'minor:feat'
---
Add `Window::is_focused` and `Manager::get_focused_window` getters.

View File

@@ -0,0 +1,6 @@
---
"tauri-cli": patch:bug
"@tauri-apps/cli": patch:bug
---
Exit `beforeDevCommand` process if the android or iOS `dev` command fails.

5
.changes/kuchikiki.md Normal file
View File

@@ -0,0 +1,5 @@
---
"tauri-utils": patch:sec
---
Changed HTML implementation from unmaintained `kuchiki` to `kuchikiki`.

View File

@@ -1,5 +0,0 @@
---
'tauri-utils': 'patch:enhance'
---
Add `MimeType::parse_with_fallback` and `MimeType::parse_from_uri_with_fallback`

View File

@@ -1,5 +0,0 @@
---
'tauri-bundler': 'patch:bug'
---
Fix incorrect estimated app size for NSIS bundler when installed to a non-empty directory.

View File

@@ -1,5 +0,0 @@
---
'tauri-bundler': 'patch:enhance'
---
Added Copyright field as BrandingText to the NSIS bundler.

View File

@@ -1,7 +0,0 @@
---
'tauri-bundler': 'minor:feat'
'tauri-utils': 'minor:feat'
'tauri-cli': 'minor:feat'
---
Allow specifying custom language files of Tauri's custom messages for the NSIS installer

View File

@@ -1,8 +0,0 @@
---
'tauri-utils': 'minor:feat'
'tauri-bundler': 'minor:feat'
'tauri-cli': 'minor:feat'
'@tauri-apps/cli': 'minor:feat'
---
Add `nsis > template` option to specify custom NSIS installer template.

View File

@@ -1,5 +0,0 @@
---
'tauri-bundler': 'patch:enhance'
---
Added Dutch language support to the NSIS bundler.

View File

@@ -1,5 +0,0 @@
---
'tauri-bundler': 'patch:bug'
---
Fix NSIS bundler failing to build when `productName` contained chinsese characters.

View File

@@ -1,5 +0,0 @@
---
'tauri-utils': 'patch:enhance'
---
Add `WindowsUpdateInstallMode::nsis_args`

View File

@@ -1,5 +0,0 @@
---
'tauri-bundler': 'patch:enhance'
---
Added Japanese language support to the NSIS bundler.

View File

@@ -1,5 +0,0 @@
---
'tauri-bundler': 'patch:enhance'
---
Added Korean language support to the NSIS bundler.

View File

@@ -1,5 +0,0 @@
---
'tauri': 'minor:feat'
---
Support `passive` mode for NSIS updater.

View File

@@ -1,5 +0,0 @@
---
'tauri-bundler': 'patch:enhance'
---
Added Persian language support to the NSIS bundler.

View File

@@ -1,5 +0,0 @@
---
'tauri-bundler': 'minor:feat'
---
For NSIS, Add support for `/P` to install or uninstall in passive mode, `/R` to (re)start the app and `/NS` to disable creating shortcuts in `silent` and `passive` modes.

View File

@@ -1,5 +0,0 @@
---
'tauri-bundler': 'patch:bug'
---
Fix NSIS installer not using the old installation path as a default when using `perMachine` or `currentUser` install modes. Also fixes NSIS not respecting the `/D` flag which used to set the installation directory from command line.

View File

@@ -1,5 +0,0 @@
---
'tauri-bundler': 'minor:feat'
---
NSIS `silent` and `passive` installer/updater will auto-kill the app if its running.

View File

@@ -1,5 +0,0 @@
---
'tauri-bundler': 'patch:enhance'
---
Added Swedish language support to the NSIS bundler.

View File

@@ -1,5 +0,0 @@
---
'tauri-bundler': 'patch:enhance'
---
Added Turkish language support to the NSIS bundler.

View File

@@ -1,5 +0,0 @@
---
'tauri-bundler': 'minor:feat'
---
NSIS installer will now check if a previous WiX `.msi` installation exist and will prompt users to uninstall it.

View File

@@ -1,5 +0,0 @@
---
'tauri': 'minor:enhance'
---
Restart the app after the NSIS updater is finished.

View File

@@ -0,0 +1,5 @@
---
"tauri-build": patch:feat
---
Added the `config::plugin_config` function to read the plugin configuration set from the CLI.

View File

@@ -1,6 +1,7 @@
{
"tag": "alpha",
"changes": [
".changes/add-command.md",
".changes/add-mobile-to-plugin.md",
".changes/android-apis-runtime.md",
".changes/android-buildsrc-gitignore.md",
@@ -14,18 +15,27 @@
".changes/cli-android-build.md",
".changes/cli-android-dev-release.md",
".changes/cli-android-specified-targets-only.md",
".changes/cli-android-split-per-abit-target.md",
".changes/cli-built-in-dev-server-mobile.md",
".changes/cli-ios-build.md",
".changes/cli-key-properties.md",
".changes/cli-libname-dashes.md",
".changes/cli-library-compilation.md",
".changes/cli-mobile-auto-ip.md",
".changes/cli-mobile-cwd-config.md",
".changes/cli-mobile-dev.md",
".changes/cli-mobile-plugin.md",
".changes/cli-nodejs-detection.md",
".changes/cli-npx-mobile.md",
".changes/cli-pnpm.md",
".changes/cli-refactor-ipc-mobile.md",
".changes/cli-skip-targets-install.md",
".changes/cli-wry-0-28.md",
".changes/codegen-mobile-devurl.md",
".changes/config-incognito.md",
".changes/core-android-proxy-method.md",
".changes/core-channel-clone.md",
".changes/core-incognito.md",
".changes/core-wry-0-28.md",
".changes/default-tls-features.md",
".changes/default-window-icon.md",
@@ -34,11 +44,14 @@
".changes/downgrade-min-sdk-version.md",
".changes/dynamic-wry-plugin.md",
".changes/enable-minify.md",
".changes/enable-path-commands.md",
".changes/enhance-jsobject-return-types.md",
".changes/error-on-identifier-change.md",
".changes/event-api-window-label.md",
".changes/fix-build-script-mobile-runner-npm.md",
".changes/fix-dev-server-proxy-path.md",
".changes/fix-empty-identifier.md",
".changes/fix-ios-cli-panic.md",
".changes/fix-ios-plugin-throws-command.md",
".changes/fix-ios-run-xcode14.md",
".changes/fix-ios-template.md",
@@ -48,10 +61,10 @@
".changes/fix-plugin-ios-bool.md",
".changes/fix-plugin-removal.md",
".changes/fix-plugin-template-cargotoml.md",
".changes/fix-proguard-injection.md",
".changes/fix-proguard-rules.md",
".changes/fix-shell-build.md",
".changes/fix-tauri-binary-windows.md",
".changes/fix-wix-escape-resources.md",
".changes/fix-xcodescript-lib-path.md",
".changes/force-colored-logs.md",
".changes/generate-tauri-activity.md",
@@ -68,9 +81,12 @@
".changes/ios-keep-alive.md",
".changes/ios-logs.md",
".changes/ipc-scope-remove-enable-tauri-api.md",
".changes/kill-dev-process-on-err.md",
".changes/lib-name-xcode.md",
".changes/local-dev-path-mobile.md",
".changes/log-file-fix-for-linux-and-windows.md",
".changes/logcat-all-tags.md",
".changes/migrate-cmd.md",
".changes/min-sdk-version.md",
".changes/mobile-config.md",
".changes/mobile-dev-watcher-ignore-gen.md",
@@ -99,12 +115,11 @@
".changes/msrv-1.65.md",
".changes/napi-rs.md",
".changes/npm-pass-args.md",
".changes/nsis-spanish.md",
".changes/nsis-webview-installmodes.md",
".changes/on-new-intent.md",
".changes/only-proxy-on-mobile.md",
".changes/open-ts-overload.md",
".changes/package-info-crate-name.md",
".changes/path-sep-delimter.md",
".changes/plugin-android-project-refactor.md",
".changes/plugin-api-handle.md",
".changes/plugin-handle-clone.md",
@@ -139,14 +154,20 @@
".changes/shadow.md",
".changes/shadows-default-on.md",
".changes/simplify-ios-plugin-init-fn.md",
".changes/skip-target-install-arg.md",
".changes/target-dir-detection.md",
".changes/tauri-build-mobile.md",
".changes/tauri-mobile-entry-point.md",
".changes/tauri-runtime-wry-wry-0-28.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/window-effects-api.md",
".changes/window-effects-config.md",
".changes/window-effects.md",
".changes/with-webview.md",
".changes/wry26.md"
]

View File

@@ -0,0 +1,5 @@
---
"tauri-build": patch:feat
---
Added the `mobile::update_android_manifest` function.

View File

@@ -0,0 +1,5 @@
---
"tauri": patch:feat
---
Expose `RunEvent::Opened` on macOS and iOS for deep link support.

View File

@@ -0,0 +1,6 @@
---
"tauri-runtime": "minor:feat"
"tauri-runtime-wry": "minor:feat"
---
Added `primary_monitor` and `available_monitors` to `Runtime` and `RuntimeHandle`.

View File

@@ -0,0 +1,5 @@
---
"tauri-runtime": 'minor:feat'
---
Added `navigate` function to `Dispatch` trait.

View File

@@ -0,0 +1,6 @@
---
"tauri-runtime": minor:feat
"tauri-runtime-wry": minor:feat
---
Added the `Opened` variant to `RunEvent`.

View File

@@ -1,6 +0,0 @@
---
'tauri-cli': 'patch:enhance'
'@tauri-apps/cli': 'patch:enhance'
---
Add `rustls` as default Cargo feature.

5
.changes/state-0.6.md Normal file
View File

@@ -0,0 +1,5 @@
---
"tauri": patch:deps
---
Update `state` to v0.6.

View File

@@ -1,5 +0,0 @@
---
'tauri-build': 'patch:enhance'
---
On Windows, set `LegalCopyright` and `FileDescription` file properties on the executable from `tauri.bundle.copyright` and `tauri.bundle.shortDescription`,

View File

@@ -1,5 +0,0 @@
---
'tauri-cli': 'patch:enhance'
---
Improve Visual Studio installation detection in `tauri info` command to check for the necessary components instead of whole workloads. This also fixes the detection of minimal installations and auto-installations done by `rustup`.

View File

@@ -1,5 +0,0 @@
---
'tauri': 'minor:feat'
---
Add `MenuHandle::try_get_item` and `SystemTrayHandle::try_get_item` which returns a `Option` instead of panicking.

View File

@@ -1,9 +0,0 @@
---
'tauri': 'patch:enhance'
'tauri-build': 'patch:enhance'
'tauri-codegen': 'patch:enhance'
'tauri-runtime': 'patch:enhance'
'tauri-runtime-wry': 'patch:enhance'
---
Unpin `time`, `ignore`, `winnow`, and `ignore` crate versions. Developers now have to pin crates if needed themselves. A list of crates that need pinning to adhere to Tauri's MSRV will be visible in Tauri's GitHub workflow: https://github.com/tauri-apps/tauri/blob/dev/.github/workflows/test-core.yml#L85.

View File

@@ -0,0 +1,5 @@
---
"tauri-build": patch:feat
---
Added the `mobile::update_entitlements` function for iOS.

View File

@@ -1,5 +0,0 @@
---
'tauri-runtime': 'patch:enhance'
---
impl `From<&WindowConfig>` for `WebviewAttributes`.

View File

@@ -0,0 +1,5 @@
---
"tauri-runtime-wry": 'minor:feat'
---
Implement navigate method

View File

@@ -8,7 +8,7 @@ on:
push:
branches:
- dev
- next
- 1.x
workflow_dispatch:
env:

View File

@@ -25,7 +25,7 @@ jobs:
list-files: shell
filters: |
changes:
- '.changes/*.md'
- added|modified: '.changes/*.md'
- name: check
run: node ./.scripts/ci/check-change-tags.js ${{ steps.filter.outputs.changes_files }}

View File

@@ -1,88 +0,0 @@
# Copyright 2019-2023 Tauri Programme within The Commons Conservancy
# SPDX-License-Identifier: Apache-2.0
# SPDX-License-Identifier: MIT
name: version or publish
on:
push:
branches:
- next
jobs:
version-or-publish:
runs-on: ubuntu-latest
timeout-minutes: 65
outputs:
change: ${{ steps.covector.outputs.change }}
commandRan: ${{ steps.covector.outputs.commandRan }}
successfulPublish: ${{ steps.covector.outputs.successfulPublish }}
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- uses: actions/setup-node@v2
with:
node-version: 14
registry-url: 'https://registry.npmjs.org'
cache: yarn
cache-dependency-path: tooling/*/yarn.lock
- name: cargo login
run: cargo login ${{ secrets.ORG_CRATES_IO_TOKEN }}
- name: git config
run: |
git config --global user.name "${{ github.event.pusher.name }}"
git config --global user.email "${{ github.event.pusher.email }}"
- name: covector version or publish (publish when no change files present)
uses: jbolda/covector/packages/action@covector-v0
id: covector
env:
NODE_AUTH_TOKEN: ${{ secrets.ORG_NPM_TOKEN }}
CARGO_AUDIT_OPTIONS: ${{ secrets.CARGO_AUDIT_OPTIONS }}
with:
token: ${{ secrets.GITHUB_TOKEN }}
command: 'version-or-publish'
createRelease: true
- name: Create Pull Request With Versions Bumped
if: steps.covector.outputs.commandRan == 'version'
uses: tauri-apps/create-pull-request@v3
with:
token: ${{ secrets.GITHUB_TOKEN }}
branch: release/version-updates-next
title: (NEXT) Apply Version Updates From Current Changes
commit-message: 'apply version updates'
labels: 'version updates'
body: ${{ steps.covector.outputs.change }}
- name: Trigger doc update
if: |
steps.covector.outputs.successfulPublish == 'true' &&
steps.covector.outputs.packagesPublished != ''
uses: peter-evans/repository-dispatch@v1
with:
token: ${{ secrets.ORG_TAURI_BOT_PAT }}
repository: tauri-apps/tauri-docs
event-type: update-docs
- name: Trigger cli.js publishing workflow
if: |
steps.covector.outputs.successfulPublish == 'true' &&
contains(steps.covector.outputs.packagesPublished, 'cli.rs')
uses: benc-uk/workflow-dispatch@v1
with:
token: ${{ secrets.ORG_TAURI_BOT_PAT }}
workflow: publish-cli-js.yml
inputs: '{"releaseId": "${{ steps.covector.outputs.cli.js-releaseId }}", "ref": "${{ github.ref }}" }'
- name: Trigger cli.rs publishing workflow
if: |
steps.covector.outputs.successfulPublish == 'true' &&
contains(steps.covector.outputs.packagesPublished, 'cli.rs')
uses: benc-uk/workflow-dispatch@v1
with:
token: ${{ secrets.ORG_TAURI_BOT_PAT }}
workflow: publish-cli-rs.yml

View File

@@ -121,7 +121,7 @@ jobs:
steps.covector.outputs.successfulPublish == 'true' &&
contains(steps.covector.outputs.packagesPublished, '@tauri-apps/cli')
run: |
echo '${{ steps.covector.outputs }}' > output.json
echo '${{ toJSON(steps.covector.outputs) }}' > output.json
id=$(jq '.["-tauri-apps-cli-releaseId"]' < output.json)
rm output.json
echo "cliReleaseId=$id" >> "$GITHUB_OUTPUT"

View File

@@ -8,7 +8,7 @@ on:
push:
branches:
- dev
- next
- 1.x
pull_request:
paths:
- '.github/workflows/lint-cli.yml'

View File

@@ -8,7 +8,7 @@ on:
push:
branches:
- dev
- next
- 1.x
pull_request:
paths:
- '.github/workflows/lint-core.yml'

View File

@@ -61,7 +61,7 @@ jobs:
- host: macos-latest
target: aarch64-apple-darwin
build: |
yarn build:release --target=aarch64-apple-darwin
yarn build:release --features native-tls-vendored --target=aarch64-apple-darwin
strip -x *.node
- host: ubuntu-20.04
target: aarch64-unknown-linux-gnu

View File

@@ -87,7 +87,7 @@ jobs:
run: ./.scripts/ci/pack-cli.sh
- name: Get CLI version
run: echo "CLI_VERSION=$(cat tooling/cli/metadata.json | jq '."@tauri-apps/cli".version' -r)" >> $GITHUB_ENV
run: echo "CLI_VERSION=$(cat tooling/cli/metadata-v2.json | jq '."@tauri-apps/cli".version' -r)" >> $GITHUB_ENV
- name: Publish release
uses: softprops/action-gh-release@50195ba7f6f93d1ac97ba8332a178e008ad176aa

View File

@@ -8,7 +8,7 @@ on:
push:
branches:
- dev
- next
- 1.x
pull_request:
paths:
- '.github/workflows/test-cli-js.yml'

View File

@@ -8,7 +8,7 @@ on:
push:
branches:
- dev
- next
- 1.x
pull_request:
paths:
- '.github/workflows/test-cli-rs.yml'

View File

@@ -8,7 +8,7 @@ on:
push:
branches:
- dev
- next
- 1.x
pull_request:
paths:
- '.github/workflows/test-core.yml'

View File

@@ -8,7 +8,7 @@ on:
push:
branches:
- dev
- next
- 1.x
pull_request:
paths:
- '.github/workflows/test-bundler.yml'

View File

@@ -8,7 +8,7 @@ on:
push:
branches:
- dev
- next
- 1.x
env:
RUST_BACKTRACE: 1

View File

@@ -17,8 +17,8 @@ const { resolve } = require('path')
const packageNickname = process.argv[2]
const filePath =
packageNickname === '@tauri-apps/cli'
? `../../../tooling/cli/metadata.json`
: `../../tooling/cli/metadata.json`
? `../../../tooling/cli/metadata-v2.json`
: `../../tooling/cli/metadata-v2.json`
const bump = process.argv[3]
let index = null
@@ -50,7 +50,9 @@ const inc = (version) => {
}
}
if (bump === 'premajor') {
const pre = JSON.parse(readFileSync(resolve(filePath, '../../../.changes/pre.json'), 'utf-8'))
const pre = JSON.parse(
readFileSync(resolve(filePath, '../../../.changes/pre.json'), 'utf-8')
)
return `${v.join('.')}-${pre.tag}.0`
}
return v.join('.')
@@ -70,5 +72,5 @@ if (packageNickname === '@tauri-apps/cli') {
}
writeFileSync(filePath, JSON.stringify(metadata, null, 2) + '\n')
console.log(`wrote ${version} for ${packageNickname} into metadata.json`)
console.log(`wrote ${version} for ${packageNickname} into metadata-v2.json`)
console.dir(metadata)

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