diff --git a/.changes/api-fs-exists-return-type.md b/.changes/api-fs-exists-return-type.md deleted file mode 100644 index f34b1ff3a2c..00000000000 --- a/.changes/api-fs-exists-return-type.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"api": patch ---- - -Fix incorrect return type on `fs/exists` diff --git a/.changes/api-monitor-class-initialization.md b/.changes/api-monitor-class-initialization.md deleted file mode 100644 index 426bf6e68bd..00000000000 --- a/.changes/api-monitor-class-initialization.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"api": "patch" ---- - -Initialize `Monitor` instances with the correct classes for `position` and `size` fields instead of plain object. diff --git a/.changes/api-node14.md b/.changes/api-node14.md deleted file mode 100644 index be3802f1c64..00000000000 --- a/.changes/api-node14.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"api": minor ---- - -**Breaking change:** Node.js v12 is no longer supported. diff --git a/.changes/app-dirs-api.md b/.changes/app-dirs-api.md deleted file mode 100644 index eb1d50fd708..00000000000 --- a/.changes/app-dirs-api.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"tauri": minor -"api": minor ---- - -Add new app-specific `BaseDirectory` enum variants `AppConfig`, `AppData`, `AppLocalData`, `AppCache` and `AppLog` along with equivalent functions in `path` module and deprecated ambiguous variants `Log` and `App` along with their equivalent functions in `path` module. diff --git a/.changes/asset-protocol-streaming-mime-type.md b/.changes/asset-protocol-streaming-mime-type.md deleted file mode 100644 index 43c99d2c9be..00000000000 --- a/.changes/asset-protocol-streaming-mime-type.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tauri": "patch" ---- - -Set the correct mimetype when streaming files through `asset:` protocol diff --git a/.changes/bundler-japanese-lang.md b/.changes/bundler-japanese-lang.md deleted file mode 100644 index e683f331d5c..00000000000 --- a/.changes/bundler-japanese-lang.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tauri-bundler": "patch" ---- - -Use correct code `ja-JP` for japanese instead of `jp-JP`. diff --git a/.changes/cli-product-name-validation.md b/.changes/cli-product-name-validation.md deleted file mode 100644 index 39e73f883d0..00000000000 --- a/.changes/cli-product-name-validation.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"cli.rs": "patch" -"tauri-utils": "patch" ---- - -Validate `pacakge > productName` in the tauri config and produce errors if it contains one of the following characters `/\:*?\"<>|` - diff --git a/.changes/cli-static-files-hot-reload.md b/.changes/cli-static-files-hot-reload.md deleted file mode 100644 index 008f6817c6f..00000000000 --- a/.changes/cli-static-files-hot-reload.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"cli.rs": "minor" ---- - -Hot-reload the frontend when `tauri.conf.json > build > devPath` points to a directory. diff --git a/.changes/cli-target-triple-env.md b/.changes/cli-target-triple-env.md deleted file mode 100644 index 3dd2ba11a89..00000000000 --- a/.changes/cli-target-triple-env.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"cli.rs": "patch" ---- - -Expose `TAURI_TARGET_TRIPLE` to `beforeDevCommand`, `beforeBuildCommand` and `beforeBundleCommand` diff --git a/.changes/cli.js-node-shim.md b/.changes/cli.js-node-shim.md deleted file mode 100644 index fd230dae6ee..00000000000 --- a/.changes/cli.js-node-shim.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"cli.js": patch ---- - -Fix crash when nodejs binary has the version in its name, for example `node18` diff --git a/.changes/dialog-save-return-fix.md b/.changes/dialog-save-return-fix.md deleted file mode 100644 index 89366bde08e..00000000000 --- a/.changes/dialog-save-return-fix.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"api": patch ---- - -Fix `dialog.save` return type diff --git a/.changes/escape-pattern.md b/.changes/escape-pattern.md deleted file mode 100644 index 4fe1907f091..00000000000 --- a/.changes/escape-pattern.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tauri": "patch" ---- - -Escape glob special characters in files/directories when dropping files or using the open/save dialogs. diff --git a/.changes/fix-cli-envs.md b/.changes/fix-cli-envs.md deleted file mode 100644 index 7f329c780ee..00000000000 --- a/.changes/fix-cli-envs.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"cli.rs": "patch" ---- - -Set `TAURI_PLATFORM_TYPE`, `TAURI_FAMILY`, `TAURI_ARCH` and `TAURI_PLATFORM` env vars for hook commands to based on the app not the cli. diff --git a/.changes/fix-html-template.md b/.changes/fix-html-template.md deleted file mode 100644 index 203f98f9fad..00000000000 --- a/.changes/fix-html-template.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"tauri-utils": patch -"tauri-codegen": patch ---- - -Properly serialize HTML template tags. diff --git a/.changes/fix-resource-scope.md b/.changes/fix-resource-scope.md deleted file mode 100644 index 07f20688555..00000000000 --- a/.changes/fix-resource-scope.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tauri": patch ---- - -Fixes resource reading being always rejected by the scope. diff --git a/.changes/focused.md b/.changes/focused.md deleted file mode 100644 index da3fd4edd96..00000000000 --- a/.changes/focused.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"tauri": minor -"tauri-runtime": minor -"tauri-runtime-wry": minor ---- - -Readd the option to create an unfocused window via the `focused` method. The `focus` function has been deprecated. diff --git a/.changes/hidden-title-macos.md b/.changes/hidden-title-macos.md deleted file mode 100644 index 2ff415c6194..00000000000 --- a/.changes/hidden-title-macos.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -'tauri': minor -"tauri-runtime-wry": minor ---- - -Add `hidden_title` option for macOS windows. diff --git a/.changes/mac-app-hide-allowlist.md b/.changes/mac-app-hide-allowlist.md deleted file mode 100644 index d9d0baf4002..00000000000 --- a/.changes/mac-app-hide-allowlist.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tauri-utils": minor ---- - -Added the `app` allowlist module. diff --git a/.changes/mac-app-hide-api.md b/.changes/mac-app-hide-api.md deleted file mode 100644 index 2d82c670b6a..00000000000 --- a/.changes/mac-app-hide-api.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"api": minor ---- - -Added `show` and `hide` methods on the `app` module. diff --git a/.changes/mac-app-hide-runtime.md b/.changes/mac-app-hide-runtime.md deleted file mode 100644 index 0d229522e32..00000000000 --- a/.changes/mac-app-hide-runtime.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"tauri-runtime-wry": minor -"tauri-runtime": minor ---- - -Added `Runtime::show()`, `RuntimeHandle::show()`, `Runtime::hide()`, `RuntimeHandle::hide()` for hiding/showing the entire application on macOS. diff --git a/.changes/mac-app-hide.md b/.changes/mac-app-hide.md deleted file mode 100644 index 38c458ac7b0..00000000000 --- a/.changes/mac-app-hide.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tauri": minor ---- - -Add `App::show()`, `AppHandle::show()`, `App::hide()` and `AppHandle::hide()` for hiding/showing the entire application on macOS. diff --git a/.changes/menu-deadlock.md b/.changes/menu-deadlock.md deleted file mode 100644 index 3d35da67519..00000000000 --- a/.changes/menu-deadlock.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tauri": "patch" ---- - -Fix a deadlock when modifying the menu in the `on_menu_event` closure. diff --git a/.changes/menu-on-left-click.md b/.changes/menu-on-left-click.md deleted file mode 100644 index a4583191624..00000000000 --- a/.changes/menu-on-left-click.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"tauri-runtime-wry": "patch" ---- - -Fix regression in `SystemTray::with_menu_on_left_click` - diff --git a/.changes/msrv-1.59.md b/.changes/msrv-1.59.md deleted file mode 100644 index 6d56d02e4fd..00000000000 --- a/.changes/msrv-1.59.md +++ /dev/null @@ -1,12 +0,0 @@ ---- -"cli.rs": minor -"tauri-bundler": minor -"tauri": minor -"tauri-build": minor -"tauri-codegen": minor -"tauri-macros": minor -"tauri-utils": minor -"tauri-runtime": minor -"tauri-runtime-wry": minor ---- - diff --git a/.changes/publisher-field.md b/.changes/publisher-field.md deleted file mode 100644 index 93832b0b283..00000000000 --- a/.changes/publisher-field.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -"tauri-utils": "minor" -"tauri-bundler": "minor" -"cli.rs": "minor" ---- - -Add `tauri.conf.json > bundle > publisher` field to specify the app publisher. - diff --git a/.changes/resource-dir-canonicalize.md b/.changes/resource-dir-canonicalize.md deleted file mode 100644 index a53f820c142..00000000000 --- a/.changes/resource-dir-canonicalize.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tauri-utils": patch ---- - -Canonicalize the return value of `platform::resource_dir`. diff --git a/.changes/transparent-titlebar-macos.md b/.changes/transparent-titlebar-macos.md deleted file mode 100644 index fba68381863..00000000000 --- a/.changes/transparent-titlebar-macos.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -'tauri': minor -"tauri-runtime-wry": minor ---- - -Add `title_bar_style` option for macOS windows. diff --git a/.changes/tray-cleanup.md b/.changes/tray-cleanup.md deleted file mode 100644 index 3d5eeb24dc2..00000000000 --- a/.changes/tray-cleanup.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tauri-runtime-wry": "patch" ---- - -Fix regression introduce in tauri@1.1 which prevented removing tray icon when the app exits on Windows. diff --git a/.changes/tray-title-config.md b/.changes/tray-title-config.md deleted file mode 100644 index 2ad02e9e938..00000000000 --- a/.changes/tray-title-config.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tauri-utils": minor ---- - -Added `title` option on the system tray configuration (macOS only). diff --git a/.changes/tray-title.md b/.changes/tray-title.md deleted file mode 100644 index a90729215d7..00000000000 --- a/.changes/tray-title.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"tauri": minor -"tauri-runtime": minor -"tauri-runtime-wry": minor ---- - -Added methods to set the system tray title on macOS. diff --git a/.changes/user-agent-config.md b/.changes/user-agent-config.md deleted file mode 100644 index f0e168b7a4b..00000000000 --- a/.changes/user-agent-config.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tauri-utils": minor ---- - -Added the `user_agent` option to the window configuration. diff --git a/.changes/user-agent.md b/.changes/user-agent.md deleted file mode 100644 index 08fa1c4231b..00000000000 --- a/.changes/user-agent.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -"api": minor -"tauri": minor -"tauri-runtime-wry": minor -"tauri-runtime": minor ---- - -Added the `user_agent` option when creating a window. diff --git a/.changes/utils-mimetype.md b/.changes/utils-mimetype.md deleted file mode 100644 index 77185aa8be1..00000000000 --- a/.changes/utils-mimetype.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tauri-utils": "patch" ---- - -Add `mime_type` module. diff --git a/.changes/wix-clear-env.md b/.changes/wix-clear-env.md deleted file mode 100644 index 2738bac6a1b..00000000000 --- a/.changes/wix-clear-env.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tauri-bundler": patch ---- - -Clear environment variables on the WiX light.exe and candle.exe commands to avoid "Windows Installer Service could not be accessed" error. Variables prefixed with `TAURI` are propagated. diff --git a/core/tauri-build/CHANGELOG.md b/core/tauri-build/CHANGELOG.md index d16e6451486..9f087ced099 100644 --- a/core/tauri-build/CHANGELOG.md +++ b/core/tauri-build/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## \[1.2.0] + +- - [7d9aa398](https://www.github.com/tauri-apps/tauri/commit/7d9aa3987efce2d697179ffc33646d086c68030c) feat: bump MSRV to 1.59 ([#5296](https://www.github.com/tauri-apps/tauri/pull/5296)) on 2022-09-28 + ## \[1.1.1] - Add missing allowlist config for `set_cursor_grab`, `set_cursor_visible`, `set_cursor_icon` and `set_cursor_position` APIs. diff --git a/core/tauri-build/Cargo.toml b/core/tauri-build/Cargo.toml index 7d1498bf88e..2b38dca226a 100644 --- a/core/tauri-build/Cargo.toml +++ b/core/tauri-build/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tauri-build" -version = "1.1.1" +version = "1.2.0" authors = [ "Tauri Programme within The Commons Conservancy" ] categories = [ "gui", "web-programming" ] license = "Apache-2.0 OR MIT" @@ -19,8 +19,8 @@ rustdoc-args = [ "--cfg", "doc_cfg" ] [dependencies] anyhow = "1" quote = { version = "1", optional = true } -tauri-codegen = { version = "1.1.1", path = "../tauri-codegen", optional = true } -tauri-utils = { version = "1.1.1", path = "../tauri-utils", features = [ "build", "resources" ] } +tauri-codegen = { version = "1.2.0", path = "../tauri-codegen", optional = true } +tauri-utils = { version = "1.2.0", path = "../tauri-utils", features = [ "build", "resources" ] } cargo_toml = "0.12" serde_json = "1" heck = "0.4" diff --git a/core/tauri-codegen/CHANGELOG.md b/core/tauri-codegen/CHANGELOG.md index c0d38f431be..689a83dff28 100644 --- a/core/tauri-codegen/CHANGELOG.md +++ b/core/tauri-codegen/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## \[1.2.0] + +- Properly serialize HTML template tags. + - [aec5537d](https://www.github.com/tauri-apps/tauri/commit/aec5537de0205f62b2ae5c89da04d21930a6fc2e) fix(codegen): serialize template tags, closes [#4410](https://www.github.com/tauri-apps/tauri/pull/4410) ([#5247](https://www.github.com/tauri-apps/tauri/pull/5247)) on 2022-09-28 +- - [7d9aa398](https://www.github.com/tauri-apps/tauri/commit/7d9aa3987efce2d697179ffc33646d086c68030c) feat: bump MSRV to 1.59 ([#5296](https://www.github.com/tauri-apps/tauri/pull/5296)) on 2022-09-28 + ## \[1.1.1] - Add missing allowlist config for `set_cursor_grab`, `set_cursor_visible`, `set_cursor_icon` and `set_cursor_position` APIs. diff --git a/core/tauri-codegen/Cargo.toml b/core/tauri-codegen/Cargo.toml index bf57539c5fe..9badecf7ca3 100644 --- a/core/tauri-codegen/Cargo.toml +++ b/core/tauri-codegen/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tauri-codegen" -version = "1.1.1" +version = "1.2.0" authors = [ "Tauri Programme within The Commons Conservancy" ] categories = [ "gui", "web-programming" ] license = "Apache-2.0 OR MIT" @@ -19,7 +19,7 @@ proc-macro2 = "1" quote = "1" serde = { version = "1", features = [ "derive" ] } serde_json = "1" -tauri-utils = { version = "1.1.1", path = "../tauri-utils", features = [ "build" ] } +tauri-utils = { version = "1.2.0", path = "../tauri-utils", features = [ "build" ] } thiserror = "1" walkdir = "2" brotli = { version = "3", optional = true, default-features = false, features = [ "std" ] } diff --git a/core/tauri-macros/CHANGELOG.md b/core/tauri-macros/CHANGELOG.md index 1d615743701..f26d64388f6 100644 --- a/core/tauri-macros/CHANGELOG.md +++ b/core/tauri-macros/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## \[1.2.0] + +- - [7d9aa398](https://www.github.com/tauri-apps/tauri/commit/7d9aa3987efce2d697179ffc33646d086c68030c) feat: bump MSRV to 1.59 ([#5296](https://www.github.com/tauri-apps/tauri/pull/5296)) on 2022-09-28 + ## \[1.1.1] - Add missing allowlist config for `set_cursor_grab`, `set_cursor_visible`, `set_cursor_icon` and `set_cursor_position` APIs. diff --git a/core/tauri-macros/Cargo.toml b/core/tauri-macros/Cargo.toml index 3be3620fe41..34b5f9374f9 100644 --- a/core/tauri-macros/Cargo.toml +++ b/core/tauri-macros/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tauri-macros" -version = "1.1.1" +version = "1.2.0" authors = [ "Tauri Programme within The Commons Conservancy" ] categories = [ "gui", "os", "filesystem", "web-programming" ] license = "Apache-2.0 OR MIT" @@ -20,8 +20,8 @@ proc-macro2 = "1" quote = "1" syn = { version = "1", features = [ "full" ] } heck = "0.4" -tauri-codegen = { version = "1.1.1", default-features = false, path = "../tauri-codegen" } -tauri-utils = { version = "1.1.1", path = "../tauri-utils" } +tauri-codegen = { version = "1.2.0", default-features = false, path = "../tauri-codegen" } +tauri-utils = { version = "1.2.0", path = "../tauri-utils" } [features] custom-protocol = [ ] diff --git a/core/tauri-runtime-wry/CHANGELOG.md b/core/tauri-runtime-wry/CHANGELOG.md index e30dc81c2b7..16f10c4926d 100644 --- a/core/tauri-runtime-wry/CHANGELOG.md +++ b/core/tauri-runtime-wry/CHANGELOG.md @@ -1,5 +1,27 @@ # Changelog +## \[0.12.0] + +- Readd the option to create an unfocused window via the `focused` method. The `focus` function has been deprecated. + - [4036e15f](https://www.github.com/tauri-apps/tauri/commit/4036e15f5af933bdc0d0913508b5103958afc143) feat(core): reimplement window initial focus flag, closes [#5120](https://www.github.com/tauri-apps/tauri/pull/5120) ([#5338](https://www.github.com/tauri-apps/tauri/pull/5338)) on 2022-10-08 +- Add `hidden_title` option for macOS windows. + - [321f3fed](https://www.github.com/tauri-apps/tauri/commit/321f3fed19df40c1223099bce953332b7f00f7a9) feat(macos): `title_bar_style` and `hidden_title` window options, closes [#2663](https://www.github.com/tauri-apps/tauri/pull/2663) ([#3965](https://www.github.com/tauri-apps/tauri/pull/3965)) on 2022-09-30 +- Added `Runtime::show()`, `RuntimeHandle::show()`, `Runtime::hide()`, `RuntimeHandle::hide()` for hiding/showing the entire application on macOS. + - [39bf895b](https://www.github.com/tauri-apps/tauri/commit/39bf895b73ec6b53f5758815396ba85dda6b9c67) feat(macOS): Add application `show` and `hide` methods ([#3689](https://www.github.com/tauri-apps/tauri/pull/3689)) on 2022-10-03 +- Fix regression in `SystemTray::with_menu_on_left_click` + - [f8a3becb](https://www.github.com/tauri-apps/tauri/commit/f8a3becb287942db7f7b551b5db6aeb5a2e939ee) feat(core): add option to disable tray menu on left click, closes [#4584](https://www.github.com/tauri-apps/tauri/pull/4584) ([#4587](https://www.github.com/tauri-apps/tauri/pull/4587)) on 2022-07-05 + - [7bbf167c](https://www.github.com/tauri-apps/tauri/commit/7bbf167c1c84493ea6e2353f720edafd7daa47e4) Apply Version Updates From Current Changes ([#4560](https://www.github.com/tauri-apps/tauri/pull/4560)) on 2022-07-06 + - [63011ca8](https://www.github.com/tauri-apps/tauri/commit/63011ca84e7a22c8c0d8bd1c1be6592140f93ff2) fix(macos): fix regression in `with_menu_on_left_click`, closes [#5220](https://www.github.com/tauri-apps/tauri/pull/5220) ([#5235](https://www.github.com/tauri-apps/tauri/pull/5235)) on 2022-09-30 +- - [7d9aa398](https://www.github.com/tauri-apps/tauri/commit/7d9aa3987efce2d697179ffc33646d086c68030c) feat: bump MSRV to 1.59 ([#5296](https://www.github.com/tauri-apps/tauri/pull/5296)) on 2022-09-28 +- Add `title_bar_style` option for macOS windows. + - [321f3fed](https://www.github.com/tauri-apps/tauri/commit/321f3fed19df40c1223099bce953332b7f00f7a9) feat(macos): `title_bar_style` and `hidden_title` window options, closes [#2663](https://www.github.com/tauri-apps/tauri/pull/2663) ([#3965](https://www.github.com/tauri-apps/tauri/pull/3965)) on 2022-09-30 +- Fix regression introduce in tauri@1.1 which prevented removing tray icon when the app exits on Windows. + - [f756cd5e](https://www.github.com/tauri-apps/tauri/commit/f756cd5e7ecc86f178f8d602eded1e1b6ecb51f3) fix(core): wait for tray cleanup before exiting app, closes [#5244](https://www.github.com/tauri-apps/tauri/pull/5244) ([#5245](https://www.github.com/tauri-apps/tauri/pull/5245)) on 2022-10-04 +- Added methods to set the system tray title on macOS. + - [8f1ace77](https://www.github.com/tauri-apps/tauri/commit/8f1ace77956ac3477826ceb059a191e55b3fff93) feat: expose `set_title` for MacOS tray ([#5182](https://www.github.com/tauri-apps/tauri/pull/5182)) on 2022-09-30 +- Added the `user_agent` option when creating a window. + - [a6c94119](https://www.github.com/tauri-apps/tauri/commit/a6c94119d8545d509723b147c273ca5edfe3729f) feat(core): expose user_agent to window config ([#5317](https://www.github.com/tauri-apps/tauri/pull/5317)) on 2022-10-02 + ## \[0.11.1] - Add missing allowlist config for `set_cursor_grab`, `set_cursor_visible`, `set_cursor_icon` and `set_cursor_position` APIs. diff --git a/core/tauri-runtime-wry/Cargo.toml b/core/tauri-runtime-wry/Cargo.toml index 9316e150ca0..aab0aa57438 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.11.1" +version = "0.12.0" authors = [ "Tauri Programme within The Commons Conservancy" ] categories = [ "gui", "web-programming" ] license = "Apache-2.0 OR MIT" @@ -14,8 +14,8 @@ readme = "README.md" [dependencies] wry = { git = "https://github.com/tauri-apps/wry", branch = "dev", default-features = false, features = [ "file-drop", "protocol" ] } -tauri-runtime = { version = "0.11.1", path = "../tauri-runtime" } -tauri-utils = { version = "1.1.1", path = "../tauri-utils" } +tauri-runtime = { version = "0.12.0", path = "../tauri-runtime" } +tauri-utils = { version = "1.2.0", path = "../tauri-utils" } uuid = { version = "1", features = [ "v4" ] } rand = "0.8" raw-window-handle = "0.5" diff --git a/core/tauri-runtime/CHANGELOG.md b/core/tauri-runtime/CHANGELOG.md index bd1194e52d7..e0ec8de6e5e 100644 --- a/core/tauri-runtime/CHANGELOG.md +++ b/core/tauri-runtime/CHANGELOG.md @@ -1,5 +1,17 @@ # Changelog +## \[0.12.0] + +- Readd the option to create an unfocused window via the `focused` method. The `focus` function has been deprecated. + - [4036e15f](https://www.github.com/tauri-apps/tauri/commit/4036e15f5af933bdc0d0913508b5103958afc143) feat(core): reimplement window initial focus flag, closes [#5120](https://www.github.com/tauri-apps/tauri/pull/5120) ([#5338](https://www.github.com/tauri-apps/tauri/pull/5338)) on 2022-10-08 +- Added `Runtime::show()`, `RuntimeHandle::show()`, `Runtime::hide()`, `RuntimeHandle::hide()` for hiding/showing the entire application on macOS. + - [39bf895b](https://www.github.com/tauri-apps/tauri/commit/39bf895b73ec6b53f5758815396ba85dda6b9c67) feat(macOS): Add application `show` and `hide` methods ([#3689](https://www.github.com/tauri-apps/tauri/pull/3689)) on 2022-10-03 +- - [7d9aa398](https://www.github.com/tauri-apps/tauri/commit/7d9aa3987efce2d697179ffc33646d086c68030c) feat: bump MSRV to 1.59 ([#5296](https://www.github.com/tauri-apps/tauri/pull/5296)) on 2022-09-28 +- Added methods to set the system tray title on macOS. + - [8f1ace77](https://www.github.com/tauri-apps/tauri/commit/8f1ace77956ac3477826ceb059a191e55b3fff93) feat: expose `set_title` for MacOS tray ([#5182](https://www.github.com/tauri-apps/tauri/pull/5182)) on 2022-09-30 +- Added the `user_agent` option when creating a window. + - [a6c94119](https://www.github.com/tauri-apps/tauri/commit/a6c94119d8545d509723b147c273ca5edfe3729f) feat(core): expose user_agent to window config ([#5317](https://www.github.com/tauri-apps/tauri/pull/5317)) on 2022-10-02 + ## \[0.11.1] - Add missing allowlist config for `set_cursor_grab`, `set_cursor_visible`, `set_cursor_icon` and `set_cursor_position` APIs. diff --git a/core/tauri-runtime/Cargo.toml b/core/tauri-runtime/Cargo.toml index 2e30c727636..73f0d614d63 100644 --- a/core/tauri-runtime/Cargo.toml +++ b/core/tauri-runtime/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tauri-runtime" -version = "0.11.1" +version = "0.12.0" authors = [ "Tauri Programme within The Commons Conservancy" ] categories = [ "gui", "web-programming" ] license = "Apache-2.0 OR MIT" @@ -26,7 +26,7 @@ targets = [ serde = { version = "1.0", features = [ "derive" ] } serde_json = "1.0" thiserror = "1.0" -tauri-utils = { version = "1.1.1", path = "../tauri-utils" } +tauri-utils = { version = "1.2.0", path = "../tauri-utils" } uuid = { version = "1", features = [ "v4" ] } http = "0.2.4" http-range = "0.1.4" diff --git a/core/tauri-utils/CHANGELOG.md b/core/tauri-utils/CHANGELOG.md index 9e19335fa1e..6301d8627b9 100644 --- a/core/tauri-utils/CHANGELOG.md +++ b/core/tauri-utils/CHANGELOG.md @@ -1,5 +1,25 @@ # Changelog +## \[1.2.0] + +- Validate `pacakge > productName` in the tauri config and produce errors if it contains one of the following characters `/\:*?\"<>|` + - [b9316a64](https://www.github.com/tauri-apps/tauri/commit/b9316a64eaa9348c79efafb8b94960d9b4d5b27a) fix(cli): validate `productName` in config, closes [#5233](https://www.github.com/tauri-apps/tauri/pull/5233) ([#5262](https://www.github.com/tauri-apps/tauri/pull/5262)) on 2022-09-28 +- Properly serialize HTML template tags. + - [aec5537d](https://www.github.com/tauri-apps/tauri/commit/aec5537de0205f62b2ae5c89da04d21930a6fc2e) fix(codegen): serialize template tags, closes [#4410](https://www.github.com/tauri-apps/tauri/pull/4410) ([#5247](https://www.github.com/tauri-apps/tauri/pull/5247)) on 2022-09-28 +- Added the `app` allowlist module. + - [39bf895b](https://www.github.com/tauri-apps/tauri/commit/39bf895b73ec6b53f5758815396ba85dda6b9c67) feat(macOS): Add application `show` and `hide` methods ([#3689](https://www.github.com/tauri-apps/tauri/pull/3689)) on 2022-10-03 +- - [7d9aa398](https://www.github.com/tauri-apps/tauri/commit/7d9aa3987efce2d697179ffc33646d086c68030c) feat: bump MSRV to 1.59 ([#5296](https://www.github.com/tauri-apps/tauri/pull/5296)) on 2022-09-28 +- Add `tauri.conf.json > bundle > publisher` field to specify the app publisher. + - [628285c1](https://www.github.com/tauri-apps/tauri/commit/628285c1cf43f03ed62378f3b6cc0c991317526f) feat(bundler): add `publisher` field, closes [#5273](https://www.github.com/tauri-apps/tauri/pull/5273) ([#5283](https://www.github.com/tauri-apps/tauri/pull/5283)) on 2022-09-28 +- Canonicalize the return value of `platform::resource_dir`. + - [a06dc699](https://www.github.com/tauri-apps/tauri/commit/a06dc6993148f10ff7623c9dcc81f313dd960ad0) fix(core): canonicalize resource dir to fix scope check, closes [#5196](https://www.github.com/tauri-apps/tauri/pull/5196) ([#5218](https://www.github.com/tauri-apps/tauri/pull/5218)) on 2022-09-29 +- Added `title` option on the system tray configuration (macOS only). + - [8f1ace77](https://www.github.com/tauri-apps/tauri/commit/8f1ace77956ac3477826ceb059a191e55b3fff93) feat: expose `set_title` for MacOS tray ([#5182](https://www.github.com/tauri-apps/tauri/pull/5182)) on 2022-09-30 +- Added the `user_agent` option to the window configuration. + - [a6c94119](https://www.github.com/tauri-apps/tauri/commit/a6c94119d8545d509723b147c273ca5edfe3729f) feat(core): expose user_agent to window config ([#5317](https://www.github.com/tauri-apps/tauri/pull/5317)) on 2022-10-02 +- Add `mime_type` module. + - [54c337e0](https://www.github.com/tauri-apps/tauri/commit/54c337e06f3bc624c4780cf002bc54790f446c90) feat(cli): hotreload support for frontend static files, closes [#2173](https://www.github.com/tauri-apps/tauri/pull/2173) ([#5256](https://www.github.com/tauri-apps/tauri/pull/5256)) on 2022-09-28 + ## \[1.1.1] - Add missing allowlist config for `set_cursor_grab`, `set_cursor_visible`, `set_cursor_icon` and `set_cursor_position` APIs. diff --git a/core/tauri-utils/Cargo.toml b/core/tauri-utils/Cargo.toml index 12cd5549160..2bd7274a78a 100644 --- a/core/tauri-utils/Cargo.toml +++ b/core/tauri-utils/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tauri-utils" -version = "1.1.1" +version = "1.2.0" authors = [ "Tauri Programme within The Commons Conservancy" ] license = "Apache-2.0 OR MIT" homepage = "https://tauri.app" diff --git a/core/tauri/CHANGELOG.md b/core/tauri/CHANGELOG.md index 3e17a287915..8ddc9e6d648 100644 --- a/core/tauri/CHANGELOG.md +++ b/core/tauri/CHANGELOG.md @@ -1,5 +1,31 @@ # Changelog +## \[1.2.0] + +- Add new app-specific `BaseDirectory` enum variants `AppConfig`, `AppData`, `AppLocalData`, `AppCache` and `AppLog` along with equivalent functions in `path` module and deprecated ambiguous variants `Log` and `App` along with their equivalent functions in `path` module. + - [5d89905e](https://www.github.com/tauri-apps/tauri/commit/5d89905e39ce0e6eaaec50a693679335449edb32) feat(api): add app-specific directory APIs, closes [#5263](https://www.github.com/tauri-apps/tauri/pull/5263) ([#5272](https://www.github.com/tauri-apps/tauri/pull/5272)) on 2022-09-28 +- Set the correct mimetype when streaming files through `asset:` protocol + - [39443b43](https://www.github.com/tauri-apps/tauri/commit/39443b4350bd208c4d6eec5e1095f215199f8aa3) fix(core): set correct mimetype for asset protocol streams, closes [#5203](https://www.github.com/tauri-apps/tauri/pull/5203) ([#5210](https://www.github.com/tauri-apps/tauri/pull/5210)) on 2022-09-30 +- Escape glob special characters in files/directories when dropping files or using the open/save dialogs. + - [4cbdf0fb](https://www.github.com/tauri-apps/tauri/commit/4cbdf0fb1c0de5004eab51c36d5843a9816f18af) fix(core): escape glob characters in drop/dialogs , closes [#5234](https://www.github.com/tauri-apps/tauri/pull/5234) ([#5237](https://www.github.com/tauri-apps/tauri/pull/5237)) on 2022-10-05 +- Fixes resource reading being always rejected by the scope. + - [a06dc699](https://www.github.com/tauri-apps/tauri/commit/a06dc6993148f10ff7623c9dcc81f313dd960ad0) fix(core): canonicalize resource dir to fix scope check, closes [#5196](https://www.github.com/tauri-apps/tauri/pull/5196) ([#5218](https://www.github.com/tauri-apps/tauri/pull/5218)) on 2022-09-29 +- Readd the option to create an unfocused window via the `focused` method. The `focus` function has been deprecated. + - [4036e15f](https://www.github.com/tauri-apps/tauri/commit/4036e15f5af933bdc0d0913508b5103958afc143) feat(core): reimplement window initial focus flag, closes [#5120](https://www.github.com/tauri-apps/tauri/pull/5120) ([#5338](https://www.github.com/tauri-apps/tauri/pull/5338)) on 2022-10-08 +- Add `hidden_title` option for macOS windows. + - [321f3fed](https://www.github.com/tauri-apps/tauri/commit/321f3fed19df40c1223099bce953332b7f00f7a9) feat(macos): `title_bar_style` and `hidden_title` window options, closes [#2663](https://www.github.com/tauri-apps/tauri/pull/2663) ([#3965](https://www.github.com/tauri-apps/tauri/pull/3965)) on 2022-09-30 +- Add `App::show()`, `AppHandle::show()`, `App::hide()` and `AppHandle::hide()` for hiding/showing the entire application on macOS. + - [39bf895b](https://www.github.com/tauri-apps/tauri/commit/39bf895b73ec6b53f5758815396ba85dda6b9c67) feat(macOS): Add application `show` and `hide` methods ([#3689](https://www.github.com/tauri-apps/tauri/pull/3689)) on 2022-10-03 +- Fix a deadlock when modifying the menu in the `on_menu_event` closure. + - [ae65951b](https://www.github.com/tauri-apps/tauri/commit/ae65951bc477126b71816d77424f8167814bbe8d) fix(core): fix deadlock in `on_menu_event`, closes [#5254](https://www.github.com/tauri-apps/tauri/pull/5254) ([#5257](https://www.github.com/tauri-apps/tauri/pull/5257)) on 2022-09-28 +- - [7d9aa398](https://www.github.com/tauri-apps/tauri/commit/7d9aa3987efce2d697179ffc33646d086c68030c) feat: bump MSRV to 1.59 ([#5296](https://www.github.com/tauri-apps/tauri/pull/5296)) on 2022-09-28 +- Add `title_bar_style` option for macOS windows. + - [321f3fed](https://www.github.com/tauri-apps/tauri/commit/321f3fed19df40c1223099bce953332b7f00f7a9) feat(macos): `title_bar_style` and `hidden_title` window options, closes [#2663](https://www.github.com/tauri-apps/tauri/pull/2663) ([#3965](https://www.github.com/tauri-apps/tauri/pull/3965)) on 2022-09-30 +- Added methods to set the system tray title on macOS. + - [8f1ace77](https://www.github.com/tauri-apps/tauri/commit/8f1ace77956ac3477826ceb059a191e55b3fff93) feat: expose `set_title` for MacOS tray ([#5182](https://www.github.com/tauri-apps/tauri/pull/5182)) on 2022-09-30 +- Added the `user_agent` option when creating a window. + - [a6c94119](https://www.github.com/tauri-apps/tauri/commit/a6c94119d8545d509723b147c273ca5edfe3729f) feat(core): expose user_agent to window config ([#5317](https://www.github.com/tauri-apps/tauri/pull/5317)) on 2022-10-02 + ## \[1.1.1] - Add missing allowlist config for `set_cursor_grab`, `set_cursor_visible`, `set_cursor_icon` and `set_cursor_position` APIs. diff --git a/core/tauri/Cargo.toml b/core/tauri/Cargo.toml index b1795801821..085dd5cc490 100644 --- a/core/tauri/Cargo.toml +++ b/core/tauri/Cargo.toml @@ -10,7 +10,7 @@ license = "Apache-2.0 OR MIT" name = "tauri" readme = "README.md" repository = "https://github.com/tauri-apps/tauri" -version = "1.1.1" +version = "1.2.0" [package.metadata.docs.rs] no-default-features = true @@ -49,10 +49,10 @@ url = { version = "2.3" } anyhow = "1.0" thiserror = "1.0" once_cell = "1" -tauri-runtime = { version = "0.11.1", path = "../tauri-runtime" } -tauri-macros = { version = "1.1.1", path = "../tauri-macros" } -tauri-utils = { version = "1.1.1", features = [ "resources" ], path = "../tauri-utils" } -tauri-runtime-wry = { version = "0.11.1", path = "../tauri-runtime-wry", optional = true } +tauri-runtime = { version = "0.12.0", path = "../tauri-runtime" } +tauri-macros = { version = "1.2.0", path = "../tauri-macros" } +tauri-utils = { version = "1.2.0", features = [ "resources" ], path = "../tauri-utils" } +tauri-runtime-wry = { version = "0.12.0", path = "../tauri-runtime-wry", optional = true } rand = "0.8" semver = { version = "1.0", features = [ "serde" ] } serde_repr = "0.1" diff --git a/tooling/api/CHANGELOG.md b/tooling/api/CHANGELOG.md index 632694d1dd7..9796434453b 100644 --- a/tooling/api/CHANGELOG.md +++ b/tooling/api/CHANGELOG.md @@ -1,5 +1,22 @@ # Changelog +## \[1.2.0] + +- Fix incorrect return type on `fs/exists` + - [ca3cd8b3](https://www.github.com/tauri-apps/tauri/commit/ca3cd8b3d11beb9b6102da40b7d27f6dbe6cd2d0) fix(api): fs/exists return type previously set to void when it should be boolean ([#5252](https://www.github.com/tauri-apps/tauri/pull/5252)) on 2022-09-29 +- Initialize `Monitor` instances with the correct classes for `position` and `size` fields instead of plain object. + - [6f41a271](https://www.github.com/tauri-apps/tauri/commit/6f41a2712445ac41a5ed84bbcd40af3b76c8b1d8) fix(api.js): fix `Monitor` initialization, closes [#4672](https://www.github.com/tauri-apps/tauri/pull/4672) ([#5314](https://www.github.com/tauri-apps/tauri/pull/5314)) on 2022-09-30 +- **Breaking change:** Node.js v12 is no longer supported. + - [1129f4f5](https://www.github.com/tauri-apps/tauri/commit/1129f4f575dd02f746abe8e66472c88c8f9fe63d) refactor: simplify api.js bundling ([#4277](https://www.github.com/tauri-apps/tauri/pull/4277)) on 2022-10-04 +- Add new app-specific `BaseDirectory` enum variants `AppConfig`, `AppData`, `AppLocalData`, `AppCache` and `AppLog` along with equivalent functions in `path` module and deprecated ambiguous variants `Log` and `App` along with their equivalent functions in `path` module. + - [5d89905e](https://www.github.com/tauri-apps/tauri/commit/5d89905e39ce0e6eaaec50a693679335449edb32) feat(api): add app-specific directory APIs, closes [#5263](https://www.github.com/tauri-apps/tauri/pull/5263) ([#5272](https://www.github.com/tauri-apps/tauri/pull/5272)) on 2022-09-28 +- Fix `dialog.save` return type + - [8357ce5b](https://www.github.com/tauri-apps/tauri/commit/8357ce5b2efdd6f92c7944822542e48ba0e303ce) Fix dialog.save return type ([#5373](https://www.github.com/tauri-apps/tauri/pull/5373)) on 2022-10-08 +- Added `show` and `hide` methods on the `app` module. + - [39bf895b](https://www.github.com/tauri-apps/tauri/commit/39bf895b73ec6b53f5758815396ba85dda6b9c67) feat(macOS): Add application `show` and `hide` methods ([#3689](https://www.github.com/tauri-apps/tauri/pull/3689)) on 2022-10-03 +- Added the `user_agent` option when creating a window. + - [a6c94119](https://www.github.com/tauri-apps/tauri/commit/a6c94119d8545d509723b147c273ca5edfe3729f) feat(core): expose user_agent to window config ([#5317](https://www.github.com/tauri-apps/tauri/pull/5317)) on 2022-10-02 + ## \[1.1.0] - Update `mockIPC()` handler signature to allow async handler functions. diff --git a/tooling/api/package.json b/tooling/api/package.json index b353a58f6e2..63f7c333c06 100644 --- a/tooling/api/package.json +++ b/tooling/api/package.json @@ -1,6 +1,6 @@ { "name": "@tauri-apps/api", - "version": "1.1.0", + "version": "1.2.0", "description": "Tauri API definitions", "type": "module", "funding": { diff --git a/tooling/bundler/CHANGELOG.md b/tooling/bundler/CHANGELOG.md index 62b46f9f5f7..115953ec3d0 100644 --- a/tooling/bundler/CHANGELOG.md +++ b/tooling/bundler/CHANGELOG.md @@ -1,5 +1,15 @@ # Changelog +## \[1.1.0] + +- Use correct code `ja-JP` for japanese instead of `jp-JP`. + - [d4cac202](https://www.github.com/tauri-apps/tauri/commit/d4cac202923fc34962721413f7051bca50002809) fix(bundler): fix japanese lang code, closes [#5342](https://www.github.com/tauri-apps/tauri/pull/5342) ([#5346](https://www.github.com/tauri-apps/tauri/pull/5346)) on 2022-10-04 +- - [7d9aa398](https://www.github.com/tauri-apps/tauri/commit/7d9aa3987efce2d697179ffc33646d086c68030c) feat: bump MSRV to 1.59 ([#5296](https://www.github.com/tauri-apps/tauri/pull/5296)) on 2022-09-28 +- Add `tauri.conf.json > bundle > publisher` field to specify the app publisher. + - [628285c1](https://www.github.com/tauri-apps/tauri/commit/628285c1cf43f03ed62378f3b6cc0c991317526f) feat(bundler): add `publisher` field, closes [#5273](https://www.github.com/tauri-apps/tauri/pull/5273) ([#5283](https://www.github.com/tauri-apps/tauri/pull/5283)) on 2022-09-28 +- Clear environment variables on the WiX light.exe and candle.exe commands to avoid "Windows Installer Service could not be accessed" error. Variables prefixed with `TAURI` are propagated. + - [7c0fa1f3](https://www.github.com/tauri-apps/tauri/commit/7c0fa1f3f93943b87a0042b5ba3bd6bb4099304a) fix(bundler): clear env before calling wix, closes [#4791](https://www.github.com/tauri-apps/tauri/pull/4791) ([#4819](https://www.github.com/tauri-apps/tauri/pull/4819)) on 2022-10-03 + ## \[1.0.7] - Add missing allowlist config for `set_cursor_grab`, `set_cursor_visible`, `set_cursor_icon` and `set_cursor_position` APIs. diff --git a/tooling/bundler/Cargo.toml b/tooling/bundler/Cargo.toml index 8b32102c582..0c84ade94f7 100644 --- a/tooling/bundler/Cargo.toml +++ b/tooling/bundler/Cargo.toml @@ -2,7 +2,7 @@ workspace = { } [package] name = "tauri-bundler" -version = "1.0.7" +version = "1.1.0" authors = [ "George Burton ", "Tauri Programme within The Commons Conservancy" @@ -17,7 +17,7 @@ rust-version = "1.59" exclude = [ "CHANGELOG.md", "/target", "rustfmt.toml" ] [dependencies] -tauri-utils = { version = "1.1.1", path = "../../core/tauri-utils", features = [ "resources" ] } +tauri-utils = { version = "1.2.0", path = "../../core/tauri-utils", features = [ "resources" ] } image = "0.24.4" libflate = "1.2" anyhow = "1.0" diff --git a/tooling/cli/CHANGELOG.md b/tooling/cli/CHANGELOG.md index 0e7e8f7f4f8..3b990314111 100644 --- a/tooling/cli/CHANGELOG.md +++ b/tooling/cli/CHANGELOG.md @@ -1,5 +1,19 @@ # Changelog +## \[1.2.0] + +- Validate `pacakge > productName` in the tauri config and produce errors if it contains one of the following characters `/\:*?\"<>|` + - [b9316a64](https://www.github.com/tauri-apps/tauri/commit/b9316a64eaa9348c79efafb8b94960d9b4d5b27a) fix(cli): validate `productName` in config, closes [#5233](https://www.github.com/tauri-apps/tauri/pull/5233) ([#5262](https://www.github.com/tauri-apps/tauri/pull/5262)) on 2022-09-28 +- Hot-reload the frontend when `tauri.conf.json > build > devPath` points to a directory. + - [54c337e0](https://www.github.com/tauri-apps/tauri/commit/54c337e06f3bc624c4780cf002bc54790f446c90) feat(cli): hotreload support for frontend static files, closes [#2173](https://www.github.com/tauri-apps/tauri/pull/2173) ([#5256](https://www.github.com/tauri-apps/tauri/pull/5256)) on 2022-09-28 +- Expose `TAURI_TARGET_TRIPLE` to `beforeDevCommand`, `beforeBuildCommand` and `beforeBundleCommand` + - [a4aec9f0](https://www.github.com/tauri-apps/tauri/commit/a4aec9f0a864ec6d7712db8bd50989d9c2e2fd2e) feat(cli): expose `TAURI_TARGET_TRIPLE` to before\*Commands, closes [#5091](https://www.github.com/tauri-apps/tauri/pull/5091) ([#5101](https://www.github.com/tauri-apps/tauri/pull/5101)) on 2022-10-03 +- Set `TAURI_PLATFORM_TYPE`, `TAURI_FAMILY`, `TAURI_ARCH` and `TAURI_PLATFORM` env vars for hook commands to based on the app not the cli. + - [a4aec9f0](https://www.github.com/tauri-apps/tauri/commit/a4aec9f0a864ec6d7712db8bd50989d9c2e2fd2e) feat(cli): expose `TAURI_TARGET_TRIPLE` to before\*Commands, closes [#5091](https://www.github.com/tauri-apps/tauri/pull/5091) ([#5101](https://www.github.com/tauri-apps/tauri/pull/5101)) on 2022-10-03 +- - [7d9aa398](https://www.github.com/tauri-apps/tauri/commit/7d9aa3987efce2d697179ffc33646d086c68030c) feat: bump MSRV to 1.59 ([#5296](https://www.github.com/tauri-apps/tauri/pull/5296)) on 2022-09-28 +- Add `tauri.conf.json > bundle > publisher` field to specify the app publisher. + - [628285c1](https://www.github.com/tauri-apps/tauri/commit/628285c1cf43f03ed62378f3b6cc0c991317526f) feat(bundler): add `publisher` field, closes [#5273](https://www.github.com/tauri-apps/tauri/pull/5273) ([#5283](https://www.github.com/tauri-apps/tauri/pull/5283)) on 2022-09-28 + ## \[1.1.1] - Fix wrong cli metadata that caused new projects (created through `tauri init`) fail to build diff --git a/tooling/cli/Cargo.lock b/tooling/cli/Cargo.lock index 69592f7f5ad..08eb9be80f1 100644 --- a/tooling/cli/Cargo.lock +++ b/tooling/cli/Cargo.lock @@ -3200,7 +3200,7 @@ dependencies = [ [[package]] name = "tauri-bundler" -version = "1.0.7" +version = "1.1.0" dependencies = [ "anyhow", "ar", @@ -3237,7 +3237,7 @@ dependencies = [ [[package]] name = "tauri-cli" -version = "1.1.1" +version = "1.2.0" dependencies = [ "anyhow", "axum", @@ -3311,7 +3311,7 @@ dependencies = [ [[package]] name = "tauri-utils" -version = "1.1.1" +version = "1.2.0" dependencies = [ "aes-gcm", "ctor", diff --git a/tooling/cli/Cargo.toml b/tooling/cli/Cargo.toml index 65f5fd20ab0..a2c52c975ad 100644 --- a/tooling/cli/Cargo.toml +++ b/tooling/cli/Cargo.toml @@ -3,7 +3,7 @@ members = [ "node" ] [package] name = "tauri-cli" -version = "1.1.1" +version = "1.2.0" authors = [ "Tauri Programme within The Commons Conservancy" ] edition = "2021" rust-version = "1.59" @@ -41,7 +41,7 @@ path = "src/main.rs" [dependencies] clap = { version = "3.2", features = [ "derive" ] } anyhow = "1.0" -tauri-bundler = { version = "1.0.7", path = "../bundler" } +tauri-bundler = { version = "1.1.0", path = "../bundler" } colored = "2.0" once_cell = "1" serde = { version = "1.0", features = [ "derive" ] } @@ -52,7 +52,7 @@ notify-debouncer-mini = "0.2" shared_child = "1.0" toml_edit = "0.14" json-patch = "0.2" -tauri-utils = { version = "1.1.1", path = "../../core/tauri-utils", features = [ "isolation", "schema", "config-json5", "config-toml" ] } +tauri-utils = { version = "1.2.0", path = "../../core/tauri-utils", features = [ "isolation", "schema", "config-json5", "config-toml" ] } toml = "0.5" jsonschema = "0.16" handlebars = "4.3" @@ -78,11 +78,11 @@ log = { version = "0.4.17", features = [ "kv_unstable", "kv_unstable_std" ] } env_logger = "0.9.1" icns = { package = "tauri-icns", version = "0.1" } image = { version = "0.24", default-features = false, features = [ "ico" ] } -axum = { version = "0.5.16", features = ["ws"] } +axum = { version = "0.5.16", features = [ "ws" ] } html5ever = "0.25" infer = "0.9" kuchiki = "0.8" -tokio = { version = "1", features = ["macros", "sync"] } +tokio = { version = "1", features = [ "macros", "sync" ] } [target."cfg(windows)".dependencies] winapi = { version = "0.3", features = [ "handleapi", "processenv", "winbase", "wincon", "winnt" ] } diff --git a/tooling/cli/metadata.json b/tooling/cli/metadata.json index 7ff1ab42848..b441e154bfa 100644 --- a/tooling/cli/metadata.json +++ b/tooling/cli/metadata.json @@ -1,8 +1,8 @@ { "cli.js": { - "version": "1.1.1", + "version": "1.1.2", "node": ">= 10.0.0" }, - "tauri": "1.1.1", - "tauri-build": "1.1.1" + "tauri": "1.2.0", + "tauri-build": "1.2.0" } diff --git a/tooling/cli/node/CHANGELOG.md b/tooling/cli/node/CHANGELOG.md index 19b6fc03e9a..35df5599ddd 100644 --- a/tooling/cli/node/CHANGELOG.md +++ b/tooling/cli/node/CHANGELOG.md @@ -1,5 +1,10 @@ # Changelog +## \[1.1.2] + +- Fix crash when nodejs binary has the version in its name, for example `node18` + - [095b1862](https://www.github.com/tauri-apps/tauri/commit/095b18620bbe5a3c06155f39bb620481702e5094) fix(cli.js): fix invoking cli from a node shim, closes [#5343](https://www.github.com/tauri-apps/tauri/pull/5343) ([#5345](https://www.github.com/tauri-apps/tauri/pull/5345)) on 2022-10-04 + ## \[1.1.1] - Fix wrong cli metadata that caused new projects (created through `tauri init`) fail to build diff --git a/tooling/cli/node/package.json b/tooling/cli/node/package.json index 62b8072d127..dcc55c294c9 100644 --- a/tooling/cli/node/package.json +++ b/tooling/cli/node/package.json @@ -1,6 +1,6 @@ { "name": "@tauri-apps/cli", - "version": "1.1.1", + "version": "1.1.2", "description": "Command line interface for building Tauri apps", "funding": { "type": "opencollective",