mirror of
https://github.com/tauri-apps/tauri.git
synced 2024-12-29 14:04:19 +03:00
apply version updates (#2121)
This commit is contained in:
parent
3389bd8180
commit
e48bb3edff
@ -1,8 +1,10 @@
|
||||
{
|
||||
"tag": "beta",
|
||||
"changes": [
|
||||
".changes/allow-prevent-window-close.md",
|
||||
".changes/anonymous-lifetimes.md",
|
||||
".changes/api-cjs-chunks.md",
|
||||
".changes/api-convert-file-url.md",
|
||||
".changes/api-export-BaseDirectory.md",
|
||||
".changes/api-export-package-json.md",
|
||||
".changes/api-export-type-fix.md",
|
||||
@ -18,10 +20,12 @@
|
||||
".changes/api-skip-taskbar.md",
|
||||
".changes/api-transparent-window.md",
|
||||
".changes/api-window-center.md",
|
||||
".changes/app-callback.md",
|
||||
".changes/app-dir-refactor.md",
|
||||
".changes/app-handle-create-window.md",
|
||||
".changes/app-handle.md",
|
||||
".changes/app-state.md",
|
||||
".changes/appwindow-events.md",
|
||||
".changes/asset-protocol.md",
|
||||
".changes/assets-refactor.md",
|
||||
".changes/async-commands.md",
|
||||
@ -34,12 +38,14 @@
|
||||
".changes/bundler-not-copy-resources-outdir.md",
|
||||
".changes/bundler-package-types.md",
|
||||
".changes/bundler-windows-icon-path.md",
|
||||
".changes/bundler-windows-uninstaller.md",
|
||||
".changes/cargo-cache.md",
|
||||
".changes/child-process-cleanup.md",
|
||||
".changes/cli-error-logging.md",
|
||||
".changes/cli-error-message.md",
|
||||
".changes/cli-init-infer-prompts.md",
|
||||
".changes/cli-rs-info-webview2.md",
|
||||
".changes/cli-rs-powerhsell-no-profile.md",
|
||||
".changes/cli-runner-arg.md",
|
||||
".changes/cli-target-triple.md",
|
||||
".changes/cli-targets-refactor.md",
|
||||
@ -50,6 +56,7 @@
|
||||
".changes/cli.rs-dev-workspaces.md",
|
||||
".changes/cli.rs-features-arg.md",
|
||||
".changes/cli.rs-libwebkit2gtk-4.0-37.md",
|
||||
".changes/cli.rs-release-arg.md",
|
||||
".changes/clipboard-api.md",
|
||||
".changes/cmd-invoke-binding.md",
|
||||
".changes/cmd-touch-bindings.md",
|
||||
@ -71,6 +78,7 @@
|
||||
".changes/create-window-refactor.md",
|
||||
".changes/csp-self.md",
|
||||
".changes/csp.md",
|
||||
".changes/cta-added-angular-cli.md",
|
||||
".changes/cta-explicitly-install-vite.md",
|
||||
".changes/cta-shift-and-type.md",
|
||||
".changes/cta-testing-suite.md",
|
||||
@ -103,14 +111,18 @@
|
||||
".changes/fix-command-event-channel.md",
|
||||
".changes/fix-command-named-cmd.md",
|
||||
".changes/fix-custom-protocol.md",
|
||||
".changes/fix-data-tauri-drag-region.md",
|
||||
".changes/fix-dialog-allowlist..md",
|
||||
".changes/fix-dmg-volume-icon.md",
|
||||
".changes/fix-drag-and-drop.md",
|
||||
".changes/fix-http-binary-response.md",
|
||||
".changes/fix-http-resolve-error.md",
|
||||
".changes/fix-javascript-iife-esm-rewrite.md",
|
||||
".changes/fix-macos-updater.md",
|
||||
".changes/fix-notifications-on-windows.md",
|
||||
".changes/fix-reqwest-headers.md",
|
||||
".changes/fix-svg-mime-type.md",
|
||||
".changes/fix-window-config-center-focus.md",
|
||||
".changes/fix-window-events.md",
|
||||
".changes/fix-window-get-all.md",
|
||||
".changes/fix-window-getter-deadlock.md",
|
||||
@ -118,15 +130,21 @@
|
||||
".changes/fix-wix-resources.md",
|
||||
".changes/focus.md",
|
||||
".changes/global-shortcut-refactor.md",
|
||||
".changes/gtk-window.md",
|
||||
".changes/hide-phf.md",
|
||||
".changes/hotkey-0.1.2.md",
|
||||
".changes/icon-png-support.md",
|
||||
".changes/improve-esm-detection.md",
|
||||
".changes/inject-invoke-key-module-script.md",
|
||||
".changes/internal-default-args.md",
|
||||
".changes/invoke-key-performance.md",
|
||||
".changes/is-decorated.md",
|
||||
".changes/is-resizable.md",
|
||||
".changes/is-visible.md",
|
||||
".changes/linux-window-icon.md",
|
||||
".changes/locks.md",
|
||||
".changes/mac-cpu.md",
|
||||
".changes/menu-export.md",
|
||||
".changes/menu-item-accelerator.md",
|
||||
".changes/menu-refactor.md",
|
||||
".changes/menu.md",
|
||||
@ -167,12 +185,17 @@
|
||||
".changes/tauri-build-icon-path.md",
|
||||
".changes/tauri-icon-fix.md",
|
||||
".changes/tauri-info-framework-bundler.md",
|
||||
".changes/tauri-updater-linux.md",
|
||||
".changes/tauri-wry-migrate.md",
|
||||
".changes/tauri-wry.md",
|
||||
".changes/template-csp-change.md",
|
||||
".changes/throw-error-on-cli-download-failure.md",
|
||||
".changes/transparency-fix.md",
|
||||
".changes/tray.md",
|
||||
".changes/uri-parse.md",
|
||||
".changes/weak-typing.md",
|
||||
".changes/webview-window-constructor-pub.md",
|
||||
".changes/webview-window-extends-window-manager.md",
|
||||
".changes/window-api-validations.md",
|
||||
".changes/window-attributes-rename.md",
|
||||
".changes/window-center.md",
|
||||
@ -188,6 +211,7 @@
|
||||
".changes/wix-bundle-language.md",
|
||||
".changes/wix-config-language.md",
|
||||
".changes/wix-resource-bundling-fix.md",
|
||||
".changes/wix-update-on-windows-without-uac.md",
|
||||
".changes/wry-update.md"
|
||||
]
|
||||
}
|
||||
|
@ -1,5 +1,14 @@
|
||||
# Changelog
|
||||
|
||||
## \[1.0.0-beta.3]
|
||||
|
||||
- Improve ESM detection with regexes.
|
||||
- Bumped due to a bump in tauri-codegen.
|
||||
- [4b0ec018](https://www.github.com/tauri-apps/tauri/commit/4b0ec0188078a8fefd4119fe5e19ebc30191f802) fix(core): improve JS ESM detection ([#2139](https://www.github.com/tauri-apps/tauri/pull/2139)) on 2021-07-02
|
||||
- Inject invoke key on `script` tags with `type="module"`.
|
||||
- Bumped due to a bump in tauri-codegen.
|
||||
- [f03eea9c](https://www.github.com/tauri-apps/tauri/commit/f03eea9c9b964709532afbc4d1dd343b3fd96081) feat(core): inject invoke key on `<script type="module">` ([#2120](https://www.github.com/tauri-apps/tauri/pull/2120)) on 2021-06-29
|
||||
|
||||
## \[1.0.0-beta.2]
|
||||
|
||||
- Detect ESM scripts and inject the invoke key directly instead of using an IIFE.
|
||||
|
@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "tauri-build"
|
||||
version = "1.0.0-beta.2"
|
||||
version = "1.0.0-beta.3"
|
||||
authors = [ "Tauri Programme within The Commons Conservancy" ]
|
||||
categories = [ "gui", "web-programming" ]
|
||||
license = "Apache-2.0 OR MIT"
|
||||
@ -19,7 +19,7 @@ rustdoc-args = [ "--cfg", "doc_cfg" ]
|
||||
anyhow = "1"
|
||||
proc-macro2 = "1"
|
||||
quote = "1"
|
||||
tauri-codegen = { version = "1.0.0-beta.2", path = "../tauri-codegen", optional = true }
|
||||
tauri-codegen = { version = "1.0.0-beta.3", path = "../tauri-codegen", optional = true }
|
||||
|
||||
[target."cfg(windows)".dependencies]
|
||||
winres = "0.1"
|
||||
|
@ -1,5 +1,12 @@
|
||||
# Changelog
|
||||
|
||||
## \[1.0.0-beta.3]
|
||||
|
||||
- Improve ESM detection with regexes.
|
||||
- [4b0ec018](https://www.github.com/tauri-apps/tauri/commit/4b0ec0188078a8fefd4119fe5e19ebc30191f802) fix(core): improve JS ESM detection ([#2139](https://www.github.com/tauri-apps/tauri/pull/2139)) on 2021-07-02
|
||||
- Inject invoke key on `script` tags with `type="module"`.
|
||||
- [f03eea9c](https://www.github.com/tauri-apps/tauri/commit/f03eea9c9b964709532afbc4d1dd343b3fd96081) feat(core): inject invoke key on `<script type="module">` ([#2120](https://www.github.com/tauri-apps/tauri/pull/2120)) on 2021-06-29
|
||||
|
||||
## \[1.0.0-beta.2]
|
||||
|
||||
- Detect ESM scripts and inject the invoke key directly instead of using an IIFE.
|
||||
|
@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "tauri-codegen"
|
||||
version = "1.0.0-beta.2"
|
||||
version = "1.0.0-beta.3"
|
||||
authors = [ "Tauri Programme within The Commons Conservancy" ]
|
||||
categories = [ "gui", "web-programming" ]
|
||||
license = "Apache-2.0 OR MIT"
|
||||
@ -17,7 +17,7 @@ proc-macro2 = "1"
|
||||
quote = "1"
|
||||
serde = { version = "1", features = [ "derive" ] }
|
||||
serde_json = "1"
|
||||
tauri-utils = { version = "1.0.0-beta.1", path = "../tauri-utils", features = [ "build" ] }
|
||||
tauri-utils = { version = "1.0.0-beta.2", path = "../tauri-utils", features = [ "build" ] }
|
||||
thiserror = "1"
|
||||
walkdir = "2"
|
||||
zstd = "0.9"
|
||||
|
@ -1,5 +1,51 @@
|
||||
# Changelog
|
||||
|
||||
## \[1.0.0-beta.4]
|
||||
|
||||
- `Params` has been removed, along with all the associated types on it. Functions that previously accepted those
|
||||
associated types now accept strings instead. Type that used a generic parameter `Params` now use `Runtime` instead. If
|
||||
you use the `wry` feature, then types with a `Runtime` generic parameter should default to `Wry`, letting you omit the
|
||||
explicit type and let the compiler infer it instead.
|
||||
|
||||
`tauri`:
|
||||
|
||||
- See `Params` note
|
||||
- If you were using `Params` inside a function parameter or definition, all references to it have been replaced with a
|
||||
simple runtime that defaults to `Wry`. If you are not using a custom runtime, just remove `Params` from the definition
|
||||
of functions/items that previously took it. If you are using a custom runtime, you *may* need to pass the runtime type
|
||||
to these functions.
|
||||
- If you were using custom types for `Params` (uncommon and if you don't understand you probably were not using it), all
|
||||
methods that were previously taking the custom type now takes an `Into<String>` or a `&str`. The types were already
|
||||
required to be string-able, so just make sure to convert it into a string before passing it in if this breaking change
|
||||
affects you.
|
||||
|
||||
`tauri-macros`:
|
||||
|
||||
- (internal) Added private `default_runtime` proc macro to allow us to give item definitions a custom runtime only when
|
||||
the specified feature is enabled.
|
||||
|
||||
`tauri-runtime`:
|
||||
|
||||
- See `Params` note
|
||||
- Removed `Params`, `MenuId`, `Tag`, `TagRef`.
|
||||
- Added `menu::{MenuHash, MenuId, MenuIdRef}` as type aliases for the internal type that menu types now use.
|
||||
- All previous menu items that had a `MenuId` generic now use the underlying `MenuId` type without a generic.
|
||||
- `Runtime`, `RuntimeHandle`, and `Dispatch` have no more generic parameter on `create_window(...)` and instead use the
|
||||
`Runtime` type directly
|
||||
- `Runtime::system_tray` has no more `MenuId` generic and uses the string based `SystemTray` type directly.
|
||||
- (internal) `CustomMenuItem::id_value()` is now hashed on creation and exposed as the `id` field with type `MenuHash`.
|
||||
|
||||
`tauri-runtime-wry`:
|
||||
|
||||
- See `Params` note
|
||||
- update menu and runtime related types to the ones changed in `tauri-runtime`.
|
||||
|
||||
`tauri-utils`:
|
||||
|
||||
- `Assets::get` signature has changed to take a `&AssetKey` instead of `impl Into<AssetKey>` to become trait object
|
||||
safe.
|
||||
- [fd8fab50](https://www.github.com/tauri-apps/tauri/commit/fd8fab507c8fa1b113b841af14c6693eb3955f6b) refactor(core): remove `Params` and replace with strings ([#2191](https://www.github.com/tauri-apps/tauri/pull/2191)) on 2021-07-15
|
||||
|
||||
## \[1.0.0-beta.3]
|
||||
|
||||
- Detect ESM scripts and inject the invoke key directly instead of using an IIFE.
|
||||
|
@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "tauri-macros"
|
||||
version = "1.0.0-beta.3"
|
||||
version = "1.0.0-beta.4"
|
||||
authors = [ "Tauri Programme within The Commons Conservancy" ]
|
||||
categories = [ "gui", "os", "filesystem", "web-programming" ]
|
||||
license = "Apache-2.0 OR MIT"
|
||||
@ -18,7 +18,7 @@ proc-macro = true
|
||||
proc-macro2 = "1"
|
||||
quote = "1"
|
||||
syn = { version = "1", features = [ "full" ] }
|
||||
tauri-codegen = { version = "1.0.0-beta.2", path = "../tauri-codegen" }
|
||||
tauri-codegen = { version = "1.0.0-beta.3", path = "../tauri-codegen" }
|
||||
|
||||
[features]
|
||||
custom-protocol = [ ]
|
||||
|
@ -1,5 +1,65 @@
|
||||
# Changelog
|
||||
|
||||
## \[0.1.4]
|
||||
|
||||
- Allow preventing window close when the user requests it.
|
||||
- [8157a68a](https://www.github.com/tauri-apps/tauri/commit/8157a68af1d94de1b90a14aa44139bb123b3436b) feat(core): allow listening to event loop events & prevent window close ([#2131](https://www.github.com/tauri-apps/tauri/pull/2131)) on 2021-07-06
|
||||
- Fixes SVG loading on custom protocol.
|
||||
- [e663bdd5](https://www.github.com/tauri-apps/tauri/commit/e663bdd5938830ab4eba961e69c3985191b499dd) fix(core): svg mime type ([#2129](https://www.github.com/tauri-apps/tauri/pull/2129)) on 2021-06-30
|
||||
- Fixes `center` and `focus` not being allowed in `tauri.conf.json > tauri > windows` and ignored in `WindowBuilderWrapper`.
|
||||
- [bc2c331d](https://www.github.com/tauri-apps/tauri/commit/bc2c331dec3dec44c79e659b082b5fb6b65cc5ea) fix: center and focus not being allowed in config ([#2199](https://www.github.com/tauri-apps/tauri/pull/2199)) on 2021-07-12
|
||||
- Expose `gtk_window` getter.
|
||||
- [e0a8e09c](https://www.github.com/tauri-apps/tauri/commit/e0a8e09cab6799eeb9ec524b5f7780d1e5a84299) feat(core): expose `gtk_window`, closes [#2083](https://www.github.com/tauri-apps/tauri/pull/2083) ([#2141](https://www.github.com/tauri-apps/tauri/pull/2141)) on 2021-07-02
|
||||
- Remove a few locks requirement in tauri-runtime-wry
|
||||
- [6569c2bf](https://www.github.com/tauri-apps/tauri/commit/6569c2bf5caf24b009cad1e2cffba25418d6bb68) refactor(wry): remove a few locks requirements ([#2137](https://www.github.com/tauri-apps/tauri/pull/2137)) on 2021-07-02
|
||||
- Fix macOS high CPU usage.
|
||||
- [a280ee90](https://www.github.com/tauri-apps/tauri/commit/a280ee90af0749ce18d6d0b00939b06473717bc9) Fix high cpu usage on mac, fix [#2074](https://www.github.com/tauri-apps/tauri/pull/2074) ([#2125](https://www.github.com/tauri-apps/tauri/pull/2125)) on 2021-06-30
|
||||
- Bump `wry` 0.11 and fix focus integration to make it compatible with tao 0.4.
|
||||
- [f0a8db62](https://www.github.com/tauri-apps/tauri/commit/f0a8db62e445dbbc5770e7addf0390ce3844c1ea) core(deps): bump `wry` to `0.11` ([#2210](https://www.github.com/tauri-apps/tauri/pull/2210)) on 2021-07-15
|
||||
- `Params` has been removed, along with all the associated types on it. Functions that previously accepted those
|
||||
associated types now accept strings instead. Type that used a generic parameter `Params` now use `Runtime` instead. If
|
||||
you use the `wry` feature, then types with a `Runtime` generic parameter should default to `Wry`, letting you omit the
|
||||
explicit type and let the compiler infer it instead.
|
||||
|
||||
`tauri`:
|
||||
|
||||
- See `Params` note
|
||||
- If you were using `Params` inside a function parameter or definition, all references to it have been replaced with a
|
||||
simple runtime that defaults to `Wry`. If you are not using a custom runtime, just remove `Params` from the definition
|
||||
of functions/items that previously took it. If you are using a custom runtime, you *may* need to pass the runtime type
|
||||
to these functions.
|
||||
- If you were using custom types for `Params` (uncommon and if you don't understand you probably were not using it), all
|
||||
methods that were previously taking the custom type now takes an `Into<String>` or a `&str`. The types were already
|
||||
required to be string-able, so just make sure to convert it into a string before passing it in if this breaking change
|
||||
affects you.
|
||||
|
||||
`tauri-macros`:
|
||||
|
||||
- (internal) Added private `default_runtime` proc macro to allow us to give item definitions a custom runtime only when
|
||||
the specified feature is enabled.
|
||||
|
||||
`tauri-runtime`:
|
||||
|
||||
- See `Params` note
|
||||
- Removed `Params`, `MenuId`, `Tag`, `TagRef`.
|
||||
- Added `menu::{MenuHash, MenuId, MenuIdRef}` as type aliases for the internal type that menu types now use.
|
||||
- All previous menu items that had a `MenuId` generic now use the underlying `MenuId` type without a generic.
|
||||
- `Runtime`, `RuntimeHandle`, and `Dispatch` have no more generic parameter on `create_window(...)` and instead use the
|
||||
`Runtime` type directly
|
||||
- `Runtime::system_tray` has no more `MenuId` generic and uses the string based `SystemTray` type directly.
|
||||
- (internal) `CustomMenuItem::id_value()` is now hashed on creation and exposed as the `id` field with type `MenuHash`.
|
||||
|
||||
`tauri-runtime-wry`:
|
||||
|
||||
- See `Params` note
|
||||
- update menu and runtime related types to the ones changed in `tauri-runtime`.
|
||||
|
||||
`tauri-utils`:
|
||||
|
||||
- `Assets::get` signature has changed to take a `&AssetKey` instead of `impl Into<AssetKey>` to become trait object
|
||||
safe.
|
||||
- [fd8fab50](https://www.github.com/tauri-apps/tauri/commit/fd8fab507c8fa1b113b841af14c6693eb3955f6b) refactor(core): remove `Params` and replace with strings ([#2191](https://www.github.com/tauri-apps/tauri/pull/2191)) on 2021-07-15
|
||||
|
||||
## \[0.1.3]
|
||||
|
||||
- `Window` is now `Send + Sync` on Windows.
|
||||
|
@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "tauri-runtime-wry"
|
||||
version = "0.1.3"
|
||||
version = "0.1.4"
|
||||
authors = [ "Tauri Programme within The Commons Conservancy" ]
|
||||
categories = [ "gui", "web-programming" ]
|
||||
license = "Apache-2.0 OR MIT"
|
||||
@ -13,8 +13,8 @@ readme = "README.md"
|
||||
|
||||
[dependencies]
|
||||
wry = { version = "0.11", default-features = false, features = [ "file-drop", "protocol", "win32" ] }
|
||||
tauri-runtime = { version = "0.1.3", path = "../tauri-runtime" }
|
||||
tauri-utils = { version = "1.0.0-beta.1", path = "../tauri-utils" }
|
||||
tauri-runtime = { version = "0.1.4", path = "../tauri-runtime" }
|
||||
tauri-utils = { version = "1.0.0-beta.2", path = "../tauri-utils" }
|
||||
uuid = { version = "0.8.2", features = [ "v4" ] }
|
||||
infer = "0.4"
|
||||
|
||||
|
@ -1,5 +1,55 @@
|
||||
# Changelog
|
||||
|
||||
## \[0.1.4]
|
||||
|
||||
- Allow preventing window close when the user requests it.
|
||||
- [8157a68a](https://www.github.com/tauri-apps/tauri/commit/8157a68af1d94de1b90a14aa44139bb123b3436b) feat(core): allow listening to event loop events & prevent window close ([#2131](https://www.github.com/tauri-apps/tauri/pull/2131)) on 2021-07-06
|
||||
- Expose `gtk_window` getter.
|
||||
- [e0a8e09c](https://www.github.com/tauri-apps/tauri/commit/e0a8e09cab6799eeb9ec524b5f7780d1e5a84299) feat(core): expose `gtk_window`, closes [#2083](https://www.github.com/tauri-apps/tauri/pull/2083) ([#2141](https://www.github.com/tauri-apps/tauri/pull/2141)) on 2021-07-02
|
||||
- `Params` has been removed, along with all the associated types on it. Functions that previously accepted those
|
||||
associated types now accept strings instead. Type that used a generic parameter `Params` now use `Runtime` instead. If
|
||||
you use the `wry` feature, then types with a `Runtime` generic parameter should default to `Wry`, letting you omit the
|
||||
explicit type and let the compiler infer it instead.
|
||||
|
||||
`tauri`:
|
||||
|
||||
- See `Params` note
|
||||
- If you were using `Params` inside a function parameter or definition, all references to it have been replaced with a
|
||||
simple runtime that defaults to `Wry`. If you are not using a custom runtime, just remove `Params` from the definition
|
||||
of functions/items that previously took it. If you are using a custom runtime, you *may* need to pass the runtime type
|
||||
to these functions.
|
||||
- If you were using custom types for `Params` (uncommon and if you don't understand you probably were not using it), all
|
||||
methods that were previously taking the custom type now takes an `Into<String>` or a `&str`. The types were already
|
||||
required to be string-able, so just make sure to convert it into a string before passing it in if this breaking change
|
||||
affects you.
|
||||
|
||||
`tauri-macros`:
|
||||
|
||||
- (internal) Added private `default_runtime` proc macro to allow us to give item definitions a custom runtime only when
|
||||
the specified feature is enabled.
|
||||
|
||||
`tauri-runtime`:
|
||||
|
||||
- See `Params` note
|
||||
- Removed `Params`, `MenuId`, `Tag`, `TagRef`.
|
||||
- Added `menu::{MenuHash, MenuId, MenuIdRef}` as type aliases for the internal type that menu types now use.
|
||||
- All previous menu items that had a `MenuId` generic now use the underlying `MenuId` type without a generic.
|
||||
- `Runtime`, `RuntimeHandle`, and `Dispatch` have no more generic parameter on `create_window(...)` and instead use the
|
||||
`Runtime` type directly
|
||||
- `Runtime::system_tray` has no more `MenuId` generic and uses the string based `SystemTray` type directly.
|
||||
- (internal) `CustomMenuItem::id_value()` is now hashed on creation and exposed as the `id` field with type `MenuHash`.
|
||||
|
||||
`tauri-runtime-wry`:
|
||||
|
||||
- See `Params` note
|
||||
- update menu and runtime related types to the ones changed in `tauri-runtime`.
|
||||
|
||||
`tauri-utils`:
|
||||
|
||||
- `Assets::get` signature has changed to take a `&AssetKey` instead of `impl Into<AssetKey>` to become trait object
|
||||
safe.
|
||||
- [fd8fab50](https://www.github.com/tauri-apps/tauri/commit/fd8fab507c8fa1b113b841af14c6693eb3955f6b) refactor(core): remove `Params` and replace with strings ([#2191](https://www.github.com/tauri-apps/tauri/pull/2191)) on 2021-07-15
|
||||
|
||||
## \[0.1.3]
|
||||
|
||||
- `Window` is now `Send + Sync` on Windows.
|
||||
|
@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "tauri-runtime"
|
||||
version = "0.1.3"
|
||||
version = "0.1.4"
|
||||
authors = [ "Tauri Programme within The Commons Conservancy" ]
|
||||
categories = [ "gui", "web-programming" ]
|
||||
license = "Apache-2.0 OR MIT"
|
||||
@ -25,7 +25,7 @@ targets = [
|
||||
serde = { version = "1.0", features = [ "derive" ] }
|
||||
serde_json = "1.0"
|
||||
thiserror = "1.0"
|
||||
tauri-utils = { version = "1.0.0-beta.1", path = "../tauri-utils" }
|
||||
tauri-utils = { version = "1.0.0-beta.2", path = "../tauri-utils" }
|
||||
uuid = { version = "0.8.2", features = [ "v4" ] }
|
||||
|
||||
[target."cfg(windows)".dependencies]
|
||||
|
@ -1,5 +1,53 @@
|
||||
# Changelog
|
||||
|
||||
## \[1.0.0-beta.2]
|
||||
|
||||
- Inject invoke key on `script` tags with `type="module"`.
|
||||
- [f03eea9c](https://www.github.com/tauri-apps/tauri/commit/f03eea9c9b964709532afbc4d1dd343b3fd96081) feat(core): inject invoke key on `<script type="module">` ([#2120](https://www.github.com/tauri-apps/tauri/pull/2120)) on 2021-06-29
|
||||
- `Params` has been removed, along with all the associated types on it. Functions that previously accepted those
|
||||
associated types now accept strings instead. Type that used a generic parameter `Params` now use `Runtime` instead. If
|
||||
you use the `wry` feature, then types with a `Runtime` generic parameter should default to `Wry`, letting you omit the
|
||||
explicit type and let the compiler infer it instead.
|
||||
|
||||
`tauri`:
|
||||
|
||||
- See `Params` note
|
||||
- If you were using `Params` inside a function parameter or definition, all references to it have been replaced with a
|
||||
simple runtime that defaults to `Wry`. If you are not using a custom runtime, just remove `Params` from the definition
|
||||
of functions/items that previously took it. If you are using a custom runtime, you *may* need to pass the runtime type
|
||||
to these functions.
|
||||
- If you were using custom types for `Params` (uncommon and if you don't understand you probably were not using it), all
|
||||
methods that were previously taking the custom type now takes an `Into<String>` or a `&str`. The types were already
|
||||
required to be string-able, so just make sure to convert it into a string before passing it in if this breaking change
|
||||
affects you.
|
||||
|
||||
`tauri-macros`:
|
||||
|
||||
- (internal) Added private `default_runtime` proc macro to allow us to give item definitions a custom runtime only when
|
||||
the specified feature is enabled.
|
||||
|
||||
`tauri-runtime`:
|
||||
|
||||
- See `Params` note
|
||||
- Removed `Params`, `MenuId`, `Tag`, `TagRef`.
|
||||
- Added `menu::{MenuHash, MenuId, MenuIdRef}` as type aliases for the internal type that menu types now use.
|
||||
- All previous menu items that had a `MenuId` generic now use the underlying `MenuId` type without a generic.
|
||||
- `Runtime`, `RuntimeHandle`, and `Dispatch` have no more generic parameter on `create_window(...)` and instead use the
|
||||
`Runtime` type directly
|
||||
- `Runtime::system_tray` has no more `MenuId` generic and uses the string based `SystemTray` type directly.
|
||||
- (internal) `CustomMenuItem::id_value()` is now hashed on creation and exposed as the `id` field with type `MenuHash`.
|
||||
|
||||
`tauri-runtime-wry`:
|
||||
|
||||
- See `Params` note
|
||||
- update menu and runtime related types to the ones changed in `tauri-runtime`.
|
||||
|
||||
`tauri-utils`:
|
||||
|
||||
- `Assets::get` signature has changed to take a `&AssetKey` instead of `impl Into<AssetKey>` to become trait object
|
||||
safe.
|
||||
- [fd8fab50](https://www.github.com/tauri-apps/tauri/commit/fd8fab507c8fa1b113b841af14c6693eb3955f6b) refactor(core): remove `Params` and replace with strings ([#2191](https://www.github.com/tauri-apps/tauri/pull/2191)) on 2021-07-15
|
||||
|
||||
## \[1.0.0-beta.1]
|
||||
|
||||
- Allow `dev_path` and `dist_dir` to be an array of root files and directories to embed.
|
||||
|
@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "tauri-utils"
|
||||
version = "1.0.0-beta.1"
|
||||
version = "1.0.0-beta.2"
|
||||
authors = [ "Tauri Programme within The Commons Conservancy" ]
|
||||
license = "Apache-2.0 OR MIT"
|
||||
homepage = "https://tauri.studio"
|
||||
|
@ -1,5 +1,73 @@
|
||||
# Changelog
|
||||
|
||||
## \[1.0.0-beta.5]
|
||||
|
||||
- Allow preventing window close when the user requests it.
|
||||
- [8157a68a](https://www.github.com/tauri-apps/tauri/commit/8157a68af1d94de1b90a14aa44139bb123b3436b) feat(core): allow listening to event loop events & prevent window close ([#2131](https://www.github.com/tauri-apps/tauri/pull/2131)) on 2021-07-06
|
||||
- Add `App#run` method with callback argument (event loop event handler).
|
||||
- [8157a68a](https://www.github.com/tauri-apps/tauri/commit/8157a68af1d94de1b90a14aa44139bb123b3436b) feat(core): allow listening to event loop events & prevent window close ([#2131](https://www.github.com/tauri-apps/tauri/pull/2131)) on 2021-07-06
|
||||
- Fixes `data-tauri-drag-region` not firing its events.
|
||||
- [578610a2](https://www.github.com/tauri-apps/tauri/commit/578610a29d5cefb8df070606b7587318b14c397a) fix(core): fix drag-region not sending its events correctly ([#2196](https://www.github.com/tauri-apps/tauri/pull/2196)) on 2021-07-12
|
||||
- Fix macOS `EXC_BAD_ACCESS` panic when app is code-signed.
|
||||
- [456a94f6](https://www.github.com/tauri-apps/tauri/commit/456a94f6637746800b9b85fc3922e82871603402) fix(macOS): updater `EXC_BAD_ACCESS` ([#2181](https://www.github.com/tauri-apps/tauri/pull/2181)) on 2021-07-12
|
||||
- Fixes SVG loading on custom protocol.
|
||||
- [e663bdd5](https://www.github.com/tauri-apps/tauri/commit/e663bdd5938830ab4eba961e69c3985191b499dd) fix(core): svg mime type ([#2129](https://www.github.com/tauri-apps/tauri/pull/2129)) on 2021-06-30
|
||||
- Expose `gtk_window` getter.
|
||||
- [e0a8e09c](https://www.github.com/tauri-apps/tauri/commit/e0a8e09cab6799eeb9ec524b5f7780d1e5a84299) feat(core): expose `gtk_window`, closes [#2083](https://www.github.com/tauri-apps/tauri/pull/2083) ([#2141](https://www.github.com/tauri-apps/tauri/pull/2141)) on 2021-07-02
|
||||
- Inject invoke key on `script` tags with `type="module"`.
|
||||
- [f03eea9c](https://www.github.com/tauri-apps/tauri/commit/f03eea9c9b964709532afbc4d1dd343b3fd96081) feat(core): inject invoke key on `<script type="module">` ([#2120](https://www.github.com/tauri-apps/tauri/pull/2120)) on 2021-06-29
|
||||
- Fix macOS high CPU usage.
|
||||
- [a280ee90](https://www.github.com/tauri-apps/tauri/commit/a280ee90af0749ce18d6d0b00939b06473717bc9) Fix high cpu usage on mac, fix [#2074](https://www.github.com/tauri-apps/tauri/pull/2074) ([#2125](https://www.github.com/tauri-apps/tauri/pull/2125)) on 2021-06-30
|
||||
- Export `MenuHandle` and `MenuEvent` types on `tauri::window`.
|
||||
- [acb88929](https://www.github.com/tauri-apps/tauri/commit/acb88929c4dd1bd2ac94f7896a1e54afb9417768) fix(core): export `MenuHandle` and `MenuEvent` ([#2148](https://www.github.com/tauri-apps/tauri/pull/2148)) on 2021-07-03
|
||||
- Use glib context for linux updater to prevent GTK panic.
|
||||
- [3389bd81](https://www.github.com/tauri-apps/tauri/commit/3389bd8180ed79d0f6778f7f41a88ad6d4598932) fix(linux): use glib main context for the updater on linux ([#2222](https://www.github.com/tauri-apps/tauri/pull/2222)) on 2021-07-16
|
||||
- Bump `wry` 0.11 and fix focus integration to make it compatible with tao 0.4.
|
||||
- [f0a8db62](https://www.github.com/tauri-apps/tauri/commit/f0a8db62e445dbbc5770e7addf0390ce3844c1ea) core(deps): bump `wry` to `0.11` ([#2210](https://www.github.com/tauri-apps/tauri/pull/2210)) on 2021-07-15
|
||||
- `Params` has been removed, along with all the associated types on it. Functions that previously accepted those
|
||||
associated types now accept strings instead. Type that used a generic parameter `Params` now use `Runtime` instead. If
|
||||
you use the `wry` feature, then types with a `Runtime` generic parameter should default to `Wry`, letting you omit the
|
||||
explicit type and let the compiler infer it instead.
|
||||
|
||||
`tauri`:
|
||||
|
||||
- See `Params` note
|
||||
- If you were using `Params` inside a function parameter or definition, all references to it have been replaced with a
|
||||
simple runtime that defaults to `Wry`. If you are not using a custom runtime, just remove `Params` from the definition
|
||||
of functions/items that previously took it. If you are using a custom runtime, you *may* need to pass the runtime type
|
||||
to these functions.
|
||||
- If you were using custom types for `Params` (uncommon and if you don't understand you probably were not using it), all
|
||||
methods that were previously taking the custom type now takes an `Into<String>` or a `&str`. The types were already
|
||||
required to be string-able, so just make sure to convert it into a string before passing it in if this breaking change
|
||||
affects you.
|
||||
|
||||
`tauri-macros`:
|
||||
|
||||
- (internal) Added private `default_runtime` proc macro to allow us to give item definitions a custom runtime only when
|
||||
the specified feature is enabled.
|
||||
|
||||
`tauri-runtime`:
|
||||
|
||||
- See `Params` note
|
||||
- Removed `Params`, `MenuId`, `Tag`, `TagRef`.
|
||||
- Added `menu::{MenuHash, MenuId, MenuIdRef}` as type aliases for the internal type that menu types now use.
|
||||
- All previous menu items that had a `MenuId` generic now use the underlying `MenuId` type without a generic.
|
||||
- `Runtime`, `RuntimeHandle`, and `Dispatch` have no more generic parameter on `create_window(...)` and instead use the
|
||||
`Runtime` type directly
|
||||
- `Runtime::system_tray` has no more `MenuId` generic and uses the string based `SystemTray` type directly.
|
||||
- (internal) `CustomMenuItem::id_value()` is now hashed on creation and exposed as the `id` field with type `MenuHash`.
|
||||
|
||||
`tauri-runtime-wry`:
|
||||
|
||||
- See `Params` note
|
||||
- update menu and runtime related types to the ones changed in `tauri-runtime`.
|
||||
|
||||
`tauri-utils`:
|
||||
|
||||
- `Assets::get` signature has changed to take a `&AssetKey` instead of `impl Into<AssetKey>` to become trait object
|
||||
safe.
|
||||
- [fd8fab50](https://www.github.com/tauri-apps/tauri/commit/fd8fab507c8fa1b113b841af14c6693eb3955f6b) refactor(core): remove `Params` and replace with strings ([#2191](https://www.github.com/tauri-apps/tauri/pull/2191)) on 2021-07-15
|
||||
|
||||
## \[1.0.0-beta.4]
|
||||
|
||||
- Double clicking a `data-tauri-drag-region` element will toggle the window maximized state.
|
||||
|
@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "tauri"
|
||||
version = "1.0.0-beta.4"
|
||||
version = "1.0.0-beta.5"
|
||||
authors = [ "Tauri Programme within The Commons Conservancy" ]
|
||||
categories = [ "gui", "web-programming" ]
|
||||
license = "Apache-2.0 OR MIT"
|
||||
@ -38,10 +38,10 @@ futures = "0.3"
|
||||
uuid = { version = "0.8", features = [ "v4" ] }
|
||||
thiserror = "1.0"
|
||||
once_cell = "1.8"
|
||||
tauri-runtime = { version = "0.1.3", path = "../tauri-runtime" }
|
||||
tauri-macros = { version = "1.0.0-beta.3", path = "../tauri-macros" }
|
||||
tauri-utils = { version = "1.0.0-beta.1", path = "../tauri-utils" }
|
||||
tauri-runtime-wry = { version = "0.1.3", path = "../tauri-runtime-wry", optional = true }
|
||||
tauri-runtime = { version = "0.1.4", path = "../tauri-runtime" }
|
||||
tauri-macros = { version = "1.0.0-beta.4", path = "../tauri-macros" }
|
||||
tauri-utils = { version = "1.0.0-beta.2", path = "../tauri-utils" }
|
||||
tauri-runtime-wry = { version = "0.1.4", path = "../tauri-runtime-wry", optional = true }
|
||||
rand = "0.8"
|
||||
tempfile = "3"
|
||||
semver = "1.0"
|
||||
|
@ -1,5 +1,14 @@
|
||||
# Changelog
|
||||
|
||||
## \[1.0.0-beta.5]
|
||||
|
||||
- Adds `convertFileSrc` helper to the `tauri` module, simplifying the process of using file paths as webview source (`img`, `video`, etc).
|
||||
- [51a5cfe4](https://www.github.com/tauri-apps/tauri/commit/51a5cfe4b5e9890fb6f639c9c929657fd747a595) feat(api): add `convertFileSrc` helper ([#2138](https://www.github.com/tauri-apps/tauri/pull/2138)) on 2021-07-02
|
||||
- You can now use `emit`, `listen` and `once` using the `appWindow` exported by the window module.
|
||||
- [5d7626f8](https://www.github.com/tauri-apps/tauri/commit/5d7626f89781a6ebccceb9ab3b2e8335aa7a0392) feat(api): WindowManager extends WebviewWindowHandle, add events docs ([#2146](https://www.github.com/tauri-apps/tauri/pull/2146)) on 2021-07-03
|
||||
- Allow manipulating a spawned window directly using `WebviewWindow`, which now extends `WindowManager`.
|
||||
- [d69b1cf6](https://www.github.com/tauri-apps/tauri/commit/d69b1cf6d7c13297073073d753e30fe1a22a09cb) feat(api): allow mananing windows created on JS ([#2154](https://www.github.com/tauri-apps/tauri/pull/2154)) on 2021-07-05
|
||||
|
||||
## \[1.0.0-beta.4]
|
||||
|
||||
- Add asset custom protocol to access local file system.
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@tauri-apps/api",
|
||||
"version": "1.0.0-beta.4",
|
||||
"version": "1.0.0-beta.5",
|
||||
"description": "Tauri API definitions",
|
||||
"type": "module",
|
||||
"funding": {
|
||||
|
@ -1,5 +1,12 @@
|
||||
# Changelog
|
||||
|
||||
## \[1.0.0-beta.3]
|
||||
|
||||
- Fix WIX uninstaller by using unique `GUID` shortcut.
|
||||
- [caa8fcc9](https://www.github.com/tauri-apps/tauri/commit/caa8fcc93e5b56dacf042b9e7c6e7c56a1609310) fix(windows): use random `Guid` for uninstaller (wix) ([#2208](https://www.github.com/tauri-apps/tauri/pull/2208)) on 2021-07-14
|
||||
- Run powershell commands with `-NoProfile` flag
|
||||
- [3e6f3416](https://www.github.com/tauri-apps/tauri/commit/3e6f34160deab4f774d90aba28122e5b6b6f9db2) fix(cli.rs): run powershell kill command without profile ([#2130](https://www.github.com/tauri-apps/tauri/pull/2130)) on 2021-06-30
|
||||
|
||||
## \[1.0.0-beta.2]
|
||||
|
||||
- Properly detect target platform's architecture.
|
||||
|
@ -2,7 +2,7 @@ workspace = { }
|
||||
|
||||
[package]
|
||||
name = "tauri-bundler"
|
||||
version = "1.0.0-beta.2"
|
||||
version = "1.0.0-beta.3"
|
||||
authors = [
|
||||
"George Burton <burtonageo@gmail.com>",
|
||||
"Tauri Programme within The Commons Conservancy"
|
||||
|
@ -1,5 +1,12 @@
|
||||
# Changelog
|
||||
|
||||
## \[1.0.0-beta.6]
|
||||
|
||||
- Run powershell commands with `-NoProfile` flag
|
||||
- [3e6f3416](https://www.github.com/tauri-apps/tauri/commit/3e6f34160deab4f774d90aba28122e5b6b6f9db2) fix(cli.rs): run powershell kill command without profile ([#2130](https://www.github.com/tauri-apps/tauri/pull/2130)) on 2021-06-30
|
||||
- Throw error on `cli.rs` download failure instead of silent exit.
|
||||
- [fd033464](https://www.github.com/tauri-apps/tauri/commit/fd0334645b415b8be574d44256194f601227cb40) fix: tauri init may failed with no error message. (fix [#2079](https://www.github.com/tauri-apps/tauri/pull/2079)) ([#2117](https://www.github.com/tauri-apps/tauri/pull/2117)) on 2021-06-30
|
||||
|
||||
## \[1.0.0-beta.5]
|
||||
|
||||
- Improve error message when the product name is invalid.
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@tauri-apps/cli",
|
||||
"version": "1.0.0-beta.5",
|
||||
"version": "1.0.0-beta.6",
|
||||
"description": "Command line interface for building Tauri apps",
|
||||
"bin": {
|
||||
"tauri": "./bin/tauri.js"
|
||||
|
@ -1,5 +1,14 @@
|
||||
# Changelog
|
||||
|
||||
## \[1.0.0-beta.5]
|
||||
|
||||
- Run powershell commands with `-NoProfile` flag
|
||||
- [3e6f3416](https://www.github.com/tauri-apps/tauri/commit/3e6f34160deab4f774d90aba28122e5b6b6f9db2) fix(cli.rs): run powershell kill command without profile ([#2130](https://www.github.com/tauri-apps/tauri/pull/2130)) on 2021-06-30
|
||||
- Adds `release` argument to the `dev` command. Allowing to run the backend in release mode during development.
|
||||
- [7ee2dc8b](https://www.github.com/tauri-apps/tauri/commit/7ee2dc8b690703f509ab2d6ecdf9dafd6b72cd0b) feat(cli.rs): add release argument to the dev command ([#2192](https://www.github.com/tauri-apps/tauri/pull/2192)) on 2021-07-12
|
||||
- Fixes `center` and `focus` not being allowed in `tauri.conf.json > tauri > windows` and ignored in `WindowBuilderWrapper`.
|
||||
- [bc2c331d](https://www.github.com/tauri-apps/tauri/commit/bc2c331dec3dec44c79e659b082b5fb6b65cc5ea) fix: center and focus not being allowed in config ([#2199](https://www.github.com/tauri-apps/tauri/pull/2199)) on 2021-07-12
|
||||
|
||||
## \[1.0.0-beta.4]
|
||||
|
||||
- Improve error message when the product name is invalid.
|
||||
|
4
tooling/cli.rs/Cargo.lock
generated
4
tooling/cli.rs/Cargo.lock
generated
@ -1883,7 +1883,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "tauri-bundler"
|
||||
version = "1.0.0-beta.2"
|
||||
version = "1.0.0-beta.3"
|
||||
dependencies = [
|
||||
"anyhow",
|
||||
"ar",
|
||||
@ -1916,7 +1916,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "tauri-cli"
|
||||
version = "1.0.0-beta.4"
|
||||
version = "1.0.0-beta.5"
|
||||
dependencies = [
|
||||
"anyhow",
|
||||
"base64",
|
||||
|
@ -2,7 +2,7 @@ workspace = { }
|
||||
|
||||
[package]
|
||||
name = "tauri-cli"
|
||||
version = "1.0.0-beta.4"
|
||||
version = "1.0.0-beta.5"
|
||||
authors = [ "Tauri Programme within The Commons Conservancy" ]
|
||||
edition = "2018"
|
||||
categories = [ "gui", "web-programming" ]
|
||||
@ -19,7 +19,7 @@ path = "src/main.rs"
|
||||
[dependencies]
|
||||
clap = { version = "3.0.0-beta.2", features = [ "yaml" ] }
|
||||
anyhow = "1.0"
|
||||
tauri-bundler = { version = "1.0.0-beta.2", path = "../bundler" }
|
||||
tauri-bundler = { version = "1.0.0-beta.3", path = "../bundler" }
|
||||
colored = "2.0"
|
||||
once_cell = "1.8"
|
||||
serde = { version = "1.0", features = [ "derive" ] }
|
||||
|
@ -1,8 +1,8 @@
|
||||
{
|
||||
"cli.js": {
|
||||
"version": "1.0.0-beta.5",
|
||||
"version": "1.0.0-beta.6",
|
||||
"node": ">= 12.13.0"
|
||||
},
|
||||
"tauri": "1.0.0-beta.4",
|
||||
"tauri-build": "1.0.0-beta.2"
|
||||
"tauri": "1.0.0-beta.5",
|
||||
"tauri-build": "1.0.0-beta.3"
|
||||
}
|
||||
|
@ -1,5 +1,10 @@
|
||||
# Changelog
|
||||
|
||||
## \[1.0.0-beta.3]
|
||||
|
||||
- Added Angular CLI recipe.
|
||||
- [489fad55](https://www.github.com/tauri-apps/tauri/commit/489fad55242b3489c7c551fdfdd031ebad2d9b9c) Angular create tauri app \[[#1934](https://www.github.com/tauri-apps/tauri/pull/1934)] ([#2203](https://www.github.com/tauri-apps/tauri/pull/2203)) on 2021-07-14
|
||||
|
||||
## \[1.0.0-beta.2]
|
||||
|
||||
- Fixes the `beforeDevCommand` on vite recipe.
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "create-tauri-app",
|
||||
"version": "1.0.0-beta.2",
|
||||
"version": "1.0.0-beta.3",
|
||||
"description": "Jump right into a Tauri App!",
|
||||
"bin": {
|
||||
"create-tauri-app": "./bin/create-tauri-app.js"
|
||||
|
Loading…
Reference in New Issue
Block a user