From feac1d193c6d618e49916ad0707201f43d5cdd36 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 26 Apr 2022 11:53:21 -0300 Subject: [PATCH] Apply Version Updates From Current Changes (#3820) Co-authored-by: lucasfernog Co-authored-by: Lucas Nogueira --- .changes/pre.json | 55 ++++++++++++++++++++++- core/tauri-build/CHANGELOG.md | 5 +++ core/tauri-build/Cargo.toml | 6 +-- core/tauri-codegen/CHANGELOG.md | 5 +++ core/tauri-codegen/Cargo.toml | 4 +- core/tauri-macros/CHANGELOG.md | 6 +++ core/tauri-macros/Cargo.toml | 6 +-- core/tauri-runtime-wry/CHANGELOG.md | 23 ++++++++++ core/tauri-runtime-wry/Cargo.toml | 6 +-- core/tauri-runtime/CHANGELOG.md | 17 +++++++ core/tauri-runtime/Cargo.toml | 4 +- core/tauri-utils/CHANGELOG.md | 7 +++ core/tauri-utils/Cargo.toml | 2 +- core/tauri/CHANGELOG.md | 69 +++++++++++++++++++++++++++++ core/tauri/Cargo.toml | 15 ++++--- tooling/api/CHANGELOG.md | 15 +++++++ tooling/api/package.json | 2 +- tooling/bundler/CHANGELOG.md | 9 ++++ tooling/bundler/Cargo.toml | 4 +- tooling/cli/CHANGELOG.md | 20 +++++++++ tooling/cli/Cargo.lock | 6 +-- tooling/cli/Cargo.toml | 6 +-- tooling/cli/metadata.json | 6 +-- tooling/cli/node/CHANGELOG.md | 15 +++++++ tooling/cli/node/package.json | 2 +- 25 files changed, 281 insertions(+), 34 deletions(-) diff --git a/.changes/pre.json b/.changes/pre.json index 8002807b15f..9e170107ec2 100644 --- a/.changes/pre.json +++ b/.changes/pre.json @@ -1,6 +1,7 @@ { "tag": "rc", "changes": [ + ".changes/about-metadata-into-string.md", ".changes/allow-conf-gitignore.md", ".changes/allowlist-clipboard.md", ".changes/allowlist-dialog.md", @@ -13,6 +14,7 @@ ".changes/api-change-events.md", ".changes/api-dialog-ask-message-confirm.md", ".changes/api-emit-payload-type.md", + ".changes/api-encode-protocol-path.md", ".changes/api-features.md", ".changes/api-fetch-empty-reponse.md", ".changes/api-file-dialog-title.md", @@ -22,20 +24,27 @@ ".changes/api-relaunch-cleanup.md", ".changes/api-remove-current-dir.md", ".changes/api-remove-ts-files.md", + ".changes/api-theme-getter.md", + ".changes/api-theme-window-option.md", ".changes/api-use-uint8array.md", + ".changes/api-window-cursor.md", ".changes/api-window-type-for-size-and-position.md", ".changes/app-any-thread.md", ".changes/app-folder-structure.md", ".changes/appwindow-type-fix.md", + ".changes/archive-format-plain-breaking-changes.md", ".changes/asset-allowlist.md", ".changes/asset-cors.md", + ".changes/asset-default-ext-fallback.md", ".changes/asset-protocol-feature-flag.md", ".changes/asset-resolver.md", ".changes/async-cli.js.md", ".changes/async-runtime-refactor.md", ".changes/async-runtime-set.md", ".changes/async-runtime-spawn-blocking.md", + ".changes/ayatana-tray.md", ".changes/before-script-envs.md", + ".changes/binary-size-perf.md", ".changes/build-rerun-if-resource-sidecar-change.md", ".changes/build-specify-win-sdk.md", ".changes/builder-create-window-result.md", @@ -49,9 +58,14 @@ ".changes/clap-3.0.md", ".changes/clap-beta.4-core.md", ".changes/clap-beta.4.md", + ".changes/cli-compilation-error-exit.md", ".changes/cli-config-path.md", + ".changes/cli-dev-update.md", + ".changes/cli-drop-strip.md", + ".changes/cli-handle-dev-err.md", ".changes/cli-improve-waiting-devserver-msg.md", ".changes/cli-include-vswhere.md", + ".changes/cli-info-outdated.md", ".changes/cli-private-key-pwd-panic.md", ".changes/cli-runner-args.md", ".changes/cli-runner-error-message.md", @@ -71,9 +85,12 @@ ".changes/cli.rs-use-tauri-utils.md", ".changes/cli.rs-validate-dist-dir.md", ".changes/cli.rs-wix-license.md", + ".changes/clipboard-feature.md", + ".changes/codegen-platform-config.md", ".changes/colorful-cli.md", ".changes/command-feature-flag.md", ".changes/command-output-carriage-return.md", + ".changes/command-stdio-return.md", ".changes/consistent-event-name-usage.md", ".changes/core-add-log-dir.md", ".changes/core-center-window.md", @@ -82,11 +99,14 @@ ".changes/create-window-return-window.md", ".changes/csp-nonces.md", ".changes/current-binary-caching.md", + ".changes/cursor-apis.md", ".changes/custom-invoke-system.md", ".changes/custom-updater-target.md", ".changes/dangerous-disable-asset-csp.md", ".changes/data-url-csp.md", + ".changes/debian-priority.md", ".changes/dev-csp.md", + ".changes/dev-keep-default-features.md", ".changes/dev-server-exit.md", ".changes/devtools-apis.md", ".changes/devtools-hotkey.md", @@ -98,28 +118,37 @@ ".changes/error-send-sync.md", ".changes/exit-loop-destroyed.md", ".changes/expose-escape-json-string.md", + ".changes/extract-file-breaking.change.md", + ".changes/extract-files-breaking-change.md", + ".changes/extract-performance.md", ".changes/fix-asset-protocol-panicking.md", ".changes/fix-asset-protocol-validation.md", ".changes/fix-before-dev-command.md", + ".changes/fix-before-dev-kill-unix.md", ".changes/fix-block-on-runtime.md", ".changes/fix-cli-lookup.md", ".changes/fix-cli-prompts.md", ".changes/fix-cli-signer-sign-cmd.md", ".changes/fix-cli.js-windows-freezing.md", ".changes/fix-close-requested-js-event.md", + ".changes/fix-create-tao-window.md", ".changes/fix-csp-fallback-route.md", ".changes/fix-csp-linux.md", ".changes/fix-deadlock-create-window-from-menu.md", ".changes/fix-deadlock-path-iter.md", ".changes/fix-default-freeze-prototype.md", ".changes/fix-dialog-default-path.md", + ".changes/fix-dll-resource.md", ".changes/fix-dmg-macos-12.3.md", ".changes/fix-drop-sync.md", ".changes/fix-ease-plugin-hook-requirements.md", ".changes/fix-focus-blur-events-wry.md", ".changes/fix-focus-blur-events.md", + ".changes/fix-form-serialization.md", ".changes/fix-inner-size.md", ".changes/fix-linux-resource-path.md", + ".changes/fix-mac-notification-appid.md", + ".changes/fix-menu-event-macos.md", ".changes/fix-menu-ids.md", ".changes/fix-on-window-event-type.md", ".changes/fix-once-fnonce.md", @@ -128,6 +157,7 @@ ".changes/fix-path-scope-first-component.md", ".changes/fix-path-scope-validation.md", ".changes/fix-ready-check.md", + ".changes/fix-resize-with-devtools.md", ".changes/fix-runtime-traits-requirements.md", ".changes/fix-safe-block-on.md", ".changes/fix-tray-command.md", @@ -135,6 +165,7 @@ ".changes/fix-tray-remove-windows.md", ".changes/fix-updater-msi.md", ".changes/fix-updater-percent-decode.md", + ".changes/fix-window-builder-export.md", ".changes/fix-window-created-listen.md", ".changes/fix-window-creation-deadlock.md", ".changes/fix-window-label-api.md", @@ -145,6 +176,7 @@ ".changes/fix-yarn-pnp.md", ".changes/fixed-webview2-runtime.md", ".changes/force-updater-public-key.md", + ".changes/form-multipart-support.md", ".changes/fs-absolute-paths.md", ".changes/fs-endpoints-context.md", ".changes/fs-extract-api-feature.md", @@ -152,14 +184,20 @@ ".changes/fs-scope-forbidden-paths.md", ".changes/fs-scope-runtime.md", ".changes/get-menu.md", + ".changes/global-shortcut-feature.md", ".changes/going-rc.md", + ".changes/http-api-header-method.md", + ".changes/http-api-header-refactor.md", + ".changes/http-api-response-headers-refactor.md", ".changes/http-refactor.md", ".changes/http-scope-host-pattern.md", + ".changes/http-timeout-refactor.md", ".changes/icon-compile-time.md", ".changes/icon-feature.md", ".changes/improve-updater-validation.md", ".changes/increase-tauri-dir-lookup-depth.md", ".changes/info-extend-crates.md", + ".changes/io-read-line-util.md", ".changes/isolation-pattern.md", ".changes/join-handle-abort.md", ".changes/json5.md", @@ -198,6 +236,7 @@ ".changes/refactor-create-tao-window.md", ".changes/refactor-dialog-apis.md", ".changes/refactor-file-drop.md", + ".changes/refactor-form-part-bytes.md", ".changes/refactor-notification-permission-check.md", ".changes/refactor-resources-sidecar-copying.md", ".changes/refactor-runtime-window-event.md", @@ -206,7 +245,10 @@ ".changes/refactor-window-event.md", ".changes/refactor-window-metadata.md", ".changes/refactor-zip-features.md", + ".changes/remove-bootstrapper.md", ".changes/remove-current-base-directory.md", + ".changes/remove-depracated.md", + ".changes/remove-form-part-file.md", ".changes/remove-run-event-exit-requested-window-label.md", ".changes/remove-tauricon.md", ".changes/remove-window-default.md", @@ -240,25 +282,34 @@ ".changes/streaming-small-file-fix.md", ".changes/strip.md", ".changes/tauri-build-default-anyhow-fmt.md", + ".changes/tauri-build-resources-linux.md", + ".changes/tauri-event-api.md", ".changes/tauri-protocol-cors.md", ".changes/tauri-runtime-export.md", ".changes/temp-base-directory.md", ".changes/temp-scope-variable.md", ".changes/template-csp-null.md", + ".changes/theme-event.md", + ".changes/theme-getter.md", ".changes/tooling-fix-pnpm-info-error.md", ".changes/tray-set-menu.md", ".changes/universal-apple-target-sidecar.md", ".changes/universal-apple-target.md", ".changes/unlisten-fix.md", ".changes/unlisten.md", + ".changes/update-response-methods.md", ".changes/update-wry.md", ".changes/updater-check-api.md", ".changes/updater-custom-version-checker.md", + ".changes/updater-detailed-unsupported-error.md", ".changes/updater-download-events.md", + ".changes/updater-downloaded-event.md", ".changes/updater-endpoint-url-https.md", ".changes/updater-events.md", + ".changes/updater-headers.md", ".changes/updater-no-window.md", ".changes/updater-restart-cleanup.md", + ".changes/updater-timeout.md", ".changes/validate-allowlist.md", ".changes/validate-appimage.md", ".changes/validate-event-name.md", @@ -270,6 +321,7 @@ ".changes/webdriver-native-host.md", ".changes/webview-attributes-clipboard.md", ".changes/webview2-com.md", + ".changes/window-builder-theme.md", ".changes/window-builder.md", ".changes/window-confirm.md", ".changes/window-destroyed-event.md", @@ -284,6 +336,7 @@ ".changes/wix-registry-keys.md", ".changes/wix-run-app.md", ".changes/wix-signing.md", - ".changes/wry-13.md" + ".changes/wry-13.md", + ".changes/wry-create-webview.md" ] } diff --git a/core/tauri-build/CHANGELOG.md b/core/tauri-build/CHANGELOG.md index 9821524d9d6..89d5183c654 100644 --- a/core/tauri-build/CHANGELOG.md +++ b/core/tauri-build/CHANGELOG.md @@ -1,5 +1,10 @@ # Changelog +## \[1.0.0-rc.6] + +- Copy system tray icon resource to the target directory on Linux. + - [f2a30d8b](https://www.github.com/tauri-apps/tauri/commit/f2a30d8bc54fc3ba49e16f69a413eca5f61a9b1f) refactor(core): use ayatana appindicator by default, keep option to use gtk ([#3916](https://www.github.com/tauri-apps/tauri/pull/3916)) on 2022-04-19 + ## \[1.0.0-rc.5] - Print error context on the `build` panic. diff --git a/core/tauri-build/Cargo.toml b/core/tauri-build/Cargo.toml index 40c6af9cb17..c1220fb4e86 100644 --- a/core/tauri-build/Cargo.toml +++ b/core/tauri-build/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tauri-build" -version = "1.0.0-rc.5" +version = "1.0.0-rc.6" 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.0.0-rc.4", path = "../tauri-codegen", optional = true } -tauri-utils = { version = "1.0.0-rc.4", path = "../tauri-utils", features = [ "build", "resources" ] } +tauri-codegen = { version = "1.0.0-rc.5", path = "../tauri-codegen", optional = true } +tauri-utils = { version = "1.0.0-rc.5", path = "../tauri-utils", features = [ "build", "resources" ] } cargo_toml = "0.11" serde_json = "1" diff --git a/core/tauri-codegen/CHANGELOG.md b/core/tauri-codegen/CHANGELOG.md index f1929a0f84d..268b8c0187b 100644 --- a/core/tauri-codegen/CHANGELOG.md +++ b/core/tauri-codegen/CHANGELOG.md @@ -1,5 +1,10 @@ # Changelog +## \[1.0.0-rc.5] + +- Read platform-specific configuration files when generating code without the `TAURI_CONFIG` env var. + - [edf85bc1](https://www.github.com/tauri-apps/tauri/commit/edf85bc1d18450c92aee17f7f99c163abe432ebd) fix(codegen): read platform-specific config file ([#3966](https://www.github.com/tauri-apps/tauri/pull/3966)) on 2022-04-25 + ## \[1.0.0-rc.4] - Added an option to disable the CSP injection of distributable assets nonces and hashes. diff --git a/core/tauri-codegen/Cargo.toml b/core/tauri-codegen/Cargo.toml index fe6f2773e42..75af130db58 100644 --- a/core/tauri-codegen/Cargo.toml +++ b/core/tauri-codegen/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tauri-codegen" -version = "1.0.0-rc.4" +version = "1.0.0-rc.5" 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.0.0-rc.4", path = "../tauri-utils", features = [ "build" ] } +tauri-utils = { version = "1.0.0-rc.5", 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 0bccf0bbaa0..1b736997fa0 100644 --- a/core/tauri-macros/CHANGELOG.md +++ b/core/tauri-macros/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## \[1.0.0-rc.5] + +- Read platform-specific configuration files when generating code without the `TAURI_CONFIG` env var. + - Bumped due to a bump in tauri-codegen. + - [edf85bc1](https://www.github.com/tauri-apps/tauri/commit/edf85bc1d18450c92aee17f7f99c163abe432ebd) fix(codegen): read platform-specific config file ([#3966](https://www.github.com/tauri-apps/tauri/pull/3966)) on 2022-04-25 + ## \[1.0.0-rc.4] - Replace multiple dependencies who's C code compiled concurrently and caused diff --git a/core/tauri-macros/Cargo.toml b/core/tauri-macros/Cargo.toml index 54a63c8cb40..9fcf473f2ed 100644 --- a/core/tauri-macros/Cargo.toml +++ b/core/tauri-macros/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tauri-macros" -version = "1.0.0-rc.4" +version = "1.0.0-rc.5" 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.0.0-rc.4", default-features = false, path = "../tauri-codegen" } -tauri-utils = { version = "1.0.0-rc.4", path = "../tauri-utils" } +tauri-codegen = { version = "1.0.0-rc.5", default-features = false, path = "../tauri-codegen" } +tauri-utils = { version = "1.0.0-rc.5", path = "../tauri-utils" } [features] custom-protocol = [ ] diff --git a/core/tauri-runtime-wry/CHANGELOG.md b/core/tauri-runtime-wry/CHANGELOG.md index f2b8193cff2..b9598f66f76 100644 --- a/core/tauri-runtime-wry/CHANGELOG.md +++ b/core/tauri-runtime-wry/CHANGELOG.md @@ -1,5 +1,28 @@ # Changelog +## \[0.4.0] + +- \**Breaking change::* Added the `clipboard` Cargo feature. + - [24e4ff20](https://www.github.com/tauri-apps/tauri/commit/24e4ff208ee0fe1a4cc5b10667ea0922ac63dfb5) refactor(core): add clipboard Cargo feature, enhancing binary size ([#3957](https://www.github.com/tauri-apps/tauri/pull/3957)) on 2022-04-24 +- Expose Window cursor APIs `set_cursor_grab`, `set_cursor_visible`, `set_cursor_icon` and `set_cursor_position`. + - [c54ddfe9](https://www.github.com/tauri-apps/tauri/commit/c54ddfe9338e7eb90b4d5b02dfde687d432d5bc1) feat: expose window cursor APIs, closes [#3888](https://www.github.com/tauri-apps/tauri/pull/3888) [#3890](https://www.github.com/tauri-apps/tauri/pull/3890) ([#3935](https://www.github.com/tauri-apps/tauri/pull/3935)) on 2022-04-21 +- Fixes a panic when using the `create_tao_window` API. + - [320329a9](https://www.github.com/tauri-apps/tauri/commit/320329a9a7d8a249c0fc9dee6db5669057ca8b39) fix(core): insert to webview_id_map on tao window creation, closes [#3883](https://www.github.com/tauri-apps/tauri/pull/3883) ([#3932](https://www.github.com/tauri-apps/tauri/pull/3932)) on 2022-04-21 +- Fixes a panic when a menu event is triggered when all windows are minimized on macOS. + - [70ff55c1](https://www.github.com/tauri-apps/tauri/commit/70ff55c1aa69ed59cd2a78d865e1cb398ef2a4ba) fix(core): panic on menu event with minimized windows, closes [#3902](https://www.github.com/tauri-apps/tauri/pull/3902) ([#3918](https://www.github.com/tauri-apps/tauri/pull/3918)) on 2022-04-20 +- Fixes a rendering issue when resizing the window with the devtools open. + - [80b714af](https://www.github.com/tauri-apps/tauri/commit/80b714af6b31365b9026bc92f8631b1721950447) fix: rendering issue when resizing with devtools open closes [#3914](https://www.github.com/tauri-apps/tauri/pull/3914) [#3814](https://www.github.com/tauri-apps/tauri/pull/3814) ([#3915](https://www.github.com/tauri-apps/tauri/pull/3915)) on 2022-04-19 +- \**Breaking change::* Added the `global-shortcut` Cargo feature. + - [e11878bc](https://www.github.com/tauri-apps/tauri/commit/e11878bcf7174b261a1fa146fc7d564d12e6312a) refactor(core): add global-shortcut Cargo feature, enhancing binary size ([#3956](https://www.github.com/tauri-apps/tauri/pull/3956)) on 2022-04-24 +- Added `WindowEvent::ThemeChanged(theme)`. + - [4cebcf6d](https://www.github.com/tauri-apps/tauri/commit/4cebcf6da7cad1953e0f01b426afac3b5ef1f81e) feat: expose theme APIs, closes [#3903](https://www.github.com/tauri-apps/tauri/pull/3903) ([#3937](https://www.github.com/tauri-apps/tauri/pull/3937)) on 2022-04-21 +- Added `theme` getter on `Window`. + - [4cebcf6d](https://www.github.com/tauri-apps/tauri/commit/4cebcf6da7cad1953e0f01b426afac3b5ef1f81e) feat: expose theme APIs, closes [#3903](https://www.github.com/tauri-apps/tauri/pull/3903) ([#3937](https://www.github.com/tauri-apps/tauri/pull/3937)) on 2022-04-21 +- Added `theme` setter to the WindowBuilder. + - [4cebcf6d](https://www.github.com/tauri-apps/tauri/commit/4cebcf6da7cad1953e0f01b426afac3b5ef1f81e) feat: expose theme APIs, closes [#3903](https://www.github.com/tauri-apps/tauri/pull/3903) ([#3937](https://www.github.com/tauri-apps/tauri/pull/3937)) on 2022-04-21 +- Create webview immediately when executed in the main thread. + - [fa2baba7](https://www.github.com/tauri-apps/tauri/commit/fa2baba76c8f59c81f2a2f7139033a09d14d89da) feat(core): create webview immediately when running in main thread ([#3891](https://www.github.com/tauri-apps/tauri/pull/3891)) on 2022-04-12 + ## \[0.3.5] - Fixes `WindowEvent::Destroyed` not firing. diff --git a/core/tauri-runtime-wry/Cargo.toml b/core/tauri-runtime-wry/Cargo.toml index 4865778acd5..a007082e6a0 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.3.5" +version = "0.4.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.15", default-features = false, features = [ "file-drop", "protocol" ] } -tauri-runtime = { version = "0.3.4", path = "../tauri-runtime" } -tauri-utils = { version = "1.0.0-rc.4", path = "../tauri-utils" } +tauri-runtime = { version = "0.4.0", path = "../tauri-runtime" } +tauri-utils = { version = "1.0.0-rc.5", path = "../tauri-utils" } uuid = { version = "1", features = [ "v4" ] } rand = "0.8" diff --git a/core/tauri-runtime/CHANGELOG.md b/core/tauri-runtime/CHANGELOG.md index 612c00b877b..db6f2470265 100644 --- a/core/tauri-runtime/CHANGELOG.md +++ b/core/tauri-runtime/CHANGELOG.md @@ -1,5 +1,22 @@ # Changelog +## \[0.4.0] + +- The `AboutMetadata` string setters now take `impl Into`. + - [b14aa896](https://www.github.com/tauri-apps/tauri/commit/b14aa89673c3563522e5c04baf9630fa1c4739b0) feat(core): improve `AboutMetadata` setters on 2022-03-29 +- \**Breaking change::* Added the `clipboard` Cargo feature. + - [24e4ff20](https://www.github.com/tauri-apps/tauri/commit/24e4ff208ee0fe1a4cc5b10667ea0922ac63dfb5) refactor(core): add clipboard Cargo feature, enhancing binary size ([#3957](https://www.github.com/tauri-apps/tauri/pull/3957)) on 2022-04-24 +- Expose Window cursor APIs `set_cursor_grab`, `set_cursor_visible`, `set_cursor_icon` and `set_cursor_position`. + - [c54ddfe9](https://www.github.com/tauri-apps/tauri/commit/c54ddfe9338e7eb90b4d5b02dfde687d432d5bc1) feat: expose window cursor APIs, closes [#3888](https://www.github.com/tauri-apps/tauri/pull/3888) [#3890](https://www.github.com/tauri-apps/tauri/pull/3890) ([#3935](https://www.github.com/tauri-apps/tauri/pull/3935)) on 2022-04-21 +- \**Breaking change::* Added the `global-shortcut` Cargo feature. + - [e11878bc](https://www.github.com/tauri-apps/tauri/commit/e11878bcf7174b261a1fa146fc7d564d12e6312a) refactor(core): add global-shortcut Cargo feature, enhancing binary size ([#3956](https://www.github.com/tauri-apps/tauri/pull/3956)) on 2022-04-24 +- Added `WindowEvent::ThemeChanged(theme)`. + - [4cebcf6d](https://www.github.com/tauri-apps/tauri/commit/4cebcf6da7cad1953e0f01b426afac3b5ef1f81e) feat: expose theme APIs, closes [#3903](https://www.github.com/tauri-apps/tauri/pull/3903) ([#3937](https://www.github.com/tauri-apps/tauri/pull/3937)) on 2022-04-21 +- Added `theme` getter on `Window`. + - [4cebcf6d](https://www.github.com/tauri-apps/tauri/commit/4cebcf6da7cad1953e0f01b426afac3b5ef1f81e) feat: expose theme APIs, closes [#3903](https://www.github.com/tauri-apps/tauri/pull/3903) ([#3937](https://www.github.com/tauri-apps/tauri/pull/3937)) on 2022-04-21 +- Added `theme` setter to the WindowBuilder. + - [4cebcf6d](https://www.github.com/tauri-apps/tauri/commit/4cebcf6da7cad1953e0f01b426afac3b5ef1f81e) feat: expose theme APIs, closes [#3903](https://www.github.com/tauri-apps/tauri/pull/3903) ([#3937](https://www.github.com/tauri-apps/tauri/pull/3937)) on 2022-04-21 + ## \[0.3.4] - Added `close_devtools` and `is_devtools_open` APIs to the `Dispatch` trait. diff --git a/core/tauri-runtime/Cargo.toml b/core/tauri-runtime/Cargo.toml index f2603c02853..24ac2798f61 100644 --- a/core/tauri-runtime/Cargo.toml +++ b/core/tauri-runtime/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tauri-runtime" -version = "0.3.4" +version = "0.4.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.0.0-rc.4", path = "../tauri-utils" } +tauri-utils = { version = "1.0.0-rc.5", 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 42b0cbaca82..660dc53d09e 100644 --- a/core/tauri-utils/CHANGELOG.md +++ b/core/tauri-utils/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +## \[1.0.0-rc.5] + +- Added the `io` module with the `read_line` method. + - [b5622882](https://www.github.com/tauri-apps/tauri/commit/b5622882cf3748e1e5a90915f415c0cd922aaaf8) fix(cli): exit on non-compilation Cargo errors, closes [#3930](https://www.github.com/tauri-apps/tauri/pull/3930) ([#3942](https://www.github.com/tauri-apps/tauri/pull/3942)) on 2022-04-22 +- **Breaking change:** Removed the `useBootstrapper` option. Use https://github.com/tauri-apps/fix-path-env-rs instead. + - [6a5ff08c](https://www.github.com/tauri-apps/tauri/commit/6a5ff08ce9052b656aa40accedfd4315825164a3) refactor: remove bootstrapper, closes [#3786](https://www.github.com/tauri-apps/tauri/pull/3786) ([#3832](https://www.github.com/tauri-apps/tauri/pull/3832)) on 2022-03-31 + ## \[1.0.0-rc.4] - Added an option to disable the CSP injection of distributable assets nonces and hashes. diff --git a/core/tauri-utils/Cargo.toml b/core/tauri-utils/Cargo.toml index 0dc8c926efe..13585d012ab 100644 --- a/core/tauri-utils/Cargo.toml +++ b/core/tauri-utils/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tauri-utils" -version = "1.0.0-rc.4" +version = "1.0.0-rc.5" authors = [ "Tauri Programme within The Commons Conservancy" ] license = "Apache-2.0 OR MIT" homepage = "https://tauri.studio" diff --git a/core/tauri/CHANGELOG.md b/core/tauri/CHANGELOG.md index d160b161b30..22c5682f7c3 100644 --- a/core/tauri/CHANGELOG.md +++ b/core/tauri/CHANGELOG.md @@ -1,5 +1,74 @@ # Changelog +## \[1.0.0-rc.7] + +- **Breaking change:** Removed `tauri::api::file::ArchiveFormat::Plain`. + - [f7d3d93b](https://www.github.com/tauri-apps/tauri/commit/f7d3d93b625ffc8bccf8068793f44af2f9a4f997) refactor(core): improve performance of the `extract` API ([#3963](https://www.github.com/tauri-apps/tauri/pull/3963)) on 2022-04-25 +- Fallback to `{path}.html` when `{path}` is not found in the Tauri custom protocol handler. + - [7864d41d](https://www.github.com/tauri-apps/tauri/commit/7864d41de8650f20fa73cefbddd78381b9d8aa11) feat(core): fallback to `{path}.html` in Tauri protocol loader ref [#3887](https://www.github.com/tauri-apps/tauri/pull/3887) ([#3939](https://www.github.com/tauri-apps/tauri/pull/3939)) on 2022-04-21 +- **Breaking change:** Use ayatana-appindicator for Linux system tray by default. Use the `gtk-tray` Cargo feature to use `libappindicator` instead. + - [f2a30d8b](https://www.github.com/tauri-apps/tauri/commit/f2a30d8bc54fc3ba49e16f69a413eca5f61a9b1f) refactor(core): use ayatana appindicator by default, keep option to use gtk ([#3916](https://www.github.com/tauri-apps/tauri/pull/3916)) on 2022-04-19 +- Reduce the amount of generated code for the API endpoints. + - [c23f139b](https://www.github.com/tauri-apps/tauri/commit/c23f139ba86628fe0217a966bc8676afe7202a05) perf(core): improve binary size with api enum serde refactor ([#3952](https://www.github.com/tauri-apps/tauri/pull/3952)) on 2022-04-24 +- \**Breaking change::* Added the `clipboard` Cargo feature. + - [24e4ff20](https://www.github.com/tauri-apps/tauri/commit/24e4ff208ee0fe1a4cc5b10667ea0922ac63dfb5) refactor(core): add clipboard Cargo feature, enhancing binary size ([#3957](https://www.github.com/tauri-apps/tauri/pull/3957)) on 2022-04-24 +- **Breaking change:** The process Command API stdio lines now includes the trailing `\r`. + - [b5622882](https://www.github.com/tauri-apps/tauri/commit/b5622882cf3748e1e5a90915f415c0cd922aaaf8) fix(cli): exit on non-compilation Cargo errors, closes [#3930](https://www.github.com/tauri-apps/tauri/pull/3930) ([#3942](https://www.github.com/tauri-apps/tauri/pull/3942)) on 2022-04-22 +- Expose Window cursor APIs `set_cursor_grab`, `set_cursor_visible`, `set_cursor_icon` and `set_cursor_position`. + - [c54ddfe9](https://www.github.com/tauri-apps/tauri/commit/c54ddfe9338e7eb90b4d5b02dfde687d432d5bc1) feat: expose window cursor APIs, closes [#3888](https://www.github.com/tauri-apps/tauri/pull/3888) [#3890](https://www.github.com/tauri-apps/tauri/pull/3890) ([#3935](https://www.github.com/tauri-apps/tauri/pull/3935)) on 2022-04-21 +- **Breaking change:** The `tauri::api::file::Extract#extract_file` function has been moved to `tauri::api::file::Entry#extract`. + - [f7d3d93b](https://www.github.com/tauri-apps/tauri/commit/f7d3d93b625ffc8bccf8068793f44af2f9a4f997) refactor(core): improve performance of the `extract` API ([#3963](https://www.github.com/tauri-apps/tauri/pull/3963)) on 2022-04-25 +- **Breaking change:** The `tauri::api::file::Extract#files` function has been renamed to `with_files` for performance reasons. + - [f7d3d93b](https://www.github.com/tauri-apps/tauri/commit/f7d3d93b625ffc8bccf8068793f44af2f9a4f997) refactor(core): improve performance of the `extract` API ([#3963](https://www.github.com/tauri-apps/tauri/pull/3963)) on 2022-04-25 +- Improved the performance of the `tauri::api::fs::Extract` API. + - [f7d3d93b](https://www.github.com/tauri-apps/tauri/commit/f7d3d93b625ffc8bccf8068793f44af2f9a4f997) refactor(core): improve performance of the `extract` API ([#3963](https://www.github.com/tauri-apps/tauri/pull/3963)) on 2022-04-25 +- Fixes a panic when using the `create_tao_window` API. + - [320329a9](https://www.github.com/tauri-apps/tauri/commit/320329a9a7d8a249c0fc9dee6db5669057ca8b39) fix(core): insert to webview_id_map on tao window creation, closes [#3883](https://www.github.com/tauri-apps/tauri/pull/3883) ([#3932](https://www.github.com/tauri-apps/tauri/pull/3932)) on 2022-04-21 +- Fixes the HTTP API form text fields. + - [cc356084](https://www.github.com/tauri-apps/tauri/commit/cc35608430b47101255b93ae2f58dfd15e1297d3) fix(core): do not serialize strings in http api form, closes [#3910](https://www.github.com/tauri-apps/tauri/pull/3910) ([#3928](https://www.github.com/tauri-apps/tauri/pull/3928)) on 2022-04-20 +- Set the application bundle identifier for the notifications on macOS. + - [f67ae6bd](https://www.github.com/tauri-apps/tauri/commit/f67ae6bd6052d5bc30305ecaa3b83d071da3cfca) fix(core): set bundle id for notifications on macOS ([#3839](https://www.github.com/tauri-apps/tauri/pull/3839)) on 2022-04-01 +- Fixes a panic when a menu event is triggered when all windows are minimized on macOS. + - [70ff55c1](https://www.github.com/tauri-apps/tauri/commit/70ff55c1aa69ed59cd2a78d865e1cb398ef2a4ba) fix(core): panic on menu event with minimized windows, closes [#3902](https://www.github.com/tauri-apps/tauri/pull/3902) ([#3918](https://www.github.com/tauri-apps/tauri/pull/3918)) on 2022-04-20 +- Fixes a rendering issue when resizing the window with the devtools open. + - [80b714af](https://www.github.com/tauri-apps/tauri/commit/80b714af6b31365b9026bc92f8631b1721950447) fix: rendering issue when resizing with devtools open closes [#3914](https://www.github.com/tauri-apps/tauri/pull/3914) [#3814](https://www.github.com/tauri-apps/tauri/pull/3814) ([#3915](https://www.github.com/tauri-apps/tauri/pull/3915)) on 2022-04-19 +- Fixes the `WindowBuilder` export. + - [985d2508](https://www.github.com/tauri-apps/tauri/commit/985d250898f07ebc975b579ea25555337947ab76) fix(tauri): export `WindowBuilder` struct instead of trait, closes [#3827](https://www.github.com/tauri-apps/tauri/pull/3827) ([#3833](https://www.github.com/tauri-apps/tauri/pull/3833)) on 2022-03-31 +- The HTTP API now supports `multipart/form-data` requests. You need to set the `Content-Type` header and enable the `http-multipart` Cargo feature. + - [1397d912](https://www.github.com/tauri-apps/tauri/commit/1397d9121aae8188bceceacae5565fbbeb67ddd9) feat(core): add support to multipart/form-data requests, closes [#2118](https://www.github.com/tauri-apps/tauri/pull/2118) ([#3929](https://www.github.com/tauri-apps/tauri/pull/3929)) on 2022-04-22 +- \**Breaking change::* Added the `global-shortcut` Cargo feature. + - [e11878bc](https://www.github.com/tauri-apps/tauri/commit/e11878bcf7174b261a1fa146fc7d564d12e6312a) refactor(core): add global-shortcut Cargo feature, enhancing binary size ([#3956](https://www.github.com/tauri-apps/tauri/pull/3956)) on 2022-04-24 +- Added `tauri::api::http::HttpRequestBuilder#header` method. + - [81705bb3](https://www.github.com/tauri-apps/tauri/commit/81705bb332623a53433c28d941ff00da1a6d50fa) feat(updater): add method to set request headers closes [#3896](https://www.github.com/tauri-apps/tauri/pull/3896) ([#3931](https://www.github.com/tauri-apps/tauri/pull/3931)) on 2022-04-22 +- **Breaking change:** The `tauri::api::http::HttpRequestBuilder#headers` method now takes `header::HeaderMap` instead of a `HashMap`. + - [81705bb3](https://www.github.com/tauri-apps/tauri/commit/81705bb332623a53433c28d941ff00da1a6d50fa) feat(updater): add method to set request headers closes [#3896](https://www.github.com/tauri-apps/tauri/pull/3896) ([#3931](https://www.github.com/tauri-apps/tauri/pull/3931)) on 2022-04-22 +- **Breaking change:** The `tauri::api::http::Response#headers` method now returns `&header::HeaderMap` instead of `&HashMap`. + - [81705bb3](https://www.github.com/tauri-apps/tauri/commit/81705bb332623a53433c28d941ff00da1a6d50fa) feat(updater): add method to set request headers closes [#3896](https://www.github.com/tauri-apps/tauri/pull/3896) ([#3931](https://www.github.com/tauri-apps/tauri/pull/3931)) on 2022-04-22 +- **Breaking change:** The `api::http` timeouts are now represented as `std::time::Duration` instead of a `u64`. + - [0ecfad59](https://www.github.com/tauri-apps/tauri/commit/0ecfad5924d7e19719812fd2e460e5242d8f352f) refactor(updater): unset request timeout, add builder setter ([#3847](https://www.github.com/tauri-apps/tauri/pull/3847)) on 2022-04-02 +- **Breaking change:** The `tauri::api::http::FormPart::Bytes` enum variant has been renamed to `File` with a value object `{ file, mime, file_name }`. + - [1397d912](https://www.github.com/tauri-apps/tauri/commit/1397d9121aae8188bceceacae5565fbbeb67ddd9) feat(core): add support to multipart/form-data requests, closes [#2118](https://www.github.com/tauri-apps/tauri/pull/2118) ([#3929](https://www.github.com/tauri-apps/tauri/pull/3929)) on 2022-04-22 +- **Breaking change:** Removed `App::create_window`, `AppHandle::create_window`, `Builder::create_window` and `Window::create_window`. + - [7c7d854a](https://www.github.com/tauri-apps/tauri/commit/7c7d854ab9183d3f78bafd9027f0304d84abe159) refactor(core): remove deprecated APIs ([#3834](https://www.github.com/tauri-apps/tauri/pull/3834)) on 2022-04-01 +- **Breaking change:** Removed `tauri::api::http::FormPart::File`. + - [cc356084](https://www.github.com/tauri-apps/tauri/commit/cc35608430b47101255b93ae2f58dfd15e1297d3) fix(core): do not serialize strings in http api form, closes [#3910](https://www.github.com/tauri-apps/tauri/pull/3910) ([#3928](https://www.github.com/tauri-apps/tauri/pull/3928)) on 2022-04-20 +- Added `WindowEvent::ThemeChanged(theme)`. + - [4cebcf6d](https://www.github.com/tauri-apps/tauri/commit/4cebcf6da7cad1953e0f01b426afac3b5ef1f81e) feat: expose theme APIs, closes [#3903](https://www.github.com/tauri-apps/tauri/pull/3903) ([#3937](https://www.github.com/tauri-apps/tauri/pull/3937)) on 2022-04-21 +- Added `theme` getter on `Window`. + - [4cebcf6d](https://www.github.com/tauri-apps/tauri/commit/4cebcf6da7cad1953e0f01b426afac3b5ef1f81e) feat: expose theme APIs, closes [#3903](https://www.github.com/tauri-apps/tauri/pull/3903) ([#3937](https://www.github.com/tauri-apps/tauri/pull/3937)) on 2022-04-21 +- Added `UpdateResponse::body` and `UpdateResponse::date`. + - [c7696f34](https://www.github.com/tauri-apps/tauri/commit/c7696f34ecb7baa0da583736e727f74a01f5996a) feat(updater): add `body` and `date` getters ([#3802](https://www.github.com/tauri-apps/tauri/pull/3802)) on 2022-03-29 +- **Breaking change**: Removed the `tauri::updater::Error::UnsupportedPlatform` variant and added `UnsupportedLinuxPackage`, `UnsupportedOs` and `UnsupportedArch` for better error information. + - [ed716793](https://www.github.com/tauri-apps/tauri/commit/ed71679368845f603680465fdffcc90fe842bb8c) refactor(updater): improve unsupported error variants, closes [#3817](https://www.github.com/tauri-apps/tauri/pull/3817) ([#3849](https://www.github.com/tauri-apps/tauri/pull/3849)) on 2022-04-05 +- Add updater `Downloaded` status event. + - [9712ed1a](https://www.github.com/tauri-apps/tauri/commit/9712ed1a6893438270e99cfecbc7968b68716cba) feat(updater): add `Downloaded` status event ([#3804](https://www.github.com/tauri-apps/tauri/pull/3804)) on 2022-04-01 +- Allow setting app updater request headers via `AppHandle::updater().header()`. + - [81705bb3](https://www.github.com/tauri-apps/tauri/commit/81705bb332623a53433c28d941ff00da1a6d50fa) feat(updater): add method to set request headers closes [#3896](https://www.github.com/tauri-apps/tauri/pull/3896) ([#3931](https://www.github.com/tauri-apps/tauri/pull/3931)) on 2022-04-22 +- The updater default timeout is now unset, and the `UpdateBuilder` has a `timeout` setter. + - [0ecfad59](https://www.github.com/tauri-apps/tauri/commit/0ecfad5924d7e19719812fd2e460e5242d8f352f) refactor(updater): unset request timeout, add builder setter ([#3847](https://www.github.com/tauri-apps/tauri/pull/3847)) on 2022-04-02 +- Added `theme` setter to the WindowBuilder. + - [4cebcf6d](https://www.github.com/tauri-apps/tauri/commit/4cebcf6da7cad1953e0f01b426afac3b5ef1f81e) feat: expose theme APIs, closes [#3903](https://www.github.com/tauri-apps/tauri/pull/3903) ([#3937](https://www.github.com/tauri-apps/tauri/pull/3937)) on 2022-04-21 + ## \[1.0.0-rc.6] - Fixes the `WindowEvent` type used on `Window::on_window_event`. diff --git a/core/tauri/Cargo.toml b/core/tauri/Cargo.toml index bccef72d816..27420c62bf8 100644 --- a/core/tauri/Cargo.toml +++ b/core/tauri/Cargo.toml @@ -16,7 +16,7 @@ license = "Apache-2.0 OR MIT" name = "tauri" readme = "README.md" repository = "https://github.com/tauri-apps/tauri" -version = "1.0.0-rc.6" +version = "1.0.0-rc.7" [package.metadata.docs.rs] no-default-features = true @@ -52,10 +52,10 @@ url = { version = "2.2" } anyhow = "1.0" thiserror = "1.0" once_cell = "1.10" -tauri-runtime = { version = "0.3.4", path = "../tauri-runtime" } -tauri-macros = { version = "1.0.0-rc.4", path = "../tauri-macros" } -tauri-utils = { version = "1.0.0-rc.4", path = "../tauri-utils" } -tauri-runtime-wry = { version = "0.3.5", path = "../tauri-runtime-wry", optional = true } +tauri-runtime = { version = "0.4.0", path = "../tauri-runtime" } +tauri-macros = { version = "1.0.0-rc.5", path = "../tauri-macros" } +tauri-utils = { version = "1.0.0-rc.5", path = "../tauri-utils" } +tauri-runtime-wry = { version = "0.4.0", path = "../tauri-runtime-wry", optional = true } rand = "0.8" semver = "1.0" serde_repr = "0.1" @@ -142,7 +142,10 @@ shell-open-api = [ "open", "regex", "tauri-macros/shell-scope" ] fs-extract-api = [ "zip" ] reqwest-client = [ "reqwest", "bytes" ] process-command-api = [ "shared_child", "os_pipe" ] -global-shortcut = [ "tauri-runtime/global-shortcut", "tauri-runtime-wry/global-shortcut" ] +global-shortcut = [ + "tauri-runtime/global-shortcut", + "tauri-runtime-wry/global-shortcut" +] clipboard = [ "tauri-runtime/clipboard", "tauri-runtime-wry/clipboard" ] dialog = [ "rfd" ] notification = [ "notify-rust" ] diff --git a/tooling/api/CHANGELOG.md b/tooling/api/CHANGELOG.md index 00cc4adf27b..64dad59d2bb 100644 --- a/tooling/api/CHANGELOG.md +++ b/tooling/api/CHANGELOG.md @@ -1,5 +1,20 @@ # Changelog +## \[1.0.0-rc.4] + +- Encode the file path in the `convertFileSrc` function. + - [42e8d9cf](https://www.github.com/tauri-apps/tauri/commit/42e8d9cf925089e9ad591198ee04b0cc0a0eed48) fix(api): encode file path in `convertFileSrc` function, closes [#3841](https://www.github.com/tauri-apps/tauri/pull/3841) ([#3846](https://www.github.com/tauri-apps/tauri/pull/3846)) on 2022-04-02 +- Added `theme` getter to `WebviewWindow`. + - [4cebcf6d](https://www.github.com/tauri-apps/tauri/commit/4cebcf6da7cad1953e0f01b426afac3b5ef1f81e) feat: expose theme APIs, closes [#3903](https://www.github.com/tauri-apps/tauri/pull/3903) ([#3937](https://www.github.com/tauri-apps/tauri/pull/3937)) on 2022-04-21 +- Added `theme` field to `WindowOptions`. + - [4cebcf6d](https://www.github.com/tauri-apps/tauri/commit/4cebcf6da7cad1953e0f01b426afac3b5ef1f81e) feat: expose theme APIs, closes [#3903](https://www.github.com/tauri-apps/tauri/pull/3903) ([#3937](https://www.github.com/tauri-apps/tauri/pull/3937)) on 2022-04-21 +- Added the `setCursorGrab`, `setCursorVisible`, `setCursorIcon` and `setCursorPosition` methods to the `WebviewWindow` class. + - [c54ddfe9](https://www.github.com/tauri-apps/tauri/commit/c54ddfe9338e7eb90b4d5b02dfde687d432d5bc1) feat: expose window cursor APIs, closes [#3888](https://www.github.com/tauri-apps/tauri/pull/3888) [#3890](https://www.github.com/tauri-apps/tauri/pull/3890) ([#3935](https://www.github.com/tauri-apps/tauri/pull/3935)) on 2022-04-21 +- **Breaking change:** The process Command API stdio lines now includes the trailing `\r`. + - [b5622882](https://www.github.com/tauri-apps/tauri/commit/b5622882cf3748e1e5a90915f415c0cd922aaaf8) fix(cli): exit on non-compilation Cargo errors, closes [#3930](https://www.github.com/tauri-apps/tauri/pull/3930) ([#3942](https://www.github.com/tauri-apps/tauri/pull/3942)) on 2022-04-22 +- Added the `tauri://theme-changed` event. + - [4cebcf6d](https://www.github.com/tauri-apps/tauri/commit/4cebcf6da7cad1953e0f01b426afac3b5ef1f81e) feat: expose theme APIs, closes [#3903](https://www.github.com/tauri-apps/tauri/pull/3903) ([#3937](https://www.github.com/tauri-apps/tauri/pull/3937)) on 2022-04-21 + ## \[1.0.0-rc.3] - Properly define the `appWindow` type. diff --git a/tooling/api/package.json b/tooling/api/package.json index ce2c2bd90f7..7c53de9d1ca 100644 --- a/tooling/api/package.json +++ b/tooling/api/package.json @@ -1,6 +1,6 @@ { "name": "@tauri-apps/api", - "version": "1.0.0-rc.3", + "version": "1.0.0-rc.4", "description": "Tauri API definitions", "type": "module", "funding": { diff --git a/tooling/bundler/CHANGELOG.md b/tooling/bundler/CHANGELOG.md index 03803d97e35..876a1ea7e45 100644 --- a/tooling/bundler/CHANGELOG.md +++ b/tooling/bundler/CHANGELOG.md @@ -1,5 +1,14 @@ # Changelog +## \[1.0.0-rc.5] + +- Set the Debian control file `Priority` field to `optional`. + - [3bd3d923](https://www.github.com/tauri-apps/tauri/commit/3bd3d923d32144b4e28f9f597edf74ee422a9b54) fix: add priority field in debian/control ([#3865](https://www.github.com/tauri-apps/tauri/pull/3865)) on 2022-04-20 +- Fixes DLL resource usage on Windows. + - [f66bc3c2](https://www.github.com/tauri-apps/tauri/commit/f66bc3c2b8360b8b685dcadeb373852abe43d9e5) fix(bundler): DLL resources, closes [#3948](https://www.github.com/tauri-apps/tauri/pull/3948) ([#3949](https://www.github.com/tauri-apps/tauri/pull/3949)) on 2022-04-23 +- **Breaking change:** Removed the `useBootstrapper` option. Use https://github.com/tauri-apps/fix-path-env-rs instead. + - [6a5ff08c](https://www.github.com/tauri-apps/tauri/commit/6a5ff08ce9052b656aa40accedfd4315825164a3) refactor: remove bootstrapper, closes [#3786](https://www.github.com/tauri-apps/tauri/pull/3786) ([#3832](https://www.github.com/tauri-apps/tauri/pull/3832)) on 2022-03-31 + ## \[1.0.0-rc.4] - Fixes DMG bundling on macOS 12.3. diff --git a/tooling/bundler/Cargo.toml b/tooling/bundler/Cargo.toml index 883a8a1cf4f..fba66601d9e 100644 --- a/tooling/bundler/Cargo.toml +++ b/tooling/bundler/Cargo.toml @@ -2,7 +2,7 @@ workspace = { } [package] name = "tauri-bundler" -version = "1.0.0-rc.4" +version = "1.0.0-rc.5" authors = [ "George Burton ", "Tauri Programme within The Commons Conservancy" @@ -22,7 +22,7 @@ exclude = [ ] [dependencies] -tauri-utils = { version = "1.0.0-rc.4", path = "../../core/tauri-utils", features = [ "resources" ] } +tauri-utils = { version = "1.0.0-rc.5", path = "../../core/tauri-utils", features = [ "resources" ] } ar = "0.9.0" icns = "0.3" image = "0.24.1" diff --git a/tooling/cli/CHANGELOG.md b/tooling/cli/CHANGELOG.md index a227a34473a..187c412fcd3 100644 --- a/tooling/cli/CHANGELOG.md +++ b/tooling/cli/CHANGELOG.md @@ -1,5 +1,25 @@ # Changelog +## \[1.0.0-rc.9] + +- Exit CLI when Cargo returns a non-compilation error in `tauri dev`. + - [b5622882](https://www.github.com/tauri-apps/tauri/commit/b5622882cf3748e1e5a90915f415c0cd922aaaf8) fix(cli): exit on non-compilation Cargo errors, closes [#3930](https://www.github.com/tauri-apps/tauri/pull/3930) ([#3942](https://www.github.com/tauri-apps/tauri/pull/3942)) on 2022-04-22 +- Notify CLI update when running `tauri dev`. + - [a649aad7](https://www.github.com/tauri-apps/tauri/commit/a649aad7ad26d4578699370d6e63d80edeca1f97) feat(cli): check and notify about updates on `tauri dev`, closes [#3789](https://www.github.com/tauri-apps/tauri/pull/3789) ([#3960](https://www.github.com/tauri-apps/tauri/pull/3960)) on 2022-04-25 +- The CLI will not automatically run `strip` on release binaries anymore. Use the \[`strip`]\[strip] profile setting stabilized with Cargo 1.59. + +[`strip`]: https://doc.rust-lang.org/cargo/reference/profiles.html#strip + +- [62106224](https://www.github.com/tauri-apps/tauri/commit/621062246d065f21800d340126cf58315177f97e) refactor: drop strip from build command. closes [#3559](https://www.github.com/tauri-apps/tauri/pull/3559) ([#3863](https://www.github.com/tauri-apps/tauri/pull/3863)) on 2022-04-06 +- Kill the `beforeDevCommand` and app processes if the dev command returns an error. + - [485c9743](https://www.github.com/tauri-apps/tauri/commit/485c97438ac956d86bcf3794ceaa626bef968a4e) fix(cli): kill beforeDevCommand if dev code returns an error ([#3907](https://www.github.com/tauri-apps/tauri/pull/3907)) on 2022-04-19 +- Fix `info` command showing outdated text for latest versions. + - [73a4b74a](https://www.github.com/tauri-apps/tauri/commit/73a4b74aea8544e6fda51c1f6697630b0768072c) fix(cli.rs/info): don't show outdated text for latest versions ([#3829](https://www.github.com/tauri-apps/tauri/pull/3829)) on 2022-04-02 +- **Breaking change:** Enable default Cargo features except `tauri/custom-protocol` on the dev command. + - [f2a30d8b](https://www.github.com/tauri-apps/tauri/commit/f2a30d8bc54fc3ba49e16f69a413eca5f61a9b1f) refactor(core): use ayatana appindicator by default, keep option to use gtk ([#3916](https://www.github.com/tauri-apps/tauri/pull/3916)) on 2022-04-19 +- Kill the `beforeDevCommand` process recursively on Unix. + - [e251e1b0](https://www.github.com/tauri-apps/tauri/commit/e251e1b0991d26ab10aea33cfb228f3e7f0f85b5) fix(cli): kill before dev command recursively on Unix, closes [#2794](https://www.github.com/tauri-apps/tauri/pull/2794) ([#3848](https://www.github.com/tauri-apps/tauri/pull/3848)) on 2022-04-03 + ## \[1.0.0-rc.8] - Allows the `tauri.conf.json` file to be git ignored on the path lookup function. diff --git a/tooling/cli/Cargo.lock b/tooling/cli/Cargo.lock index aac2fc5d465..b97ddf3d173 100644 --- a/tooling/cli/Cargo.lock +++ b/tooling/cli/Cargo.lock @@ -2665,7 +2665,7 @@ dependencies = [ [[package]] name = "tauri-bundler" -version = "1.0.0-rc.4" +version = "1.0.0-rc.5" dependencies = [ "anyhow", "ar", @@ -2701,7 +2701,7 @@ dependencies = [ [[package]] name = "tauri-cli" -version = "1.0.0-rc.8" +version = "1.0.0-rc.9" dependencies = [ "anyhow", "base64", @@ -2755,7 +2755,7 @@ dependencies = [ [[package]] name = "tauri-utils" -version = "1.0.0-rc.4" +version = "1.0.0-rc.5" dependencies = [ "aes-gcm", "ctor", diff --git a/tooling/cli/Cargo.toml b/tooling/cli/Cargo.toml index 99e12e3d67b..c72d3e5dfb0 100644 --- a/tooling/cli/Cargo.toml +++ b/tooling/cli/Cargo.toml @@ -3,7 +3,7 @@ members = [ "node" ] [package] name = "tauri-cli" -version = "1.0.0-rc.8" +version = "1.0.0-rc.9" authors = [ "Tauri Programme within The Commons Conservancy" ] edition = "2021" rust-version = "1.57" @@ -30,7 +30,7 @@ path = "src/main.rs" [dependencies] clap = { version = "3.1", features = [ "derive" ] } anyhow = "1.0" -tauri-bundler = { version = "1.0.0-rc.4", path = "../bundler" } +tauri-bundler = { version = "1.0.0-rc.5", path = "../bundler" } colored = "2.0" once_cell = "1.10" serde = { version = "1.0", features = [ "derive" ] } @@ -40,7 +40,7 @@ notify = "4.0" shared_child = "1.0" toml_edit = "0.14" json-patch = "0.2" -tauri-utils = { version = "1.0.0-rc.4", path = "../../core/tauri-utils", features = [ "isolation", "schema", "config-json5" ] } +tauri-utils = { version = "1.0.0-rc.5", path = "../../core/tauri-utils", features = [ "isolation", "schema", "config-json5" ] } toml = "0.5" valico = "3.6" handlebars = "4.2" diff --git a/tooling/cli/metadata.json b/tooling/cli/metadata.json index a9102f5d82c..dcd552bd011 100644 --- a/tooling/cli/metadata.json +++ b/tooling/cli/metadata.json @@ -1,8 +1,8 @@ { "cli.js": { - "version": "1.0.0-rc.8", + "version": "1.0.0-rc.9", "node": ">= 10" }, - "tauri": "1.0.0-rc.6", - "tauri-build": "1.0.0-rc.5" + "tauri": "1.0.0-rc.7", + "tauri-build": "1.0.0-rc.6" } diff --git a/tooling/cli/node/CHANGELOG.md b/tooling/cli/node/CHANGELOG.md index a09d7d5002f..279f2076d16 100644 --- a/tooling/cli/node/CHANGELOG.md +++ b/tooling/cli/node/CHANGELOG.md @@ -1,5 +1,20 @@ # Changelog +## \[1.0.0-rc.9] + +- Exit CLI when Cargo returns a non-compilation error in `tauri dev`. + - [b5622882](https://www.github.com/tauri-apps/tauri/commit/b5622882cf3748e1e5a90915f415c0cd922aaaf8) fix(cli): exit on non-compilation Cargo errors, closes [#3930](https://www.github.com/tauri-apps/tauri/pull/3930) ([#3942](https://www.github.com/tauri-apps/tauri/pull/3942)) on 2022-04-22 +- Notify CLI update when running `tauri dev`. + - [a649aad7](https://www.github.com/tauri-apps/tauri/commit/a649aad7ad26d4578699370d6e63d80edeca1f97) feat(cli): check and notify about updates on `tauri dev`, closes [#3789](https://www.github.com/tauri-apps/tauri/pull/3789) ([#3960](https://www.github.com/tauri-apps/tauri/pull/3960)) on 2022-04-25 +- Kill the `beforeDevCommand` and app processes if the dev command returns an error. + - [485c9743](https://www.github.com/tauri-apps/tauri/commit/485c97438ac956d86bcf3794ceaa626bef968a4e) fix(cli): kill beforeDevCommand if dev code returns an error ([#3907](https://www.github.com/tauri-apps/tauri/pull/3907)) on 2022-04-19 +- Fix `info` command showing outdated text for latest versions. + - [73a4b74a](https://www.github.com/tauri-apps/tauri/commit/73a4b74aea8544e6fda51c1f6697630b0768072c) fix(cli.rs/info): don't show outdated text for latest versions ([#3829](https://www.github.com/tauri-apps/tauri/pull/3829)) on 2022-04-02 +- **Breaking change:** Enable default Cargo features except `tauri/custom-protocol` on the dev command. + - [f2a30d8b](https://www.github.com/tauri-apps/tauri/commit/f2a30d8bc54fc3ba49e16f69a413eca5f61a9b1f) refactor(core): use ayatana appindicator by default, keep option to use gtk ([#3916](https://www.github.com/tauri-apps/tauri/pull/3916)) on 2022-04-19 +- Kill the `beforeDevCommand` process recursively on Unix. + - [e251e1b0](https://www.github.com/tauri-apps/tauri/commit/e251e1b0991d26ab10aea33cfb228f3e7f0f85b5) fix(cli): kill before dev command recursively on Unix, closes [#2794](https://www.github.com/tauri-apps/tauri/pull/2794) ([#3848](https://www.github.com/tauri-apps/tauri/pull/3848)) on 2022-04-03 + ## \[1.0.0-rc.8] - Allows the `tauri.conf.json` file to be git ignored on the path lookup function. diff --git a/tooling/cli/node/package.json b/tooling/cli/node/package.json index 81eff1feee0..96d82297fcf 100644 --- a/tooling/cli/node/package.json +++ b/tooling/cli/node/package.json @@ -1,6 +1,6 @@ { "name": "@tauri-apps/cli", - "version": "1.0.0-rc.8", + "version": "1.0.0-rc.9", "description": "Command line interface for building Tauri apps", "funding": { "type": "opencollective",