deps update command and fix the version that is written to the file.
HTTPS_PROXY environment variable.
dev mode and switch CTA test to a script runner. The script gives us more control and better output into any failures.
-NoProfile flag
cli.rs download failure instead of silent exit.
build command when the target arg is set.
cli.rs.
!= instead of semver for beta releases.
'self' to default CSP because otherwise no joy on macOS.
Fixes UnhandledPromiseRejectionWarning when the Rust CLI call fails.
Download rustup script on runtime instead of shipping it.
Adds pnpm support.
Updates to tauri icon
detect if icon is NOT transparent via metadata
detect again on pixel level
remove pngquant as a waste of space
make optipng default
relax optipng settings
82a580e feat(tauricon): fix transparency (#1678) on 2021-05-03
command name value on plugin invoke handler.
package object on tauri.conf.json.
tauri deps command now properly detects beta-rc crate updates.
tauri icon command now accepts the icon path as the first positional argument instead of --icon PATH.
tauri init when the --ci argument is passed.
tauri infoyarn and npm versions on windows.metadata.jsoncmd to run yarn&npm on windows (#1511) on 2021-04-17metadata.json via script to update version reference to cli.js, tauri (core) and tauri-build.
files property in the package.json which mean that the dist directory was not published and used.
info command was rewritten in Rust.
init command was rewritten in Rust.
no-server mode, the inliner, the dev server proxy and the loadAsset API.
tauri create deletion and shift remaining pieces that weren't deleted to create-tauri-app.
@tauri-apps/api package instead of the deprecated tauri package.
To use the new API package, delete the old tauri from your package.json and install the new package:
$ yarn remove tauri && yarn add @tauri-apps/api or $ npm uninstall tauri && npm install @tauri-apps/api.
And change all import { someApi } from 'tauri/api to import { someApi } from '@tauri-apps/api'.
@tauri-apps/cli.
tauri dev -- are now propagated to the binary.
src-tauri/src/build.rs file, replacing res.set_icon("icons/icon.ico"); with res.set_icon_with_id("icons/icon.ico", "32512");.
- f887320 fix(template) default windows icon id should be 32512, fixes #1099 (#1107) on 2020-12-05tauri deps command usage when npm is not installed.
Reflect.deleteProperty on promisified API calls failing with Unable to delete property by making it configurable.
create, which accepts a recipe as a CLI, or runs interactively, prompting for a recipe out of a menu of choices defined by api/recipes/index
init command so that it is just an alias for create with no recipe
String to string type for open and save methods
readBinaryFile
writeFile and writeBinaryFile usage.
body is now optional, closes #793.
promisified helper usage.
dev pipeline when running with administrator privileges.
tauri info.
--app-name value to kebab case.
package.json file on the app root.
tauri deps). The manager is able to install and update Rust and the Tauri ecosystem dependencies (npm package, crates, cargo subcommands).
Usage: tauri deps install and tauri deps update. - 77282c1 feat(tauri.js) add dependency manager command (#829) on 2020-07-15tauri init succeeds.
tauri js api into the modules that use them. For
example, Event is now available from tauri/api/event instead of
tauri/api/types/event. - 660a2d8 feat(tauri.js) move exported api types into api modules (fix #807) (#809) on 2020-07-12window.tauri to window.__TAURI__, closing #435.
The Tauri object now follows the TypeScript API structure (e.g. window.tauri.readTextFile is now window.__TAURI__.fs.readTextFile).
If you want to keep the window.tauri object for a while, you can add a mapping object to your code.