Skip to content

Commit

Permalink
Merge branch 'dev' into fix/codegen/read-all-configs
Browse files Browse the repository at this point in the history
  • Loading branch information
amrbashir committed May 9, 2024
2 parents 9c5b49a + 1bee4f2 commit bed438f
Show file tree
Hide file tree
Showing 61 changed files with 1,924 additions and 667 deletions.
File renamed without changes.
7 changes: 7 additions & 0 deletions .changes/event-reopen.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
'tauri': 'minor:feat'
'tauri-runtime': 'minor:feat'
'tauri-runtime-wry': 'minor:feat'
---

Add `RunEvent::Reopen` for handle click on dock icon on macOS.
5 changes: 5 additions & 0 deletions .changes/fix-draw-tracing.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"tauri-runtime-wry": patch:bug
---

Fixes redraw tracing span not closing.
5 changes: 5 additions & 0 deletions .changes/fix-incompatible-ipc-field-postmessage.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"tauri": patch:bug
---

Fix IPC tracing format incompatible between the custom protocol and the postMessage implementations.
5 changes: 5 additions & 0 deletions .changes/fix-proxy-url-totokens-impl.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"tauri-utils": patch:bug
---

Fixes the ToTokens implementation of the window configuration `proxy_url` field.
5 changes: 5 additions & 0 deletions .changes/fix-schemars-compatibility.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
tauri-utils: "patch:bug"
---

Fixes `schemars` compilation issue.
12 changes: 12 additions & 0 deletions .changes/pre.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
".changes/app-manifest.md",
".changes/assets-setup.md",
".changes/beta.md",
".changes/better-error-for-invalid-plugin-config.md",
".changes/build-schema-generation.md",
".changes/bundler-deep-link-reg-path.md",
".changes/bundler-license.md",
Expand All @@ -40,6 +41,7 @@
".changes/cli-ds-store-dev-watch.md",
".changes/cli-empty-responses.md",
".changes/cli-frontend-dist-expected-path.md",
".changes/cli-icon-non-0-exit.md",
".changes/cli-include-dir-cargo-manifest-dir.md",
".changes/cli-migrate-non-utf8.md",
".changes/cli-migrate-unknown-plugins.md",
Expand Down Expand Up @@ -80,12 +82,15 @@
".changes/deb-rpm-post-pre-scripts-bundler.md",
".changes/deb-rpm-post-pre-scripts-config.md",
".changes/deb-rpm-provides-conflicts-replaces.md",
".changes/default-generic-for-menu.md",
".changes/default-generic-for-tray.md",
".changes/dev-fn.md",
".changes/downgrade-minisign.md",
".changes/drop-nsis-applicationid.md",
".changes/enhance-event-emit.md",
".changes/enhance-ipc-url-check.md",
".changes/enhance-resource-dir-resolution.md",
".changes/event-reopen.md",
".changes/expose-image-constructor.md",
".changes/expose-js-image.md",
".changes/fix-acl-webview-check.md",
Expand All @@ -98,6 +103,7 @@
".changes/fix-codegen-rerun-if-changed.md",
".changes/fix-config-arg.md",
".changes/fix-fs-scope-check-symlink.md",
".changes/fix-incompatible-ipc-field-postmessage.md",
".changes/fix-inner-size.md",
".changes/fix-invoke-devtools-by-hotkey.md",
".changes/fix-ios-dev-logs.md",
Expand All @@ -108,10 +114,12 @@
".changes/fix-mobile-cmd-case.md",
".changes/fix-mobile-process-spawn.md",
".changes/fix-process-ipc-message-fn.md",
".changes/fix-proxy-url-totokens-impl.md",
".changes/fix-remote-domain-url.md",
".changes/fix-reparent.md",
".changes/fix-rewrite-schema.md",
".changes/fix-runtime-wry-32bit.md",
".changes/fix-schemars-compatibility.md",
".changes/fix-scope-resolution.md",
".changes/fix-tauri-build-license-field.md",
".changes/fix-tauri-build-unix.md",
Expand All @@ -130,6 +138,7 @@
".changes/image-crate.md",
".changes/image-rgba-uint8array.md",
".changes/image-size-refactor.md",
".changes/improve-errors-for-missing-links-property.md",
".changes/inline-plugins.md",
".changes/ios-signing-optional.md",
".changes/ipc-allow-headers.md",
Expand Down Expand Up @@ -188,12 +197,15 @@
".changes/tauri-utils-capability-refactor.md",
".changes/tauri-utils-plugin-module.md",
".changes/tauri-webview-events.md",
".changes/tray-icon-rect.md",
".changes/tray-rect.md",
".changes/truncate-before-write-buildtask.md",
".changes/unstable-child-webview.md",
".changes/update-acl-paths-cli.md",
".changes/update-app-template-capabilities-conf.md",
".changes/update-plugin-template.md",
".changes/url-result-runtime.md",
".changes/url-result.md",
".changes/utils-bundle-target-all.md",
".changes/utils-bundle-type-all.md",
".changes/utils-debug-eprintln.md",
Expand Down
5 changes: 5 additions & 0 deletions .changes/tray-icon-rect.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"tauri": "minor:feat"
---

Add `TrayIcon::rect` method to retrieve the tray icon rectangle
6 changes: 6 additions & 0 deletions .changes/url-result-runtime.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"tauri-runtime": "patch"
"tauri-runtime-wry": "patch"
---

Changed `WebviewDispatch::url` getter to return a result.
5 changes: 5 additions & 0 deletions .changes/url-result.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"tauri": "patch:breaking"
---

