- chore: package provenance (#12567)
-
chore: upgrade to @fontsource/fira-mono v5 and @neoconfetti/svelte v2 (#12497)
-
chore: upgrade to typescript-eslint 8 final (#12528)
-
chore: upgrade to vitest 2 (#12462)
-
fix: remove unnecessary
tslib
dependency (#12453) -
chore: bump @types/eslint to v9 (#12496)
- chore: rename styles.css to app.css (#12426)
- chore: update text about svelte-add (#12337)
- feat: upgrade eslint to v9 (#12268)
- fix: update default playwright test case for lib-project (#12261)
- feat: make TypeScript the default for apps (#12186)
- fix: set peerDependencies based on chosen Svelte version (#12117)
- fix: go back to eslint 8 until typescript-eslint supports eslint 9 (#12124)
- feat: upgrade eslint to v9 (#12089)
- docs: update comment about path aliases (#11788)
- chore: bump typescript-eslint to v7 (#11845)
- chore: upgrade to vite 5.0.11 and vitest 1.2.0 (#11632)
- fix: install eslint-plugin-svelte@next for svelte5 (#11627)
- fix: set path: '/' in demo (#11495)
- fix: set the correct type for the ESLint config object (#11453)
- chore: update primary branch from master to main (
47779436c5f6c4d50011d0ef8b2709a07c0fec5d
)
- fix: remove unnecessary @types/cookie package (#11375)
- fix: use vitest 1.0 in playwright + vitest template (#11376)
- chore: simplify
.prettierignore
(#11349)
- feat: update vitest to 1.0 (#11196)
- chore: upgrade to prettier 3.1.1 (#11304)
- fix: call Svelte 5 an alpha rather than beta (#11119)
- chore: add type declaration to
.eslintrc.cjs
files (#11091)
- chore: upgrade eslint-config-prettier (#11037)
- feat: upgrade to prettier 3 and prettier-plugin-svelte 3 (#10410)
- fix: correctly configure
module
andnoEmit
tsconfig and jsconfig properties (#11029)
- feat: add option to try out Svelte 5 beta (#11026)
-
fix: specified
initial-scale=1
on all viewport meta tags (#10793) -
feat: make output reflect user's choice of package manager (#10811)
- chore: remove
resolution-mode=highest
in template.npmrc
(#10635)
- feat: improve sverdle reactivity (#10670)
- chore: bump typescript-eslint to v6 (#10371)
- chore: upgrade
vitest
to 0.34.0 and@clack/prompts
to 0.7.0 (#10240)
-
chore: bump Vite and Svelte dependencies (#10330)
-
fix: create lib folder in skeleton project (#10341)
- chore: use satisfies keyword in jsdocs, in create-svelte default template (#10203)
- breaking: install Svelte 4 (#10217)
- feat: Add
data-sveltekit-preload-data
to lib template (#9863)
-
fix: default playwright globs (#9795)
-
fix: remove obsolete
ignorePatterns: ['*.cjs']
from .eslintrc.cjs (#9797)
- feat: set
resolution-mode=highest
in generated.npmrc
(#9781)
- feat: switch default ESLint plugin from
eslint-plugin-svelte3
toeslint-plugin-svelte
(#9749)
-
feat: upgrade to Vite 4.3 for faster build times (#9737)
-
fix: generate tsconfig/jsconfig correctly for library option (#9712)
- feat: ignore test files in library skeleton package.json (#9584)
- feat: upgrade to TypeScript 5 (#9435)
- chore: upgrade to Vite 4.2 (#9434)
- fix: prevent duplicated lines in project creation CLI (#9346)
- chore: Add hint for toggling additional options during scaffolding flow. (#9318)
- feat: use
@clack/prompts
(#9219)
- docs: inform about adapter-auto not supporting all environments (#9196)
- chore: enhance library skeleton readme with some library instructions (#9128)
-
chore: avoid running publint twice in prepublish (#9126)
-
fix: add
dist
topkg.files
and.gitignore
(#9124)
- fix: update dependency @sveltejs/package to v2.0.0 (#9087)
- breaking: update library scaffolding for
@sveltejs/package
version 2 (#8922)
- fix: use new locator API to improve demo test (#8988)
-
chore: bump
@sveltejs/kit
and@sveltejs/adapter-auto
versions (#8740) -
fix: adjust vite config type to work with vitest options (#8871)
- fix: remove duplicate space around JSDoc comments removed for TypeScript demo app (#8684)
- chore: remove obsolete comment from templates (#8620)
- fix: adjust
app.d.ts
to diminish confusion about imports (#8477)
- fix: note why TypeScript is always installed for library projects and add jsconfig (#8484)
- feat: use svelte-check v3 (#8468)
- feat: create vite.config.ts for TypeScript projects (#8258)
- fix: address flakiness in playwright test (#8162)
- chore: no code change, rerelease as 2.0.1 for technical reasons (#8161)
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
- feat: remove release candidate banner (#8109)
- chore: add peerDependencies, add more specific next version (#8141)
- feat: vitePreprocess (#8036)
- breaking: upgrade to Vite 4 (#7543)
- Use
satisfies
operator (#7861)
- fix: improve Sverdle a11y (#7960)
- Upgrade dependencies in templates (#7866)
- Upgrade dependencies (#7852)
- Update app.d.ts files (#7003)
- breaking: Replace
data-sveltekit-prefetch
with-preload-code
and-preload-data
(#7776) - Upgrade to Playwright 1.28.1 (#7696)
- fix playwright glob filter (#7826)
- Added the option to add Vitest to new projects (#5708)
- Ignore Vite timestamp files by default in
create-svelte
templates (added to.gitignore
) (#7660)
- Add
style="display: contents"
to wrapper element by default (#7652)
- fix: remove Sverdle from Stackblitz template (#7448)
- update dependencies (#7355)
- Use aria-current instead of active class in nav (#7376)
- Add missing titles and descriptions to the Sverdle pages (#7351)
- Use
justify-content: flex-start;
on Sverdle CSS to avoid compatibility issues (#7352)
- feat: add reset option to update method of enhance (#7326)
- Warn user when they accidentally try to publish the
./
directory (#7280)
- fix sverdle guesses incorrectly cleared by form
enhance
(#7241)
- feat: extract and export types from create-svelte (#7111)
- Work around SSR transform bug (#7088)
- Fix template description for SvelteKit demo app (#7076)
- Replace /todos page in demo app with /sverdle (#6979)
- breaking: rename App.PageError to App.Error (#6963)
- fix: prettier not formatting svelte files (#6866)
- chore: bump vite (#6829)
- SvelteKit 1.0 RC (#6707)
- Remove cookie package from demo app (#6602)
- breaking: Replace
POST
/PUT
/PATCH
/DELETE
in+page.server.js
withexport const actions
(#6469)
- Bump vite-plugin-svelte and required vite version (#6583)
- Use
invalidateAll()
(#6493)
- reorder create-svelte templates such that library is last (#6481)
- Move
data-sveltekit-prefetch
to<nav>
element (#6442)
- chore: bump ts version and ensure it works with latest changes (#6428)
- breaking: Replace
sveltekit:*
with valid HTML attributes likedata-sveltekit-*
(#6170)
- Remove App.PrivateEnv and App.PublicEnv placeholders (#6413)
- Update to Vite 3.1.0-beta.1 (#6407)
- breaking: rename
$app/env
to$app/environment
, to disambiguate with$env/...
(#6334) - Add svelte-kit sync to check scripts in checkjs templates (#6339)
- fix type definition issue that caused a svelte-check error when using TS 4.8 (#6306)
- remove some unused code (#6287)
- feat: add App.PageData type (#6226)
- Create TypeScript/JSDoc/vanilla versions of shared template .ts files (#6253)
- Create vite.config.ts when creating TypeScript project (#6253)
- Invalidate data after form submission (#6254)
- Update text referring to route location (#6134)
- Add notes about includes/excludes and path aliases (#6085)
- setup prettier plugin-search-dirs to enable use with pnpm (#6101)
- Run svelte-kit sync before svelte-check in check scripts (#6037)
- update
app.d.ts
for library skeleton template (#6020)
- make variable names more descriptive (#5983)
- Update templates (#5778)
- Use @sveltejs/kit postinstall lifecycle hook to invoke 'svelte-kit sync' instead of prepare in projects created by create-svelte (#5760)
- feat: include reference to
@sveltejs/kit
types in ambient file (#5745)
- Remove initial-scale=1 from meta tags (#5706)
- uppercase handlers (#5513)
- Update dependencies (#5005)
- chore: upgrade TypeScript to 4.7.4 (#5414)
- Add vite.config.js to the create-svelte templates (#5332)
- breaking: switch to vite CLI for dev, build, and preview commands (#5332)
- fix todos fail to update in demo app (#5354)
- Revert to use ESM eslint config files (#5293)
- Enhance docs on importing types in app.d.ts (#5280)
- Use ESM eslint config files (#5263)
- fix formatting for initial package.json (#5271)
- Add descriptions to templates, and make TypeScript options more self-explanatory (#5221)
- fix: use inline element in heading (#5164)
- Use crypto.randomUUID() instead of @lukeed/uuid (#5042)
- correct default package.json format (#5013)
- breaking: Replace
%svelte.body%
with%sveltekit.body%
, etc. (#5016)
- Use separate ignore files for prettier and eslint (#5009)
- import generated types from
__types/index.d.ts
file (#4705)
- Add README (#4951)
- remove unnecessary CHANGELOG.md (#4903)
- fix lib, module, and target to not override the tsconfig they generate by default (#4893)
- Bump
eslint
from version 7 to 8 (#4553)
- Remove default
<meta name="description">
and add separate descriptions to each page (#4686)
- Make hooks file comply with TypeScript strictest mode (#4667)
- Ignore .turbo directory when building templates (#4638)
- Disable type checking by default for non-typescript projects. (#4621)
- breaking: move non-essential TypeScript compilerOptions into user-editable config (#4633)
- type check exception handling on form action (#4532)
- Update broken documentation links for
App
namespaces (#4627)
- chore: upgrade to Playwright 1.21.0 (#4601)
- Fix iOS double-tap zoom on counter buttons (#4390)
- fix: use .ts extension for tests when using TypeScript (#4368)
- fix: check for app.d.ts rather than global.d.ts (#4295)
- Extend user tsconfig from generated .svelte-kit/tsconfig.json (#4118)
- remove unnecessary CSS units (#4115)
- Add option to create integration tests with Playwright (#4056)
- fix
@typescript-eslint/no-empty-interface
lint error when starting a new app with eslint (#4077)
- fix: update docs URL for App namespace interfaces (#4042)
- make demo app work without JS (#3970)
- update comment to remove outdated reference (#3898)
- use preserveValueImports flag (#3064)
- Bump version (#3610)
- Try this (#3608)
- I think this might be it (#3606)
- And again (#3604)
- Bump version (#3602)
- And again (#3600)
- Trying something (#3598)
- Another meaningless change (#3596)
- typo (#3593)
- Tweak README (#3591)
- Fix typo (#3583)
- bump eslint plugin and parser in template (#3544)
- add ESLint configuration for mixed JS/TS codebase (#3536)
- Respect Ctrl-C when running create-svelte (#3472)
- Make project name an explicit option' (#3472)
- Prompt for directory when running create-svelte without argument (#3472)
- Add index.js file to
pkg.files
(#3445)
- Add a programmatic interface to create-svelte (#3437)
- breaking: change app.render signature to (request: Request) => Promise (#3384) (#3430)
- Add methodOverrides to default configs (#3411)
- Add methodOverride option for submitting PUT/PATCH/DELETE/etc with elements (#2989)
- Update template files to include %svelte.assets% (#3234)
- Update template to use new page/request APIs (#3146)
- Make demo app complies with TypeScript strict mode (#3095)
- bump eslint ecmaVersion to 2020 (#2985)
- include missing .npmrc in templates (#2990)
- Do not gitignore
.env.example
(#2926) - update to esbuild 0.13.15 and other dependency updates (#2957)
- Git ignore files with a .env. prefix (#2905)
- Improve project scaffolding language (#2895)
- Add adapter-auto to template configs (#2885)
- feat: added .env to gitignore for skeleton and default starters (#2732)
- Add explicit types in
_api.ts
andform.ts
for TypeScript and ESLint integration example (#2657)
- breaking: drop Node 12 support (#2604)
- chore: upgrade to Svelte 3.43.0" (#2474)
- chore: add links to repository and homepage to package.json (#2425)
- Use the name of folder as name in package.json (#2415)
- Disable delete button while waiting for API response (#2172)
- 94b34fa6: [breaking] standardize final output dir as /build (vs /.svelte-kit) (#2109)
- b9e63381: Add DOM to lib in tsconfig (#1956)
- fe68e13: Simplify component file names (#1878)
- 4c7ccfd: Add $lib alias to js/tsconfig (#1860)
- 1739443: Add svelte-check to TS templates (#1556)
- 6372690: gitignore package directory (#1499)
- f211906: Adjust build-template script to include package.json (#1555)
- dad93fc: Fix workspace dependencies (#1434)
- d871213: Remove Vite dependency from apps (#1374)
- 9cc2508: Ensure template files match Prettier settings (#1364)
- f5e626d: Reference Vite/Svelte types inside Kit types (#1319)
- 8a402a9: Exclude deploy artifacts from create-svelte package (#1363)
- e8bed05: Prompt to npm install before prompting to git init (#1362)
- 507e2c3: fix: Prettier not formatting .svelte files (#1360)
- 5ed3ed2: Fix usage of request.locals in starter project (#1344)
- d15b48a: Add renamed .svelte -> .svelte-kit directory to ignore files (#1339)
- 1753987: Use request.locals
- 3fb191c: Improved install prompts, turn confirms into toggle (#1312)
- d19f3de: bump minimum required Svelte version (#1192)
- c44f231: Improve a11y on to-do list in template (#1207)
- 82955ec: fix: adapt to svelte ids without ?import in vite 2.2.3
- 1b816b2: Update version of eslint-plugin-svelte3 (#1195)
- 6f2b4a6: Update welcome message (#1196)
- 6f2b4a6: No adapter by default (#1196)
- a2f3f4b: Rename
start
topreview
in the CLI and package scripts
- 2bf4338: Add .gitignore files to new projects (#1167)
- 4645ad5: Remove obsolete vite.ssr config from template (#1148)
- 872d734: Hide out-of-view counter from assistive tech (#1150)
- cdf4d5b: Show git init instructions when creating new project
- 112d194: Uppercase method in template (#1119)
- daf6913: Fix bootstrapping command on about page (#1105)
- a84cb88: Fix global.d.ts rename, Windows build issue, missing adapter-node (#1095)
- 27c2e1d: Fix CSS on demo app hero image (#1088)
- bbeb58f: Include dotfiles when creating new project (#1084)
- 6a8e73f: Remove large image from create-svelte (#1085)
- f342372: Adding new Hello World templates (default with enhanced style and skeleton) to create-svelte (#1014)
- 4cffc14: add global.d.ts to js version (#1051)
- 3802c64: Fix build so that the package can be automatically published (#1001)
- 3c41d07: Fix preprocess option in template
- 9bb747f: Remove CSS option and simplify (#989)
- 4c45784: Add ambient types to published files (#980)
- 59a1e06: Add button:focus CSS styles to index page of default app (#957)
- 39b6967: Add ambient type definitions for $app imports (#917)
- dfbe62b: Add title tag to index page of default app (#954)
- 570f90c: Update tsconfig to use module and lib es2020 (#817)
- 8d453c8: Specify minimum Node version number in @sveltejs/kit and add .npmrc to enforce it (#787)
- dac29c5: allow importing JSON modules (#792)
- 8dc89ba: Set target to es2019 in default tsconfig.json (#772)
- 7e51473: fix eslint error in ts starter template, add eslint and prettier ignore config
- 7d42f72: Add a global stylesheet during create-svelte depending on the chosen CSS preprocessor (#726)
- bdf4ed9: Fix typo in
ignorePatterns
for the.eslintrc.cjs
generated for TypeScript projects so that.eslintrc.cjs
correctly ignores itself. (#701) - f7badf1: Add '$service-worker' to paths in tsconfig.json (#716)
- 9a664e1: Set
.eslintrc.cjs
to ignore all.cjs
files. (#707) - df380e6: Add env options to eslint config (#722)
- a52cf82: add eslint and prettier setup options (#632)
- 8024178: remove @sveltejs/app-utils (#600)
- 8805c6d: Pass adapters directly to svelte.config.cjs (#579)
- ac3669e: Move Vite config into svelte.config.cjs (#569)
- c04887c: create-svelte: Include globals.d.ts in tsconfig (#549)
- 0da62eb: create-svelte: Include missing ts-template (#535)
- bb01514: Actually fix $component => $lib transition (#529)
- 848687c: Fix location of example
Counter.svelte
component (#522)
- f7dc6ad: Fix typo in template app
- 5554acc: Add $lib alias (#511)
- c0ed7a8: create-svelte: globals.d.ts TSDoc fixes, add vite/client types to js/tsconfig (#517)
- 97b7ea4: jsconfig for js projects (#510)
- b800049: Include type declarations (#442)
- 15dd6d6: Fix setup to include vite (#415)
- Use Vite
- Convert everything to ESM
- 00cbaf6: Rename
_.config.js
to_.config.cjs
(#356)
- c9d8d4f: Render to #svelte by default
- 0e45255: Move options behind kit namespace, change paths -> kit.files (#236)
- Use next tag for all packages
- Bump kit version
- Show create-svelte version when starting a new project
- Add svelte-kit start command
- rename CLI to svelte-kit
- 0904e22: rename svelte CLI to svelte-kit (#186)
- 5fbc475: Add TypeScript support at project init
- Add 'here be dragons' warning
- d936573: Give newly created app a name based on current directory
- 5ca907c: Use shared mkdirp helper