Browse Source

Apply Version Updates From Current Changes (#4343)

Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
github-actions[bot] 3 years ago
parent
commit
dc432ef8b0

+ 4 - 0
.changes/pre.json

@@ -50,6 +50,7 @@
     ".changes/ayatana-tray.md",
     ".changes/before-script-envs.md",
     ".changes/binary-size-perf.md",
+    ".changes/build-do-not-copy-tray-icon.md",
     ".changes/build-rerun-if-config-var-change.md",
     ".changes/build-rerun-if-resource-sidecar-change.md",
     ".changes/build-specify-win-sdk.md",
@@ -117,6 +118,7 @@
     ".changes/core-center-window.md",
     ".changes/core-env.md",
     ".changes/core-path-endpoint-path-doesnt-exist-error.md",
+    ".changes/core-remove-tray-icon.md",
     ".changes/create-window-return-window.md",
     ".changes/csp-nonces.md",
     ".changes/current-binary-caching.md",
@@ -127,6 +129,7 @@
     ".changes/dangerous-disable-asset-csp.md",
     ".changes/data-url-csp.md",
     ".changes/debian-priority.md",
+    ".changes/debian-remove-tray-icon.md",
     ".changes/dev-alias.md",
     ".changes/dev-cmd-config-arg.md",
     ".changes/dev-csp.md",
@@ -341,6 +344,7 @@
     ".changes/runtime-error-sync.md",
     ".changes/runtime-file-drop-event.md",
     ".changes/runtime-handle-run-on-main-thread.md",
+    ".changes/runtime-icon-refactor.md",
     ".changes/runtime-ipc.md",
     ".changes/runtime-open-devtools.md",
     ".changes/runtime-user-event.md",

+ 5 - 0
core/tauri-build/CHANGELOG.md

@@ -1,5 +1,10 @@
 # Changelog
 
+## \[1.0.0-rc.14]
+
+- Do not copy the tray icon to the output directory on Linux since it is embedded in the binary.
+  - [4ce8e228](https://www.github.com/tauri-apps/tauri/commit/4ce8e228134cd3f22973b74ef26ca0d165fbbbd9) refactor(core): use `Icon` for tray icons ([#4342](https://www.github.com/tauri-apps/tauri/pull/4342)) on 2022-06-14
+
 ## \[1.0.0-rc.13]
 
 - Copy `tauri.conf.json > tauri.bundle.windows.webview_fixed_runtime_path` as a resource to the target directory to fix development usage of a fixed Webview2 runtime path.

+ 2 - 2
core/tauri-build/Cargo.toml

@@ -1,6 +1,6 @@
 [package]
 name = "tauri-build"
-version = "1.0.0-rc.13"
+version = "1.0.0-rc.14"
 authors = [ "Tauri Programme within The Commons Conservancy" ]
 categories = [ "gui", "web-programming" ]
 license = "Apache-2.0 OR MIT"
@@ -19,7 +19,7 @@ rustdoc-args = [ "--cfg", "doc_cfg" ]
 [dependencies]
 anyhow = "1"
 quote = { version = "1", optional = true }
-tauri-codegen = { version = "1.0.0-rc.9", path = "../tauri-codegen", optional = true }
+tauri-codegen = { version = "1.0.0-rc.10", path = "../tauri-codegen", optional = true }
 tauri-utils = { version = "1.0.0-rc.9", path = "../tauri-utils", features = [ "build", "resources" ] }
 cargo_toml = "0.11"
 serde_json = "1"

+ 6 - 0
core/tauri-codegen/CHANGELOG.md

@@ -1,5 +1,11 @@
 # Changelog
 
+## \[1.0.0-rc.10]
+
+- **Breaking change:** The `TrayIcon` enum has been removed and now `Icon` is used instead.
+  This allows you to use more image formats and use embedded icons on Linux.
+  - [4ce8e228](https://www.github.com/tauri-apps/tauri/commit/4ce8e228134cd3f22973b74ef26ca0d165fbbbd9) refactor(core): use `Icon` for tray icons ([#4342](https://www.github.com/tauri-apps/tauri/pull/4342)) on 2022-06-14
+
 ## \[1.0.0-rc.9]
 
 - Added a config flag to bundle the media framework used by webkit2gtk `tauri.conf.json > tauri > bundle > appimage > bundleMediaFramework`.

+ 1 - 1
core/tauri-codegen/Cargo.toml

@@ -1,6 +1,6 @@
 [package]
 name = "tauri-codegen"
-version = "1.0.0-rc.9"
+version = "1.0.0-rc.10"
 authors = [ "Tauri Programme within The Commons Conservancy" ]
 categories = [ "gui", "web-programming" ]
 license = "Apache-2.0 OR MIT"

+ 7 - 0
core/tauri-macros/CHANGELOG.md

@@ -1,5 +1,12 @@
 # Changelog
 
+## \[1.0.0-rc.10]
+
+- **Breaking change:** The `TrayIcon` enum has been removed and now `Icon` is used instead.
+  This allows you to use more image formats and use embedded icons on Linux.
+  - Bumped due to a bump in tauri-codegen.
+  - [4ce8e228](https://www.github.com/tauri-apps/tauri/commit/4ce8e228134cd3f22973b74ef26ca0d165fbbbd9) refactor(core): use `Icon` for tray icons ([#4342](https://www.github.com/tauri-apps/tauri/pull/4342)) on 2022-06-14
+
 ## \[1.0.0-rc.9]
 
 - Added a config flag to bundle the media framework used by webkit2gtk `tauri.conf.json > tauri > bundle > appimage > bundleMediaFramework`.

+ 2 - 2
core/tauri-macros/Cargo.toml

@@ -1,6 +1,6 @@
 [package]
 name = "tauri-macros"
-version = "1.0.0-rc.9"
+version = "1.0.0-rc.10"
 authors = [ "Tauri Programme within The Commons Conservancy" ]
 categories = [ "gui", "os", "filesystem", "web-programming" ]
 license = "Apache-2.0 OR MIT"
@@ -20,7 +20,7 @@ proc-macro2 = "1"
 quote = "1"
 syn = { version = "1", features = [ "full" ] }
 heck = "0.4"
-tauri-codegen = { version = "1.0.0-rc.9", default-features = false, path = "../tauri-codegen" }
+tauri-codegen = { version = "1.0.0-rc.10", default-features = false, path = "../tauri-codegen" }
 tauri-utils = { version = "1.0.0-rc.9", path = "../tauri-utils" }
 
 [features]

+ 5 - 0
core/tauri-runtime-wry/CHANGELOG.md

@@ -1,5 +1,10 @@
 # Changelog
 
+## \[0.8.0]
+
+- Removed `TrayIcon` and renamed `WindowIcon` to `Icon`, a shared type for both icons.
+  - [4ce8e228](https://www.github.com/tauri-apps/tauri/commit/4ce8e228134cd3f22973b74ef26ca0d165fbbbd9) refactor(core): use `Icon` for tray icons ([#4342](https://www.github.com/tauri-apps/tauri/pull/4342)) on 2022-06-14
+
 ## \[0.7.0]
 
 - **Breaking change**: Removed the `gtk-tray` and `ayatana-tray` Cargo features.

+ 2 - 2
core/tauri-runtime-wry/Cargo.toml

@@ -1,6 +1,6 @@
 [package]
 name = "tauri-runtime-wry"
-version = "0.7.0"
+version = "0.8.0"
 authors = [ "Tauri Programme within The Commons Conservancy" ]
 categories = [ "gui", "web-programming" ]
 license = "Apache-2.0 OR MIT"
@@ -14,7 +14,7 @@ readme = "README.md"
 
 [dependencies]
 wry = { version = "0.18.3", default-features = false, features = [ "file-drop", "protocol" ] }
-tauri-runtime = { version = "0.7.0", path = "../tauri-runtime" }
+tauri-runtime = { version = "0.8.0", path = "../tauri-runtime" }
 tauri-utils = { version = "1.0.0-rc.9", path = "../tauri-utils" }
 uuid = { version = "1", features = [ "v4" ] }
 rand = "0.8"

+ 5 - 0
core/tauri-runtime/CHANGELOG.md

@@ -1,5 +1,10 @@
 # Changelog
 
+## \[0.8.0]
+
+- Removed `TrayIcon` and renamed `WindowIcon` to `Icon`, a shared type for both icons.
+  - [4ce8e228](https://www.github.com/tauri-apps/tauri/commit/4ce8e228134cd3f22973b74ef26ca0d165fbbbd9) refactor(core): use `Icon` for tray icons ([#4342](https://www.github.com/tauri-apps/tauri/pull/4342)) on 2022-06-14
+
 ## \[0.7.0]
 
 - Added a config flag to bundle the media framework used by webkit2gtk `tauri.conf.json > tauri > bundle > appimage > bundleMediaFramework`.

+ 1 - 1
core/tauri-runtime/Cargo.toml

@@ -1,6 +1,6 @@
 [package]
 name = "tauri-runtime"
-version = "0.7.0"
+version = "0.8.0"
 authors = [ "Tauri Programme within The Commons Conservancy" ]
 categories = [ "gui", "web-programming" ]
 license = "Apache-2.0 OR MIT"

+ 6 - 0
core/tauri/CHANGELOG.md

@@ -1,5 +1,11 @@
 # Changelog
 
+## \[1.0.0-rc.16]
+
+- **Breaking change:** The `TrayIcon` enum has been removed and now `Icon` is used instead.
+  This allows you to use more image formats and use embedded icons on Linux.
+  - [4ce8e228](https://www.github.com/tauri-apps/tauri/commit/4ce8e228134cd3f22973b74ef26ca0d165fbbbd9) refactor(core): use `Icon` for tray icons ([#4342](https://www.github.com/tauri-apps/tauri/pull/4342)) on 2022-06-14
+
 ## \[1.0.0-rc.15]
 
 - Fixes filesystem scope check when using the HTTP API to upload files.

+ 4 - 4
core/tauri/Cargo.toml

@@ -16,7 +16,7 @@ license = "Apache-2.0 OR MIT"
 name = "tauri"
 readme = "README.md"
 repository = "https://github.com/tauri-apps/tauri"
-version = "1.0.0-rc.15"
+version = "1.0.0-rc.16"
 
 [package.metadata.docs.rs]
 no-default-features = true
@@ -54,10 +54,10 @@ url = { version = "2.2" }
 anyhow = "1.0"
 thiserror = "1.0"
 once_cell = "1.12"
-tauri-runtime = { version = "0.7.0", path = "../tauri-runtime" }
-tauri-macros = { version = "1.0.0-rc.9", path = "../tauri-macros" }
+tauri-runtime = { version = "0.8.0", path = "../tauri-runtime" }
+tauri-macros = { version = "1.0.0-rc.10", path = "../tauri-macros" }
 tauri-utils = { version = "1.0.0-rc.9", features = [ "resources" ], path = "../tauri-utils" }
-tauri-runtime-wry = { version = "0.7.0", path = "../tauri-runtime-wry", optional = true }
+tauri-runtime-wry = { version = "0.8.0", path = "../tauri-runtime-wry", optional = true }
 rand = "0.8"
 semver = { version = "1.0", features = [ "serde" ] }
 serde_repr = "0.1"

+ 5 - 0
tooling/cli/CHANGELOG.md

@@ -1,5 +1,10 @@
 # Changelog
 
+## \[1.0.0-rc.15]
+
+- Removed the tray icon from the Debian and AppImage bundles since they are embedded in the binary now.
+  - [4ce8e228](https://www.github.com/tauri-apps/tauri/commit/4ce8e228134cd3f22973b74ef26ca0d165fbbbd9) refactor(core): use `Icon` for tray icons ([#4342](https://www.github.com/tauri-apps/tauri/pull/4342)) on 2022-06-14
+
 ## \[1.0.0-rc.14]
 
 - Set the `TRAY_LIBRARY_PATH` environment variable to make the bundle copy the appindicator library to the AppImage.

+ 1 - 1
tooling/cli/Cargo.lock

@@ -2725,7 +2725,7 @@ dependencies = [
 
 [[package]]
 name = "tauri-cli"
-version = "1.0.0-rc.14"
+version = "1.0.0-rc.15"
 dependencies = [
  "anyhow",
  "base64",

+ 1 - 1
tooling/cli/Cargo.toml

@@ -3,7 +3,7 @@ members = [ "node" ]
 
 [package]
 name = "tauri-cli"
-version = "1.0.0-rc.14"
+version = "1.0.0-rc.15"
 authors = [ "Tauri Programme within The Commons Conservancy" ]
 edition = "2021"
 rust-version = "1.57"

+ 3 - 3
tooling/cli/metadata.json

@@ -1,8 +1,8 @@
 {
   "cli.js": {
-    "version": "1.0.0-rc.14",
+    "version": "1.0.0-rc.15",
     "node": ">= 10.0.0"
   },
-  "tauri": "1.0.0-rc.15",
-  "tauri-build": "1.0.0-rc.13"
+  "tauri": "1.0.0-rc.16",
+  "tauri-build": "1.0.0-rc.14"
 }

+ 5 - 0
tooling/cli/node/CHANGELOG.md

@@ -1,5 +1,10 @@
 # Changelog
 
+## \[1.0.0-rc.15]
+
+- Removed the tray icon from the Debian and AppImage bundles since they are embedded in the binary now.
+  - [4ce8e228](https://www.github.com/tauri-apps/tauri/commit/4ce8e228134cd3f22973b74ef26ca0d165fbbbd9) refactor(core): use `Icon` for tray icons ([#4342](https://www.github.com/tauri-apps/tauri/pull/4342)) on 2022-06-14
+
 ## \[1.0.0-rc.14]
 
 - Set the `TRAY_LIBRARY_PATH` environment variable to make the bundle copy the appindicator library to the AppImage.

+ 1 - 1
tooling/cli/node/package.json

@@ -1,6 +1,6 @@
 {
   "name": "@tauri-apps/cli",
-  "version": "1.0.0-rc.14",
+  "version": "1.0.0-rc.15",
   "description": "Command line interface for building Tauri apps",
   "funding": {
     "type": "opencollective",