|
1 | 1 | # sv |
2 | 2 |
|
| 3 | +## 0.15.0 |
| 4 | +### Minor Changes |
| 5 | + |
| 6 | + |
| 7 | +- feat: decouple sv / sv-utils, explicit public API, deprecation pass ([#1046](https://github.com/sveltejs/cli/pull/1046)) |
| 8 | + |
| 9 | + **`@sveltejs/sv-utils`** |
| 10 | + |
| 11 | + - Rename file helpers: `readFile` -> `loadFile`, `writeFile` -> `saveFile`, `getPackageJson` -> `loadPackageJson` |
| 12 | + - Add `pnpm.onlyBuiltDependencies()` transform for `pnpm-workspace.yaml` |
| 13 | + - Export `YamlDocument` type from parsers |
| 14 | + - Remove `commonFilePaths`, `installPackages` (moved internal to `sv`) |
| 15 | + |
| 16 | + **`sv`** |
| 17 | + |
| 18 | + - `create()` signature changed to `create({ cwd, ...options })`. The old `create(cwd, options)` is deprecated and will be removed in the next major release. |
| 19 | + - `sv.pnpmBuildDependency()` is deprecated and will be removed in the next major release. Use `sv.file()` with `pnpm.onlyBuiltDependencies()` from `@sveltejs/sv-utils` instead. |
| 20 | + - `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'`). |
| 21 | + - Add `workspace.file.findUp()` to locate files by walking up the directory tree. |
| 22 | + - Add `api-surface.md` snapshots (auto-generated on build) to track the public API of `sv` and `@sveltejs/sv-utils`. |
| 23 | + - Remove `setup`, `createProject`, `startPreview`, `addPnpmBuildDependencies` from `sv/testing` exports. |
| 24 | + - Make type exports explicit (no more `export type *`). Removed types that were never part of the intended public API: `PackageDefinition`, `Scripts`, `TestDefinition`. |
| 25 | + |
| 26 | +- remove: `devtools-json` add-on as SvelteKit will [silently 404 Chrome DevTools workspaces request](https://github.com/sveltejs/kit/pull/15656). You can still add `vite-plugin-devtools-json` manually if needed. ([#1047](https://github.com/sveltejs/cli/pull/1047)) |
| 27 | + |
| 28 | + |
| 29 | +- feat: replace `sv.pnpmBuildDependency` with `sv.file` + `pnpm.onlyBuiltDependencies` helper and `file.findUp` ([#1037](https://github.com/sveltejs/cli/pull/1037)) |
| 30 | + |
| 31 | + |
| 32 | +### Patch Changes |
| 33 | + |
| 34 | + |
| 35 | +- feat(sv): bump all templates to use vite 8 ([#1005](https://github.com/sveltejs/cli/pull/1005)) |
| 36 | + |
| 37 | + |
| 38 | +- fix(paraglide): type and lint errors ([#1049](https://github.com/sveltejs/cli/pull/1049)) |
| 39 | + |
| 40 | +- Updated dependencies [[`baba23f`](https://github.com/sveltejs/cli/commit/baba23f8ec95948e7f0317ce50c7f594f595546e), [`37a701e`](https://github.com/sveltejs/cli/commit/37a701e18e06ba50468e9265831455ed10a0f66a), [`aead922`](https://github.com/sveltejs/cli/commit/aead92212639504c79644ff0b39ceb54ec36ada3)]: |
| 41 | + - @sveltejs/sv-utils@0.2.0 |
| 42 | + |
3 | 43 | ## 0.14.1 |
4 | 44 | ### Patch Changes |
5 | 45 |
|
|
0 commit comments