chore(covector): prepare for rc release (#3376)

This commit is contained in:
Lucas Fernandes Nogueira 2022-02-10 16:46:30 -03:00 committed by GitHub
parent 2403e732df
commit 62c7a8ad30
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
315 changed files with 45 additions and 2046 deletions

View File

@ -1,7 +0,0 @@
---
"tauri": patch
"tauri-runtime": patch
"tauri-runtime-wry": patch
---
Allow preventing window close when the user requests it.

View File

@ -1,5 +0,0 @@
---
"tauri": patch
---
Remove anonymous lifetimes on examples.

View File

@ -1,5 +1,5 @@
---
"api": minor
"api": patch
---
Add `logDir` function to the `path` module to access the sugested log directory.

View File

@ -1,5 +0,0 @@
---
"api": patch
---
CommonJS chunks are now properly exported with `.cjs` extension

View File

@ -1,6 +0,0 @@
---
"api": patch
---
`bundle` now exports `clipboard` module so you can `import { clipboard } from "@tauri-apps/api"`.

View File

@ -1,5 +0,0 @@
---
"api": patch
---
Adds `convertFileSrc` helper to the `tauri` module, simplifying the process of using file paths as webview source (`img`, `video`, etc).

View File

@ -1,6 +0,0 @@
---
"api": patch
---
Export `BaseDirectory` in `path` module

View File

@ -1,5 +0,0 @@
---
"api": patch
---
Adds `package.json` to the `exports` object.

View File

@ -1,5 +0,0 @@
---
"api": patch
---
Export `Response` and `ResponseType` as value instead of type.

View File

@ -1,5 +0,0 @@
---
"api": patch
---
Use `export type` to export TS types, enums and interfaces.

View File

@ -1,5 +0,0 @@
---
"tauri": patch
---
Moves `shell`, `dialog::FileDialogBuilder` and `process::Command` APIs behind their allowlist feature flags.

View File

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

View File

@ -1,5 +0,0 @@
---
"api": patch
---
Fix double window creation

View File

@ -1,5 +0,0 @@
---
"api": patch
---
Adds `focus?: boolean` to the WindowOptions interface.

View File

@ -1,5 +0,0 @@
---
"api": patch
---
Adds `isDecorated` getter on the window API.

View File

@ -1,5 +0,0 @@
---
"api": patch
---
Adds `isResizable` getter on the window API.

View File

@ -1,5 +0,0 @@
---
"api": patch
---
Adds `isVisible` getter on the window API.

View File

@ -1,4 +0,0 @@
---
"api": patch
---
Add `os` module which exports `EOL`, `platform()`, `version()`, `type()`, `arch()`, `tempdir()`

View File

@ -1,7 +0,0 @@
---
"api": patch
---
- Add new nodejs-inspired functions which are `join`, `resolve`, `normalize`, `dirname`, `basename` and `extname`.
- Add `sep` and `delimiter` constants.
- Removed `resolvePath` API, use `resolve` instead.

View File

@ -1,5 +0,0 @@
---
"api": patch
---
Adds `requestUserAttention` API to the `window` module.

View File

@ -1,5 +0,0 @@
---
"api": patch
---
Adds `setFocus` to the window API.

View File

@ -1,5 +0,0 @@
---
"api": patch
---
Adds `setSkipTaskbar` to the window API.

View File

@ -1,5 +0,0 @@
---
"api": patch
---
Adds `skipTaskbar?: boolean` to the WindowOptions interface.

View File

@ -1,5 +0,0 @@
---
"api": patch
---
Change target to ES2021.

View File

@ -1,5 +0,0 @@
---
"api": patch
---
Add `toggleMaximize()` function to the `WebviewWindow` class.

View File

@ -1,5 +0,0 @@
---
"api": patch
---
Adds `transparent?: boolean` to the `WindowOptions` interface.

View File

@ -1,4 +0,0 @@
---
"api": patch
---
Fix `@ts-expect` error usage

View File

@ -1,5 +0,0 @@
---
"api": patch
---
Adds `center?: boolean` to `WindowOptions` and `center()` API to the `appWindow`.

View File

@ -1,5 +0,0 @@
---
"tauri": patch
---
Add `App#run` method with callback argument (event loop event handler).

View File

@ -1,6 +0,0 @@
---
"tauri": patch
---
**Breaking:** `api::path::resolve_path()` and `api::path::app_dir()` now takes the config as first argument and the `PackageInfo` as second argument.
**Breaking:** `api::path::app_dir()` now resolves to `${configDir}/${config.tauri.bundle.identifier}`.

View File

@ -1,5 +0,0 @@
---
"tauri": patch
---
Adds `create_window` API to the `AppHandle` struct.

View File

@ -1,5 +0,0 @@
---
"tauri": patch
---
Cleanup application on `AppHandle#exit`.

View File

@ -1,5 +0,0 @@
---
"tauri": patch
---
Adds a `handle` function to the `App` struct, which returns a `Send` handle to the app instance.

View File

@ -1,5 +0,0 @@
---
"tauri": patch
---
Adds `set_activation_policy` API to the `tauri::App` struct (macOS only).

View File

@ -1,5 +0,0 @@
---
"tauri": patch
---
Adds `manage` API to the `Builder` struct, which manages app state.

View File

@ -1,5 +0,0 @@
---
"api": patch
---
You can now use `emit`, `listen` and `once` using the `appWindow` exported by the window module.

View File

@ -1,7 +0,0 @@
---
"api": patch
"tauri": patch
---
Fix missing asset protocol path.Now the protocol is `https://asset.localhost/path/to/file` on Windows. Lunix and macOS
is still `asset://path/to/file`.

View File

@ -1,5 +0,0 @@
---
"api": patch
---
Add asset custom protocol to access local file system.

View File

@ -1,7 +0,0 @@
---
"tauri-codegen": patch
"tauri-utils": patch
"tauri": patch
---
**Breaking:** The `assets` field on the `tauri::Context` struct is now a `Arc<impl Assets>`.

View File

@ -1,6 +0,0 @@
---
"tauri": patch
"tauri-macros": patch
---
Only commands with a `async fn` are executed on a separate task. `#[command] fn command_name` runs on the main thread.

View File

@ -1,5 +0,0 @@
---
"tauri": patch
---
Add `handle` API to `tauri::async_runtime`.

View File

@ -1,5 +0,0 @@
---
"tauri": patch
---
**Breaking change:** The `tauri::async_runtime::spawn` function now returns `tauri::async_runtime::JoinHandle<T>`.

View File

@ -1,5 +0,0 @@
---
"tauri": patch
---
Use `attohttpc` on the HTTP API by default for bundle size optimization. `reqwest` is implemented behind the `reqwest-client` feature flag.

View File

@ -1,16 +0,0 @@
---
"api": major
"tauri-bundler": major
"cli.rs": major
"cli.js": major
"tauri-utils": major
"tauri-codegen": major
"tauri-macros": major
"tauri-build": major
"tauri-runtime": minor
"tauri-runtime-wry": minor
"tauri": major
"create-tauri-app": major
---
Upgrade to beta!

View File

@ -1,5 +0,0 @@
---
"cli.rs": patch
---
Support `cargo tauri build` on Apple M1 chip.

View File

@ -1,5 +0,0 @@
---
"tauri-bundler": patch
---
Fixes the `Installed-Size` value on the debian package.

View File

@ -1,5 +0,0 @@
---
"tauri-bundler": patch
---
Use `armhf` as Debian package architecture on `arm` CPUs.

View File

@ -1,5 +0,0 @@
---
"tauri-bundler": patch
---
Adds basic library documentation.

View File

@ -1,5 +0,0 @@
---
"tauri-bundler": patch
---
Merge Tauri-generated Info.plist with the contents of `src-tauri/Info.plist` if it exists.

View File

@ -1,5 +0,0 @@
---
"tauri-bundler": patch
---
Change the WiX config to allow upgrading installation with same version instead of duplicating the application.

View File

@ -1,5 +0,0 @@
---
"tauri-bundler": patch
---
The process of copying binaries and resources to `project_out_directory` was moved to the Tauri CLI.

View File

@ -1,5 +0,0 @@
---
"tauri-bundler": patch
---
The `PackageTypes` enum now includes all options, including Windows packages.

View File

@ -1,5 +0,0 @@
---
"tauri-bundler": patch
---
Check target architecture at runtime running `$ RUSTC_BOOTSTRAP=1 rustc -Z unstable-options --print target-spec-json` and parsing the `llvm-target` field, fixing macOS M1 sidecar check until we can compile the CLI with M1 target on GitHub Actions.

View File

@ -1,5 +0,0 @@
---
"tauri-bundler": patch
---
Adds `icon_path` field to the `WindowsSettings` struct (defaults to `icons/icon.ico`).

View File

@ -1,5 +0,0 @@
---
"tauri-bundler": patch
---
Fix WIX uninstaller by using unique `GUID` shortcut.

View File

@ -1,6 +0,0 @@
---
"tauri-bundler": patch
---
Added `banner_path` field to the `WixSettings` struct.

View File

@ -1,5 +0,0 @@
---
"tauri-bundler": patch
---
Added `dialog_image_path` field to the `WixSettings` struct.

View File

@ -1,5 +0,0 @@
---
"cli.rs": patch
---
Fixes a cargo `target/` cache issue.

View File

@ -1,5 +0,0 @@
---
"tauri": patch
---
Kill child processes spawned with `tauri::api::process::Command` on `tauri::App` drop. Can be skipped with `tauri::Builder#skip_cleanup_on_drop`.

View File

@ -1,5 +0,0 @@
---
"cli.rs": patch
---
Improve error logging.

View File

@ -1,5 +0,0 @@
---
"cli.rs": patch
---
Improve error message when the product name is invalid.

View File

@ -1,6 +0,0 @@
---
"cli.rs": patch
---
Infer `app name` and `window title` from `package.json > productName` or `package.json > name`.
Infer `distDir` and `devPath` by reading the package.json and trying to determine the UI framework (Vue.js, Angular, React, Svelte and some UI frameworks).

View File

@ -1,5 +0,0 @@
---
"cli.rs": patch
---
Adds Webview2 version on `info` command.

View File

@ -1,5 +0,0 @@
---
"cli.rs": patch
---
Added `APPLE_SIGNING_IDENTITY` as supported environment variable for the bundler.

View File

@ -1,7 +0,0 @@
---
"cli.rs": patch
"cli.js": patch
"tauri-bundler": patch
---
Run powershell commands with `-NoProfile` flag

View File

@ -1,5 +0,0 @@
---
"cli.rs": patch
---
Adds `--runner [PROGRAM]` argument on the `dev` and `build` command, allowing using the specified program to run and build the application (example program: `cross`).

View File

@ -1,5 +0,0 @@
---
"cli.rs": patch
---
Adds `--target [TARGET_TRIPLE]` option to the `build` command (example: `--target arm-unknown-linux-gnueabihf`).

View File

@ -1,5 +0,0 @@
---
"cli.rs": patch
---
Rename `--target` option on the `build` command to `--bundle`.

View File

@ -1,5 +0,0 @@
---
"cli.js": patch
---
Force Cargo manifest update when running the `deps update` command and fix the version that is written to the file.

View File

@ -1,5 +0,0 @@
---
"cli.js": patch
---
Allow empty argument when running `cli.rs`.

View File

@ -1,5 +0,0 @@
---
"cli.js": patch
---
Fixes `UnhandledPromiseRejectionWarning` when the Rust CLI call fails.

View File

@ -1,5 +0,0 @@
---
"cli.js": patch
---
The CLI is now a ES module and requires at least Node.js v12.20.

View File

@ -1,5 +0,0 @@
---
"cli.js": patch
---
Packages are checked with `!=` instead of `semver` for beta releases.

View File

@ -1,5 +0,0 @@
---
"cli.js": patch
---
Adds support to HTTPS proxy set with the `HTTPS_PROXY` environment variable.

View File

@ -1,5 +0,0 @@
---
"cli.js": patch
---
Download `rustup` script on runtime instead of shipping it.

View File

@ -1,5 +0,0 @@
---
"cli.rs": patch
---
Watch workspace crates on `dev` command.

View File

@ -1,5 +0,0 @@
---
"cli.rs": patch
---
Adds `features` argument to the `dev` and `build` commands.

View File

@ -1,5 +0,0 @@
---
"cli.rs": patch
---
Update cli.yml to pass clap ArgSettings::MultipleValues assertion.

View File

@ -1,5 +0,0 @@
---
"cli.rs": patch
---
Fixes the libwebkit2gtk package name.

View File

@ -1,5 +0,0 @@
---
"cli.rs": patch
---
Adds `release` argument to the `dev` command. Allowing to run the backend in release mode during development.

View File

@ -1,5 +0,0 @@
---
"cli.rs": patch
---
Added configuration for the WiX banner icon under `tauri.conf.json > tauri > bundle > windows > wix > bannerPath`.

View File

@ -1,5 +0,0 @@
---
"cli.rs": patch
---
Added configuration for the WiX dialog background bitmap under `tauri.conf.json > tauri > bundle > windows > wix > dialogImagePath`.

View File

@ -1,8 +0,0 @@
---
"api": patch
"tauri": patch
"tauri-runtime": minor
"tauri-runtime-wry": minor
---
Adds `clipboard` APIs (write and read text).

View File

@ -1,5 +0,0 @@
---
"tauri-macros": patch
---
Fixes a name collision when the command function is named `invoke`.

View File

@ -1,5 +0,0 @@
---
"tauri-macros": patch
---
Fixes a name collision when the command function is named `message` or `resolver`.

View File

@ -1,5 +0,0 @@
---
"tauri": patch
---
Renamed the `command` API module to `process`.

View File

@ -1,5 +0,0 @@
---
"tauri": patch
---
Allow accessing an `AppHandle` instance on a command through dependency injection.

View File

@ -1,6 +0,0 @@
---
"tauri-macros": patch
---
`#[command]` now generates a macro instead of a function to allow passing through `Params` and other generics.
`generate_handler!` has been changed to consume the generated `#[command]` macro

View File

@ -1,5 +0,0 @@
---
"tauri-macros": patch
---
internal: Refactor all macro code that expects specific bindings to be passed Idents

View File

@ -1,5 +0,0 @@
---
"tauri": patch
---
Fixes child processes messages not arriving until the subprocess is terminated.

View File

@ -1,6 +0,0 @@
---
"api": patch
"tauri": patch
---
Adds `options` argument to the shell command API (`env` and `cwd` configuration).

View File

@ -1,6 +0,0 @@
---
"tauri": patch
"tauri-macros": patch
---
Improves support for commands returning `Result`.

View File

@ -1,5 +0,0 @@
---
"tauri-macros": patch
---
Adds support to command state, triggered when a command argument is `arg: State<'_, StateType>`.

View File

@ -1,5 +0,0 @@
---
"tauri": patch
---
Adds `status` and `output` APIs to the `tauri::api::process::Command` struct.

View File

@ -1,5 +0,0 @@
---
"tauri": patch
---
Adds a mutable `config` getter on the `Context` struct.

View File

@ -1,5 +0,0 @@
---
"tauri": patch
---
Adds `config` and `package_info` getters to the `App` and `AppHandle` structs.

View File

@ -3,7 +3,7 @@
"timeout": 3600000,
"pkgManagers": {
"rust": {
"errorOnVersionRange": "1.0.0-beta.100 - 99.x || ^1.1.0-0 || ^2.0.0-0",
"errorOnVersionRange": "1.0.0-rc.100 - 99.x || ^1.1.0-0 || ^2.0.0-0",
"version": true,
"getPublishedVersion": "cargo search ${ pkgFile.pkg.package.name } --limit 1 | sed -nE \"s/^[^\\\"]*\\\"//; s/\\\".*//1p\"",
"prepublish": [
@ -78,7 +78,7 @@
]
},
"javascript": {
"errorOnVersionRange": "1.0.0-beta-rc.100 - 99.x || ^1.1.0-0 || ^2.0.0-0",
"errorOnVersionRange": "1.0.0-rc.100 - 99.x || ^1.1.0-0 || ^2.0.0-0",
"version": true,
"getPublishedVersion": "npm view ${ pkgFile.pkg.name } version",
"prepublish": [
@ -235,7 +235,7 @@
"tauri-macros": {
"path": "./core/tauri-macros",
"manager": "rust",
"dependencies": ["tauri-codegen"]
"dependencies": ["tauri-codegen", "tauri-utils"]
},
"tauri-build": {
"path": "./core/tauri-build",
@ -266,7 +266,8 @@
"cli.rs": {
"path": "./tooling/cli.rs",
"manager": "rust",
"dependencies": ["tauri-bundler", "tauri-utils"]
"dependencies": ["tauri-bundler", "tauri-utils"],
"postversion": "cargo check"
},
"create-tauri-app": {
"path": "./tooling/create-tauri-app",

View File

@ -1,5 +1,5 @@
---
"api": minor
"api": patch
---
Change the `event` field of the `Event` interface to type `EventName` instead of `string`.

View File

@ -1,9 +0,0 @@
---
"tauri": patch
---
Expose mutable getters for the rest of the public `Context` getters.
* `pub fn assets_mut(&mut self) -> &mut Arc<A>`
* `pub fn default_window_icon_mut(&mut self) -> &mut Option<Vec<u8>>`
* `pub fn system_tray_icon_mut(&mut self) -> &mut Option<Icon>`
* `pub fn package_info_mut(&mut self) -> &mut tauri::api::PackageInfo`

View File

@ -1,5 +1,5 @@
---
"tauri": minor
"tauri": patch
---
Add `tauri::api::path::log_dir` function to access the sugested log directory path.

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