mirror of
https://github.com/tauri-apps/create-tauri-app.git
synced 2026-01-31 00:45:16 +01:00
64 KiB
64 KiB
Changelog
[4.5.3]
[4.5.2]
94f57bb(#819 by @amrbashir) Add support for using deno as package managerda60f1a(#817 by @situ2001) Pass--releasetodxCLI inbeforeBuildCommandfordioxustemplate to generate smaller and optimized wasm bundle.
[4.5.1]
[4.5.0]
1130b7b(#806 by @lucasfernog) Update to v2 stable, meaning the--alpha,--beta,--rcflags are removed, and added a--tauri-version [1|2]option to change the Tauri version (defaults to latest stable - v2).
[4.4.2]
c8d8fa8(#797 by @amrbashir) Suggest using--lockedflag when installing CLIs usingcargo install
[4.4.1]
9467547(#791 by @AlexProgrammerDE) Fix crate type.
[4.4.0]
27524c3(#784 by @amrbashir) Adddioxustemplate81d776f(#770 by @amrbashir) Include$schemaproperty intauri.conf.jsonfile by default
[4.3.1]
d8e65fe(#768 by @amrbashir) Fix--rcangluar template invalid configuration
[4.3.0]
10163ee(#759 by @amrbashir) Fixcargo install crate-tauri-appwith--lockedflag.10163ee(#759 by @amrbashir) Update MSRV of this crate to 1.71
[4.2.0]
2e18467(#751 by @amrbashir) Changed default version in templates from0.0.0to0.1.0441b0ba(#752 by @amrbashir) Add--identifierflag and prompt to choose the identifier of your app.
[4.1.0]
d34ff53(#746 by @lucasfernog) Updated the templates to Tauri v2 RC.26eb17d(#748 by @lucasfernog) Removed the--mobileand--no-mobilearguments. When using--rcwe will always generate a template that supports both desktop and mobile using Tauri v2.
[4.0.3]
db2f4deFixblazortemplate renderedHome.razorincorrectly.
[4.0.2]
2321bd4(#734 by @amrbashir) Fixblazortemplateonsubmithandler.
[4.0.1]
96dcd36(#726) Updatedvue-tscdependency invue-tstemplate to fix issues with newer typescript versions.
[4.0.0]
[3.14.1]
29ea869(#705) Fixcapabilitiesdirectory not created when generating a template with mobile support.
[3.14.0]
4edb69f(#656) Add Blazor template7000c6c(#687) Fixyew,leptosandsycamoretemplates failing with latest versions oftrunkCLI.
[3.13.17]
[3.13.16]
7a851c8(#647) Ignoregen/schemasdirectory for--betatemplates.9f202d7(#649) Addconsole_error_panic_hooktoyew,leptosandsycamoretemplates.
[3.13.15]
[3.13.14]
88680f1Movevite-env.d.tsinsidesrcdirectory forsolid-tstemplate to fix a typescript error on importing.svg;
[3.13.13]
44df26bFixleptostemplate has invalid dependency specifier inCargo.toml
[3.13.12]
0881d1e(#635) Removed the deprecatedserde-serializefeature ofwasm-bindgenin favor ofserde-wasm-bindgento prevent cyclic dependency issues.
[3.13.11]
209f0d7Fix missing closing quote in the capability file in beta templates.
[3.13.10]
1458321Fix incorrect schema path in beta temaplate's capability.
[3.13.9]
4a2f33b(#628) Add--no-mobileflag.0574bd8(#627) Generate tauri v2 beta tempaltes without default features in Cargo.toml as it is no longer needed.
[3.13.8]
[3.13.7]
[3.13.6]
766eb7e(#612) Add crate-typestaticlibtoCargo.tomlfor mobile builds.28b301d(#614) Change all templates to specify tauri crates and packages version as^1so it will always pull latest versions.
[3.13.5]
[3.13.4]
[3.13.3]
[3.13.2]
[3.13.1]
[3.13.0]
[3.12.2]
[3.12.1]
7cd8cf8(#542) Bump MSRV to1.616171792(#561) Upgrade@vitejs/plugin-reactto4.2.1to fix peer depenency for react templates.
[3.12.0]
616a294(#553) Vite 5 in templates4869b73(#558) Adapt templates to@tauri-apps/api@2.0.0-alpha.13by changing theprimitivesimport tocore.
[3.11.4]
96cff24Fix--alphatemplates generating an incorrectmain.rsthat failed to compile.
[3.11.3]
af40cfcAdd-f/--forceflag to force creating directory even if it is empty.0c40f2bSuggest installingtrunkfor--alphatemplates instead ofamrbashir/trunkfork as the new version contains all the need features from the fork.d1978aaFix detection oftauri-cliwhen choosingcargoas the package manager.
[3.11.2]
aae95d1(#544) Updateangulartemplate to Angluar 17aae95d1(#544) Update templates to latest tauri versions (1.5 and 2.0.0-alpha.18).d2ceefc(#545) Addsrc-tauriby default to vite server ignored watch list.
[3.11.1]
[3.11.0]
c6153e2(#526) Fix incorrectbeforeDevCommandinangluartemplate when usingnpmas the package manager.c5c0d99(#529) Generatetauri.conf.json > project > productNameusing the "Project name", which can contain spaces and uppercase letters, instead of "Package name".3ca02f5(#527) Disallow using an uppercase in the package name.
[3.10.1]
[3.10.0]
6c50fc3(#90) Update tauri to latest version for all templates and fixinvokeimport in--alphatemplates.
[3.9.0]
[3.8.0]
f095dce(#498) Update@tauri-apps/apito latest version for--alphatemplates.a962ef8(#481) Support and detect Bun package manager5e48a5c(#486) Auto-detect package manager used to runcreate-tauri-appand promote the most relevant category for it and select it and also make the package manager selected by default in the managers selection list.724ff2b(#485) Skip deleting.gitdirectory when initalizing a project in an already existing directoy.f095dce(#498) Update tauri versions for all templates to version1.5.
[3.7.3]
194d569(#478) Fix runningcreate-tauri-appin JS environments in strict mode.3449afc(#476) Fix typescript error insolid-tstemplate when importing some non-standard files.f7256ee(#471) Improve the error messages for unsupported package manager, unsupported template or when a supported template is used with a package manager that is not intended to be used with.
[3.7.2]
3ea6acfCleanup the vite config file for all templates.
[3.7.1]
[3.7.0]
[3.6.2]
[3.6.1]
[3.6.0]
[3.5.0]
88944c8(#430) Recursively clean the target directory if bootstrapping a template into a non-empty directory.7d04484(#421) Print info to installtauri-cli@2.0.0-alphaif it wasn't detected and--alphaflag was passed.9aeaca7(#424) Update--alphatemplates fortauri@2.0.0-alpha.99aeaca7(#424) Updatevue,vue-ts,vanilla,vanilla-ts,solid,solid-ts,svelte, andsvelte-tsto use<form>
[3.4.0]
- Disable analytics for Angular template
- Fix
beforeDevCommandmissing--for npm + Angular template - Update tauri dependencies for all templates
- 7b992e5 feat: show missing deps after template bootstrap (#367) on 2023-03-13
- 093a0d9 apply version updates (#369) on 2023-03-15
- 9f0b36e chore(deps): update solid, vite and tauri deps (#391) on 2023-04-04
- 9e6a5b0 Apply Version Updates From Current Changes (#392) on 2023-04-04
- ecc0676 chore(deps): update tauri deps for templates (#414) on 2023-05-03
[3.3.6]
- Add missing
tauriscript in package.json for Angular template. - Update tauri dependencies for all templates.
- 61aee5a chore(deps): update tchore(deps): update tauri deps in all templatesauri deps in all templates on 2023-04-16
[3.3.5]
- Update
taurideps for all templates
[3.3.4]
- Correct the usage of signal getter in Solid template
[3.3.3]
- Fix publishing standalone binaries to GitHub releases.
[3.3.2]
- Fix publishing arm64 modules to npm
- b8a6cda fix(napi): add missing windows arm64 files on 2023-04-04
[3.3.1]
- Update
solid-js,viteandtauridependencies.
[3.3.0]
- Release
aarch64binaries and node modules. - Update
@tauri-apps/cliverstion for--alphatemplates.- e51b085 chore: update
@tauri-apps/clion 2023-03-26
- e51b085 chore: update
[3.2.1]
- Fix missing hover styles for sycamore logo.
- Update tauri dependencies for all
--alphatemplates.
[3.2.0]
- Fix
--alphatemplates that are generated without mobile support. - Show a table of missing dependencies with installation instructions.
- Bump MSRV to 1.59
- Strip debug symobls from binaries.
[3.1.2]
- Fix unwanted refresh when clicking on the greet button in
leptostemplate - Update Leptos to v0.2
[3.1.1]
- Add missing
"type": "module"topackage.jsonin SolidJs templates.
[3.1.0]
- Bump MSRV to
1.58 - Fix styles import in
vanillatemplate- 0eee8dc fix(fragments/vanilla): use correct styles import on 2023-03-07
[3.0.3]
- Fix wrong
package.jsoninsolid-tstemplate.
[3.0.2]
- Fix missing Javascript import in
vanillatemplate
[3.0.1]
- Allow passing arguments though
CTA_ARGSfor powershell script$env:CTA_ARGS="--template svelte --manager pnpm";iwr -useb https://create.tauri.app/ps | iex
[3.0.0]
- Fix panic when creating a template in the current directory.
- Breaking Change Removed
next,next-ts,preact,preact-ts,clojurescript,svelte-kit,svelte-kit-tstemplates. - Add
leptosrust template.
[2.8.0]
- Fix generated output to use HTML forms properly.
- Add
sycamoretemplate forcargopackage manager.- fbe297d chore: change file for sycamore on 2023-02-13
[2.7.10]
- Update
@svelte/kitto new major version1.xand update related dependencies. Also, fixed thecheckandcheck:watchscripts insvelte-kit-tstemplate.
[2.7.9]
- Fix incorrect allowlist in
react-tstemplate by deleting the leftovertauri.conf.jsonfile.
[2.7.8]
- Fix crashed caused by whitespace in "Project name" by trimming it.
[2.7.7]
- Wrap the
cd <dir>instruction in quotes if the project name containts spaces.
[2.7.6]
- Update
vite.conf.jsontarget option to match the latest tauri docs.- 3ea6acf feat(templates): update vite conf to match latest tauri docs on 2023-01-02
[2.7.5]
- Add
svelte-processpreprocessor tosvelte-tsandsvelte-kit-tstemplates by default so typescript can work correctly inside.sveltefiles.
[2.7.4]
- Fix paring
svelte-kitandsvelte-kit-tsfrom command line.
[2.7.3]
- Add
shell-opencargo feature to match the allowlist in the generated project.
[2.7.2]
- Update
vanilla-ts,vue,vue-ts,solid,solid-ts,svelte,svelte-ts,react,react-tstemplates to usevite@4.0.0.
[2.7.1]
- Enable
allowlist > shell > openin the generated project'stauri.conf.jsonso clicking to open external links would work.
[2.7.0]
- Disable allowlist by default for all templates.
- Disable SSR by default in
svelte-kitandsvelte-kit-tstemplates. - Update
yewtemplate to useyew@0.20- 386e870 chore: add changefile on 2022-12-05
[2.6.5]
- Revert back to
rust-embed6.4.- ea586ca fix: revert
rust-embedto 6.4 on 2022-11-23
- ea586ca fix: revert
[2.6.4]
- Fix a few panics introduced by some changes in latest
rust-embedcrate versions.
[2.6.3]
- Update
taurito latest version1.2.
[2.6.2]
- Change
vanillaandvanilla-tstemplates to attach the click handler through Javascript, instead of assigining to thewindowobject. - Update
vue-tscto1.0.0invue-tstemplate.- b51873c chore(deps): update
vue-tscto1.0.0on 2022-11-01
- b51873c chore(deps): update
[2.6.1]
- Only prompt for supported package managers when using
--templatecli option.
[2.6.0]
- Add
svelte-kitandsvelte-kit-tstemplate. - Use
importin vanilla-ts instead of the global Tauri object.
[2.5.0]
[2.4.2]
- Replace deprecated functions in
yewtemplate.
[2.4.1]
- Update
tauridependencies in templates to1.1
[2.4.0]
- Add
angulartemplate
[2.3.1]
- Fix build on MSRV 1.57.
- Fix building in
nextandnext-tstemplates by removing theexperimentaloption fromnext.config.jssinceimages.unoptimizedis now stable.
[2.3.0]
- Add
vanilla-tstemplates. - Fix yew template triggering trunk rebuilds when tauri files change.
[2.2.0]
- Add
preactandpreact-tstemplates.
[2.1.1]
- Add an optimized macOS icon so that building from a template doesn't cause errors.
- Fix solid template IDE type errors by changing
classNametoclass - Fixed yew template "beforeDevCommand" from "trunk build" to "trunk serve". Before when you called "tauri dev" infinite loop will occur waiting for dev server to become available at "http://localhost:1420".
- Changed "withGlobalTauri" for yew template from "false" to "true" so example frontend can actually "invoke" backend methods
[2.1.0]
- Add
nextandnext-tstemplates
[2.0.5]
- Fix packaging templates when publishing to crates.io
- 613cfd3 fix(cli): rename Cargo.toml in fragments to _Cargo.toml on 2022-08-23
[2.0.4]
- Add
@types/nodeas a dev dependency to typescript templates.- ff7265c feat(cli/templates): add
@typs/nodeto typescript templates on 2022-08-22
- ff7265c feat(cli/templates): add
- Fix
solidandsolid-tsvite config file.- 246ada4 fix(cli/tamplates): fix solid template vite config on 2022-08-22
[2.0.3]
- Fix css import in react templates.
- a448c5e fix(cli/tempaltes): fix css imports in react templates on 2022-08-22
[2.0.2]
- Fix react-ts template port.
- 4598b99 fix(cli/fragments): fix react-ts port on 2022-08-22
[2.0.1]
- Fix missing features in yew fragment
[2.0.0]
- New templates that are customized towards a better experience with Tauri.
- Rewrote
create-tauri-appin rust to make it accessible to all communities and not only Node.js, and now you can usecreate-tauri-appthroughnpm,yarn,pnpm,cargoor directly through your shell usingpowershellorbash. Check out the README.md for different ways to use it.
[2.0.0-beta.1]
- Add missing
lang="ts"forApp.vueinvue-tstemplate- 4132eb8 fix vue-ts template on 2022-08-09
[2.0.0-beta.0]
-
- Beta
- Changed all templates server port to 1420
- Updated styles of all templates
- d8c1abc prepare for beta on 2022-08-09
- 600566a fix covector bump on 2022-08-09
[2.0.0-alpha.11]
- 2.0.0-alpha.11
- 486857c alpha.11 on 2022-08-07
[2.0.0-alpha.10]
- 2.0.0-alpha.10
- a899bf7 alpha.10 on 2022-08-06
[2.0.0-alpha.9]
- Add missing shebang for node cli
- 4d16ce2 add missing shebang on 2022-08-06
[2.0.0-alpha.8]
- Use dimmed white instead of black
- a0b876d add missing changefile on 2022-08-05
[2.0.0-alpha.7]
- 2.0.0-alpha.7
- 2237271 alpha.7 on 2022-08-03
[2.0.0-alpha.6]
- 2.0.0-alpha.6
- 9667bfa alpha.6 on 2022-08-03
[2.0.0-alpha.5]
- 2.0.0-alpha.5
- bc68a1d alpha.5 on 2022-08-03
[2.0.0-alpha.4]
- 2.0.0-alpha.4
- f3f6007 alpha.4 on 2022-08-03
[2.0.0-alpha.3]
- 2.0.0-alpha.3
- b542242 alpha.3 on 2022-08-03
[2.0.0-alpha.2]
- 2.0.0-alpha.2
- 83b11a0 alpha.2 on 2022-08-03
[2.0.0-alpha.1]
- 2.0.0-alpha.1
- 82199ba split publish workflow on 2022-08-03
[2.0.0-alpha.0]
[1.0.2]
- Update the vite recipe to use port 5173, the new default in vite@v3.
[1.0.1]
[1.0.0]
- Stable v1.0.0
- 69968b6 covector: prepare for stable v1.0.0 on 2022-06-19
[1.0.0-rc.5]
- Fix crash when using yarn because of using
@latesttag.
[1.0.0-rc.4]
create-tauri-appwill no longer install or prompt for@tauri-apps/apipackage in theVanillaJsrecipe.- 0c37e73 fix: don't install
@tauri-apps/apifor vanillajs on 2022-04-30
- 0c37e73 fix: don't install
- Update vulnerable packages:
ejsandminimist.- 3128215 fix: update vulnerable packages on 2022-06-04
- Use
@latesttag when creating the recipe sonpmwouldn't load from cache.
[1.0.0-rc.3]
[1.0.0-rc.2]
- Fix crash when using
create-react-apprecipe.
[1.0.0-rc.1]
- Fix
create-tauri-appfailing to bootstrap projects.
[1.0.0-rc.0]
- Add empty description to Cargo.toml in dominator recipe.
create-tauri-appshould now be fully compatiable with CI environments.- Stop react recipe from opening in browser by default.
- Add SolidJS recipe using the official template.
[1.0.0-beta.4]
pnpmpackage manager is now officially supported, either runpnpx create-tauri-appor explicitly specifiy itnpx create-tauri-app --manager pnpm.create-tauri-appwill prompt users to install@tauri-apps/apinpm package.- Add Svelte recipe using the official template.
- Adjust check for
devmode and switch CTA test to a script runner. The script gives us more control and better output into any failures. - Update vite recipe to use the new vite npm package.
[1.0.0-beta.3]
[1.0.0-beta.2]
- Fixes the
beforeDevCommandon vite recipe.
[1.0.0-beta.1]
- Work around bugs between esbuild and npm by installing directly at the end of the sequence. Also default to using the latest on all of the installs instead of npx's cache.
[1.0.0-beta.0]
- Explicitly install deps after a vite recipe.
- Shift everything out of the
binand into.tsso we can apply Typescript types. - We setup an e2e type test suite for CTA. It is mostly an internal change, but should help with stability moving forward.
- Add support for all vite templates
- Add a welcome prompt to let the user know about the process and links to more info including prerequisite setup steps. Also add links to each of the templates to give the user more context what they are getting into.
[1.0.0-beta-rc.4]
- Manually set
tauriscript instead of usingnpm set-scriptfor compatabilty with older npm versions
[1.0.0-beta-rc.3]
- Remove
lodashdependency and replace with es6 builtins - Remove
tauridependency from vanilla recipe - Fix adding
tauriscript to package.json
[1.0.0-beta-rc.2]
- CTA also needs the template directory published as it doesn't get bundled into the
distdirectory.
[1.0.0-beta-rc.1]
- CTA was missing the
filesproperty in the package.json which mean that thedistdirectory was not published and used.
[1.0.0-beta-rc.0]
- Add vanilla javascript option to
create-tauri-appthrough templating. - Use a test based on an npm env var to determine which package manager to use.
- 6e0598c feat: derive package manager from env var on 2021-04-12
- Add initial
vitesupport starting withvueandvue-ts - Revert
tauri createdeletion and shift remaining pieces that weren't deleted tocreate-tauri-app.