Changed `WebviewWindow::url` and `Webview::url` getter to return a result.
5 changes: 3 additions & 2 deletions .github/workflows/supply-chain.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,9 @@ jobs:
- name: Ensure that the tool cache is populated with the cargo-vet binary
run: cargo install --root ${{ runner.tool_cache }}/cargo-vet --version ${{ env.CARGO_VET_VERSION }} cargo-vet

- name: Invoke cargo-vet
run: cargo vet --locked
# Enable this again to break the workflow once we have a reasonable amount of suggestions to get to a clean base line
# - name: Invoke cargo-vet
# run: cargo vet --locked

- name: Provide audit suggestions
run: cargo vet --locked suggestions
3 changes: 2 additions & 1 deletion .github/workflows/test-core.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,9 @@ jobs:

- name: test (using cross)
if: ${{ matrix.platform.cross }}
# update or remove the rev once we update the MSRV from 1.70.0
run: |
cargo install cross --git https://github.com/cross-rs/cross --locked
cargo install cross --git https://github.com/cross-rs/cross --rev 20c73df79c9aaf78a2ad2e9fe8ae981668a729dc --locked
cross ${{ matrix.platform.command }} --target ${{ matrix.platform.target }} ${{ matrix.features.args }}
- name: test (using cargo)
Expand Down
40 changes: 20 additions & 20 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions SECURITY.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
## Reporting a Vulnerability

If you have found a potential security threat, vulnerability or exploit in Tauri
or one of its upstream dependencies, please DONT create a pull-request, DONT
file an issue on GitHub, DONT mention it on Discord and DONT create a forum thread.
or one of its upstream dependencies, please DON'T create a pull-request, DON'T
file an issue on GitHub, DON'T mention it on Discord and DON'T create a forum thread.

Please submit your report via the GitHub Private Vulnerability Disclosure functionality.

Expand Down
14 changes: 14 additions & 0 deletions core/tauri-build/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,19 @@
# Changelog

## \[2.0.0-beta.15]

### Dependencies

- Upgraded to `tauri-utils@2.0.0-beta.15`
- Upgraded to `tauri-codegen@2.0.0-beta.15`

## \[2.0.0-beta.14]

### Dependencies

- Upgraded to `tauri-utils@2.0.0-beta.14`
- Upgraded to `tauri-codegen@2.0.0-beta.14`

## \[2.0.0-beta.13]

### Bug Fixes
Expand Down
8 changes: 4 additions & 4 deletions core/tauri-build/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "tauri-build"
version = "2.0.0-beta.13"
version = "2.0.0-beta.15"
description = "build time code to pair with https://crates.io/crates/tauri"
exclude = [ "CHANGELOG.md", "/target" ]
readme = "README.md"
Expand Down Expand Up @@ -28,8 +28,8 @@ rustdoc-args = [ "--cfg", "docsrs" ]
[dependencies]
anyhow = "1"
quote = { version = "1", optional = true }
tauri-codegen = { version = "2.0.0-beta.13", path = "../tauri-codegen", optional = true }
tauri-utils = { version = "2.0.0-beta.13", path = "../tauri-utils", features = [ "build", "resources" ] }
tauri-codegen = { version = "2.0.0-beta.15", path = "../tauri-codegen", optional = true }
tauri-utils = { version = "2.0.0-beta.15", path = "../tauri-utils", features = [ "build", "resources" ] }
cargo_toml = "0.17"
serde = "1"
serde_json = "1"
Expand All @@ -41,7 +41,7 @@ semver = "1"
dirs-next = "2"
glob = "0.3"
toml = "0.8"
schemars = { version = "0.8", features = [ "preserve_order" ] }
schemars = { version = "0.8.18", features = [ "preserve_order" ] }

[features]
default = [ "config-json" ]
Expand Down
2 changes: 1 addition & 1 deletion core/tauri-build/src/manifest.rs
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ pub fn check(config: &Config, manifest: &mut Manifest) -> Result<()> {
if deps.is_empty() {
if let Some(alias) = &metadata.alias {
deps = find_dependency(manifest, alias, metadata.kind);
name = alias.clone();
name.clone_from(alias)
}
}

Expand Down
12 changes: 12 additions & 0 deletions core/tauri-codegen/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
# Changelog

## \[2.0.0-beta.15]

### Dependencies

- Upgraded to `tauri-utils@2.0.0-beta.15`

## \[2.0.0-beta.14]

### Dependencies

- Upgraded to `tauri-utils@2.0.0-beta.14`

## \[2.0.0-beta.13]

### Dependencies
Expand Down
4 changes: 2 additions & 2 deletions core/tauri-codegen/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "tauri-codegen"
version = "2.0.0-beta.13"
version = "2.0.0-beta.15"
description = "code generation meant to be consumed inside of `tauri` through `tauri-build` or `tauri-macros`"
exclude = [ "CHANGELOG.md", "/target" ]
readme = "README.md"
Expand All @@ -20,7 +20,7 @@ quote = "1"
syn = "2"
serde = { version = "1", features = [ "derive" ] }
serde_json = "1"
tauri-utils = { version = "2.0.0-beta.13", path = "../tauri-utils", features = [ "build" ] }
tauri-utils = { version = "2.0.0-beta.15", path = "../tauri-utils", features = [ "build" ] }
thiserror = "1"
walkdir = "2"
brotli = { version = "3", optional = true, default-features = false, features = [ "std" ] }
Expand Down

0 comments on commit bed438f

Please sign in to comment.