diff --git a/.changes/accept-first-mouse-api.md b/.changes/accept-first-mouse-api.md deleted file mode 100644 index 6422eb58a0e..00000000000 --- a/.changes/accept-first-mouse-api.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"api": minor ---- - -Added the `acceptFirstMouse` window option. diff --git a/.changes/accept-first-mouse.md b/.changes/accept-first-mouse.md deleted file mode 100644 index 1d75c8ee32a..00000000000 --- a/.changes/accept-first-mouse.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"tauri": minor -"tauri-runtime-wry": minor ---- - -Add `accept_first_mouse` option for macOS windows. 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/automatic-tabbing.md b/.changes/automatic-tabbing.md deleted file mode 100644 index d136547b0de..00000000000 --- a/.changes/automatic-tabbing.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"tauri": minor -"tauri-runtime-wry": minor ---- - -Disable automatic window tabbing on macOS when the `tabbing_identifier` option is not defined, the window is transparent or does not have decorations. 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-dev-alive-on-error.md b/.changes/cli-dev-alive-on-error.md deleted file mode 100644 index 6049b0224d6..00000000000 --- a/.changes/cli-dev-alive-on-error.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"cli.rs": "patch" ---- - -Keep `tauri dev` watcher alive when the configuration is invalid. diff --git a/.changes/cli-ignore-workspace-members.md b/.changes/cli-ignore-workspace-members.md deleted file mode 100644 index 93452bca4c3..00000000000 --- a/.changes/cli-ignore-workspace-members.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"cli.rs": patch ---- - -Ignore workspace members in dev watcher if they are ignored by `.taurignore` diff --git a/.changes/cli-improve-config-watcher.md b/.changes/cli-improve-config-watcher.md deleted file mode 100644 index 3087512e69c..00000000000 --- a/.changes/cli-improve-config-watcher.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"cli.rs": patch -"cli.js": patch ---- - -Detect JSON5 and TOML configuration files in the dev watcher. diff --git a/.changes/cli-no-default-featurs-arg.md b/.changes/cli-no-default-featurs-arg.md deleted file mode 100644 index a8f84599804..00000000000 --- a/.changes/cli-no-default-featurs-arg.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"cli.rs": "patch" ---- - -Fix cli passing `--no-default-features` to the app instead of the runner (Cargo). 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-watcher-info.md b/.changes/cli-watcher-info.md deleted file mode 100644 index 584deaa24fe..00000000000 --- a/.changes/cli-watcher-info.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"cli.rs": patch -"cli.js": patch ---- - -Log dev watcher file change detection. diff --git a/.changes/cli.js-node-shim-and-deno.md b/.changes/cli.js-node-shim-and-deno.md deleted file mode 100644 index dc61a5440ef..00000000000 --- a/.changes/cli.js-node-shim-and-deno.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"cli.js": patch ---- - -Fix crash when nodejs binary has the version in its name, for example `node18` or when running through deno. diff --git a/.changes/custom-protocol-uri-parse.md b/.changes/custom-protocol-uri-parse.md deleted file mode 100644 index c5b89ee7999..00000000000 --- a/.changes/custom-protocol-uri-parse.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tauri": minor ---- - -The custom protocol now validates the request URI. This has implications when using the `asset` protocol without the `convertFileSrc` helper, the URL must now use the `asset://localhost/$filePath` format. 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/drop-web-context.md b/.changes/drop-web-context.md deleted file mode 100644 index 84a043be513..00000000000 --- a/.changes/drop-web-context.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tauri-runtime-wry": patch ---- - -Drop the WebContext when the WebView is dropped. 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-event-payload.md b/.changes/fix-event-payload.md deleted file mode 100644 index 5d35305a723..00000000000 --- a/.changes/fix-event-payload.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tauri": patch ---- - -Properly emit events with object payload. 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-metadata-update.md b/.changes/fix-metadata-update.md deleted file mode 100644 index d21507a03a7..00000000000 --- a/.changes/fix-metadata-update.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tauri": patch ---- - -Fixes access to the `WebviewWindow.getByLabel` function in a `tauri://window-created` event listener. 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/fix-tauri-pattern-freeze.md b/.changes/fix-tauri-pattern-freeze.md deleted file mode 100644 index fce43572ce7..00000000000 --- a/.changes/fix-tauri-pattern-freeze.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tauri": patch ---- - -Fixes `__TAURI_PATTERN__` object freeze. diff --git a/.changes/fix-wix-dll-load.md b/.changes/fix-wix-dll-load.md deleted file mode 100644 index 7d20dcf44ca..00000000000 --- a/.changes/fix-wix-dll-load.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tauri-bundler": patch ---- - -Fix WiX DLL load on Windows Server. 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/http-body-formdata.md b/.changes/http-body-formdata.md deleted file mode 100644 index d7a2f3bed28..00000000000 --- a/.changes/http-body-formdata.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"api": minor ---- - -Added support to `FormData` on the `Body.form` function. diff --git a/.changes/isolation-pattern-config.md b/.changes/isolation-pattern-config.md deleted file mode 100644 index 81426f3bf01..00000000000 --- a/.changes/isolation-pattern-config.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tauri-utils": minor ---- - -`PatternKind::Isolation` is now defined even without the `isolation` feature. diff --git a/.changes/linux-header-support.md b/.changes/linux-header-support.md deleted file mode 100644 index 7a77dd6a35d..00000000000 --- a/.changes/linux-header-support.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"tauri": minor -"tauri-runtime-wry": minor ---- - -Custom protocol headers are now implemented on Linux when running on webkit2gtk 2.36 or above. 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/shell-resolve-base-dirs.md b/.changes/shell-resolve-base-dirs.md deleted file mode 100644 index f2d7fe346ce..00000000000 --- a/.changes/shell-resolve-base-dirs.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tauri": "patch" ---- - -Resolve base system directory in shell scope. diff --git a/.changes/tabbing-identifier-api.md b/.changes/tabbing-identifier-api.md deleted file mode 100644 index 66d69598156..00000000000 --- a/.changes/tabbing-identifier-api.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"api": minor ---- - -Added `tabbingIdentifier` window option for macOS. diff --git a/.changes/tabbing-identifier.md b/.changes/tabbing-identifier.md deleted file mode 100644 index 0e3b3f18170..00000000000 --- a/.changes/tabbing-identifier.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -"tauri": minor -"tauri-runtime": minor -"tauri-runtime-wry": minor -"api": minor ---- - -Added `tabbing_identifier` to the window builder on macOS. diff --git a/.changes/templates-allowlist-false.md b/.changes/templates-allowlist-false.md deleted file mode 100644 index 789c53515f2..00000000000 --- a/.changes/templates-allowlist-false.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"cli.rs": patch -"cli.js": patch ---- - -Changed the project template to not enable all APIs by default. 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 d912d447f5f..f21fdb95544 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.13" 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..f10db9c1bdb 100644 --- a/core/tauri-runtime-wry/CHANGELOG.md +++ b/core/tauri-runtime-wry/CHANGELOG.md @@ -1,5 +1,37 @@ # Changelog +## \[0.12.0] + +- Add `accept_first_mouse` option for macOS windows. + - [95f467ad](https://www.github.com/tauri-apps/tauri/commit/95f467add51448319983c54e2f382c7c09fb72d6) feat(core): add window `accept_first_mouse` option, closes [#5347](https://www.github.com/tauri-apps/tauri/pull/5347) ([#5374](https://www.github.com/tauri-apps/tauri/pull/5374)) on 2022-10-17 +- Disable automatic window tabbing on macOS when the `tabbing_identifier` option is not defined, the window is transparent or does not have decorations. + - [4137ab44](https://www.github.com/tauri-apps/tauri/commit/4137ab44a81d739556cbc7583485887e78952bf1) feat(macos): add `tabbing_identifier` option, closes [#2804](https://www.github.com/tauri-apps/tauri/pull/2804), [#3912](https://www.github.com/tauri-apps/tauri/pull/3912) ([#5399](https://www.github.com/tauri-apps/tauri/pull/5399)) on 2022-10-19 +- Drop the WebContext when the WebView is dropped. + - [9d8b3774](https://www.github.com/tauri-apps/tauri/commit/9d8b377481abf975dc37f9050d2ac7b63ce353e9) feat(tauri-runtime-wry): drop the WebContext on WebView drop ([#5240](https://www.github.com/tauri-apps/tauri/pull/5240)) on 2022-10-19 +- 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 +- Custom protocol headers are now implemented on Linux when running on webkit2gtk 2.36 or above. + - [357480f4](https://www.github.com/tauri-apps/tauri/commit/357480f4ae43aa8da99f7ba61ae2ee51b4552c60) feat(core): custom protocol headers on Linux, closes [#4496](https://www.github.com/tauri-apps/tauri/pull/4496) ([#5421](https://www.github.com/tauri-apps/tauri/pull/5421)) on 2022-10-17 +- 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 +- Added `tabbing_identifier` to the window builder on macOS. + - [4137ab44](https://www.github.com/tauri-apps/tauri/commit/4137ab44a81d739556cbc7583485887e78952bf1) feat(macos): add `tabbing_identifier` option, closes [#2804](https://www.github.com/tauri-apps/tauri/pull/2804), [#3912](https://www.github.com/tauri-apps/tauri/pull/3912) ([#5399](https://www.github.com/tauri-apps/tauri/pull/5399)) on 2022-10-19 +- 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 8cfef021d33..44bcf1e6647 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 = { version = "0.22", 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..cdaaf90a731 100644 --- a/core/tauri-runtime/CHANGELOG.md +++ b/core/tauri-runtime/CHANGELOG.md @@ -1,5 +1,19 @@ # 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 `tabbing_identifier` to the window builder on macOS. + - [4137ab44](https://www.github.com/tauri-apps/tauri/commit/4137ab44a81d739556cbc7583485887e78952bf1) feat(macos): add `tabbing_identifier` option, closes [#2804](https://www.github.com/tauri-apps/tauri/pull/2804), [#3912](https://www.github.com/tauri-apps/tauri/pull/3912) ([#5399](https://www.github.com/tauri-apps/tauri/pull/5399)) on 2022-10-19 +- 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..67facf1b156 100644 --- a/core/tauri-utils/CHANGELOG.md +++ b/core/tauri-utils/CHANGELOG.md @@ -1,5 +1,27 @@ # 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 +- `PatternKind::Isolation` is now defined even without the `isolation` feature. + - [a178f95d](https://www.github.com/tauri-apps/tauri/commit/a178f95d68b773779b40235a3a22115a5e36aa6a) feat: config schema generator ([#5193](https://www.github.com/tauri-apps/tauri/pull/5193)) on 2022-10-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..e8fa081de24 100644 --- a/core/tauri/CHANGELOG.md +++ b/core/tauri/CHANGELOG.md @@ -1,5 +1,51 @@ # Changelog +## \[1.2.0] + +- Add `accept_first_mouse` option for macOS windows. + - [95f467ad](https://www.github.com/tauri-apps/tauri/commit/95f467add51448319983c54e2f382c7c09fb72d6) feat(core): add window `accept_first_mouse` option, closes [#5347](https://www.github.com/tauri-apps/tauri/pull/5347) ([#5374](https://www.github.com/tauri-apps/tauri/pull/5374)) on 2022-10-17 +- 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 + - [2d9c2b47](https://www.github.com/tauri-apps/tauri/commit/2d9c2b472416339829f9113f976f193bf8e0665f) Revert "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 + - [9b1a6a1c](https://www.github.com/tauri-apps/tauri/commit/9b1a6a1c02b8d62dd47d9ce42aa05723d7c1b892) fix(core): set correct mimetype for asset protocol streams, [#5203](https://www.github.com/tauri-apps/tauri/pull/5203) ([#5536](https://www.github.com/tauri-apps/tauri/pull/5536)) on 2022-11-04 +- Disable automatic window tabbing on macOS when the `tabbing_identifier` option is not defined, the window is transparent or does not have decorations. + - [4137ab44](https://www.github.com/tauri-apps/tauri/commit/4137ab44a81d739556cbc7583485887e78952bf1) feat(macos): add `tabbing_identifier` option, closes [#2804](https://www.github.com/tauri-apps/tauri/pull/2804), [#3912](https://www.github.com/tauri-apps/tauri/pull/3912) ([#5399](https://www.github.com/tauri-apps/tauri/pull/5399)) on 2022-10-19 +- The custom protocol now validates the request URI. This has implications when using the `asset` protocol without the `convertFileSrc` helper, the URL must now use the `asset://localhost/$filePath` format. + - [357480f4](https://www.github.com/tauri-apps/tauri/commit/357480f4ae43aa8da99f7ba61ae2ee51b4552c60) feat(core): custom protocol headers on Linux, closes [#4496](https://www.github.com/tauri-apps/tauri/pull/4496) ([#5421](https://www.github.com/tauri-apps/tauri/pull/5421)) on 2022-10-17 +- 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 +- Properly emit events with object payload. + - [79dd6e16](https://www.github.com/tauri-apps/tauri/commit/79dd6e16a7306351e2acf21166506b2876b58a7e) fix(core): properly emit events with object payload, closes [#5482](https://www.github.com/tauri-apps/tauri/pull/5482) ([#5492](https://www.github.com/tauri-apps/tauri/pull/5492)) on 2022-10-27 +- Fixes access to the `WebviewWindow.getByLabel` function in a `tauri://window-created` event listener. + - [e00b1e5f](https://www.github.com/tauri-apps/tauri/commit/e00b1e5f94b3f841bf107cc17ee74be9203ea080) fix(core): update metadata before window-created listeners, closes [#5191](https://www.github.com/tauri-apps/tauri/pull/5191) ([#5458](https://www.github.com/tauri-apps/tauri/pull/5458)) on 2022-10-22 +- 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 +- Fixes `__TAURI_PATTERN__` object freeze. + - [49f06ca4](https://www.github.com/tauri-apps/tauri/commit/49f06ca4b9f1d02933e46bbc50330b84ac81be87) fix: deepfreeze check by prop ([#5407](https://www.github.com/tauri-apps/tauri/pull/5407)) on 2022-10-17 +- 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 +- Custom protocol headers are now implemented on Linux when running on webkit2gtk 2.36 or above. + - [357480f4](https://www.github.com/tauri-apps/tauri/commit/357480f4ae43aa8da99f7ba61ae2ee51b4552c60) feat(core): custom protocol headers on Linux, closes [#4496](https://www.github.com/tauri-apps/tauri/pull/4496) ([#5421](https://www.github.com/tauri-apps/tauri/pull/5421)) on 2022-10-17 +- 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 +- Resolve base system directory in shell scope. + - [99fe1c56](https://www.github.com/tauri-apps/tauri/commit/99fe1c562ffcea4089f785c73f4e6706d4ebc16b) fix(core): resolve base dir in shell scope, closes [#5480](https://www.github.com/tauri-apps/tauri/pull/5480) ([#5508](https://www.github.com/tauri-apps/tauri/pull/5508)) on 2022-11-04 +- Added `tabbing_identifier` to the window builder on macOS. + - [4137ab44](https://www.github.com/tauri-apps/tauri/commit/4137ab44a81d739556cbc7583485887e78952bf1) feat(macos): add `tabbing_identifier` option, closes [#2804](https://www.github.com/tauri-apps/tauri/pull/2804), [#3912](https://www.github.com/tauri-apps/tauri/pull/3912) ([#5399](https://www.github.com/tauri-apps/tauri/pull/5399)) on 2022-10-19 +- 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 fb651181068..53b05cf7a0c 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/examples/api/src-tauri/Cargo.lock b/examples/api/src-tauri/Cargo.lock index 450812ba493..9feee8d01de 100644 --- a/examples/api/src-tauri/Cargo.lock +++ b/examples/api/src-tauri/Cargo.lock @@ -3128,7 +3128,7 @@ dependencies = [ [[package]] name = "tauri" -version = "1.1.1" +version = "1.2.0" dependencies = [ "anyhow", "attohttpc", @@ -3190,7 +3190,7 @@ dependencies = [ [[package]] name = "tauri-build" -version = "1.1.1" +version = "1.2.0" dependencies = [ "anyhow", "cargo_toml", @@ -3206,7 +3206,7 @@ dependencies = [ [[package]] name = "tauri-codegen" -version = "1.1.1" +version = "1.2.0" dependencies = [ "base64", "brotli", @@ -3230,7 +3230,7 @@ dependencies = [ [[package]] name = "tauri-macros" -version = "1.1.1" +version = "1.2.0" dependencies = [ "heck 0.4.0", "proc-macro2", @@ -3242,7 +3242,7 @@ dependencies = [ [[package]] name = "tauri-runtime" -version = "0.11.1" +version = "0.12.0" dependencies = [ "gtk", "http", @@ -3260,7 +3260,7 @@ dependencies = [ [[package]] name = "tauri-runtime-wry" -version = "0.11.1" +version = "0.12.0" dependencies = [ "cocoa", "gtk", @@ -3278,7 +3278,7 @@ dependencies = [ [[package]] name = "tauri-utils" -version = "1.1.1" +version = "1.2.0" dependencies = [ "aes-gcm", "brotli", diff --git a/examples/resources/src-tauri/Cargo.lock b/examples/resources/src-tauri/Cargo.lock index 820fc6ef904..e1aa3daee85 100644 --- a/examples/resources/src-tauri/Cargo.lock +++ b/examples/resources/src-tauri/Cargo.lock @@ -2383,7 +2383,7 @@ dependencies = [ [[package]] name = "tauri" -version = "1.1.1" +version = "1.2.0" dependencies = [ "anyhow", "cocoa", @@ -2429,7 +2429,7 @@ dependencies = [ [[package]] name = "tauri-build" -version = "1.1.1" +version = "1.2.0" dependencies = [ "anyhow", "cargo_toml", @@ -2445,7 +2445,7 @@ dependencies = [ [[package]] name = "tauri-codegen" -version = "1.1.1" +version = "1.2.0" dependencies = [ "base64", "brotli", @@ -2469,7 +2469,7 @@ dependencies = [ [[package]] name = "tauri-macros" -version = "1.1.1" +version = "1.2.0" dependencies = [ "heck 0.4.0", "proc-macro2", @@ -2481,7 +2481,7 @@ dependencies = [ [[package]] name = "tauri-runtime" -version = "0.11.1" +version = "0.12.0" dependencies = [ "gtk", "http", @@ -2499,7 +2499,7 @@ dependencies = [ [[package]] name = "tauri-runtime-wry" -version = "0.11.1" +version = "0.12.0" dependencies = [ "cocoa", "gtk", @@ -2517,7 +2517,7 @@ dependencies = [ [[package]] name = "tauri-utils" -version = "1.1.1" +version = "1.2.0" dependencies = [ "brotli", "ctor", diff --git a/examples/sidecar/src-tauri/Cargo.lock b/examples/sidecar/src-tauri/Cargo.lock index a479335309a..034d187f49f 100644 --- a/examples/sidecar/src-tauri/Cargo.lock +++ b/examples/sidecar/src-tauri/Cargo.lock @@ -2383,7 +2383,7 @@ dependencies = [ [[package]] name = "tauri" -version = "1.1.1" +version = "1.2.0" dependencies = [ "anyhow", "cocoa", @@ -2429,7 +2429,7 @@ dependencies = [ [[package]] name = "tauri-build" -version = "1.1.1" +version = "1.2.0" dependencies = [ "anyhow", "cargo_toml", @@ -2445,7 +2445,7 @@ dependencies = [ [[package]] name = "tauri-codegen" -version = "1.1.1" +version = "1.2.0" dependencies = [ "base64", "brotli", @@ -2469,7 +2469,7 @@ dependencies = [ [[package]] name = "tauri-macros" -version = "1.1.1" +version = "1.2.0" dependencies = [ "heck 0.4.0", "proc-macro2", @@ -2481,7 +2481,7 @@ dependencies = [ [[package]] name = "tauri-runtime" -version = "0.11.1" +version = "0.12.0" dependencies = [ "gtk", "http", @@ -2499,7 +2499,7 @@ dependencies = [ [[package]] name = "tauri-runtime-wry" -version = "0.11.1" +version = "0.12.0" dependencies = [ "cocoa", "gtk", @@ -2517,7 +2517,7 @@ dependencies = [ [[package]] name = "tauri-utils" -version = "1.1.1" +version = "1.2.0" dependencies = [ "brotli", "ctor", diff --git a/examples/tauri-dynamic-lib/src-tauri/Cargo.lock b/examples/tauri-dynamic-lib/src-tauri/Cargo.lock index 886af510436..2c06236f7a4 100644 --- a/examples/tauri-dynamic-lib/src-tauri/Cargo.lock +++ b/examples/tauri-dynamic-lib/src-tauri/Cargo.lock @@ -2353,7 +2353,7 @@ dependencies = [ [[package]] name = "tauri" -version = "1.1.1" +version = "1.2.0" dependencies = [ "anyhow", "cocoa", @@ -2396,7 +2396,7 @@ dependencies = [ [[package]] name = "tauri-build" -version = "1.1.1" +version = "1.2.0" dependencies = [ "anyhow", "cargo_toml", @@ -2412,7 +2412,7 @@ dependencies = [ [[package]] name = "tauri-codegen" -version = "1.1.1" +version = "1.2.0" dependencies = [ "base64", "brotli", @@ -2435,7 +2435,7 @@ dependencies = [ [[package]] name = "tauri-macros" -version = "1.1.1" +version = "1.2.0" dependencies = [ "heck 0.4.0", "proc-macro2", @@ -2447,7 +2447,7 @@ dependencies = [ [[package]] name = "tauri-runtime" -version = "0.11.1" +version = "0.12.0" dependencies = [ "gtk", "http", @@ -2465,7 +2465,7 @@ dependencies = [ [[package]] name = "tauri-runtime-wry" -version = "0.11.1" +version = "0.12.0" dependencies = [ "cocoa", "gtk", @@ -2483,7 +2483,7 @@ dependencies = [ [[package]] name = "tauri-utils" -version = "1.1.1" +version = "1.2.0" dependencies = [ "brotli", "ctor", diff --git a/examples/updater/src-tauri/Cargo.lock b/examples/updater/src-tauri/Cargo.lock index 9b261b23c94..f0124f8faa1 100644 --- a/examples/updater/src-tauri/Cargo.lock +++ b/examples/updater/src-tauri/Cargo.lock @@ -2533,7 +2533,7 @@ dependencies = [ [[package]] name = "tauri" -version = "1.1.1" +version = "1.2.0" dependencies = [ "anyhow", "attohttpc", @@ -2582,7 +2582,7 @@ dependencies = [ [[package]] name = "tauri-build" -version = "1.1.1" +version = "1.2.0" dependencies = [ "anyhow", "cargo_toml", @@ -2598,7 +2598,7 @@ dependencies = [ [[package]] name = "tauri-codegen" -version = "1.1.1" +version = "1.2.0" dependencies = [ "base64", "brotli", @@ -2621,7 +2621,7 @@ dependencies = [ [[package]] name = "tauri-macros" -version = "1.1.1" +version = "1.2.0" dependencies = [ "heck 0.4.0", "proc-macro2", @@ -2633,7 +2633,7 @@ dependencies = [ [[package]] name = "tauri-runtime" -version = "0.11.1" +version = "0.12.0" dependencies = [ "gtk", "http", @@ -2651,7 +2651,7 @@ dependencies = [ [[package]] name = "tauri-runtime-wry" -version = "0.11.1" +version = "0.12.0" dependencies = [ "cocoa", "gtk", @@ -2669,7 +2669,7 @@ dependencies = [ [[package]] name = "tauri-utils" -version = "1.1.1" +version = "1.2.0" dependencies = [ "brotli", "ctor", diff --git a/tooling/api/CHANGELOG.md b/tooling/api/CHANGELOG.md index 632694d1dd7..d2a733f9f40 100644 --- a/tooling/api/CHANGELOG.md +++ b/tooling/api/CHANGELOG.md @@ -1,5 +1,30 @@ # Changelog +## \[1.2.0] + +- Added the `acceptFirstMouse` window option. + - [95f467ad](https://www.github.com/tauri-apps/tauri/commit/95f467add51448319983c54e2f382c7c09fb72d6) feat(core): add window `accept_first_mouse` option, closes [#5347](https://www.github.com/tauri-apps/tauri/pull/5347) ([#5374](https://www.github.com/tauri-apps/tauri/pull/5374)) on 2022-10-17 +- 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 support to `FormData` on the `Body.form` function. + - [aa119f28](https://www.github.com/tauri-apps/tauri/commit/aa119f28364f8ffbc64c6bcdfc77483613076a20) feat(api): add FormData support on Body.form, closes [#5545](https://www.github.com/tauri-apps/tauri/pull/5545) ([#5546](https://www.github.com/tauri-apps/tauri/pull/5546)) on 2022-11-04 +- 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 `tabbingIdentifier` window option for macOS. + - [4137ab44](https://www.github.com/tauri-apps/tauri/commit/4137ab44a81d739556cbc7583485887e78952bf1) feat(macos): add `tabbing_identifier` option, closes [#2804](https://www.github.com/tauri-apps/tauri/pull/2804), [#3912](https://www.github.com/tauri-apps/tauri/pull/3912) ([#5399](https://www.github.com/tauri-apps/tauri/pull/5399)) on 2022-10-19 +- Added `tabbing_identifier` to the window builder on macOS. + - [4137ab44](https://www.github.com/tauri-apps/tauri/commit/4137ab44a81d739556cbc7583485887e78952bf1) feat(macos): add `tabbing_identifier` option, closes [#2804](https://www.github.com/tauri-apps/tauri/pull/2804), [#3912](https://www.github.com/tauri-apps/tauri/pull/3912) ([#5399](https://www.github.com/tauri-apps/tauri/pull/5399)) on 2022-10-19 +- 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 d752c3669e8..ff14e106222 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..37f66f9d233 100644 --- a/tooling/bundler/CHANGELOG.md +++ b/tooling/bundler/CHANGELOG.md @@ -1,5 +1,17 @@ # 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 +- Fix WiX DLL load on Windows Server. + - [7aaf27ce](https://www.github.com/tauri-apps/tauri/commit/7aaf27ce5f026547ed490731e37cfc917458bbd6) fix(bundler): load WiX DLLs on Github Actions ([#5552](https://www.github.com/tauri-apps/tauri/pull/5552)) on 2022-11-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 e2121261335..f83703fa3e8 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..417df223096 100644 --- a/tooling/cli/CHANGELOG.md +++ b/tooling/cli/CHANGELOG.md @@ -1,5 +1,31 @@ # Changelog +## \[1.2.0] + +- Keep `tauri dev` watcher alive when the configuration is invalid. + - [cc186c7a](https://www.github.com/tauri-apps/tauri/commit/cc186c7a0eab1c364f8b58101f86979ae4ed3d03) fix(cli): keep dev watcher alive if config is incorrect, closes [#5173](https://www.github.com/tauri-apps/tauri/pull/5173) ([#5495](https://www.github.com/tauri-apps/tauri/pull/5495)) on 2022-10-28 +- Ignore workspace members in dev watcher if they are ignored by `.taurignore` + - [9417ce40](https://www.github.com/tauri-apps/tauri/commit/9417ce401c4985e97245ce02d3b7cc31fb4bf59e) fix(cli): apply `.taurignore` rules to workspace members, closes [#5355](https://www.github.com/tauri-apps/tauri/pull/5355) ([#5460](https://www.github.com/tauri-apps/tauri/pull/5460)) on 2022-10-28 +- Detect JSON5 and TOML configuration files in the dev watcher. + - [e7ccbd85](https://www.github.com/tauri-apps/tauri/commit/e7ccbd8573f6b9124e80c0b67fa2365729c3c196) feat(cli): detect JSON5 and TOML configuration files in the dev watcher ([#5439](https://www.github.com/tauri-apps/tauri/pull/5439)) on 2022-10-19 +- Fix cli passing `--no-default-features` to the app instead of the runner (Cargo). + - [a3a70218](https://www.github.com/tauri-apps/tauri/commit/a3a70218f3cc438b4875a046a182ca44dab357ae) fix(cli): pass `--no-default-features` to runner instead of app, closes [#5415](https://www.github.com/tauri-apps/tauri/pull/5415) ([#5474](https://www.github.com/tauri-apps/tauri/pull/5474)) on 2022-10-25 +- 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 +- Log dev watcher file change detection. + - [9076d5d2](https://www.github.com/tauri-apps/tauri/commit/9076d5d2e76d432aef475ba403e9ab5bd3b9d2b0) feat(cli): add prompt information when file changing detected, closes [#5417](https://www.github.com/tauri-apps/tauri/pull/5417) ([#5428](https://www.github.com/tauri-apps/tauri/pull/5428)) on 2022-10-19 +- 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 +- Changed the project template to not enable all APIs by default. + - [582c25a0](https://www.github.com/tauri-apps/tauri/commit/582c25a0f0fa2725d786ec4edd0defe7811ad6e8) refactor(cli): disable api-all on templates ([#5538](https://www.github.com/tauri-apps/tauri/pull/5538)) on 2022-11-03 + ## \[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 a8b71e75565..87f26f046c0 100644 --- a/tooling/cli/Cargo.lock +++ b/tooling/cli/Cargo.lock @@ -3084,7 +3084,7 @@ dependencies = [ [[package]] name = "tauri-bundler" -version = "1.0.7" +version = "1.1.0" dependencies = [ "anyhow", "ar", @@ -3121,7 +3121,7 @@ dependencies = [ [[package]] name = "tauri-cli" -version = "1.1.1" +version = "1.2.0" dependencies = [ "anyhow", "axum", @@ -3190,7 +3190,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 c17c73bd511..357793e81bc 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 = "4.0", 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" ] } @@ -51,7 +51,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" @@ -74,10 +74,10 @@ 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" kuchiki = "0.8" -tokio = { version = "1", features = ["macros", "sync"] } +tokio = { version = "1", features = [ "macros", "sync" ] } common-path = "1" [target."cfg(windows)".dependencies] 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..fda5c5935b9 100644 --- a/tooling/cli/node/CHANGELOG.md +++ b/tooling/cli/node/CHANGELOG.md @@ -1,5 +1,16 @@ # Changelog +## \[1.1.2] + +- Detect JSON5 and TOML configuration files in the dev watcher. + - [e7ccbd85](https://www.github.com/tauri-apps/tauri/commit/e7ccbd8573f6b9124e80c0b67fa2365729c3c196) feat(cli): detect JSON5 and TOML configuration files in the dev watcher ([#5439](https://www.github.com/tauri-apps/tauri/pull/5439)) on 2022-10-19 +- Log dev watcher file change detection. + - [9076d5d2](https://www.github.com/tauri-apps/tauri/commit/9076d5d2e76d432aef475ba403e9ab5bd3b9d2b0) feat(cli): add prompt information when file changing detected, closes [#5417](https://www.github.com/tauri-apps/tauri/pull/5417) ([#5428](https://www.github.com/tauri-apps/tauri/pull/5428)) on 2022-10-19 +- Fix crash when nodejs binary has the version in its name, for example `node18` or when running through deno. + - [7a231cd1](https://www.github.com/tauri-apps/tauri/commit/7a231cd1c99101f63354b13bb36223568d2f0a11) fix(cli): detect deno ([#5475](https://www.github.com/tauri-apps/tauri/pull/5475)) on 2022-10-28 +- Changed the project template to not enable all APIs by default. + - [582c25a0](https://www.github.com/tauri-apps/tauri/commit/582c25a0f0fa2725d786ec4edd0defe7811ad6e8) refactor(cli): disable api-all on templates ([#5538](https://www.github.com/tauri-apps/tauri/pull/5538)) on 2022-11-03 + ## \[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 cc1efe67228..d0d95e4107e 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",