Apply Version Updates From Current Changes (#8775)

Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
This commit is contained in:
github-actions[bot] 2024-02-19 15:49:28 -03:00 committed by GitHub
parent c115a978bb
commit 18ff84fc81
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
28 changed files with 326 additions and 89 deletions

View File

@ -1,13 +1,51 @@
{
"tag": "beta",
"changes": [
".changes/acl-scope-refactor.md",
".changes/allow-recursive-asset-scope-on-file-drop-directory.md",
".changes/api-tauri-event-file-drop-rename.md",
".changes/api-webview-window-new-methods.md",
".changes/api-webview-window.md",
".changes/api-window-on-filedrop.md",
".changes/beta.md",
".changes/capabilities-multiwebview.md",
".changes/capabilities-tauri-conf.md",
".changes/cli-plugin-android-init.md",
".changes/cli-windows-build-tools-detect-utf8.md",
".changes/codegen-capabilities-attribute.md",
".changes/context-runtime-authority.md",
".changes/core-center-window.md",
".changes/core-js-event-anytarget.md",
".changes/downgrade-minisign.md",
".changes/enhance-resource-dir-resolution.md",
".changes/fix-capability-schema-definitions.md",
".changes/fix-codegen-rerun-if-changed.md",
".changes/fix-config-arg.md",
".changes/fix-invoke-devtools-by-hotkey.md",
".changes/fix-migrate-updater.md",
".changes/fix-process-ipc-message-fn.md",
".changes/fix-rewrite-schema.md",
".changes/fix-tauri-build-license-field.md",
".changes/fix-tauri-build-unix.md",
".changes/fix-webview-close.md",
".changes/handle-empty-permissions.md",
".changes/inline-plugins.md",
".changes/refactor-capabilities-schema.md",
".changes/refactor-capability-remote-option.md",
".changes/rerun-if-permission-created.md",
".changes/update-plugin-template.md"
".changes/runtime-add-capability.md",
".changes/rwh-06.md",
".changes/schema_str.md",
".changes/tauri-build-codegen-capabilities.md",
".changes/tauri-close-requested-target-specific.md",
".changes/tauri-error-sync.md",
".changes/tauri-plugin-identifier-alphanumeric.md",
".changes/tauri-runtime-webview-events.md",
".changes/tauri-scope-object-error-sync.md",
".changes/tauri-utils-capability-refactor.md",
".changes/tauri-webview-events.md",
".changes/update-app-template-capabilities-conf.md",
".changes/update-plugin-template.md",
".changes/wry-0.36.md"
]
}

16
Cargo.lock generated
View File

@ -4054,7 +4054,7 @@ checksum = "69758bda2e78f098e4ccb393021a0963bb3442eac05f135c30f61b7370bbafae"
[[package]]
name = "tauri"
version = "2.0.0-beta.2"
version = "2.0.0-beta.3"
dependencies = [
"anyhow",
"bytes",
@ -4112,7 +4112,7 @@ dependencies = [
[[package]]
name = "tauri-build"
version = "2.0.0-beta.1"
version = "2.0.0-beta.2"
dependencies = [
"anyhow",
"cargo_toml",
@ -4134,7 +4134,7 @@ dependencies = [
[[package]]
name = "tauri-codegen"
version = "2.0.0-beta.1"
version = "2.0.0-beta.2"
dependencies = [
"base64",
"brotli",
@ -4171,7 +4171,7 @@ dependencies = [
[[package]]
name = "tauri-macros"
version = "2.0.0-beta.1"
version = "2.0.0-beta.2"
dependencies = [
"heck",
"proc-macro2",
@ -4183,7 +4183,7 @@ dependencies = [
[[package]]
name = "tauri-plugin"
version = "2.0.0-beta.1"
version = "2.0.0-beta.2"
dependencies = [
"anyhow",
"glob",
@ -4198,7 +4198,7 @@ dependencies = [
[[package]]
name = "tauri-runtime"
version = "2.0.0-beta.1"
version = "2.0.0-beta.2"
dependencies = [
"gtk",
"http",
@ -4214,7 +4214,7 @@ dependencies = [
[[package]]
name = "tauri-runtime-wry"
version = "2.0.0-beta.1"
version = "2.0.0-beta.2"
dependencies = [
"cocoa",
"gtk",
@ -4235,7 +4235,7 @@ dependencies = [
[[package]]
name = "tauri-utils"
version = "2.0.0-beta.1"
version = "2.0.0-beta.2"
dependencies = [
"aes-gcm",
"brotli",

View File

@ -1,5 +1,23 @@
# Changelog
## \[2.0.0-beta.2]
### Enhancements
- [`83a68deb`](https://www.github.com/tauri-apps/tauri/commit/83a68deb5676d39cd4728d2e140f6b46d5f787ed)([#8797](https://www.github.com/tauri-apps/tauri/pull/8797)) Added a new configuration option `tauri.conf.json > app > security > capabilities` to reference existing capabilities and inline new ones. If it is empty, all capabilities are still included preserving the current behavior.
- [`edb11c13`](https://www.github.com/tauri-apps/tauri/commit/edb11c138def2e317099db432479e3ca5dbf803f)([#8781](https://www.github.com/tauri-apps/tauri/pull/8781)) Added `Attributes::plugin()` to register a plugin that is inlined in the application crate.
- [`8d16a80d`](https://www.github.com/tauri-apps/tauri/commit/8d16a80d2fb2468667e7987d0cc99dbc7e3b9d0a)([#8802](https://www.github.com/tauri-apps/tauri/pull/8802)) Added `CodegenContext::capability` to include a capability file dynamically.
### Bug Fixes
- [`0e8e9cd0`](https://www.github.com/tauri-apps/tauri/commit/0e8e9cd064627e734adf8f62e571dc5f4e8f4d9f)([#8906](https://www.github.com/tauri-apps/tauri/pull/8906)) Fixes the capability schema not resolving inner definitions.
- [`19fb5f0b`](https://www.github.com/tauri-apps/tauri/commit/19fb5f0b20479885bf8bc4fdd8c431052420191d)([#8782](https://www.github.com/tauri-apps/tauri/pull/8782)) Fix generating invalid schema files.
### Dependencies
- Upgraded to `tauri-utils@2.0.0-beta.2`
- Upgraded to `tauri-codegen@2.0.0-beta.2`
## \[2.0.0-beta.1]
### Enhancements

View File

@ -1,6 +1,6 @@
[package]
name = "tauri-build"
version = "2.0.0-beta.1"
version = "2.0.0-beta.2"
description = "build time code to pair with https://crates.io/crates/tauri"
exclude = [ "CHANGELOG.md", "/target" ]
readme = "README.md"
@ -28,8 +28,8 @@ rustdoc-args = [ "--cfg", "docsrs" ]
[dependencies]
anyhow = "1"
quote = { version = "1", optional = true }
tauri-codegen = { version = "2.0.0-beta.1", path = "../tauri-codegen", optional = true }
tauri-utils = { version = "2.0.0-beta.1", path = "../tauri-utils", features = [ "build", "resources" ] }
tauri-codegen = { version = "2.0.0-beta.2", path = "../tauri-codegen", optional = true }
tauri-utils = { version = "2.0.0-beta.2", path = "../tauri-utils", features = [ "build", "resources" ] }
cargo_toml = "0.17"
serde = "1"
serde_json = "1"

View File

@ -1,5 +1,16 @@
# Changelog
## \[2.0.0-beta.2]
### Enhancements
- [`83a68deb`](https://www.github.com/tauri-apps/tauri/commit/83a68deb5676d39cd4728d2e140f6b46d5f787ed)([#8797](https://www.github.com/tauri-apps/tauri/pull/8797)) Added a new configuration option `tauri.conf.json > app > security > capabilities` to reference existing capabilities and inline new ones. If it is empty, all capabilities are still included preserving the current behavior.
- [`8d16a80d`](https://www.github.com/tauri-apps/tauri/commit/8d16a80d2fb2468667e7987d0cc99dbc7e3b9d0a)([#8802](https://www.github.com/tauri-apps/tauri/pull/8802)) The `generate_context` proc macro now accepts a `capabilities` attribute where the value is an array of file paths that can be [conditionally compiled](https://doc.rust-lang.org/reference/conditional-compilation.html). These capabilities are added to the application along the capabilities defined in the Tauri configuration file.
### Dependencies
- Upgraded to `tauri-utils@2.0.0-beta.2`
## \[2.0.0-beta.1]
### Dependencies

View File

@ -1,6 +1,6 @@
[package]
name = "tauri-codegen"
version = "2.0.0-beta.1"
version = "2.0.0-beta.2"
description = "code generation meant to be consumed inside of `tauri` through `tauri-build` or `tauri-macros`"
exclude = [ "CHANGELOG.md", "/target" ]
readme = "README.md"
@ -20,14 +20,12 @@ quote = "1"
syn = "2"
serde = { version = "1", features = [ "derive" ] }
serde_json = "1"
tauri-utils = { version = "2.0.0-beta.1", path = "../tauri-utils", features = [ "build" ] }
tauri-utils = { version = "2.0.0-beta.2", path = "../tauri-utils", features = [ "build" ] }
thiserror = "1"
walkdir = "2"
brotli = { version = "3", optional = true, default-features = false, features = [
"std",
] }
brotli = { version = "3", optional = true, default-features = false, features = [ "std" ] }
regex = { version = "1", optional = true }
uuid = { version = "1", features = ["v4"] }
uuid = { version = "1", features = [ "v4" ] }
semver = "1"
ico = "0.3"
png = "0.17"
@ -36,7 +34,7 @@ url = "2"
[target."cfg(target_os = \"macos\")".dependencies]
plist = "1"
time = { version = "0.3", features = ["parsing", "formatting"] }
time = { version = "0.3", features = [ "parsing", "formatting" ] }
[features]
default = [ "compression" ]

View File

@ -1,5 +1,16 @@
# Changelog
## \[2.0.0-beta.2]
### Enhancements
- [`8d16a80d`](https://www.github.com/tauri-apps/tauri/commit/8d16a80d2fb2468667e7987d0cc99dbc7e3b9d0a)([#8802](https://www.github.com/tauri-apps/tauri/pull/8802)) The `generate_context` proc macro now accepts a `capabilities` attribute where the value is an array of file paths that can be [conditionally compiled](https://doc.rust-lang.org/reference/conditional-compilation.html). These capabilities are added to the application along the capabilities defined in the Tauri configuration file.
### Dependencies
- Upgraded to `tauri-utils@2.0.0-beta.2`
- Upgraded to `tauri-codegen@2.0.0-beta.2`
## \[2.0.0-beta.1]
### Dependencies

View File

@ -1,6 +1,6 @@
[package]
name = "tauri-macros"
version = "2.0.0-beta.1"
version = "2.0.0-beta.2"
description = "Macros for the tauri crate."
exclude = [ "CHANGELOG.md", "/target" ]
readme = "README.md"
@ -16,12 +16,12 @@ rust-version = { workspace = true }
proc-macro = true
[dependencies]
proc-macro2 = { version = "1", features = ["span-locations"] }
proc-macro2 = { version = "1", features = [ "span-locations" ] }
quote = "1"
syn = { version = "2", features = [ "full" ] }
heck = "0.4"
tauri-codegen = { version = "2.0.0-beta.1", default-features = false, path = "../tauri-codegen" }
tauri-utils = { version = "2.0.0-beta.1", path = "../tauri-utils" }
tauri-codegen = { version = "2.0.0-beta.2", default-features = false, path = "../tauri-codegen" }
tauri-utils = { version = "2.0.0-beta.2", path = "../tauri-utils" }
[features]
custom-protocol = [ ]

View File

@ -1,5 +1,15 @@
# Changelog
## \[2.0.0-beta.2]
### Enhancements
- [`dd7571a7`](https://www.github.com/tauri-apps/tauri/commit/dd7571a7808676c8063a4983b9c6687dfaf03a09)([#8815](https://www.github.com/tauri-apps/tauri/pull/8815)) Do not generate JSON schema and markdown reference file if the plugin does not define any permissions and delete those files if they exist.
### Dependencies
- Upgraded to `tauri-utils@2.0.0-beta.2`
## \[2.0.0-beta.1]
### Bug Fixes

View File

@ -1,6 +1,6 @@
[package]
name = "tauri-plugin"
version = "2.0.0-beta.1"
version = "2.0.0-beta.2"
description = "Build script and runtime Tauri plugin definitions"
authors = { workspace = true }
homepage = { workspace = true }
@ -30,7 +30,7 @@ runtime = [ ]
[dependencies]
anyhow = { version = "1", optional = true }
serde = { version = "1", optional = true }
tauri-utils = { version = "2.0.0-beta.1", default-features = false, path = "../tauri-utils" }
tauri-utils = { version = "2.0.0-beta.2", default-features = false, path = "../tauri-utils" }
serde_json = { version = "1", optional = true }
glob = { version = "0.3", optional = true }
toml = { version = "0.8", optional = true }

View File

@ -1,5 +1,22 @@
# Changelog
## \[2.0.0-beta.2]
### What's Changed
- [`76ce9f61`](https://www.github.com/tauri-apps/tauri/commit/76ce9f61dd3c5bdd589c7557543894e1f770dd16)([#3002](https://www.github.com/tauri-apps/tauri/pull/3002)) Enhance centering a newly created window, it will no longer jump to center after being visible.
- [`16e550ec`](https://www.github.com/tauri-apps/tauri/commit/16e550ec1503765158cdc3bb2a20e70ec710e981)([#8844](https://www.github.com/tauri-apps/tauri/pull/8844)) Add `WebviewEvent`, `RunEvent::WebviewEvent` and `WebviewDispatch::on_webview_event`.
### Dependencies
- Upgraded to `tauri-utils@2.0.0-beta.2`
- Upgraded to `tauri-runtime@2.0.0-beta.2`
- [`2f55bfec`](https://www.github.com/tauri-apps/tauri/commit/2f55bfecbf0244f3b5aa1ad7622182fca3fcdcbb)([#8795](https://www.github.com/tauri-apps/tauri/pull/8795)) Update `wry` to 0.36.
### Breaking Changes
- [`2f55bfec`](https://www.github.com/tauri-apps/tauri/commit/2f55bfecbf0244f3b5aa1ad7622182fca3fcdcbb)([#8795](https://www.github.com/tauri-apps/tauri/pull/8795)) Update raw-window-handle to 0.6.
## \[2.0.0-beta.1]
### Dependencies

View File

@ -1,6 +1,6 @@
[package]
name = "tauri-runtime-wry"
version = "2.0.0-beta.1"
version = "2.0.0-beta.2"
description = "Wry bindings to the Tauri runtime"
exclude = [ "CHANGELOG.md", "/target" ]
readme = "README.md"
@ -15,8 +15,8 @@ rust-version = { workspace = true }
[dependencies]
wry = { version = "0.36", default-features = false, features = [ "file-drop", "protocol", "os-webview" ] }
tao = { version = "0.25", default-features = false, features = [ "rwh_06" ] }
tauri-runtime = { version = "2.0.0-beta.1", path = "../tauri-runtime" }
tauri-utils = { version = "2.0.0-beta.1", path = "../tauri-utils" }
tauri-runtime = { version = "2.0.0-beta.2", path = "../tauri-runtime" }
tauri-utils = { version = "2.0.0-beta.2", path = "../tauri-utils" }
raw-window-handle = "0.6"
http = "0.2"
tracing = { version = "0.1", optional = true }
@ -45,7 +45,7 @@ devtools = [ "wry/devtools", "tauri-runtime/devtools" ]
macos-private-api = [
"wry/fullscreen",
"wry/transparent",
"tauri-runtime/macos-private-api",
"tauri-runtime/macos-private-api"
]
objc-exception = [ "wry/objc-exception" ]
linux-protocol-body = [ "wry/linux-body", "webkit2gtk/v2_40" ]

View File

@ -1,5 +1,19 @@
# Changelog
## \[2.0.0-beta.2]
### What's Changed
- [`16e550ec`](https://www.github.com/tauri-apps/tauri/commit/16e550ec1503765158cdc3bb2a20e70ec710e981)([#8844](https://www.github.com/tauri-apps/tauri/pull/8844)) Add `WebviewEvent`, `RunEvent::WebviewEvent` and `WebviewDispatch::on_webview_event`.
### Dependencies
- Upgraded to `tauri-utils@2.0.0-beta.2`
### Breaking Changes
- [`2f55bfec`](https://www.github.com/tauri-apps/tauri/commit/2f55bfecbf0244f3b5aa1ad7622182fca3fcdcbb)([#8795](https://www.github.com/tauri-apps/tauri/pull/8795)) Update raw-window-handle to 0.6.
## \[2.0.0-beta.1]
### Dependencies

View File

@ -1,6 +1,6 @@
[package]
name = "tauri-runtime"
version = "2.0.0-beta.1"
version = "2.0.0-beta.2"
description = "Runtime for Tauri applications"
exclude = [ "CHANGELOG.md", "/target" ]
readme = "README.md"
@ -26,10 +26,10 @@ targets = [
]
[dependencies]
serde = { version = "1.0", features = ["derive"] }
serde = { version = "1.0", features = [ "derive" ] }
serde_json = "1.0"
thiserror = "1.0"
tauri-utils = { version = "2.0.0-beta.1", path = "../tauri-utils" }
tauri-utils = { version = "2.0.0-beta.2", path = "../tauri-utils" }
http = "0.2.4"
raw-window-handle = "0.6"
url = { version = "2" }

View File

@ -1,5 +1,25 @@
# Changelog
## \[2.0.0-beta.2]
### Enhancements
- [`0cb0a15c`](https://www.github.com/tauri-apps/tauri/commit/0cb0a15ce22af3d649cf219ac04188c14c5f4905)([#8789](https://www.github.com/tauri-apps/tauri/pull/8789)) Add `webviews` array on the capability for usage on multiwebview contexts.
- [`83a68deb`](https://www.github.com/tauri-apps/tauri/commit/83a68deb5676d39cd4728d2e140f6b46d5f787ed)([#8797](https://www.github.com/tauri-apps/tauri/pull/8797)) Added a new configuration option `tauri.conf.json > app > security > capabilities` to reference existing capabilities and inline new ones. If it is empty, all capabilities are still included preserving the current behavior.
- [`8d16a80d`](https://www.github.com/tauri-apps/tauri/commit/8d16a80d2fb2468667e7987d0cc99dbc7e3b9d0a)([#8802](https://www.github.com/tauri-apps/tauri/pull/8802)) The `Context` struct now includes the runtime authority instead of the resolved ACL. This does not impact most applications.
- [`28fb036c`](https://www.github.com/tauri-apps/tauri/commit/28fb036ce476c6f22815c35385f923135212c6f3)([#8852](https://www.github.com/tauri-apps/tauri/pull/8852)) Enhance resource directory resolution on development.
- [`dd7571a7`](https://www.github.com/tauri-apps/tauri/commit/dd7571a7808676c8063a4983b9c6687dfaf03a09)([#8815](https://www.github.com/tauri-apps/tauri/pull/8815)) Do not generate JSON schema and markdown reference file if the plugin does not define any permissions and delete those files if they exist.
- [`5618f6d2`](https://www.github.com/tauri-apps/tauri/commit/5618f6d2ffc9ebf40710145538b06bebfa55f878)([#8856](https://www.github.com/tauri-apps/tauri/pull/8856)) Relax requirements on plugin's identifiers to be alphanumeric and `-` instead of only lower alpha and `-`.
- [`8d16a80d`](https://www.github.com/tauri-apps/tauri/commit/8d16a80d2fb2468667e7987d0cc99dbc7e3b9d0a)([#8802](https://www.github.com/tauri-apps/tauri/pull/8802)) Refactored the capability types and resolution algorithm.
### Bug Fixes
- [`ae0fe47c`](https://www.github.com/tauri-apps/tauri/commit/ae0fe47c4c35fa87c77acf42af32ef3f0615cb08)([#8774](https://www.github.com/tauri-apps/tauri/pull/8774)) Fix compile error when `tauri.conf.json` had `bundle > license` set.
### Breaking Changes
- [`f284f9c5`](https://www.github.com/tauri-apps/tauri/commit/f284f9c545deeb77d15b6e8b1d0d05f49c40634c)([#8898](https://www.github.com/tauri-apps/tauri/pull/8898)) Changed the capability `remote` configuration to take a list of `urls` instead of `domains` for more flexibility.
## \[2.0.0-beta.1]
### Enhancements

View File

@ -1,6 +1,6 @@
[package]
name = "tauri-utils"
version = "2.0.0-beta.1"
version = "2.0.0-beta.2"
description = "Utilities for Tauri"
exclude = [ "CHANGELOG.md", "/target" ]
readme = "README.md"

View File

@ -1,5 +1,49 @@
# Changelog
## \[2.0.0-beta.3]
### New Features
- [`16e550ec`](https://www.github.com/tauri-apps/tauri/commit/16e550ec1503765158cdc3bb2a20e70ec710e981)([#8844](https://www.github.com/tauri-apps/tauri/pull/8844)) Add webview-specific events for multi-webview windows:
- Add `WebviewEvent` enum
- Add `RunEvent::WebviewEvent` variant.
- Add `Builder::on_webview_event` and `Webview::on_webview_event` methods.
### Enhancements
- [`11a5816b`](https://www.github.com/tauri-apps/tauri/commit/11a5816bdffcbaa20df936dee43751de2cf67530)([#8864](https://www.github.com/tauri-apps/tauri/pull/8864)) A file-drop now allows sub-directories recursively when the path is a directory.
- [`0cb0a15c`](https://www.github.com/tauri-apps/tauri/commit/0cb0a15ce22af3d649cf219ac04188c14c5f4905)([#8789](https://www.github.com/tauri-apps/tauri/pull/8789)) Add `webviews` array on the capability for usage on multiwebview contexts.
- [`258494bd`](https://www.github.com/tauri-apps/tauri/commit/258494bd247b6d36485bf16bf7184b93fd299da9)([#8806](https://www.github.com/tauri-apps/tauri/pull/8806)) Added `Manager::add_capability` to add a capability file at runtime.
- [`5618f6d2`](https://www.github.com/tauri-apps/tauri/commit/5618f6d2ffc9ebf40710145538b06bebfa55f878)([#8856](https://www.github.com/tauri-apps/tauri/pull/8856)) Relax requirements on plugin's identifiers to be alphanumeric and `-` instead of only lower alpha and `-`.
### Bug Fixes
- [`16e550ec`](https://www.github.com/tauri-apps/tauri/commit/16e550ec1503765158cdc3bb2a20e70ec710e981)([#8844](https://www.github.com/tauri-apps/tauri/pull/8844)) Fix JS event listeners registered using JS `listen` api with `EventTarget::Any` never fired.
- [`8751c329`](https://www.github.com/tauri-apps/tauri/commit/8751c3299f2b7229c6108aa37dedf1dc5edb3e5c)([#8793](https://www.github.com/tauri-apps/tauri/pull/8793)) Fix invoking toggle devtools by hotkey.
- [`bd73ab0a`](https://www.github.com/tauri-apps/tauri/commit/bd73ab0a1adcf648e38d579b92515dababf34993)([#8766](https://www.github.com/tauri-apps/tauri/pull/8766)) When using the multiwebview mode, properly remove the webview from memory on `Webview::close`.
- [`46b6598a`](https://www.github.com/tauri-apps/tauri/commit/46b6598a94cd0c6fa4a1654ac67432d94ea20ebf)([#8826](https://www.github.com/tauri-apps/tauri/pull/8826)) Fix JS `onCloseRequested` catching close event from other windows.
- [`2e6db908`](https://www.github.com/tauri-apps/tauri/commit/2e6db908d7b3a2c928c46b0ad9ccf9ec55a29480)([#8777](https://www.github.com/tauri-apps/tauri/pull/8777)) Fix regression in `tauri::Error` not being `Sync`.
### What's Changed
- [`76ce9f61`](https://www.github.com/tauri-apps/tauri/commit/76ce9f61dd3c5bdd589c7557543894e1f770dd16)([#3002](https://www.github.com/tauri-apps/tauri/pull/3002)) Enhance centering a newly created window, it will no longer jump to center after being visible.
### Dependencies
- Upgraded to `tauri-utils@2.0.0-beta.2`
- Upgraded to `tauri-build@2.0.0-beta.2`
- Upgraded to `tauri-macros@2.0.0-beta.2`
- Upgraded to `tauri-runtime-wry@2.0.0-beta.2`
- Upgraded to `tauri-runtime@2.0.0-beta.2`
### Breaking Changes
- [`258494bd`](https://www.github.com/tauri-apps/tauri/commit/258494bd247b6d36485bf16bf7184b93fd299da9)([#8806](https://www.github.com/tauri-apps/tauri/pull/8806)) Removed the lifetime parameter from `ipc::GlobalScope` and `ipc::CommandScope`.
- [`f284f9c5`](https://www.github.com/tauri-apps/tauri/commit/f284f9c545deeb77d15b6e8b1d0d05f49c40634c)([#8898](https://www.github.com/tauri-apps/tauri/pull/8898)) Changed the capability `remote` configuration to take a list of `urls` instead of `domains` for more flexibility.
- [`2f55bfec`](https://www.github.com/tauri-apps/tauri/commit/2f55bfecbf0244f3b5aa1ad7622182fca3fcdcbb)([#8795](https://www.github.com/tauri-apps/tauri/pull/8795)) Update raw-window-handle to 0.6.
- [`2e6db908`](https://www.github.com/tauri-apps/tauri/commit/2e6db908d7b3a2c928c46b0ad9ccf9ec55a29480)([#8777](https://www.github.com/tauri-apps/tauri/pull/8777)) Require `ScopeObject::Error` to be `Sync` as well.
## \[2.0.0-beta.2]
### Bug Fixes

View File

@ -1,6 +1,6 @@
[package]
name = "tauri"
version = "2.0.0-beta.2"
version = "2.0.0-beta.3"
description = "Make tiny, secure apps for all desktop platforms with Tauri"
exclude = [ "/test", "/.scripts", "CHANGELOG.md", "/target" ]
readme = "README.md"
@ -50,10 +50,10 @@ uuid = { version = "1", features = [ "v4" ], optional = true }
url = { version = "2.4" }
anyhow = "1.0"
thiserror = "1.0"
tauri-runtime = { version = "2.0.0-beta.1", path = "../tauri-runtime" }
tauri-macros = { version = "2.0.0-beta.1", path = "../tauri-macros" }
tauri-utils = { version = "2.0.0-beta.1", features = [ "resources" ], path = "../tauri-utils" }
tauri-runtime-wry = { version = "2.0.0-beta.1", path = "../tauri-runtime-wry", optional = true }
tauri-runtime = { version = "2.0.0-beta.2", path = "../tauri-runtime" }
tauri-macros = { version = "2.0.0-beta.2", path = "../tauri-macros" }
tauri-utils = { version = "2.0.0-beta.2", features = [ "resources" ], path = "../tauri-utils" }
tauri-runtime-wry = { version = "2.0.0-beta.2", path = "../tauri-runtime-wry", optional = true }
getrandom = "0.2"
serde_repr = "0.1"
state = "0.6"
@ -111,14 +111,14 @@ swift-rs = "1.0.6"
[build-dependencies]
heck = "0.4"
tauri-build = { path = "../tauri-build/", default-features = false, version = "2.0.0-beta.1" }
tauri-utils = { path = "../tauri-utils/", version = "2.0.0-beta.1", features = [ "build" ] }
tauri-build = { path = "../tauri-build/", default-features = false, version = "2.0.0-beta.2" }
tauri-utils = { path = "../tauri-utils/", version = "2.0.0-beta.2", features = [ "build" ] }
[dev-dependencies]
proptest = "1.4.0"
quickcheck = "1.0.3"
quickcheck_macros = "1.0.0"
serde = { version = "1.0", features = ["derive"] }
serde = { version = "1.0", features = [ "derive" ] }
serde_json = "1.0"
tauri = { path = ".", default-features = false, features = [ "wry" ] }
tokio = { version = "1", features = [ "full" ] }
@ -150,7 +150,7 @@ devtools = [ "tauri-runtime/devtools", "tauri-runtime-wry/devtools" ]
process-relaunch-dangerous-allow-symlink-macos = [ "tauri-utils/process-relaunch-dangerous-allow-symlink-macos" ]
macos-private-api = [
"tauri-runtime/macos-private-api",
"tauri-runtime-wry/macos-private-api",
"tauri-runtime-wry/macos-private-api"
]
webview-data-url = [ "data-url" ]
protocol-asset = [ "http-range" ]

View File

@ -1,5 +1,21 @@
# Changelog
## \[2.0.0-beta.1]
### New Features
- [`16e550ec`](https://www.github.com/tauri-apps/tauri/commit/16e550ec1503765158cdc3bb2a20e70ec710e981)([#8844](https://www.github.com/tauri-apps/tauri/pull/8844)) Add a new `webviewWindow` module that exports `WebviewWindow` class and related methods such as `getCurrent` and `getAll`.
- [`16e550ec`](https://www.github.com/tauri-apps/tauri/commit/16e550ec1503765158cdc3bb2a20e70ec710e981)([#8844](https://www.github.com/tauri-apps/tauri/pull/8844)) Add `Window.onFileDropEvent` method.
### Breaking Changes
- [`16e550ec`](https://www.github.com/tauri-apps/tauri/commit/16e550ec1503765158cdc3bb2a20e70ec710e981)([#8844](https://www.github.com/tauri-apps/tauri/pull/8844)) Renamed the following enum variants of `TauriEvent` enum:
- `TauriEvent.WEBVIEW_FILE_DROP` -> `TauriEvent.FILE_DROP`
- `TauriEvent.WEBVIEW_FILE_DROP_HOVER` -> `TauriEvent.FILE_DROP_HOVER`
- `TauriEvent.WEBVIEW_FILE_DROP_CANCELLED` -> `TauriEvent.FILE_DROP_CANCELLED`
- [`16e550ec`](https://www.github.com/tauri-apps/tauri/commit/16e550ec1503765158cdc3bb2a20e70ec710e981)([#8844](https://www.github.com/tauri-apps/tauri/pull/8844)) Move `WebviewWindow` class from `webview` module to a new `webviewWindow` module.
## \[2.0.0-beta.0]
### New Features

View File

@ -1,6 +1,6 @@
{
"name": "@tauri-apps/api",
"version": "2.0.0-beta.0",
"version": "2.0.0-beta.1",
"description": "Tauri API definitions",
"funding": {
"type": "opencollective",
@ -66,4 +66,4 @@
"npm": ">= 6.6.0",
"yarn": ">= 1.19.1"
}
}
}

View File

@ -1,5 +1,11 @@
# Changelog
## \[2.0.0-beta.2]
### Dependencies
- Upgraded to `tauri-utils@2.0.0-beta.2`
## \[2.0.0-beta.1]
### Dependencies

View File

@ -1,15 +1,15 @@
workspace = {}
workspace = { }
[package]
name = "tauri-bundler"
version = "2.0.0-beta.1"
version = "2.0.0-beta.2"
authors = [
"George Burton <burtonageo@gmail.com>",
"Tauri Programme within The Commons Conservancy",
"Tauri Programme within The Commons Conservancy"
]
categories = ["command-line-utilities", "development-tools::cargo-plugins"]
categories = [ "command-line-utilities", "development-tools::cargo-plugins" ]
license = "Apache-2.0 OR MIT"
keywords = ["bundle", "cargo", "tauri"]
keywords = [ "bundle", "cargo", "tauri" ]
repository = "https://github.com/tauri-apps/tauri"
description = "Wrap rust executables in OS-specific app bundles for Tauri"
edition = "2021"
@ -17,19 +17,19 @@ rust-version = "1.70"
exclude = [ "CHANGELOG.md", "/target", "rustfmt.toml" ]
[dependencies]
tauri-utils = { version = "2.0.0-beta.1", path = "../../core/tauri-utils", features = [ "resources" ] }
tauri-utils = { version = "2.0.0-beta.2", path = "../../core/tauri-utils", features = [ "resources" ] }
image = "0.24.7"
flate2 = "1.0"
anyhow = "1.0"
thiserror = "1.0"
serde_json = "1.0"
serde = { version = "1.0", features = ["derive"] }
serde = { version = "1.0", features = [ "derive" ] }
strsim = "0.10.0"
tar = "0.4.40"
walkdir = "2"
handlebars = "5.0"
tempfile = "3.8.1"
log = { version = "0.4.20", features = ["kv_unstable"] }
log = { version = "0.4.20", features = [ "kv_unstable" ] }
dirs-next = "2.0"
os_pipe = "1"
ureq = { version = "2.9.1", default-features = false, features = [ "socks-proxy" ] }
@ -47,13 +47,16 @@ bitness = "0.4"
winreg = "0.51"
glob = "0.3"
[target."cfg(target_os = \"windows\")".dependencies.windows-sys]
version = "0.48"
features = ["Win32_System_SystemInformation", "Win32_System_Diagnostics_Debug"]
[target."cfg(target_os = \"windows\")".dependencies.windows-sys]
version = "0.48"
features = [
"Win32_System_SystemInformation",
"Win32_System_Diagnostics_Debug"
]
[target."cfg(target_os = \"macos\")".dependencies]
icns = { package = "tauri-icns", version = "0.1" }
time = { version = "0.3", features = ["formatting"] }
time = { version = "0.3", features = [ "formatting" ] }
plist = "1"
[target."cfg(any(target_os = \"macos\", target_os = \"windows\"))".dependencies]
@ -70,7 +73,7 @@ name = "tauri_bundler"
path = "src/lib.rs"
[features]
default = ["rustls"]
native-tls = ["ureq/native-tls"]
native-tls-vendored = ["native-tls", "native-tls/vendored"]
rustls = ["ureq/tls"]
default = [ "rustls" ]
native-tls = [ "ureq/native-tls" ]
native-tls-vendored = [ "native-tls", "native-tls/vendored" ]
rustls = [ "ureq/tls" ]

View File

@ -1,5 +1,24 @@
# Changelog
## \[2.0.0-beta.2]
### Enhancements
- [`83a68deb`](https://www.github.com/tauri-apps/tauri/commit/83a68deb5676d39cd4728d2e140f6b46d5f787ed)([#8797](https://www.github.com/tauri-apps/tauri/pull/8797)) Update app template following capabilities configuration change.
### Bug Fixes
- [`aa06a053`](https://www.github.com/tauri-apps/tauri/commit/aa06a0534cf224038866e0ddd6910ea873b2574d)([#8810](https://www.github.com/tauri-apps/tauri/pull/8810)) Fix `tauri plugin android init` printing invalid code that has a missing closing `"`.
- [`3cee26a5`](https://www.github.com/tauri-apps/tauri/commit/3cee26a58ab44639a12c7816f4096655daa327a4)([#8865](https://www.github.com/tauri-apps/tauri/pull/8865)) On Windows, fixed `tauri info` fails to detect the build tool when the system language is CJK.
- [`052e8b43`](https://www.github.com/tauri-apps/tauri/commit/052e8b4311d9f0f963a2866163be27bfd8f70c60)([#8838](https://www.github.com/tauri-apps/tauri/pull/8838)) Downgrade minisign dependency fixing updater signing key bug and prevent it from happening in the future.
- [`fb0d9971`](https://www.github.com/tauri-apps/tauri/commit/fb0d997117367e3387896bcd0fba004579475c40)([#8783](https://www.github.com/tauri-apps/tauri/pull/8783)) Fixes a regression on the `--config` argument not accepting file paths.
- [`baca704d`](https://www.github.com/tauri-apps/tauri/commit/baca704d4b5fae239fc320d10140f35bd705bfbb)([#8768](https://www.github.com/tauri-apps/tauri/pull/8768)) Do not migrate updater configuration if the active flag is set to false.
### Dependencies
- Upgraded to `tauri-utils@2.0.0-beta.2`
- Upgraded to `tauri-bundler@2.0.0-beta.2`
## \[2.0.0-beta.1]
### Enhancements

10
tooling/cli/Cargo.lock generated
View File

@ -4639,7 +4639,7 @@ dependencies = [
[[package]]
name = "tauri-bundler"
version = "2.0.0-beta.1"
version = "2.0.0-beta.2"
dependencies = [
"anyhow",
"ar",
@ -4667,7 +4667,7 @@ dependencies = [
"strsim 0.10.0",
"tar",
"tauri-icns",
"tauri-utils 2.0.0-beta.1",
"tauri-utils 2.0.0-beta.2",
"tempfile",
"thiserror",
"time",
@ -4681,7 +4681,7 @@ dependencies = [
[[package]]
name = "tauri-cli"
version = "2.0.0-beta.1"
version = "2.0.0-beta.2"
dependencies = [
"anyhow",
"axum",
@ -4732,7 +4732,7 @@ dependencies = [
"tauri-bundler",
"tauri-icns",
"tauri-utils 1.5.3",
"tauri-utils 2.0.0-beta.1",
"tauri-utils 2.0.0-beta.2",
"thiserror",
"tokio",
"toml 0.8.10",
@ -4798,7 +4798,7 @@ dependencies = [
[[package]]
name = "tauri-utils"
version = "2.0.0-beta.1"
version = "2.0.0-beta.2"
dependencies = [
"aes-gcm",
"ctor",

View File

@ -1,9 +1,9 @@
[workspace]
members = ["node"]
members = [ "node" ]
[package]
name = "tauri-cli"
version = "2.0.0-beta.1"
version = "2.0.0-beta.2"
authors = [ "Tauri Programme within The Commons Conservancy" ]
edition = "2021"
rust-version = "1.70"
@ -20,7 +20,7 @@ include = [
"*.rs",
"tauri.gitignore",
"tauri-dev-watcher.gitignore",
"LICENSE*",
"LICENSE*"
]
[package.metadata.binstall]
@ -49,7 +49,7 @@ sublime_fuzzy = "0.7"
clap_complete = "4"
clap = { version = "4.4", features = [ "derive", "env" ] }
anyhow = "1.0"
tauri-bundler = { version = "2.0.0-beta.1", default-features = false, path = "../bundler" }
tauri-bundler = { version = "2.0.0-beta.2", default-features = false, path = "../bundler" }
colored = "2.0"
serde = { version = "1.0", features = [ "derive" ] }
serde_json = "1.0"
@ -59,7 +59,7 @@ shared_child = "1.0"
duct = "0.13"
toml_edit = "0.21"
json-patch = "1.2"
tauri-utils = { version = "2.0.0-beta.1", path = "../../core/tauri-utils", features = [ "isolation", "schema", "config-json5", "config-toml" ] }
tauri-utils = { version = "2.0.0-beta.2", path = "../../core/tauri-utils", features = [ "isolation", "schema", "config-json5", "config-toml" ] }
tauri-utils-v1 = { version = "1", package = "tauri-utils", features = [ "isolation", "schema", "config-json5", "config-toml" ] }
toml = "0.8"
jsonschema = "0.17"
@ -67,26 +67,26 @@ handlebars = "5.0"
include_dir = "0.7"
minisign = "=0.7.3"
base64 = "0.21.5"
ureq = { version = "2.9.1", default-features = false, features = ["gzip"] }
ureq = { version = "2.9.1", default-features = false, features = [ "gzip" ] }
os_info = "3"
semver = "1.0"
regex = "1.10.2"
unicode-width = "0.1"
zeroize = "1.6"
heck = { version = "0.4", features = ["unicode"] }
heck = { version = "0.4", features = [ "unicode" ] }
dialoguer = "0.11"
url = { version = "2.4", features = ["serde"] }
url = { version = "2.4", features = [ "serde" ] }
os_pipe = "1"
ignore = "0.4"
ctrlc = "3.4"
log = { version = "0.4.20", features = ["kv_unstable", "kv_unstable_std"] }
log = { version = "0.4.20", features = [ "kv_unstable", "kv_unstable_std" ] }
env_logger = "0.10.0"
icns = { package = "tauri-icns", version = "0.1" }
image = { version = "0.24", default-features = false, features = ["ico"] }
axum = { version = "0.6.20", features = ["ws"] }
image = { version = "0.24", default-features = false, features = [ "ico" ] }
axum = { version = "0.6.20", features = [ "ws" ] }
html5ever = "0.26"
kuchiki = { package = "kuchikiki", version = "0.8" }
tokio = { version = "1", features = ["macros", "sync"] }
tokio = { version = "1", features = [ "macros", "sync" ] }
common-path = "1"
serde-value = "0.7.0"
itertools = "0.11"
@ -96,13 +96,7 @@ resvg = "0.36.0"
glob = "0.3"
[target."cfg(windows)".dependencies]
winapi = { version = "0.3", features = [
"handleapi",
"processenv",
"winbase",
"wincon",
"winnt",
] }
winapi = { version = "0.3", features = [ "handleapi", "processenv", "winbase", "wincon", "winnt" ] }
cc = "1"
[target."cfg(unix)".dependencies]

View File

@ -1,9 +1,9 @@
{
"cli.js": {
"version": "2.0.0-beta.1",
"version": "2.0.0-beta.2",
"node": ">= 10.0.0"
},
"tauri": "2.0.0-beta.2",
"tauri-build": "2.0.0-beta.1",
"tauri-plugin": "2.0.0-beta.1"
"tauri": "2.0.0-beta.3",
"tauri-build": "2.0.0-beta.2",
"tauri-plugin": "2.0.0-beta.2"
}

View File

@ -1,5 +1,23 @@
# Changelog
## \[2.0.0-beta.2]
### Enhancements
- [`83a68deb`](https://www.github.com/tauri-apps/tauri/commit/83a68deb5676d39cd4728d2e140f6b46d5f787ed)([#8797](https://www.github.com/tauri-apps/tauri/pull/8797)) Update app template following capabilities configuration change.
### Bug Fixes
- [`aa06a053`](https://www.github.com/tauri-apps/tauri/commit/aa06a0534cf224038866e0ddd6910ea873b2574d)([#8810](https://www.github.com/tauri-apps/tauri/pull/8810)) Fix `tauri plugin android init` printing invalid code that has a missing closing `"`.
- [`3cee26a5`](https://www.github.com/tauri-apps/tauri/commit/3cee26a58ab44639a12c7816f4096655daa327a4)([#8865](https://www.github.com/tauri-apps/tauri/pull/8865)) On Windows, fixed `tauri info` fails to detect the build tool when the system language is CJK.
- [`052e8b43`](https://www.github.com/tauri-apps/tauri/commit/052e8b4311d9f0f963a2866163be27bfd8f70c60)([#8838](https://www.github.com/tauri-apps/tauri/pull/8838)) Downgrade minisign dependency fixing updater signing key bug and prevent it from happening in the future.
- [`fb0d9971`](https://www.github.com/tauri-apps/tauri/commit/fb0d997117367e3387896bcd0fba004579475c40)([#8783](https://www.github.com/tauri-apps/tauri/pull/8783)) Fixes a regression on the `--config` argument not accepting file paths.
- [`baca704d`](https://www.github.com/tauri-apps/tauri/commit/baca704d4b5fae239fc320d10140f35bd705bfbb)([#8768](https://www.github.com/tauri-apps/tauri/pull/8768)) Do not migrate updater configuration if the active flag is set to false.
### Dependencies
- Upgraded to `tauri-cli@2.0.0-beta.2`
## \[2.0.0-beta.1]
### Enhancements

View File

@ -1,6 +1,6 @@
{
"name": "@tauri-apps/cli",
"version": "2.0.0-beta.1",
"version": "2.0.0-beta.2",
"description": "Command line interface for building Tauri apps",
"funding": {
"type": "opencollective",