import Alert from '@theme/Alert'
Especially during the alpha and beta phases, you are expected to keep all Tauri dependencies and toolchains up to date. There is no support for any versions other than latest.
The Tauri JS CLI has a command to install and update all needed dependencies, just run tauri deps install or tauri deps update.
If you are using the tauri package:
$ yarn upgrade @tauri-apps/cli @tauri-apps/api --latest
$ npm install @tauri-apps/cli@latest @tauri-apps/api@latest
You can also detect what the latest version of Tauri is on the command line, using:
npm outdated @tauri-apps/cliyarn outdated @tauri-apps/cliAlternatively, if you are using the vue-cli-plugin-tauri approach:
$ yarn upgrade vue-cli-plugin-tauri --latest
$ npm install vue-cli-plugin-tauri@latest
Go to src-tauri/Cargo.toml and change tauri to
tauri = { version = "%version%" } where %version% is the version number shown above. (You can just use the MAJOR.MINOR) version, like 0.9.
Then do the following:
$ cd src-tauri
$ cargo update -p tauri
You can also run cargo outdated -r tauri to get direct information about the core library's latest version.