# create-svelte ## 7.0.0 ### Major Changes - breaking: the `create-svelte` package has been replaced by the `sv` package ([#12850](https://github.com/sveltejs/kit/pull/12850)) ## 6.4.0 ### Minor Changes - feat: mark scripts in libraries as being side effect free by default ([#12372](https://github.com/sveltejs/kit/pull/12372)) ## 6.3.12 ### Patch Changes - chore: update typescript-eslint configs ([#12721](https://github.com/sveltejs/kit/pull/12721)) ## 6.3.11 ### Patch Changes - fix: import `node:process` instead of using globals ([#12641](https://github.com/sveltejs/kit/pull/12641)) ## 6.3.10 ### Patch Changes - chore: bump svelte-check to v4 ([#12642](https://github.com/sveltejs/kit/pull/12642)) ## 6.3.9 ### Patch Changes - chore: bump publint to v0.2 ([#12602](https://github.com/sveltejs/kit/pull/12602)) ## 6.3.8 ### Patch Changes - fix: use `vite-plugin-svelte` v4 pre-release when Svelte 5 is chosen ([#12586](https://github.com/sveltejs/kit/pull/12586)) ## 6.3.7 ### Patch Changes - chore: configure provenance in a simpler manner ([#12570](https://github.com/sveltejs/kit/pull/12570)) ## 6.3.6 ### Patch Changes - chore: package provenance ([#12567](https://github.com/sveltejs/kit/pull/12567)) ## 6.3.5 ### Patch Changes - chore: upgrade to @fontsource/fira-mono v5 and @neoconfetti/svelte v2 ([#12497](https://github.com/sveltejs/kit/pull/12497)) - chore: upgrade to typescript-eslint 8 final ([#12528](https://github.com/sveltejs/kit/pull/12528)) ## 6.3.4 ### Patch Changes - chore: upgrade to vitest 2 ([#12462](https://github.com/sveltejs/kit/pull/12462)) - fix: remove unnecessary `tslib` dependency ([#12453](https://github.com/sveltejs/kit/pull/12453)) - chore: bump @types/eslint to v9 ([#12496](https://github.com/sveltejs/kit/pull/12496)) ## 6.3.3 ### Patch Changes - chore: rename styles.css to app.css ([#12426](https://github.com/sveltejs/kit/pull/12426)) ## 6.3.2 ### Patch Changes - chore: update text about svelte-add ([#12337](https://github.com/sveltejs/kit/pull/12337)) ## 6.3.1 ### Patch Changes - chore: overhaul ignore configs ([#11938](https://github.com/sveltejs/kit/pull/11938)) - chore: add keywords for discovery in npm search ([#12330](https://github.com/sveltejs/kit/pull/12330)) ## 6.3.0 ### Minor Changes - feat: upgrade eslint to v9 ([#12268](https://github.com/sveltejs/kit/pull/12268)) ## 6.2.1 ### Patch Changes - fix: update default playwright test case for lib-project ([#12261](https://github.com/sveltejs/kit/pull/12261)) ## 6.2.0 ### Minor Changes - feat: make TypeScript the default for apps ([#12186](https://github.com/sveltejs/kit/pull/12186)) ## 6.1.2 ### Patch Changes - fix: set peerDependencies based on chosen Svelte version ([#12117](https://github.com/sveltejs/kit/pull/12117)) ## 6.1.1 ### Patch Changes - fix: go back to eslint 8 until typescript-eslint supports eslint 9 ([#12124](https://github.com/sveltejs/kit/pull/12124)) ## 6.1.0 ### Minor Changes - feat: upgrade eslint to v9 ([#12089](https://github.com/sveltejs/kit/pull/12089)) ## 6.0.10 ### Patch Changes - docs: update comment about path aliases ([#11788](https://github.com/sveltejs/kit/pull/11788)) ## 6.0.9 ### Patch Changes - chore: bump typescript-eslint to v7 ([#11845](https://github.com/sveltejs/kit/pull/11845)) ## 6.0.8 ### Patch Changes - chore: upgrade to vite 5.0.11 and vitest 1.2.0 ([#11632](https://github.com/sveltejs/kit/pull/11632)) ## 6.0.7 ### Patch Changes - fix: install eslint-plugin-svelte@next for svelte5 ([#11627](https://github.com/sveltejs/kit/pull/11627)) ## 6.0.6 ### Patch Changes - fix: set path: '/' in demo ([#11495](https://github.com/sveltejs/kit/pull/11495)) ## 6.0.5 ### Patch Changes - fix: set the correct type for the ESLint config object ([#11453](https://github.com/sveltejs/kit/pull/11453)) ## 6.0.4 ### Patch Changes - chore: update primary branch from master to main ([`47779436c5f6c4d50011d0ef8b2709a07c0fec5d`](https://github.com/sveltejs/kit/commit/47779436c5f6c4d50011d0ef8b2709a07c0fec5d)) ## 6.0.3 ### Patch Changes - fix: remove unnecessary @types/cookie package ([#11375](https://github.com/sveltejs/kit/pull/11375)) ## 6.0.2 ### Patch Changes - fix: use vitest 1.0 in playwright + vitest template ([#11376](https://github.com/sveltejs/kit/pull/11376)) ## 6.0.1 ### Patch Changes - chore: simplify `.prettierignore` ([#11349](https://github.com/sveltejs/kit/pull/11349)) ## 6.0.0 ### Major Changes - feat: create projects with SvelteKit 2 ([#11236](https://github.com/sveltejs/kit/pull/11236)) - breaking: require Node 18.13 or newer ([#11172](https://github.com/sveltejs/kit/pull/11172)) ### Minor Changes - feat: update vitest to 1.0 ([#11196](https://github.com/sveltejs/kit/pull/11196)) ## 5.3.4 ### Patch Changes - chore: upgrade to prettier 3.1.1 ([#11304](https://github.com/sveltejs/kit/pull/11304)) ## 5.3.3 ### Patch Changes - fix: call Svelte 5 an alpha rather than beta ([#11119](https://github.com/sveltejs/kit/pull/11119)) ## 5.3.2 ### Patch Changes - chore: add type declaration to `.eslintrc.cjs` files ([#11091](https://github.com/sveltejs/kit/pull/11091)) ## 5.3.1 ### Patch Changes - chore: upgrade eslint-config-prettier ([#11037](https://github.com/sveltejs/kit/pull/11037)) ## 5.3.0 ### Minor Changes - feat: upgrade to prettier 3 and prettier-plugin-svelte 3 ([#10410](https://github.com/sveltejs/kit/pull/10410)) ### Patch Changes - fix: correctly configure `module` and `noEmit` tsconfig and jsconfig properties ([#11029](https://github.com/sveltejs/kit/pull/11029)) ## 5.2.0 ### Minor Changes - feat: add option to try out Svelte 5 beta ([#11026](https://github.com/sveltejs/kit/pull/11026)) ## 5.1.1 ### Patch Changes - fix: specified `initial-scale=1` on all viewport meta tags ([#10793](https://github.com/sveltejs/kit/pull/10793)) - feat: make output reflect user's choice of package manager ([#10811](https://github.com/sveltejs/kit/pull/10811)) ## 5.1.0 ### Minor Changes - chore: remove `resolution-mode=highest` in template `.npmrc` ([#10635](https://github.com/sveltejs/kit/pull/10635)) ### Patch Changes - feat: improve sverdle reactivity ([#10670](https://github.com/sveltejs/kit/pull/10670)) ## 5.0.6 ### Patch Changes - chore: bump typescript-eslint to v6 ([#10371](https://github.com/sveltejs/kit/pull/10371)) ## 5.0.5 ### Patch Changes - chore: upgrade `vitest` to 0.34.0 and `@clack/prompts` to 0.7.0 ([#10240](https://github.com/sveltejs/kit/pull/10240)) ## 5.0.4 ### Patch Changes - chore: upgrade @fontsource/fira-mono to v5 ([#10445](https://github.com/sveltejs/kit/pull/10445)) - chore: upgrade to vitest 0.33.0 ([#10445](https://github.com/sveltejs/kit/pull/10445)) ## 5.0.3 ### Patch Changes - chore: bump Vite and Svelte dependencies ([#10330](https://github.com/sveltejs/kit/pull/10330)) - fix: create lib folder in skeleton project ([#10341](https://github.com/sveltejs/kit/pull/10341)) ## 5.0.2 ### Patch Changes - fix: npm test should run unit tests ([#10241](https://github.com/sveltejs/kit/pull/10241)) - chore: upgrade vitest ([#10236](https://github.com/sveltejs/kit/pull/10236)) ## 5.0.1 ### Patch Changes - chore: use satisfies keyword in jsdocs, in create-svelte default template ([#10203](https://github.com/sveltejs/kit/pull/10203)) ## 5.0.0 ### Major Changes - breaking: install Svelte 4 ([#10217](https://github.com/sveltejs/kit/pull/10217)) ## 4.2.0 ### Minor Changes - feat: Add `data-sveltekit-preload-data` to lib template ([#9863](https://github.com/sveltejs/kit/pull/9863)) ## 4.1.1 ### Patch Changes - fix: default playwright globs ([#9795](https://github.com/sveltejs/kit/pull/9795)) - fix: remove obsolete `ignorePatterns: ['*.cjs']` from .eslintrc.cjs ([#9797](https://github.com/sveltejs/kit/pull/9797)) ## 4.1.0 ### Minor Changes - feat: set `resolution-mode=highest` in generated `.npmrc` ([#9781](https://github.com/sveltejs/kit/pull/9781)) ## 4.0.0 ### Major Changes - feat: switch default ESLint plugin from `eslint-plugin-svelte3` to `eslint-plugin-svelte` ([#9749](https://github.com/sveltejs/kit/pull/9749)) ## 3.3.1 ### Patch Changes - feat: upgrade to Vite 4.3 for faster build times ([#9737](https://github.com/sveltejs/kit/pull/9737)) - fix: generate tsconfig/jsconfig correctly for library option ([#9712](https://github.com/sveltejs/kit/pull/9712)) ## 3.3.0 ### Minor Changes - feat: ignore test files in library skeleton package.json ([#9584](https://github.com/sveltejs/kit/pull/9584)) ## 3.2.0 ### Minor Changes - feat: upgrade to TypeScript 5 ([#9435](https://github.com/sveltejs/kit/pull/9435)) ### Patch Changes - chore: upgrade to Vite 4.2 ([#9434](https://github.com/sveltejs/kit/pull/9434)) ## 3.1.2 ### Patch Changes - fix: prevent duplicated lines in project creation CLI ([#9346](https://github.com/sveltejs/kit/pull/9346)) ## 3.1.1 ### Patch Changes - chore: Add hint for toggling additional options during scaffolding flow. ([#9318](https://github.com/sveltejs/kit/pull/9318)) ## 3.1.0 ### Minor Changes - feat: use `@clack/prompts` ([#9219](https://github.com/sveltejs/kit/pull/9219)) ## 3.0.4 ### Patch Changes - docs: inform about adapter-auto not supporting all environments ([#9196](https://github.com/sveltejs/kit/pull/9196)) ## 3.0.3 ### Patch Changes - chore: enhance library skeleton readme with some library instructions ([#9128](https://github.com/sveltejs/kit/pull/9128)) ## 3.0.2 ### Patch Changes - chore: avoid running publint twice in prepublish ([#9126](https://github.com/sveltejs/kit/pull/9126)) - fix: add `dist` to `pkg.files` and `.gitignore` ([#9124](https://github.com/sveltejs/kit/pull/9124)) ## 3.0.1 ### Patch Changes - fix: update dependency @sveltejs/package to v2.0.0 ([#9087](https://github.com/sveltejs/kit/pull/9087)) ## 3.0.0 ### Major Changes - breaking: update library scaffolding for `@sveltejs/package` version 2 ([#8922](https://github.com/sveltejs/kit/pull/8922)) ## 2.3.4 ### Patch Changes - fix: use new locator API to improve demo test ([#8988](https://github.com/sveltejs/kit/pull/8988)) ## 2.3.3 ### Patch Changes - chore: bump `@sveltejs/kit` and `@sveltejs/adapter-auto` versions ([#8740](https://github.com/sveltejs/kit/pull/8740)) - fix: adjust vite config type to work with vitest options ([#8871](https://github.com/sveltejs/kit/pull/8871)) ## 2.3.2 ### Patch Changes - fix: remove duplicate space around JSDoc comments removed for TypeScript demo app ([#8684](https://github.com/sveltejs/kit/pull/8684)) ## 2.3.1 ### Patch Changes - chore: remove obsolete comment from templates ([#8620](https://github.com/sveltejs/kit/pull/8620)) ## 2.3.0 ### Minor Changes - fix: adjust `app.d.ts` to diminish confusion about imports ([#8477](https://github.com/sveltejs/kit/pull/8477)) ## 2.2.1 ### Patch Changes - fix: note why TypeScript is always installed for library projects and add jsconfig ([#8484](https://github.com/sveltejs/kit/pull/8484)) ## 2.2.0 ### Minor Changes - feat: use svelte-check v3 ([#8468](https://github.com/sveltejs/kit/pull/8468)) ## 2.1.0 ### Minor Changes - feat: create vite.config.ts for TypeScript projects ([#8258](https://github.com/sveltejs/kit/pull/8258)) ## 2.0.2 ### Patch Changes - fix: address flakiness in playwright test ([#8162](https://github.com/sveltejs/kit/pull/8162)) ## 2.0.1 ### Patch Changes - chore: no code change, rerelease as 2.0.1 for technical reasons ([#8161](https://github.com/sveltejs/kit/pull/8161)) ## 2.0.0 ### Major Changes First major release, see below for the history of changes that lead up to this. Starting from now all releases follow semver and changes will be listed as Major/Minor/Patch ## 2.0.0-next.204 ### Patch Changes - feat: remove release candidate banner ([#8109](https://github.com/sveltejs/kit/pull/8109)) ## 2.0.0-next.203 ### Patch Changes - chore: add peerDependencies, add more specific next version ([#8141](https://github.com/sveltejs/kit/pull/8141)) ## 2.0.0-next.202 ### Patch Changes - feat: vitePreprocess ([#8036](https://github.com/sveltejs/kit/pull/8036)) ## 2.0.0-next.201 ### Patch Changes - breaking: upgrade to Vite 4 ([#7543](https://github.com/sveltejs/kit/pull/7543)) ## 2.0.0-next.200 ### Patch Changes - Use `satisfies` operator ([#7861](https://github.com/sveltejs/kit/pull/7861)) ## 2.0.0-next.199 ### Patch Changes - fix: improve Sverdle a11y ([#7960](https://github.com/sveltejs/kit/pull/7960)) ## 2.0.0-next.198 ### Patch Changes - Upgrade dependencies in templates ([#7866](https://github.com/sveltejs/kit/pull/7866)) ## 2.0.0-next.197 ### Patch Changes - Upgrade dependencies ([#7852](https://github.com/sveltejs/kit/pull/7852)) ## 2.0.0-next.196 ### Patch Changes - Update app.d.ts files ([#7003](https://github.com/sveltejs/kit/pull/7003)) ## 2.0.0-next.195 ### Patch Changes - breaking: Replace `data-sveltekit-prefetch` with `-preload-code` and `-preload-data` ([#7776](https://github.com/sveltejs/kit/pull/7776)) - Upgrade to Playwright 1.28.1 ([#7696](https://github.com/sveltejs/kit/pull/7696)) ## 2.0.0-next.194 ### Patch Changes - fix playwright glob filter ([#7826](https://github.com/sveltejs/kit/pull/7826)) ## 2.0.0-next.193 ### Patch Changes - Added the option to add Vitest to new projects ([#5708](https://github.com/sveltejs/kit/pull/5708)) ## 2.0.0-next.192 ### Patch Changes - Ignore Vite timestamp files by default in `create-svelte` templates (added to `.gitignore`) ([#7660](https://github.com/sveltejs/kit/pull/7660)) ## 2.0.0-next.191 ### Patch Changes - Add `style="display: contents"` to wrapper element by default ([#7652](https://github.com/sveltejs/kit/pull/7652)) ## 2.0.0-next.190 ### Patch Changes - fix: remove Sverdle from Stackblitz template ([#7448](https://github.com/sveltejs/kit/pull/7448)) ## 2.0.0-next.189 ### Patch Changes - update dependencies ([#7355](https://github.com/sveltejs/kit/pull/7355)) ## 2.0.0-next.188 ### Patch Changes - Use aria-current instead of active class in nav ([#7376](https://github.com/sveltejs/kit/pull/7376)) ## 2.0.0-next.187 ### Patch Changes - Add missing titles and descriptions to the Sverdle pages ([#7351](https://github.com/sveltejs/kit/pull/7351)) - Use `justify-content: flex-start;` on Sverdle CSS to avoid compatibility issues ([#7352](https://github.com/sveltejs/kit/pull/7352)) ## 2.0.0-next.186 ### Patch Changes - feat: add reset option to update method of enhance ([#7326](https://github.com/sveltejs/kit/pull/7326)) ## 2.0.0-next.185 ### Patch Changes - Warn user when they accidentally try to publish the `./` directory ([#7280](https://github.com/sveltejs/kit/pull/7280)) ## 2.0.0-next.184 ### Patch Changes - fix sverdle guesses incorrectly cleared by form `enhance` ([#7241](https://github.com/sveltejs/kit/pull/7241)) ## 2.0.0-next.183 ### Patch Changes - feat: extract and export types from create-svelte ([#7111](https://github.com/sveltejs/kit/pull/7111)) ## 2.0.0-next.182 ### Patch Changes - Work around SSR transform bug ([#7088](https://github.com/sveltejs/kit/pull/7088)) ## 2.0.0-next.181 ### Patch Changes - Fix template description for SvelteKit demo app ([#7076](https://github.com/sveltejs/kit/pull/7076)) ## 2.0.0-next.180 ### Patch Changes - Replace /todos page in demo app with /sverdle ([#6979](https://github.com/sveltejs/kit/pull/6979)) ## 2.0.0-next.179 ### Patch Changes - breaking: rename App.PageError to App.Error ([#6963](https://github.com/sveltejs/kit/pull/6963)) ## 2.0.0-next.178 ### Patch Changes - fix: prettier not formatting svelte files ([#6866](https://github.com/sveltejs/kit/pull/6866)) ## 2.0.0-next.177 ### Patch Changes - chore: bump vite ([#6829](https://github.com/sveltejs/kit/pull/6829)) ## 2.0.0-next.176 ### Patch Changes - SvelteKit 1.0 RC ([#6707](https://github.com/sveltejs/kit/pull/6707)) ## 2.0.0-next.175 ### Patch Changes - breaking: update use:enhance usage ([#6697](https://github.com/sveltejs/kit/pull/6697)) - breaking: hooks file rename ([#6697](https://github.com/sveltejs/kit/pull/6697)) ## 2.0.0-next.174 ### Patch Changes - Remove cookie package from demo app ([#6602](https://github.com/sveltejs/kit/pull/6602)) ## 2.0.0-next.173 ### Patch Changes - breaking: Replace `POST`/`PUT`/`PATCH`/`DELETE` in `+page.server.js` with `export const actions` ([#6469](https://github.com/sveltejs/kit/pull/6469)) ## 2.0.0-next.172 ### Patch Changes - Bump vite-plugin-svelte and required vite version ([#6583](https://github.com/sveltejs/kit/pull/6583)) ## 2.0.0-next.171 ### Patch Changes - Use `invalidateAll()` ([#6493](https://github.com/sveltejs/kit/pull/6493)) ## 2.0.0-next.170 ### Patch Changes - reorder create-svelte templates such that library is last ([#6481](https://github.com/sveltejs/kit/pull/6481)) ## 2.0.0-next.169 ### Patch Changes - Move `data-sveltekit-prefetch` to `