From b5f8912122db16b7853c48237eee65080f6db184 Mon Sep 17 00:00:00 2001 From: Jacob Bolda Date: Tue, 11 May 2021 12:16:40 -0500 Subject: [PATCH] going beta release (#1779) --- .changes/api-package-fix.md | 5 --- .changes/appimage-icon.md | 5 --- .changes/{beta-rc.md => beta.md} | 4 +- .changes/cli-js-download-stop.md | 5 --- .changes/cli-rs-dist-validation.md | 5 --- .changes/cli.rs-camelcase-rename.md | 5 --- .changes/clr.rs-fix-tauri-info.md | 7 ---- .changes/create-webview-error.md | 5 --- .changes/cta-remove-lodash.md | 5 --- .changes/cta-remove-tauri-from-vanilla.md | 5 --- .changes/cta-tauri-script.md | 5 --- .changes/deb-custom-files.md | 5 --- .changes/deps-rc-detection.md | 5 --- .changes/dialog-default-path-file.md | 5 --- .changes/dialog-default-path-validation.md | 5 --- .changes/event-once.md | 9 ----- .changes/expose-async-runtime.md | 5 --- .changes/expose-page-load-payload.md | 5 --- .changes/fix-cta-set-script.md | 5 --- .changes/fix-info-npm-version.md | 5 --- .changes/fix-js-api-import.md | 5 --- .changes/fix-plugin-invoke.md | 6 --- .changes/invoke-context.md | 5 --- .changes/macos-custom-protocol-https.md | 5 --- .changes/macos-modifiers.md | 5 --- .changes/multi-custom-protocols.md | 5 --- .changes/nested-events.md | 9 ----- .changes/node-v12.md | 6 --- .changes/not-a-terminal-windows-fix.md | 5 --- .changes/package-info-config.md | 7 ---- .changes/plugin-initialization-result.md | 5 --- .changes/pre.json | 46 +--------------------- .changes/sidecar-fix.md | 5 --- .changes/supports-custom-template.md | 5 --- .changes/sync-metadata.md | 5 --- .changes/tauri-icon-cli.md | 5 --- .changes/tauri-init-ci-fix.md | 5 --- .changes/updater-feature.md | 5 --- .changes/user-data-path.md | 5 --- .changes/windows-user-data-path.md | 5 --- .changes/wix-fragments.md | 5 --- .changes/wix-skip-webview-install.md | 5 --- 42 files changed, 5 insertions(+), 259 deletions(-) delete mode 100644 .changes/api-package-fix.md delete mode 100644 .changes/appimage-icon.md rename .changes/{beta-rc.md => beta.md} (75%) delete mode 100644 .changes/cli-js-download-stop.md delete mode 100644 .changes/cli-rs-dist-validation.md delete mode 100644 .changes/cli.rs-camelcase-rename.md delete mode 100644 .changes/clr.rs-fix-tauri-info.md delete mode 100644 .changes/create-webview-error.md delete mode 100644 .changes/cta-remove-lodash.md delete mode 100644 .changes/cta-remove-tauri-from-vanilla.md delete mode 100644 .changes/cta-tauri-script.md delete mode 100644 .changes/deb-custom-files.md delete mode 100644 .changes/deps-rc-detection.md delete mode 100644 .changes/dialog-default-path-file.md delete mode 100644 .changes/dialog-default-path-validation.md delete mode 100644 .changes/event-once.md delete mode 100644 .changes/expose-async-runtime.md delete mode 100644 .changes/expose-page-load-payload.md delete mode 100644 .changes/fix-cta-set-script.md delete mode 100644 .changes/fix-info-npm-version.md delete mode 100644 .changes/fix-js-api-import.md delete mode 100644 .changes/fix-plugin-invoke.md delete mode 100644 .changes/invoke-context.md delete mode 100644 .changes/macos-custom-protocol-https.md delete mode 100644 .changes/macos-modifiers.md delete mode 100644 .changes/multi-custom-protocols.md delete mode 100644 .changes/nested-events.md delete mode 100644 .changes/node-v12.md delete mode 100644 .changes/not-a-terminal-windows-fix.md delete mode 100644 .changes/package-info-config.md delete mode 100644 .changes/plugin-initialization-result.md delete mode 100644 .changes/sidecar-fix.md delete mode 100644 .changes/supports-custom-template.md delete mode 100644 .changes/sync-metadata.md delete mode 100644 .changes/tauri-icon-cli.md delete mode 100644 .changes/tauri-init-ci-fix.md delete mode 100644 .changes/updater-feature.md delete mode 100644 .changes/user-data-path.md delete mode 100644 .changes/windows-user-data-path.md delete mode 100644 .changes/wix-fragments.md delete mode 100644 .changes/wix-skip-webview-install.md diff --git a/.changes/api-package-fix.md b/.changes/api-package-fix.md deleted file mode 100644 index c6973ce13..000000000 --- a/.changes/api-package-fix.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"api": patch ---- - -Fixes distribution of the `@tauri-apps/api` package for older bundlers. diff --git a/.changes/appimage-icon.md b/.changes/appimage-icon.md deleted file mode 100644 index 5974165f1..000000000 --- a/.changes/appimage-icon.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tauri-bundler": patch ---- - -Find best available icon for AppImage, follow `.DirIcon` spec. diff --git a/.changes/beta-rc.md b/.changes/beta.md similarity index 75% rename from .changes/beta-rc.md rename to .changes/beta.md index d2b6e1e37..b959151db 100644 --- a/.changes/beta-rc.md +++ b/.changes/beta.md @@ -7,8 +7,10 @@ "tauri-codegen": major "tauri-macros": major "tauri-build": major +"tauri-runtime": minor +"tauri-runtime-wry": minor "tauri": major "create-tauri-app": major --- -The beta process has begun! +Upgrade to beta! diff --git a/.changes/cli-js-download-stop.md b/.changes/cli-js-download-stop.md deleted file mode 100644 index 1d0cd7c8e..000000000 --- a/.changes/cli-js-download-stop.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"cli.js": patch ---- - -Remove Rust CLI download file \ No newline at end of file diff --git a/.changes/cli-rs-dist-validation.md b/.changes/cli-rs-dist-validation.md deleted file mode 100644 index 07ff7e24a..000000000 --- a/.changes/cli-rs-dist-validation.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"cli.rs": patch ---- - -Check if distDir assets are built after running `beforeDevCommand`. diff --git a/.changes/cli.rs-camelcase-rename.md b/.changes/cli.rs-camelcase-rename.md deleted file mode 100644 index 87828d272..000000000 --- a/.changes/cli.rs-camelcase-rename.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"cli.rs": patch ---- - -Add missing camelcase rename for config diff --git a/.changes/clr.rs-fix-tauri-info.md b/.changes/clr.rs-fix-tauri-info.md deleted file mode 100644 index 5a9ae8e2e..000000000 --- a/.changes/clr.rs-fix-tauri-info.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"cli.rs": patch ---- - -Fix `tauri info` -* Properly detect `yarn` and `npm` versions on windows. -* Fix a panic caused by a wrong field name in `metadata.json` diff --git a/.changes/create-webview-error.md b/.changes/create-webview-error.md deleted file mode 100644 index e47dcff58..000000000 --- a/.changes/create-webview-error.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tauri": patch ---- - -`tauri::error::CreateWebview` now has the error string message attached. diff --git a/.changes/cta-remove-lodash.md b/.changes/cta-remove-lodash.md deleted file mode 100644 index eb72f443e..000000000 --- a/.changes/cta-remove-lodash.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"create-tauri-app": patch ---- - -Remove `lodash` dependency and replace with es6 builtins diff --git a/.changes/cta-remove-tauri-from-vanilla.md b/.changes/cta-remove-tauri-from-vanilla.md deleted file mode 100644 index 20d9868a4..000000000 --- a/.changes/cta-remove-tauri-from-vanilla.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"create-tauri-app": patch ---- - -Remove `tauri` dependency from vanilla recipe diff --git a/.changes/cta-tauri-script.md b/.changes/cta-tauri-script.md deleted file mode 100644 index 7ae8d1b36..000000000 --- a/.changes/cta-tauri-script.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"create-tauri-app": patch ---- - -Fix adding `tauri` script to package.json diff --git a/.changes/deb-custom-files.md b/.changes/deb-custom-files.md deleted file mode 100644 index 454004e72..000000000 --- a/.changes/deb-custom-files.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tauri-bundler": patch ---- - -Allow including custom files on the debian package. diff --git a/.changes/deps-rc-detection.md b/.changes/deps-rc-detection.md deleted file mode 100644 index 323f60e3e..000000000 --- a/.changes/deps-rc-detection.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"cli.js": patch ---- - -The `tauri deps` command now properly detects `beta-rc` crate updates. diff --git a/.changes/dialog-default-path-file.md b/.changes/dialog-default-path-file.md deleted file mode 100644 index 8c78444bd..000000000 --- a/.changes/dialog-default-path-file.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tauri": patch ---- - -If the dialog `defaultPath` is a file, use it as starting file path. diff --git a/.changes/dialog-default-path-validation.md b/.changes/dialog-default-path-validation.md deleted file mode 100644 index 200e2bd16..000000000 --- a/.changes/dialog-default-path-validation.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tauri": patch ---- - -Validate dialog option `defaultPath` - it must exists. diff --git a/.changes/event-once.md b/.changes/event-once.md deleted file mode 100644 index adfd56a1c..000000000 --- a/.changes/event-once.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -"tauri": patch ---- - -Prevent "once" events from being able to be called multiple times. -* `Window::trigger(/*...*/)` is now properly `pub` instead of `pub(crate)`. -* `Manager::once_global(/*...*/)` now returns an `EventHandler`. -* `Window::once(/*...*/)` now returns an `EventHandler`. -* (internal) `event::Listeners::trigger(/*...*/)` now handles removing "once" events. diff --git a/.changes/expose-async-runtime.md b/.changes/expose-async-runtime.md deleted file mode 100644 index d5f251a47..000000000 --- a/.changes/expose-async-runtime.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tauri": patch ---- - -Expose `async_runtime` module. diff --git a/.changes/expose-page-load-payload.md b/.changes/expose-page-load-payload.md deleted file mode 100644 index 2e9e300b0..000000000 --- a/.changes/expose-page-load-payload.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tauri": patch ---- - -Expose `PageLoadPayload` struct. diff --git a/.changes/fix-cta-set-script.md b/.changes/fix-cta-set-script.md deleted file mode 100644 index c8ac3628e..000000000 --- a/.changes/fix-cta-set-script.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"create-tauri-app": patch ---- - -Manually set `tauri` script instead of using `npm set-script` for compatabilty with older npm versions diff --git a/.changes/fix-info-npm-version.md b/.changes/fix-info-npm-version.md deleted file mode 100644 index 0c619c337..000000000 --- a/.changes/fix-info-npm-version.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"cli.rs": patch ---- - -Fixes `tauri info` display version for the `@tauri-apps/api` package. diff --git a/.changes/fix-js-api-import.md b/.changes/fix-js-api-import.md deleted file mode 100644 index da2ac77ba..000000000 --- a/.changes/fix-js-api-import.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"api": patch ---- - -TS was wrongly re-exporting the module. diff --git a/.changes/fix-plugin-invoke.md b/.changes/fix-plugin-invoke.md deleted file mode 100644 index 98666288a..000000000 --- a/.changes/fix-plugin-invoke.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"tauri": patch -"tauri-macros": patch ---- - -Fixes the Message `command` name value on plugin invoke handler. diff --git a/.changes/invoke-context.md b/.changes/invoke-context.md deleted file mode 100644 index 0c02aa4d2..000000000 --- a/.changes/invoke-context.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tauri": patch ---- - -Allow `window.__TAURI__.invoke` to be moved to another variable. diff --git a/.changes/macos-custom-protocol-https.md b/.changes/macos-custom-protocol-https.md deleted file mode 100644 index e21ae591c..000000000 --- a/.changes/macos-custom-protocol-https.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tauri": patch ---- - -Make sure custom protocol is treated as secure content on macOS. diff --git a/.changes/macos-modifiers.md b/.changes/macos-modifiers.md deleted file mode 100644 index 5a4de5700..000000000 --- a/.changes/macos-modifiers.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tauri": patch ---- - -Fixes macOS shortcut modifiers keycodes. diff --git a/.changes/multi-custom-protocols.md b/.changes/multi-custom-protocols.md deleted file mode 100644 index ab5063227..000000000 --- a/.changes/multi-custom-protocols.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tauri": patch ---- - -Adds APIs to determine global and webview-specific URI scheme handlers. diff --git a/.changes/nested-events.md b/.changes/nested-events.md deleted file mode 100644 index 4c2b93655..000000000 --- a/.changes/nested-events.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -"tauri": patch ---- - -Window and global events can now be nested inside event handlers. They will run as soon -as the event handler closure is finished in the order they were called. Previously, calling -events inside an event handler would produce a deadlock. - -Note: The order that event handlers are called when triggered is still non-deterministic. diff --git a/.changes/node-v12.md b/.changes/node-v12.md deleted file mode 100644 index fadc9c1fa..000000000 --- a/.changes/node-v12.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"api": patch -"cli.js": patch ---- - -Update minimum Node.js version to v12.13.0 diff --git a/.changes/not-a-terminal-windows-fix.md b/.changes/not-a-terminal-windows-fix.md deleted file mode 100644 index 412d444c6..000000000 --- a/.changes/not-a-terminal-windows-fix.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"cli.rs": patch ---- - -Fixes crash on usage of modifier keys on Windows when running `tauri init`. diff --git a/.changes/package-info-config.md b/.changes/package-info-config.md deleted file mode 100644 index 9235290be..000000000 --- a/.changes/package-info-config.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"tauri-utils": patch -"tauri-codegen": patch -"tauri": patch ---- - -The package info APIs now checks the `package` object on `tauri.conf.json`. diff --git a/.changes/plugin-initialization-result.md b/.changes/plugin-initialization-result.md deleted file mode 100644 index 8ed9e6034..000000000 --- a/.changes/plugin-initialization-result.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tauri": patch ---- - -Change plugin trait `initialization` return type to `std::result::Result<(), Box>`. diff --git a/.changes/pre.json b/.changes/pre.json index cda0225df..310d3c47c 100644 --- a/.changes/pre.json +++ b/.changes/pre.json @@ -1,46 +1,4 @@ { - "tag": "beta-rc", - "changes": [ - ".changes/api-package-fix.md", - ".changes/appimage-icon.md", - ".changes/beta-rc.md", - ".changes/cli-js-download-stop.md", - ".changes/cli-rs-dist-validation.md", - ".changes/cli.rs-camelcase-rename.md", - ".changes/clr.rs-fix-tauri-info.md", - ".changes/create-webview-error.md", - ".changes/cta-remove-lodash.md", - ".changes/cta-remove-tauri-from-vanilla.md", - ".changes/cta-tauri-script.md", - ".changes/deb-custom-files.md", - ".changes/deps-rc-detection.md", - ".changes/dialog-default-path-file.md", - ".changes/dialog-default-path-validation.md", - ".changes/event-once.md", - ".changes/expose-async-runtime.md", - ".changes/expose-page-load-payload.md", - ".changes/fix-cta-set-script.md", - ".changes/fix-info-npm-version.md", - ".changes/fix-js-api-import.md", - ".changes/fix-plugin-invoke.md", - ".changes/invoke-context.md", - ".changes/macos-custom-protocol-https.md", - ".changes/macos-modifiers.md", - ".changes/multi-custom-protocols.md", - ".changes/nested-events.md", - ".changes/node-v12.md", - ".changes/not-a-terminal-windows-fix.md", - ".changes/package-info-config.md", - ".changes/plugin-initialization-result.md", - ".changes/sidecar-fix.md", - ".changes/supports-custom-template.md", - ".changes/sync-metadata.md", - ".changes/tauri-icon-cli.md", - ".changes/tauri-init-ci-fix.md", - ".changes/updater-feature.md", - ".changes/user-data-path.md", - ".changes/windows-user-data-path.md", - ".changes/wix-fragments.md", - ".changes/wix-skip-webview-install.md" - ] + "tag": "beta", + "changes": [".changes/beta.md"] } diff --git a/.changes/sidecar-fix.md b/.changes/sidecar-fix.md deleted file mode 100644 index f5624a2c4..000000000 --- a/.changes/sidecar-fix.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tauri": patch ---- - -Fixes `sidecar` Command API. diff --git a/.changes/supports-custom-template.md b/.changes/supports-custom-template.md deleted file mode 100644 index 298b91974..000000000 --- a/.changes/supports-custom-template.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tauri-bundler": minor ---- - -Adds support to custom WiX template. diff --git a/.changes/sync-metadata.md b/.changes/sync-metadata.md deleted file mode 100644 index 87eb7cda4..000000000 --- a/.changes/sync-metadata.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"cli.rs": patch ---- - -Sync `metadata.json` via script to update version reference to cli.js, tauri (core) and tauri-build. diff --git a/.changes/tauri-icon-cli.md b/.changes/tauri-icon-cli.md deleted file mode 100644 index c7e1ef066..000000000 --- a/.changes/tauri-icon-cli.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"cli.js": patch ---- - -The `tauri icon` command now accepts the icon path as the first positional argument instead of `--icon PATH`. diff --git a/.changes/tauri-init-ci-fix.md b/.changes/tauri-init-ci-fix.md deleted file mode 100644 index 5537f88cc..000000000 --- a/.changes/tauri-init-ci-fix.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"cli.js": patch ---- - -Do not prompt to install dependencies on `tauri init` when the `--ci` argument is passed. diff --git a/.changes/updater-feature.md b/.changes/updater-feature.md deleted file mode 100644 index 430cf3ebf..000000000 --- a/.changes/updater-feature.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"cli.rs": patch ---- - -Enable `tauri` `updater` feature when `tauri.conf.json > tauri > updater > active` is set to `true`. diff --git a/.changes/user-data-path.md b/.changes/user-data-path.md deleted file mode 100644 index 8471a4640..000000000 --- a/.changes/user-data-path.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tauri": patch ---- - -Set LocalStorage and IndexedDB files path on Linux to `$HOME/.local/${bundleIdentifier}`. diff --git a/.changes/windows-user-data-path.md b/.changes/windows-user-data-path.md deleted file mode 100644 index 61d1845e4..000000000 --- a/.changes/windows-user-data-path.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tauri": patch ---- - -Use bundle identifier instead of `Tauri` for user data path on Windows. diff --git a/.changes/wix-fragments.md b/.changes/wix-fragments.md deleted file mode 100644 index 6f20c1398..000000000 --- a/.changes/wix-fragments.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tauri-bundler": patch ---- - -Adds support to `wix` fragments for custom .msi installer functionality. diff --git a/.changes/wix-skip-webview-install.md b/.changes/wix-skip-webview-install.md deleted file mode 100644 index aa0514ee6..000000000 --- a/.changes/wix-skip-webview-install.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tauri-bundler": patch ---- - -Adds `skip_webview_install` config under `windows > wix` to disable Webview2 runtime installation after the app install.