Skip to content

Latest commit

 

History

History
1239 lines (542 loc) · 37.4 KB

File metadata and controls

1239 lines (542 loc) · 37.4 KB

sv

0.15.1

Patch Changes

  • fix(adapter-cloudflare): use --check flag for wrangler types in check/build scripts (#1057)

  • fix(cli): deprecated file warnings no longer trigger on object spread (#1060)

0.15.0

Minor Changes

  • feat: decouple sv / sv-utils, explicit public API, deprecation pass (#1046)

    @sveltejs/sv-utils

    • Rename file helpers: readFile -> loadFile, writeFile -> saveFile, getPackageJson -> loadPackageJson
    • Add pnpm.onlyBuiltDependencies() transform for pnpm-workspace.yaml
    • Export YamlDocument type from parsers
    • Remove commonFilePaths, installPackages (moved internal to sv)

    sv

    • create() signature changed to create({ cwd, ...options }). The old create(cwd, options) is deprecated and will be removed in the next major release.
    • sv.pnpmBuildDependency() is deprecated and will be removed in the next major release. Use sv.file() with pnpm.onlyBuiltDependencies() from @sveltejs/sv-utils instead.
    • workspace.file.prettierignore, .prettierrc, .eslintConfig, .vscodeSettings, .vscodeExtensions are deprecated and will be removed in the next major release. Use the raw strings directly (e.g. '.prettierignore').
    • Add workspace.file.findUp() to locate files by walking up the directory tree.
    • Add api-surface.md snapshots (auto-generated on build) to track the public API of sv and @sveltejs/sv-utils.
    • Remove setup, createProject, startPreview, addPnpmBuildDependencies from sv/testing exports.
    • Make type exports explicit (no more export type *). Removed types that were never part of the intended public API: PackageDefinition, Scripts, TestDefinition.
  • remove: devtools-json add-on as SvelteKit will silently 404 Chrome DevTools workspaces request. You can still add vite-plugin-devtools-json manually if needed. (#1047)

  • feat: replace sv.pnpmBuildDependency with sv.file + pnpm.onlyBuiltDependencies helper and file.findUp (#1037)

Patch Changes

  • feat(sv): bump all templates to use vite 8 (#1005)

  • fix(paraglide): type and lint errors (#1049)

  • feat(sv): bump all templates to use typescript 6 (#1055)

  • chore(cli): bump defaults versions (#1056)

  • Updated dependencies [baba23f, 37a701e, aead922]:

    • @sveltejs/sv-utils@0.2.0

0.14.1

Patch Changes

  • chore: simplify runes option (#1039)

  • fix(playwright): auto-install Playwright browsers via prepare script (#1041)

0.14.0

Minor Changes

  • feat: community add-ons are now experimental (#1020)

Patch Changes

  • Updated dependencies [c0e5831]:
    • @sveltejs/sv-utils@0.1.0

0.13.2

Patch Changes

  • fix(sv): nextStep will conform to depedencies (#1025)

  • feat(sv-utils): all semantic colors now accept string | string[] (#1024)

  • fix(drizzle): add missing closing parenthesis in D1 getDb function (#1022)

  • fix(eslint): properly handle configs that doesn't use defineConfig (#994)

  • Updated dependencies [dd9c2f8]:

    • @sveltejs/sv-utils@0.0.5

0.13.1

Patch Changes

  • feat(paraglide): add a type annotation for the reroute hooks (#1009)

  • api: rename files to file, kit to isKit & directory (#999)

  • refactor: move files utilities to @sveltejs/sv-utils (#1002)

  • chore: add text-scale meta in html (#1011)

  • Updated dependencies [83601df, 504bce9]:

    • @sveltejs/sv-utils@0.0.4

0.13.0

Minor Changes

  • feat(drizzle): add cloudflare D1 database (#976)

Patch Changes

  • fix(sv): stricter logic for rune mode (#991)

  • feat(mdsvex): enable .svx .md extensions by default in config (#998)

  • chore(sv): bump ESLint to v10 and update related dependencies (#989)

0.12.8

Patch Changes

  • feat(cli): refactor help to give better hints for humans & ai (#966)

  • Updated dependencies [669b322]:

    • @sveltejs/sv-utils@0.0.3

0.12.7

Patch Changes

  • fix(sv): don't dictate rune mode for node_modules (#984)

  • fix(sv): fix Sverdle demo shake animation not replaying on consecutive bad guesses (#979)

  • chore(cli): bump vitest to ^4.1 (#985)

0.12.6

Patch Changes

  • feat(vitest): better real world vitest examples (#960)

  • feat(playwright): use dedicated demo page for e2e tests (#978)

  • feat(mcp): move opencode config to .opencode/ folder and generate svelte.json plugin config (#977)

  • feat(playwright): use **/*.e2e.{ts,js} files by default (#919)

  • fix(sv): remove spread operator from ESLint config generation (#971)

  • fix: default to rune mode (#952)

0.12.5

Patch Changes

  • fix(better-auth): resolve auth:schema failure on fresh installs (#968)

0.12.4

Patch Changes

  • revert(paraglide): remove disableAsyncLocalStorage for serverless environments (#958)

0.12.3

Patch Changes

  • fix(paraglide): add text-direction support (#948)

  • feat: add vscode extension recommendations (#953)

  • feat(paraglide): disable AsyncLocalStorage in serverless environments (#957)

  • fix: install @better-auth/cli as a dev dependency (#950)

  • Updated dependencies [142c719, cf12320]:

    • @sveltejs/sv-utils@0.0.2

0.12.2

Patch Changes

  • chore(cli): bump svelte to 5.51 to fix formating issues (#915)

  • fix(cloudflare): remove commented out Platform placeholder when adding Cloudflare types (#925)

  • fix(better-auth): Update imports to use better-auth/minimal (#920)

  • fix(cli): improve addHooksHandle robustness (#929)

0.12.1

Patch Changes

  • fix(drizzle): default .env with turso is now using file:local.db (#908)

  • fix(cli): work also with svelte.config.ts (#912)

0.12.0

Minor Changes

  • remove: lucia from official addons in favor of better-auth (#898)

Patch Changes

  • feat(add): better-auth is now an official addon (#898)

  • fix(cli): unified package manager detection (#900)

  • fix(cli): raw copy of binary files (#905)

  • chore(cli): bump defaults versions (#907)

0.11.4

Patch Changes

  • chore(eslint): bump @eslint/compat to ^2.0.1 (#895)

  • fix(prettier): in lint step, prettier will always be first (#889)

  • chore(cli): remove picocolors for styleText of node:util (#882)

  • chore(cli): bump defaults versions (#896)

  • chore: bump esrap for better formatted output (#879)

  • chore: bump globals as major version increment does not impact us (#894)

  • fix(cli): better management of logs during install (#888)

0.11.3

Patch Changes

  • fix(cloudflare): don't generate types on install, use the dedicated script (#877)

  • feat(eslint): with dbaeumer.vscode-eslint@3.0.20 ESLint extension, we don't need to set eslint.validate anymore (#871)

  • chore(cli): remove vitePreprocess in all default templates (#876)

  • feat(cli): Add promptless command to README.md on sv create (#864)

0.11.2

Patch Changes

  • fix(cloudflare): use a relative path for worker-configuration type in the tsconfig.json file (#866)

  • fix(cloudflare): local preview is now using port 4173 so that it works with the Playwright test command (#866)

0.11.1

Patch Changes

  • fix(adapter-cloudflare): sanitize wrangler project name to comply with Cloudflare naming requirements (#861)

0.11.0

Minor Changes

  • feat(cloudflare): able to fully setup cloudflare adapter for workers/pages (#851)

0.10.8

Patch Changes

  • fix(paraglide): git ignore cache of inlang project (#844)

  • fix(paraglide): multi language when prerendering is now working by default (#844)

  • fix(prettier): prettier-plugin-tailwindcss plugin is now last in the list (#845)

0.10.7

Patch Changes

  • fix(add): storybook is back to using @latest version (#833)

0.10.6

Patch Changes

  • fix(cli): files will be formatted after create (#827)

0.10.5

Patch Changes

  • fix(cli): reload workspace before executing each addon (#823)

  • chore(create): remove esModuleInterop from library template (#822)

  • fix(create): correctly detect executing package manager (#823)

0.10.4

Patch Changes

  • fix(cli): dependencyVersion is now properly populated during sv create (#819)

0.10.3

Patch Changes

  • fix(cli): fix svelte.config.js detection during create (#817)

  • fix(cli): kit projects were detected incorrectly (#810)

0.10.2

Patch Changes

  • fix(cli): printed args now also display path used during directory prompt (#805)

  • fix(mcp): use consistent wording for setup question (#806)

0.10.1

Patch Changes

  • fix(cli): avoid printing duplicated --no-install flag (#803)

0.10.0

Minor Changes

  • feat(cli): npx sv create now supports a new argument --add to add add-ons to the project in the same command. (#695)

Patch Changes

  • feat(cli): show args used so that you can run the cli without any prompt next time (#695)

0.9.15

Patch Changes

  • fix(tailwind): update vscode setting files.associations to tailwindcss (#796)

  • feat(cli): add --no-dir-check option to sv create. With this flag, even if the folder is not empty, no prompt will be shown (#785)

  • feat(mcp): include an AGENTS.md or similar when using the mcp addon (#777)

  • feat(vitest): when add vitest is used within a project that uses vitest@3, the addon will display some next steps to finalize the migration to vitest@4 (#797)

  • fix(demo): rewrite relative import extensions to JavaScript equivalents (tsconfig.json update) (#801)

0.9.14

Patch Changes

  • feat(tailwind): add vscode setting for tailwind (#780)

  • feat(cli): wrap links with resolve() function to follow best practices (#754)

  • feat(create): co-locate css file from usage (layout.css & +layout.svelte) (#780)

  • fix(mcp): Add schema definition for Gemini MCP configuration. (#774)

0.9.13

Patch Changes

  • chore(create): add div with display: contents to library template (#773)

  • fix(mcp): generate valid mcp local configuration for opencode (#769)

  • feat(demo): include file extensions for local imports (#757)

0.9.12

Patch Changes

  • feat(vitest): update to vitest 4.0 (#760)

    • removing @vitest/browser in favor of @vitest/browser-playwright
    • run browser tests in headless mode
  • fix(cli): Check existing conditions for specified options (#771)

0.9.11

Patch Changes

  • fix(prettier): add tailwindcss plugin to prettier config if tailwindcss is installed (#756)

  • fix(cli): generating closing </script> tags now works correctly (#763)

0.9.10

Patch Changes

  • chore(cli): bump defaults versions (#744)

  • feat(drizzle): update docker pgdata volume for postgres 18 (#749)

  • feat(cli): workspace now gives files object with viteConfig and svelteConfig paths to be used in add-ons (#755)

  • fix(cli): +layout.svelte doesn't use optional chaining now (#753)

0.9.9

Patch Changes

  • fix(drizzle): --cwd option in add command is now taken into account (#738)

  • feat(drizzle): Docker Compose file is now stored in compose.yaml instead of docker-compose.yml (#738)

  • fix(add): include monorepo root in dependency detection (#740)

  • feat(cli): add new add-on mcp to configure your project (#735)

  • feat(cli): --from-playground will now bring a PlaygroundLayout to get a more consistent experience with the online playground (#731)

0.9.8

Patch Changes

  • fix(tailwindcss): add @tailwindcss/oxide to approve-builds in pnpm (#717)

  • feat(drizzle): user ID is now a string to ease migration to auth (#733)

  • feat(cli): pnpm config will now be stored in pnpm-workspace.yaml (e.g. onlyBuiltDependencies) (#717)

0.9.7

Patch Changes

  • fix(cli): export types (#719)

  • chore(cli): improve typescript detection (#710)

  • chore(cli): bump defaults versions (#722)

  • fix(cli): --from-playground will create projects with experimental.async enabled (if svelte version allows it) (#729)

  • fix(cli): --from-playground option now works correctly from node 20 (#720)

0.9.6

Patch Changes

  • fix(vitest): now import defineConfig from vitest/config (#703)

0.9.5

Patch Changes

  • feat(cli): create projects from the svelte playground with npx sv create --from-playground <url> (#662)

  • chore(cli): speedup internal tests (#698)

  • chore(core): streamline object helpers (#685)

  • fix(eslint): update eslint to ^9.22.0 and use defineConfig from eslint/config (to fix a deprecation warning) (#712)

  • fix(eslint): add @types/node in devDependencies (#711)

0.9.4

Patch Changes

  • chore(addons): change some dependencies to devDependencies (#682)

  • fix(add): allow passing add-on as argument that depends on another add-on (#691)

  • fix: improve add-on option types (#692)

0.9.3

Patch Changes

  • chore(core): change defineAddonOptions({ /*config */ }) to defineAddonOptions().add('key', { /*config */ }).build() in order to provide better type safety. (#686)

  • fix(migrate): allow migrate to run without specifying a migration arg (#676)

  • fix(add): improve robustness of add-on args parsing (#681)

0.9.2

Patch Changes

  • fix(cli): vite.config.* file detection works for both .js and .ts variants (#673)

0.9.1

Patch Changes

  • chore(create): recommend the kit.typescript.config setting instead of copying from the generated config (#668)

  • chore(devtools-json): update vite-plugin-devtools-json (#667)

0.9.0

Minor Changes

  • feat(cli): rework preconditions: (#650)

    • remove --no-preconditions option from sv add
    • add --no-git-check option to sv add. With this flag, even if some files are dirty, no prompt will be shown

Patch Changes

  • fix(create): update library docs to reflect proper pack command (#655)

0.8.21

Patch Changes

  • feat: vitest require assertions (#647)

  • fix: handle satisfies keyword for vite.addPlugin (#653)

  • chore: remove git init next step when creating a new project (#645)

  • feat: improve minimal template (#643)

    • move favicon.svg to src/lib/assets folder (to show inline/immutable assets)
    • add static/robots.txt (to keep static folder)
    • add routes/+layout.svelte (to show layout)
  • feat(drizzle): add db:generate script to package.json (#648)

0.8.20

Patch Changes

  • fix: align project steps (#644)

  • chore: allow passing an array of import names to imports.addNamed (#639)

  • feat: add vite.addPlugin to simplify adding a plugin on various vite config styles (#633)

0.8.19

Patch Changes

  • feat: combine next steps prompt for create (#637)

  • chore: use create-storybook instead of storybook init (#638)

  • feat: print warning if using Node.js version below 18.3 (#625)

  • fix(tailwindcss): ensure tailwindStylesheet is added to .prettierrc, when applicable (#636)

0.8.18

Patch Changes

  • feat: update templates to vite 7 and vite-plugin-svelte 6 (#629)

0.8.17

Patch Changes

  • fix(add): add /drizzle/ folder to .prettierignore if prettier is installed when adding drizzle addon (#623)

  • fix: update static/ to /static/ in .prettierignore (#624)

0.8.16

Patch Changes

  • chore: use plain-text svg favicon (#617)

  • fix(add): add static folder to .prettierignore (#618)

0.8.15

Patch Changes

  • fix: resolve to task instead of run in addon instructions for deno (#599)

0.8.14

Patch Changes

  • fix: preserve comments when parsing JS AST (#609)

0.8.13

Patch Changes

  • chore: don't select devtools-json by default (#598)

0.8.12

Patch Changes

  • feat(vitest): support vite browser mode (#588)

0.8.11

Patch Changes

  • fix(eslint): generated import order are now sorted alphabetically (#592)

  • feat: add devtools-json addon (using vite-plugin-devtools-json) (#581)

0.8.10

Patch Changes

  • chore: update lucia template (#586)

0.8.9

Patch Changes

  • fix(vitest): unpin vitest to ^3.2.3 after it fixed a regression (#587)

0.8.8

Patch Changes

  • fix(vitest): mount(...) not available (#584)

0.8.7

Patch Changes

  • fix: removed unused import in drizzle schema to fix lint (#571)

  • fix: add null check for kit in the drizzle add-on's setup (#574)

0.8.6

Patch Changes

  • fix: account for Node current releases with even majors when resolving @types/node version (#565)

0.8.5

Patch Changes

  • fix: directory selection placeholder value was taken as folder path (#564)

0.8.4

Patch Changes

  • fix: lucia require user redirect moved to auth guard function (#558)

  • feat: expose runsAfter to add-ons (#554)

0.8.3

Patch Changes

  • fix: always add storybook after all other add-ons (#547)

  • security: upgrade vite to avoid CVE-2025-32395 (#548)

0.8.2

Patch Changes

  • fix: rename Cloudflare adapter option from cloudflare-pages to cloudflare (#545)

  • chore: update adapter-auto (#542)

  • fix: add @types/node as a dev dependency to the drizzle and storybook add-ons (#541)

  • fix: use connection pool when using mysql2 with drizzle (#537)

0.8.1

Patch Changes

  • feat: adds --install <package-manager> flag to create and add (#531)

  • fix: warn on an unparsable .prettierrc config file (#527)

  • chore: remove redundant ignores property in eslint config (#533)

0.8.0

Minor Changes

  • feat: remove adapter-cloudflare-workers and upgrade other adapters (#520)

Patch Changes

  • security: Upgrade Vite to avoid CVE-2025-31125 (#517)

  • security: upgrade vite to avoid CVE-2025-31486 (#522)

0.7.2

Patch Changes

  • chore: added GitHub official logo to demo template (#508)

0.7.1

Patch Changes

  • fix: package manager detection in non interactive environments (#503)

0.7.0

Minor Changes

  • feat: enhanced code generation for more intuitive formatting (#380)

  • chore: switch to estree compatible ast tooling (#380)

Patch Changes

  • chore: use writable derived in sverdle demo project (#500)

  • chore: disable no-undef ESLint rule in TypeScript project (#483)

  • chore: replace create-svelte in library template readme (#499)

0.6.27

Patch Changes

  • chore: updates the paraglide-js addon to setup v2 of paraglide-js (#461)

  • fix: add bun lockfiles to .prettierignore (#492)

  • fix: add volumes to docker compose files generated by drizzle (#475)

0.6.26

Patch Changes

  • fix: insert the tailwindcss vite plugin at the start of the plugin array (#478)

  • chore: add keywords to library template (#473)

0.6.25

Patch Changes

  • chore: detect package manager asynchronously (#465)

  • chore: add keys to {#each} blocks (#466)

  • fix: pass schema to drizzle client for better type generation (#459)

  • fix: addons executed in the wrong order in certain circumstances (#462)

0.6.24

Patch Changes

  • fix: use 'prettier' instead of ['flat/prettier'] (#467)

  • fix: properly add tailwind plugins on subsequent add-on executions (#456)

0.6.23

Patch Changes

  • fix: use eslint-plugin-svelte v3 (#455)

0.6.22

Patch Changes

  • fix: make drizzle next steps more precise (#447)

  • chore: update addon dependencies (#450)

  • fix: allow selecting adapter auto (#446)

  • feat: update eslint-plugin-svelte v3 (#453)

  • fix: re-add tailwindcss plugins (#448)

0.6.21

Patch Changes

  • feat: vitest use client and server side testing for kit (#311)

0.6.20

Patch Changes

  • Remove comment about adapter-auto once a specific sveltekit adapter is chosen (#436)

  • fix: onlyBuiltDependencies not added on new projects (#439)

  • fix: generate correct table defintion for turso in lucia demo (#433)

0.6.19

Patch Changes

  • feat: update to tailwindcss v4.0.0 (#422)

  • feat: support pnpm version 10 (#432)

0.6.18

Patch Changes

  • fix: checkjs library template (#428)

0.6.17

Patch Changes

  • fix: properly pass through arguments to sv check (#420)

  • chore: use rolldown instead of rollup (#371)

0.6.16

Patch Changes

  • fix: ensure Sverdle keyboard events modify game state without a trip to the server if client-side JavaScript is enabled (#416)

0.6.15

Patch Changes

  • chore: add prepare script to run svelte-kit sync (#409)

0.6.14

Patch Changes

  • chore: update vite@6 and related packages (#410)

  • fix: forward exit code of external package commands (#412)

0.6.13

Patch Changes

  • chore: update adapter-auto and adapter-cloudflare (#401)

0.6.12

Patch Changes

  • fix: git detection inside preconditions failed (#394)

  • chore: update addon dependencies (#357)

  • chore: utilize prepack lifecycle script (#396)

  • chore: improve cli help menu (#294)

  • fix: use modern Spring and MediaQuery implementation (#361)

  • fix: tailwind plugins as dev dependencies (#400)

0.6.11

Patch Changes

  • fix: properly add eslint dependency (#375)

  • feat: migrate to $app/state (#358)

0.6.10

Patch Changes

  • fix: correctly resolve package manager commands in create's next-steps (#360)

  • fix: don't generate sourcemaps for release (#373)

  • chore: update-dependencies (#356)

  • fix: make lucia validation error messages more descriptive (#363)

0.6.9

Patch Changes

  • fix: use vite@5 again due to compatability issues with vitest@2 (#341) (#353)

0.6.8

Patch Changes

  • feat: add sveltekit-adapter add-on (#346)

0.6.7

Patch Changes

  • fix: updated jsdoc type for paraglide demo (#337)

  • feat: set app templates to private by default (#343)

  • chore: upgrade package-manager-detector to add Deno support (#313)

0.6.6

Patch Changes

  • feat: respect .gitignore in eslint add-on (#335)

  • feat: update create templates to Vite 6 (#340)

  • fix: add paraglide output directory to .gitignore (#338)

  • chore: replace svelte-5-preview link (#327)

0.6.5

Patch Changes

  • chore: remove @types/eslint package from eslint add-on (#323)

  • chore: remove aspect-ratio plugin from tailwindcss add-on (#322)

  • feat: add short descriptions for each add-on (#299)

0.6.4

Patch Changes

  • fix: limit window height of dependency install's output (#307)

0.6.3

Patch Changes

  • feat: display package manager output during dependency installs (#305)

  • chore: rename adder to add-on (#303)

0.6.2

Patch Changes

  • fix: ignore path prompt if user provided path in create (#292)

  • feat: add jsconfig.json to the 'no type checking' template (#290)

  • fix: disable add-on preconditions during create (#288)

0.6.1

Patch Changes

  • fix: use base32 IDs in lucia add-on (#262)

0.6.0

Minor Changes

  • chore: remove routify (#252)

  • feat: rename --check-types <typescript|checkjs|none> to --types <ts|js> with a --no-types flag (#249)

Patch Changes

  • fix: update lucia add-on (#254)

0.5.11

Patch Changes

  • fix: revert logging dependency install errors (#244)

0.5.10

Patch Changes

  • chore: replace mention of create-svelte in newly created README.md (#235)

  • fix: log error when dependency installs fail (#235)

  • fix: use satisfies instead of as in tailwindcss config (#235)

0.5.9

Patch Changes

  • fix: tailwindcss import insertions and execution order (#221)

  • fix: adjusted next steps instructions for create (#222)

0.5.8

Patch Changes

  • fix: quotes in cd output if necessary (#207)

  • chore: update documentation url hash (#208)

  • chore: clarify cli instructions (#212)

0.5.7

Patch Changes

  • fix: improve package manager detection (#178)

0.5.6

Patch Changes

  • chore: use svelte@5 full release (#174)

0.5.5

Patch Changes

  • feat: create /demo page (#171)

  • chore: remove auto-installing dependencies (#164)

  • feat: add --version flag (#160)

  • chore: update silver-fleece (#169)

  • fix: adjust ordering of "next steps" in create (#166)

  • chore: ensure stack trace is logged (#172)

0.5.4

Patch Changes

  • chore: move paraglide demo into seperate page (#149)

  • chore: improve unsupported environment message (#152)

  • feat: tailwindcss plugins (#127)

0.5.3

Patch Changes

  • fix: ensure lang="ts" is added in paraglide demo (#145)

  • fix: rename auth handler to handleAuth for lucia (#145)

  • chore: log the external command being executed (#145)

  • fix: always add new handlers for hooks (#145)

  • fix: better prompt for paraglide langs (#130)

  • chore(lucia): update demo to use svelte 5 syntax (#141)

0.5.2

Patch Changes

  • fix: improve formatting on new script files (#96)

  • fix: dont check preconditions if no add-on selected (#125)

  • feat: improved homescreen for adding or creating projects (#112)

  • fix: ignore hidden directories in empty directory detection (#126)

  • fix: prompt to install dependencies in sv create (#117)

0.5.1

Patch Changes

  • feat: paraglide add-on (#67)