mirror of
https://github.com/tauri-apps/tauri.git
synced 2024-12-23 02:32:28 +03:00
1f98853573
Co-authored-by: Lucas Nogueira <lucas@tauri.studio> Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com> Co-authored-by: Ngo Iok Ui (Wu Yu Wei) <wusyong9104@gmail.com> Co-authored-by: Renovate Bot <bot@renovateapp.com> Co-authored-by: david <david@lemarier.ca> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: chip <chip@chip.sh>
30 KiB
30 KiB
Changelog
[1.0.0-beta.10]
- Update cli.yml to pass clap ArgSettings::MultipleValues assertion.
[1.0.0-beta.9]
- The CLI is now an ES module and requires at least Node.js v12.20. Fixed previous releases by using Rollup instead of Webpack.
[1.0.0-beta.8]
[1.0.0-beta.7]
- Force Cargo manifest update when running the
deps update
command and fix the version that is written to the file. - The CLI is now a ES module and requires at least Node.js v12.20.
- Adds support to HTTPS proxy set with the
HTTPS_PROXY
environment variable. - Adjust check for
dev
mode and switch CTA test to a script runner. The script gives us more control and better output into any failures.
[1.0.0-beta.6]
- Run powershell commands with
-NoProfile
flag - Throw error on
cli.rs
download failure instead of silent exit.
[1.0.0-beta.5]
- Improve error message when the product name is invalid.
[1.0.0-beta.4]
- Properly detect target platform's architecture.
- Fixes
build
command when thetarget
arg is set.
[1.0.0-beta.3]
- Allow empty argument when running
cli.rs
.
[1.0.0-beta.2]
- Packages are checked with
!=
instead ofsemver
for beta releases.
[1.0.0-beta.1]
- Add
'self'
to default CSP because otherwise no joy on macOS. - Fix a typo that would result in bundle arg being ignored.
[1.0.0-beta.0]
-
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
[1.0.0-beta-rc.4]
- Fixes the Message
command
name value on plugin invoke handler. - The package info APIs now checks the
package
object ontauri.conf.json
.
[1.0.0-beta-rc.3]
- Remove Rust CLI download file if the download fails or the prpocess is killed.
- The
tauri deps
command now properly detectsbeta-rc
crate updates. - Update minimum Node.js version to v12.13.0
- The
tauri icon
command now accepts the icon path as the first positional argument instead of--icon PATH
. - Do not prompt to install dependencies on
tauri init
when the--ci
argument is passed.
[1.0.0-beta-rc.2]
- Add missing camelcase rename for config
- Fix
tauri info
- Properly detect
yarn
andnpm
versions on windows. - Fix a panic caused by a wrong field name in
metadata.json
- Bumped due to a bump in cli.rs.
- 71666e9 fix(cli.rs): fix panic & use
cmd
to runyarn
&npm
on windows (#1511) on 2021-04-17 - Sync
metadata.json
via script to update version reference to cli.js, tauri (core) and tauri-build.
[1.0.0-beta-rc.1]
- Missing the
files
property in the package.json which mean that thedist
directory was not published and used.
[1.0.0-beta-rc.0]
- Fixed missing 'App' variant & string promise instead of void promise.
- Update all code files to have our license header.
- JS CLI now downloads prebuilt Rust CLI.
- The
info
command was rewritten in Rust. - The
init
command was rewritten in Rust. - Removed the
no-server
mode, theinliner
, thedev
server proxy and theloadAsset
API. - Revert
tauri create
deletion and shift remaining pieces that weren't deleted tocreate-tauri-app
. - The Tauri API interface is now shipped with the
@tauri-apps/api
package instead of the deprecatedtauri
package. To use the new API package, delete the oldtauri
from yourpackage.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 allimport { someApi } from 'tauri/api
toimport { someApi } from '@tauri-apps/api'
. - The Tauri Node.js CLI package is now
@tauri-apps/cli
. - All the arguments passed after
tauri dev --
are now propagated to the binary. - Eliminate the dead code in cli.js. Also removed some unused dependencies and updated the publish config that we are not publishing the Typescript files (since this is now primarily a CLI).
[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
towindow.__TAURI__
, closing #435. The Tauri object now follows the TypeScript API structure (e.g.window.tauri.readTextFile
is nowwindow.__TAURI__.fs.readTextFile
). If you want to keep thewindow.tauri
object for a while, you can add a mapping object to your code.