From a68b4ee8270f800bb18eab99ecc1e00ccf20e255 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 12 May 2021 16:31:52 -0300 Subject: [PATCH] Apply Version Updates From Current Changes (#1799) Co-authored-by: jbolda --- .changes/pre.json | 10 ++++++++++ core/tauri-macros/CHANGELOG.md | 9 +++++++++ core/tauri-macros/Cargo.toml | 2 +- core/tauri-runtime-wry/CHANGELOG.md | 7 +++++++ core/tauri-runtime-wry/Cargo.toml | 4 ++-- core/tauri-runtime/CHANGELOG.md | 5 +++++ core/tauri-runtime/Cargo.toml | 2 +- core/tauri/CHANGELOG.md | 5 +++++ core/tauri/Cargo.toml | 8 ++++---- tooling/api/CHANGELOG.md | 5 +++++ tooling/api/package.json | 2 +- tooling/cli.js/CHANGELOG.md | 9 +++++++++ tooling/cli.js/package.json | 2 +- tooling/cli.rs/CHANGELOG.md | 7 +++++++ tooling/cli.rs/Cargo.lock | 2 +- tooling/cli.rs/Cargo.toml | 2 +- tooling/cli.rs/metadata.json | 4 ++-- tooling/create-tauri-app/CHANGELOG.md | 5 +++++ tooling/create-tauri-app/package.json | 2 +- 19 files changed, 77 insertions(+), 15 deletions(-) diff --git a/.changes/pre.json b/.changes/pre.json index 567729232..d2c308ce8 100644 --- a/.changes/pre.json +++ b/.changes/pre.json @@ -2,6 +2,7 @@ "tag": "beta", "changes": [ ".changes/api-cjs-chunks.md", + ".changes/api-export-package-json.md", ".changes/api-transparent-window.md", ".changes/app-dir-refactor.md", ".changes/app-state.md", @@ -21,17 +22,22 @@ ".changes/cli-targets-refactor.md", ".changes/cli.js-error-propagation.md", ".changes/cli.js-rustup.md", + ".changes/cmd-invoke-binding.md", + ".changes/cmd-touch-bindings.md", ".changes/command-api-module.md", ".changes/command-generics.md", ".changes/command-options.md", ".changes/command-return.md", ".changes/command-state.md", ".changes/command-status-and-output.md", + ".changes/config-mut-getter.md", ".changes/create-window-refactor.md", + ".changes/csp-self.md", ".changes/csp.md", ".changes/cta-explicitly-install-vite.md", ".changes/cta-shift-and-type.md", ".changes/cta-testing-suite.md", + ".changes/cta-vite-esbuild-install-direct.md", ".changes/cta-vite-templates.md", ".changes/cta-welcome-prompt-and-links.md", ".changes/debian-depends.md", @@ -42,6 +48,8 @@ ".changes/emit-window-events.md", ".changes/event-refactor.md", ".changes/fix-before-dev-command-kill.md", + ".changes/fix-cli.rs-bundle-arg.md", + ".changes/fix-command-named-cmd.md", ".changes/fix-dmg-volume-icon.md", ".changes/hotkey-0.1.2.md", ".changes/menu.md", @@ -62,10 +70,12 @@ ".changes/setup-error-send.md", ".changes/simplify-tag-label-usage.md", ".changes/support-dep-formats.md", + ".changes/system-tray-usage-fix.md", ".changes/tauri-build-icon-path.md", ".changes/tauri-icon-fix.md", ".changes/tauri-info-framework-bundler.md", ".changes/tauri-wry.md", + ".changes/transparency-fix.md", ".changes/tray.md", ".changes/window-attributes-rename.md", ".changes/window-create-refactor.md", diff --git a/core/tauri-macros/CHANGELOG.md b/core/tauri-macros/CHANGELOG.md index 4c18043b3..560071ee0 100644 --- a/core/tauri-macros/CHANGELOG.md +++ b/core/tauri-macros/CHANGELOG.md @@ -1,5 +1,14 @@ # Changelog +## \[1.0.0-beta.1] + +- Fixes a name collision when the command function is named `invoke`. + - [7862ec5](https://www.github.com/tauri-apps/tauri/commit/7862ec562fa70e3733263ce1f690d6cd2943c0b4) fix(macros): change invoke binding in generate handler ([#1804](https://www.github.com/tauri-apps/tauri/pull/1804)) on 2021-05-12 +- Fixes a name collision when the command function is named `message` or `resolver`. + - [0b87532](https://www.github.com/tauri-apps/tauri/commit/0b875327067ca825ff6f6f26c9b2ce6fcb001e79) fix(macros): fix rest of command collisons ([#1805](https://www.github.com/tauri-apps/tauri/pull/1805)) on 2021-05-12 +- Fixes a name collision when the command function is named `cmd`. + - [d36b726](https://www.github.com/tauri-apps/tauri/commit/d36b7269261d329dd7d7fcd4d5098f3fca167364) fix(macros): collision when command is named `cmd` ([#1802](https://www.github.com/tauri-apps/tauri/pull/1802)) on 2021-05-12 + ## \[1.0.0-beta.0] - Only commands with a `async fn` are executed on a separate task. `#[command] fn command_name` runs on the main thread. diff --git a/core/tauri-macros/Cargo.toml b/core/tauri-macros/Cargo.toml index f4bb3922d..3707775b1 100644 --- a/core/tauri-macros/Cargo.toml +++ b/core/tauri-macros/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tauri-macros" -version = "1.0.0-beta.0" +version = "1.0.0-beta.1" authors = [ "Tauri Programme within The Commons Conservancy" ] categories = [ "gui", "os", "filesystem", "web-programming" ] license = "Apache-2.0 OR MIT" diff --git a/core/tauri-runtime-wry/CHANGELOG.md b/core/tauri-runtime-wry/CHANGELOG.md index 8fa2ea920..0b2cafb67 100644 --- a/core/tauri-runtime-wry/CHANGELOG.md +++ b/core/tauri-runtime-wry/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +## \[0.1.1] + +- Fixes `system-tray` feature usage. + - [1ab8dd9](https://www.github.com/tauri-apps/tauri/commit/1ab8dd93e670d2a2d070c7a6ec48308a0ab32f1a) fix(core): `system-tray` cargo feature usage, fixes [#1798](https://www.github.com/tauri-apps/tauri/pull/1798) ([#1801](https://www.github.com/tauri-apps/tauri/pull/1801)) on 2021-05-12 +- Fixes webview transparency. + - [f5a480f](https://www.github.com/tauri-apps/tauri/commit/f5a480fea34ab3a75751f1ca760a38b3e53da2cc) fix(core): window transparency ([#1800](https://www.github.com/tauri-apps/tauri/pull/1800)) on 2021-05-12 + ## \[0.1.0] - **Breaking:** `Context` fields are now private, and is expected to be created through `Context::new(...)`. diff --git a/core/tauri-runtime-wry/Cargo.toml b/core/tauri-runtime-wry/Cargo.toml index 7303462a4..8cdd28e21 100644 --- a/core/tauri-runtime-wry/Cargo.toml +++ b/core/tauri-runtime-wry/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tauri-runtime-wry" -version = "0.1.0" +version = "0.1.1" authors = [ "Tauri Programme within The Commons Conservancy" ] categories = [ "gui", "web-programming" ] license = "Apache-2.0 OR MIT" @@ -13,7 +13,7 @@ readme = "README.md" [dependencies] wry = { version = "0.9.2", default-features = false, features = [ "file-drop", "protocol", "win32" ] } -tauri-runtime = { version = "0.1.0", path = "../tauri-runtime" } +tauri-runtime = { version = "0.1.1", path = "../tauri-runtime" } tauri-utils = { version = "1.0.0-beta.0", path = "../tauri-utils" } image = "0.23" uuid = { version = "0.8.2", features = [ "v4" ] } diff --git a/core/tauri-runtime/CHANGELOG.md b/core/tauri-runtime/CHANGELOG.md index 281c23db4..4c6cab878 100644 --- a/core/tauri-runtime/CHANGELOG.md +++ b/core/tauri-runtime/CHANGELOG.md @@ -1,5 +1,10 @@ # Changelog +## \[0.1.1] + +- Fixes `system-tray` feature usage. + - [1ab8dd9](https://www.github.com/tauri-apps/tauri/commit/1ab8dd93e670d2a2d070c7a6ec48308a0ab32f1a) fix(core): `system-tray` cargo feature usage, fixes [#1798](https://www.github.com/tauri-apps/tauri/pull/1798) ([#1801](https://www.github.com/tauri-apps/tauri/pull/1801)) on 2021-05-12 + ## \[0.1.0] - **Breaking:** `Context` fields are now private, and is expected to be created through `Context::new(...)`. diff --git a/core/tauri-runtime/Cargo.toml b/core/tauri-runtime/Cargo.toml index 00e695e05..186b3a9cb 100644 --- a/core/tauri-runtime/Cargo.toml +++ b/core/tauri-runtime/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tauri-runtime" -version = "0.1.0" +version = "0.1.1" authors = [ "Tauri Programme within The Commons Conservancy" ] categories = [ "gui", "web-programming" ] license = "Apache-2.0 OR MIT" diff --git a/core/tauri/CHANGELOG.md b/core/tauri/CHANGELOG.md index 8003c1f71..7d9224617 100644 --- a/core/tauri/CHANGELOG.md +++ b/core/tauri/CHANGELOG.md @@ -1,5 +1,10 @@ # Changelog +## \[1.0.0-beta.1] + +- Adds a mutable `config` getter on the `Context` struct. + - [144d6b9](https://www.github.com/tauri-apps/tauri/commit/144d6b9d4d327debae13392715103a3208ce8a45) feat(core): add mutable `config` getter on the `Context` struct ([#1803](https://www.github.com/tauri-apps/tauri/pull/1803)) on 2021-05-12 + ## \[1.0.0-beta.0] - **Breaking:** `api::path::resolve_path()` and `api::path::app_dir()` now takes the config as first argument and the `PackageInfo` as second argument. diff --git a/core/tauri/Cargo.toml b/core/tauri/Cargo.toml index 7a5a08622..bb89a38f5 100644 --- a/core/tauri/Cargo.toml +++ b/core/tauri/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tauri" -version = "1.0.0-beta.0" +version = "1.0.0-beta.1" authors = [ "Tauri Programme within The Commons Conservancy" ] categories = [ "gui", "web-programming" ] license = "Apache-2.0 OR MIT" @@ -36,10 +36,10 @@ futures = "0.3" uuid = { version = "0.8.2", features = [ "v4" ] } thiserror = "1.0.24" once_cell = "1.7.2" -tauri-runtime = { version = "0.1.0", path = "../tauri-runtime" } -tauri-macros = { version = "1.0.0-beta.0", path = "../tauri-macros" } +tauri-runtime = { version = "0.1.1", path = "../tauri-runtime" } +tauri-macros = { version = "1.0.0-beta.1", path = "../tauri-macros" } tauri-utils = { version = "1.0.0-beta.0", path = "../tauri-utils" } -tauri-runtime-wry = { version = "0.1.0", path = "../tauri-runtime-wry", optional = true } +tauri-runtime-wry = { version = "0.1.1", path = "../tauri-runtime-wry", optional = true } rand = "0.8" reqwest = { version = "0.11", features = [ "json", "multipart" ] } tempfile = "3" diff --git a/tooling/api/CHANGELOG.md b/tooling/api/CHANGELOG.md index 294fed023..22f97fb41 100644 --- a/tooling/api/CHANGELOG.md +++ b/tooling/api/CHANGELOG.md @@ -1,5 +1,10 @@ # Changelog +## \[1.0.0-beta.1] + +- Adds `package.json` to the `exports` object. + - [ab1ea96](https://www.github.com/tauri-apps/tauri/commit/ab1ea964786e1781c922582b059c555b6072f1a0) chore(api): add `package.json` to the `exports` field ([#1807](https://www.github.com/tauri-apps/tauri/pull/1807)) on 2021-05-12 + ## \[1.0.0-beta.0] - CommonJS chunks are now properly exported with `.cjs` extension diff --git a/tooling/api/package.json b/tooling/api/package.json index f1cc9cfea..6718f2ca0 100644 --- a/tooling/api/package.json +++ b/tooling/api/package.json @@ -1,6 +1,6 @@ { "name": "@tauri-apps/api", - "version": "1.0.0-beta.0", + "version": "1.0.0-beta.1", "description": "Tauri API definitions", "type": "module", "funding": { diff --git a/tooling/cli.js/CHANGELOG.md b/tooling/cli.js/CHANGELOG.md index 5f2ac6cef..b6610aa73 100644 --- a/tooling/cli.js/CHANGELOG.md +++ b/tooling/cli.js/CHANGELOG.md @@ -1,5 +1,14 @@ # Changelog +## \[1.0.0-beta.1] + +- Add `'self'` to default CSP because otherwise no joy on macOS. + - Bumped due to a bump in cli.rs. + - [12268e6](https://www.github.com/tauri-apps/tauri/commit/12268e6e69dc9a7034652f50316d3545cac687c7) fix(csp): add 'self' ([#1794](https://www.github.com/tauri-apps/tauri/pull/1794)) on 2021-05-12 +- Fix a typo that would result in bundle arg being ignored. + - Bumped due to a bump in cli.rs. + - [71f6a5e](https://www.github.com/tauri-apps/tauri/commit/71f6a5ed442a43bf1008043c95a1a90effdd2f81) fix(cli.rs/build): fix typo getting bundle arg ([#1783](https://www.github.com/tauri-apps/tauri/pull/1783)) on 2021-05-12 + ## \[1.0.0-beta.0] - Fixes `UnhandledPromiseRejectionWarning` when the Rust CLI call fails. diff --git a/tooling/cli.js/package.json b/tooling/cli.js/package.json index dc203da6c..b2ce1a793 100644 --- a/tooling/cli.js/package.json +++ b/tooling/cli.js/package.json @@ -1,6 +1,6 @@ { "name": "@tauri-apps/cli", - "version": "1.0.0-beta.0", + "version": "1.0.0-beta.1", "description": "Command line interface for building Tauri apps", "bin": { "tauri": "./bin/tauri.js" diff --git a/tooling/cli.rs/CHANGELOG.md b/tooling/cli.rs/CHANGELOG.md index 499907815..400491b09 100644 --- a/tooling/cli.rs/CHANGELOG.md +++ b/tooling/cli.rs/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +## \[1.0.0-beta.1] + +- Add `'self'` to default CSP because otherwise no joy on macOS. + - [12268e6](https://www.github.com/tauri-apps/tauri/commit/12268e6e69dc9a7034652f50316d3545cac687c7) fix(csp): add 'self' ([#1794](https://www.github.com/tauri-apps/tauri/pull/1794)) on 2021-05-12 +- Fix a typo that would result in bundle arg being ignored. + - [71f6a5e](https://www.github.com/tauri-apps/tauri/commit/71f6a5ed442a43bf1008043c95a1a90effdd2f81) fix(cli.rs/build): fix typo getting bundle arg ([#1783](https://www.github.com/tauri-apps/tauri/pull/1783)) on 2021-05-12 + ## \[1.0.0-beta.0] - Fixes a cargo `target/` cache issue. diff --git a/tooling/cli.rs/Cargo.lock b/tooling/cli.rs/Cargo.lock index 96cb51852..2f4f5d026 100755 --- a/tooling/cli.rs/Cargo.lock +++ b/tooling/cli.rs/Cargo.lock @@ -1923,7 +1923,7 @@ dependencies = [ [[package]] name = "tauri-cli" -version = "1.0.0-beta.0" +version = "1.0.0-beta.1" dependencies = [ "anyhow", "base64", diff --git a/tooling/cli.rs/Cargo.toml b/tooling/cli.rs/Cargo.toml index 857e87d43..013fb7de2 100644 --- a/tooling/cli.rs/Cargo.toml +++ b/tooling/cli.rs/Cargo.toml @@ -2,7 +2,7 @@ workspace = { } [package] name = "tauri-cli" -version = "1.0.0-beta.0" +version = "1.0.0-beta.1" authors = [ "Tauri Programme within The Commons Conservancy" ] edition = "2018" categories = [ "gui", "web-programming" ] diff --git a/tooling/cli.rs/metadata.json b/tooling/cli.rs/metadata.json index 83892e61c..468d11390 100644 --- a/tooling/cli.rs/metadata.json +++ b/tooling/cli.rs/metadata.json @@ -1,8 +1,8 @@ { "cli.js": { - "version": "1.0.0-beta.0", + "version": "1.0.0-beta.1", "node": ">= 12.13.0" }, - "tauri": "1.0.0-beta.0", + "tauri": "1.0.0-beta.1", "tauri-build": "1.0.0-beta.0" } diff --git a/tooling/create-tauri-app/CHANGELOG.md b/tooling/create-tauri-app/CHANGELOG.md index 4ec1f5f13..7fdbbcb74 100644 --- a/tooling/create-tauri-app/CHANGELOG.md +++ b/tooling/create-tauri-app/CHANGELOG.md @@ -1,5 +1,10 @@ # Changelog +## \[1.0.0-beta.1] + +- Work around bugs between esbuild and npm by installing directly at the end of the sequence. Also default to using the latest on all of the installs instead of npx's cache. + - [8a164d0](https://www.github.com/tauri-apps/tauri/commit/8a164d0a1f8eb69bdcec7ae4362d26b2f3c7ff55) fix: CTA cache and vite build ([#1806](https://www.github.com/tauri-apps/tauri/pull/1806)) on 2021-05-12 + ## \[1.0.0-beta.0] - Explicitly install deps after a vite recipe. diff --git a/tooling/create-tauri-app/package.json b/tooling/create-tauri-app/package.json index 7f09f6e06..95d8782cd 100644 --- a/tooling/create-tauri-app/package.json +++ b/tooling/create-tauri-app/package.json @@ -1,6 +1,6 @@ { "name": "create-tauri-app", - "version": "1.0.0-beta.0", + "version": "1.0.0-beta.1", "description": "Jump right into a Tauri App!", "bin": { "create-tauri-app": "./bin/create-tauri-app.js"