feat(covector): prepare for v1 (#4351)

This commit is contained in:
Lucas Fernandes Nogueira
2022-06-15 09:53:44 -07:00
committed by GitHub
parent f5f9f105f7
commit f4bb30cc73
454 changed files with 25 additions and 2957 deletions

View File

@@ -1,5 +0,0 @@
---
"tauri-runtime": patch
---
The `AboutMetadata` string setters now take `impl Into<String>`.

View File

@@ -1,5 +0,0 @@
---
"tauri": patch
---
Added the `App::get_cli_matches` helper function.

View File

@@ -1,6 +0,0 @@
---
"cli.rs": patch
"cli.js": patch
---
Allows the `tauri.conf.json` file to be git ignored on the path lookup function.

View File

@@ -1,5 +0,0 @@
---
"tauri-utils": patch
---
The `allowlist` configuration now includes a `clipboard` object, controlling the exposure of the `writeText` and `readText` APIs.

View File

@@ -1,6 +0,0 @@
---
"tauri-utils": patch
"tauri": patch
---
The dialog allowlist now includes flags for the `message`, `ask` and `confirm` APIs.

View File

@@ -1,5 +0,0 @@
---
"tauri-utils": patch
---
The `allowlist` configuration now includes a `process` object, controlling the exposure of the `relaunch` and `exit` APIs.

View File

@@ -1,5 +0,0 @@
---
tauri-utils: patch
---
The `window` allowlist now includes options to enable all window modification APIs: `center`, `close`, `create`, `hide`, `maximize`, `minimize`, `print`, `requestUserAttention`, `setAlwaysOnTop`, `setDecorations`, `setFocus`, `setFullscreen`, `setIcon`, `setMaxSize`, `setMinSize`, `setPosition`, `setResizable`, `setSize`, `setSkipTaskbar`, `setTitle`, `show`, `startDragging`, `unmaximize` and `unminimize`.

View File

@@ -1,5 +0,0 @@
---
"tauri-build": patch
---
Remove `cargo:rerun-if-changed` check for non-existent file that caused projects to _always_ rebuild.

View File

@@ -1,5 +0,0 @@
---
"api": patch
---
Add `fileDropEnabled` property to `WindowOptions` so you can now disable it when creating windows from js.

View File

@@ -1,6 +0,0 @@
---
"api": patch
---
Add `logDir` function to the `path` module to access the sugested log directory.
Add `BaseDirectory.Log` to the `fs` module.

View File

@@ -1,5 +0,0 @@
---
"api": patch
---
Do not crash if `__TAURI_METADATA__` is not set, log an error instead.

View File

@@ -1,6 +0,0 @@
---
"tauri": patch
---
* **Breaking change:** Renamed `tauri::Event` to `tauri::RunEvent`
* Exported `tauri::Event` and `tauri::EventHandler` so you can define a function and pass it to `Window::listen`

View File

@@ -1,5 +0,0 @@
---
"api": patch
---
Expose `ask`, `message` and `confirm` APIs on the dialog module.

View File

@@ -1,5 +0,0 @@
---
"api": patch
---
Event `emit` now automatically serialize non-string types.

View File

@@ -1,5 +0,0 @@
---
"api": patch
---
Encode the file path in the `convertFileSrc` function.

View File

@@ -1,5 +0,0 @@
---
"tauri": patch
---
The `tauri::api` modules `http`, `notification`, `dialog`, and `process::Command` APIs are now hidden behind a feature flag, `http-api`, `notification`, `dialog` and `command`, respectively.

View File

@@ -1,5 +0,0 @@
---
"api": patch
---
Fix `http.fetch` throwing error if the response is successful but the body is empty.

View File

@@ -1,6 +0,0 @@
---
"api": patch
"tauri": patch
---
Add `title` option to file open/save dialogs.

View File

@@ -1,5 +0,0 @@
---
"api": patch
---
Fix `FilePart` usage in `http.Body.form` by renaming the `value` property to `file`.

View File

@@ -1,5 +0,0 @@
---
"api": patch
---
Fix `os.platform` returning `macos` and `windows` instead of `darwin` and `win32`.

View File

@@ -1,5 +0,0 @@
---
"api": patch
---
The `formatCallback` helper function now returns a number instead of a string.

View File

@@ -1,5 +0,0 @@
---
"api": patch
---
Added `rawHeaders` to `http > Response`.

View File

@@ -1,5 +0,0 @@
---
"tauri": patch
---
Run `AppHandle` cleanup code before restarting the application on the `process > relaunch` API.

View File

@@ -1,5 +0,0 @@
---
"api": "patch"
---
Removed the `currentDir` API from the `path` module.

View File

@@ -1,5 +0,0 @@
---
"api": patch
---
Remove `.ts` files on the published package.

View File

@@ -1,5 +0,0 @@
---
"api": patch
---
Added `theme` getter to `WebviewWindow`.

View File

@@ -1,5 +0,0 @@
---
"api": patch
---
Added `theme` field to `WindowOptions`.

View File

@@ -1,5 +0,0 @@
---
"api": patch
---
**Breaking change:** Replaces all usages of `number[]` with `Uint8Array` to be closer aligned with the wider JS ecosystem.

View File

@@ -1,5 +0,0 @@
---
"api": patch
---
Added the `setCursorGrab`, `setCursorVisible`, `setCursorIcon` and `setCursorPosition` methods to the `WebviewWindow` class.

View File

@@ -1,6 +0,0 @@
---
"api": patch
---
`WindowManager` methods `innerPosition` `outerPosition` now correctly return instance of `PhysicalPosition`.
`WindowManager` methods `innerSize` `outerSize` now correctly return instance of `PhysicalSize`.

View File

@@ -1,5 +0,0 @@
---
"tauri": patch
---
Added `any_thread()` to the `tauri::Builder` to run applications on any thread (only exposed on Linux and Windows).

View File

@@ -1,6 +0,0 @@
---
"cli.js": patch
"cli.rs": patch
---
Do not force Tauri application code on `src-tauri` folder and use a glob pattern to look for a subfolder with a `tauri.conf.json` file.

View File

@@ -1,5 +0,0 @@
---
"tauri-bundler": patch
---
Bundle the tray library file (`.so` extension) in the AppImage if the `TRAY_LIBRARY_PATH` environment variable is set.

View File

@@ -1,5 +0,0 @@
---
"tauri-bundler": patch
---
Bundle additional gstreamer files needed for audio and video playback if the `APPIMAGE_BUNDLE_GSTREAMER` environment variable is set.

View File

@@ -1,5 +0,0 @@
---
"api": patch
---
Properly define the `appWindow` type.

View File

@@ -1,5 +0,0 @@
---
"tauri": patch
---
**Breaking change:** Removed `tauri::api::file::ArchiveFormat::Plain`.

View File

@@ -1,5 +0,0 @@
---
"tauri-utils": patch
---
Added `asset` allowlist configuration, which enables the `asset` protocol and defines it access scope.

View File

@@ -1,5 +0,0 @@
---
"tauri": patch
---
Enable CORS on the `asset` protocol.

View File

@@ -1,5 +0,0 @@
---
"tauri": patch
---
Fallback to `{path}.html` when `{path}` is not found in the Tauri custom protocol handler.

View File

@@ -1,5 +0,0 @@
---
"tauri": patch
---
The `asset://` custom protocol is only defined when either the `api-all`, `protocol-all` or `protocol-asset` feature flags are enabled. These feature flags are accessible with the `tauri.conf.json` allowlist.

View File

@@ -1,5 +0,0 @@
---
"tauri": patch
---
Expose the `asset_resolver` API on the `App` and `AppHandle` structs.

View File

@@ -1,5 +0,0 @@
---
"cli.js": patch
---
Change the `run` function to take a callback and run asynchronously instead of blocking the event loop.

View File

@@ -1,5 +0,0 @@
---
"tauri": patch
---
**Breaking change:** Refactored the types returned from the `async_runtime` module.

View File

@@ -1,5 +0,0 @@
---
"tauri": patch
---
Added `tauri::async_runtime::set` method, allowing to share your tokio runtime with Tauri.

View File

@@ -1,5 +0,0 @@
---
"tauri": patch
---
Added `tauri::async_runtime::spawn_blocking` API.

View File

@@ -1,5 +0,0 @@
---
"tauri": patch
---
**Breaking change:** Removed the `ayatana-tray` from the default features. You must select one of `ayatana-tray` and `gtk-tray` to use system tray on Linux.

View File

@@ -1,5 +0,0 @@
---
"tauri": patch
---
**Breaking change:** Use ayatana-appindicator for Linux system tray by default. Use the `gtk-tray` Cargo feature to use `libappindicator` instead.

View File

@@ -1,5 +0,0 @@
---
"cli.rs": patch
---
Define `TAURI_PLATFORM`, `TAURI_ARCH`, `TAURI_FAMILY`, `TAURI_PLATFORM_TYPE`, `TAURI_PLATFORM_VERSION` and `TAURI_DEBUG` environment variables for the `beforeDevCommand` and `beforeBuildCommand` scripts.

View File

@@ -1,5 +0,0 @@
---
"tauri": patch
---
Reduce the amount of generated code for the API endpoints.

View File

@@ -1,5 +0,0 @@
---
"tauri-build": patch
---
Do not copy the tray icon to the output directory on Linux since it is embedded in the binary.

View File

@@ -1,5 +0,0 @@
---
"tauri-build": patch
---
Rerun build script if `TAURI_CONFIG` environment variable change.

View File

@@ -1,5 +0,0 @@
---
"tauri-build": patch
---
Rerun if sidecar or resource change.

View File

@@ -1,5 +0,0 @@
---
"tauri-build": patch
---
Allow user to specify windows sdk path in build.rs.

View File

@@ -1,5 +0,0 @@
---
"tauri": patch
---
**Breaking change:** The `Builder#create_window` API now returns a Result validating the window label.

View File

@@ -1,5 +0,0 @@
---
"tauri-utils": patch
---
Added a config flag to bundle the media framework used by webkit2gtk `tauri.conf.json > tauri > bundle > appimage > bundleMediaFramework`.

View File

@@ -1,5 +0,0 @@
---
"tauri-bundler": patch
---
Provide a provider short name for macOS app notarization if your Apple developer account is connected to more than one team.

View File

@@ -1,9 +0,0 @@
---
"tauri-bundler": patch
"cli.rs": patch
"cli.js": patch
"tauri": patch
---
Added `tsp` config option under `tauri > bundle > windows`, which enables Time-Stamp Protocol (RFC 3161) for the timestamping
server under code signing on Windows if set to `true`.

View File

@@ -1,5 +0,0 @@
---
"tauri-bundler": patch
---
Allow building AppImages on systems without FUSE setup.

View File

@@ -1,5 +0,0 @@
---
"tauri-bundler": patch
---
Cache bundling tools in a directory shared by all tauri projects. Usually in `$XDG_HOME/.cache/tauri` on Linux and `$HOME\AppData\Local\tauri` on Windows.

View File

@@ -1,5 +0,0 @@
---
'tauri-bundler': patch
---
Fixes AppImage crashes caused by missing WebKit runtime files.

View File

@@ -1,5 +0,0 @@
---
"tauri-bundler": patch
---
Initialize the preselected installation path with the location of the previous installation.

View File

@@ -1,5 +0,0 @@
---
"tauri-bundler": patch
---
Replaces usage of the nightly command `RUSTC_BOOTSTRAP=1 rustc -Z unstable-options --print target-spec-json` with the stable command `rustc --print cfg`, improving target triple detection.

View File

@@ -1,5 +0,0 @@
---
"tauri-bundler": major
---
Remove `Settings::verbose` option. You may now bring your own `log` frontend to receive logging output from the bundler while remaining in control of verbosity and formatting.

View File

@@ -1,5 +0,0 @@
---
"tauri-bundler": patch
---
Change `tsp` value from `Option<bool>` to `bool`.

View File

@@ -1,5 +0,0 @@
---
"tauri": patch
---
The `callback` and `error` invoke fields, along with other `transformCallback` usages, are now validated to be numeric.

View File

@@ -1,5 +0,0 @@
---
"tauri": patch
---
Revert the `clap` usage back to the version 3.0 API.

View File

@@ -1,5 +0,0 @@
---
"tauri": patch
---
Change `Error::ParseCliArguments(clap::Error)` to `Error::ParseCliArguments(String)` because `clap::Error` is not `Send`.

View File

@@ -1,5 +0,0 @@
---
"tauri-utils": patch
---
Change `CliArg` numeric types from `u64` to `usize`.

View File

@@ -1,6 +0,0 @@
---
"cli.rs": patch
"cli.js": patch
---
Resolve binary file extension from target triple instead of compile-time checks to allow cross compilation.

View File

@@ -1,6 +0,0 @@
---
"cli.rs": patch
"cli.js": patch
---
Set the `TRAY_LIBRARY_PATH` environment variable to make the bundle copy the appindicator library to the AppImage.

View File

@@ -1,6 +0,0 @@
---
"cli.rs": patch
"cli.js": patch
---
Set the `APPIMAGE_BUNDLE_GSTREAMER` environment variable to make the bundler copy additional gstreamer files to the AppImage.

View File

@@ -1,6 +0,0 @@
---
"cli.rs": patch
"cli.js": patch
---
Exit CLI when Cargo returns a non-compilation error in `tauri dev`.

View File

@@ -1,5 +0,0 @@
---
"cli.rs": patch
---
Allow `config` arg to be a path to a JSON file on the `dev` and `build` commands.

View File

@@ -1,6 +0,0 @@
---
"cli.rs": patch
"cli.js": patch
---
Notify CLI update when running `tauri dev`.

View File

@@ -1,7 +0,0 @@
---
"cli.rs": patch
---
The CLI will not automatically run `strip` on release binaries anymore. Use the [`strip`] profile setting stabilized with Cargo 1.59.
[`strip`]: https://doc.rust-lang.org/cargo/reference/profiles.html#strip

View File

@@ -1,6 +0,0 @@
---
"cli.rs": patch
"cli.js": patch
---
Check if `$CWD/src-tauri/tauri.conf.json` exists before walking through the file tree to find the tauri dir in case the whole project is gitignored.

View File

@@ -1,6 +0,0 @@
---
"cli.rs": patch
"cli.js": patch
---
Fixes text overflow on `tauri dev` on Windows.

View File

@@ -1,6 +0,0 @@
---
"cli.rs": patch
"cli.js": patch
---
Kill the `beforeDevCommand` and app processes if the dev command returns an error.

View File

@@ -1,6 +0,0 @@
---
"cli.rs": patch
"cli.js": patch
---
Improve "waiting for your dev server to start" message.

View File

@@ -1,6 +0,0 @@
---
"cli.rs": minor
"cli.js": minor
---
Improve CLI's logging output, making use of the standard rust `log` system.

View File

@@ -1,5 +0,0 @@
---
"cli.rs": patch
---
Include `vswhere.exe` on the published package.

View File

@@ -1,6 +0,0 @@
---
"cli.rs": "patch"
"cli.js": "patch"
---
Fix `info` command showing outdated text for latest versions.

View File

@@ -1,6 +0,0 @@
---
"cli.rs": patch
"cli.js": patch
---
Don't override the default keychain on macOS while code signing.

View File

@@ -1,6 +0,0 @@
---
"cli.rs": patch
"cli.js": patch
---
Do not panic if the updater private key password is wrong.

View File

@@ -1,5 +0,0 @@
---
"cli.rs": patch
---
Allow passing arguments to the `build` runner (`tauri build -- <ARGS>...`).

View File

@@ -1,6 +0,0 @@
---
"cli.rs": patch
"cli.js": patch
---
Improve error message when the dev runner command fails.

View File

@@ -1,6 +0,0 @@
---
"cli.rs": patch
"cli.js": patch
---
Configure the AppImage bundler to copy the `/usr/bin/xdg-open` binary if it exists and the shell `open` API is enabled.

View File

@@ -1,6 +0,0 @@
---
"cli.rs": patch
"cli.js": patch
---
Remove `minimumSystemVersion: null` from the application template configuration.

View File

@@ -1,5 +0,0 @@
---
"cli.js": patch
---
Added CommonJS output to the `dist` folder.

View File

@@ -1,5 +0,0 @@
---
"cli.js": patch
---
Fixes `.ico` icon generation.

View File

@@ -1,5 +0,0 @@
---
"cli.js": patch
---
Show full error message from `cli.rs` instead of just the outermost underlying error message.

View File

@@ -1,5 +0,0 @@
---
"cli.js": patch
---
Added `i686-pc-windows-msvc` to the prebuilt targets.

View File

@@ -1,5 +0,0 @@
---
"cli.rs": patch
---
Add `rustup` version and active rust toolchain to the `info` command output.

View File

@@ -1,5 +0,0 @@
---
"cli.rs": patch
---
Add `Visual Studio Build Tools` installed versions to the `info` command output.

View File

@@ -1,5 +0,0 @@
---
"cli.rs": patch
---
The inferred development server port for Svelte is now `8080` (assumes latest Svelte with `sirv-cli >= 2.0.0`).

View File

@@ -1,5 +0,0 @@
---
"cli.rs": patch
---
Detect if tauri is used from git in the `info` command.

View File

@@ -1,7 +0,0 @@
---
"cli.rs": patch
"cli.js": patch
---
* Remove startup delay in `tauri dev` caused by checking for a newer cli version. The check is now done upon process exit.
* Add `TAURI_SKIP_UPDATE_CHECK` env variable to skip checking for a newer CLI version.

View File

@@ -1,5 +0,0 @@
---
"cli.rs": patch
---
Drop the `dialoguer` soft fork and use the published version instead.

View File

@@ -1,5 +0,0 @@
---
"cli.rs": patch
---
Fix `build` command when executed on a 32-bit Windows machine when pulling from the `binary-releases` repo.

View File

@@ -1,6 +0,0 @@
---
"cli.rs": patch
"cli.js": patch
---
Fix `tauri info` panic when a pacakage isn't installed.

Some files were not shown because too many files have changed in this diff Show More