mirror of
https://github.com/tauri-apps/tauri.git
synced 2024-12-22 10:11:32 +03:00
14 KiB
14 KiB
Changelog
[0.14.1]
- Fixed a TypeScript issue where it didn't allow you to put the "recursive" option in the directory functions.
[0.14.0]
- Update the tauri template to properly set the app icon id on Windows so the webview can load the executable icon.
To use it on old projects, update your
src-tauri/src/build.rs
file, replacingres.set_icon("icons/icon.ico");
withres.set_icon_with_id("icons/icon.ico", "32512");
. - f887320 fix(template) default windows icon id should be 32512, fixes #1099 (#1107) on 2020-12-05 - Fixes
tauri deps
command usage whennpm
is not installed. - Match writeBinaryFile command name between js and rust
[0.13.0]
- Fixes
Reflect.deleteProperty
on promisified API calls failing withUnable to delete property
by making it configurable. - Adds a path resolution API (e.g. getting the download directory or resolving a path to the home directory).
[0.12.0]
- Break out TauriBuildConfig interface from TauriConfig build property
- Create recipes. A recipe:
- Create React JS and React TS recipes
- Add new top level command
create
, which accepts a recipe as a CLI, or runs interactively, prompting for a recipe out of a menu of choices defined byapi/recipes/index
- Refactor
init
command so that it is just an alias forcreate
with no recipe - Bump all deps as noted in #975, #976, #977, #978, and #979.
- Make interactive prompt not ask for app name supplied as cli arg
- Change
String
tostring
type foropen
andsave
methods - Format all code with prettier. This technically should only affect code styles, but noting for posterity.
- Set correct promise resolve type which returns from
readBinaryFile
- Add types to JSDoc annotations
[0.11.1]
- Fix command line arguments -W (window title) and -P (dev server uri) to work as intended.
[0.11.0]
- Fixes the Webview initialization on Windows.
[0.10.0]
- Fixes the
writeFile
andwriteBinaryFile
usage. - The notification's
body
is now optional, closes #793. - Fixes a memory leak on the
promisified
helper usage. - Prevent running the
dev
pipeline when running with administrator privileges. - Print outdated dependencies information on
tauri info
. - Convert the
--app-name
value to kebab case. - Do not require a
package.json
file on the app root. - Adds a dependency manager command to the Node.js CLI (
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
andtauri deps update
. - 77282c1 feat(tauri.js) add dependency manager command (#829) on 2020-07-15 - Run the dependency manager's install script after
tauri init
succeeds. - Move types exported in the
tauri
js api into the modules that use them. For example,Event
is now available fromtauri/api/event
instead oftauri/api/types/event
. - 660a2d8 feat(tauri.js) move exported api types into api modules (fix #807) (#809) on 2020-07-12
[0.9.1]
- Fixes Edge blank screen on Windows when running tauri dev (Tauri crashing window due to Edge reloading app because of missing Content-Type header).
- Improve the tauri info output on Windows, including the Microsoft Edge version.
[0.9.0]
- Fixes a race condition on the beforeDevCommand usage (starting Tauri before the devServer is ready).
- Revert a nullish coalescing operator that changed embedded server/inliner behavior.
- Fixes tauri init not generating tauri.conf.json on the Vue CLI Plugin.
- tauri init now prompt for default values such as window title, app name, dist dir and dev path. You can use --ci to skip the prompts.
[0.8.4]
- Bump lodash to 4.17.19
[0.8.3]
- Fixes the wrong cli value on the template that's used by tauri init. Also fixes the template test.
- Fixes the tauri icon usage with the --icon flag. Previously, only the -i flag worked.
[0.8.2]
- Adds tauri.conf.json schema validation to the CLI.
[0.8.1]
- Transpile the TS API to ES5. Expose CJS as .js and ESM as .mjs.
- Fixes the assets embedding into the binary.
[0.8.0]
- Create UMD, ESM and CJS artifacts for the JavaScript API entry point from TS source using rollup.
- Renaming window.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.