Releases: Zixtar/vite-plugin-svelte-devtools
Releases · Zixtar/vite-plugin-svelte-devtools
v0.1.5
[0.1.5] - 2026-05-19
Fixed
- Component tree collapse on selection: selecting a component (via click, component picker, or programmatically) now automatically expands all collapsed ancestor nodes so the selected item is always visible and scrolled into view. Previously the tree could collapse around the selected node, leaving it invisible.
Changed
- Dropped collapsed-state persistence: the buggy name-based localStorage persistence for collapsed tree nodes has been removed. Collapsed state now resets on page refresh. The previous implementation collapsed every component sharing the same name whenever any one of them was collapsed, and could re-collapse nodes that were intentionally expanded during selection.
Added
- Plugin-level tests moved into repo:
tests/preprocessor.test.ts(53 tests) andtests/open-in-editor.test.ts(9 tests) are now versioned in the plugin repo. Previously they lived only in the untracked demo-app.
v0.1.4 — Source map fix
What's changed
Fixed
- Source maps broken in browser devtools — breakpoints always snapped to line 1 of the
.sveltefile and could not be placed on specific lines. The preprocessor now returns amagic-stringsource map withsource: filenameset, so Vite's internalgetCombinedSourcemap()keeps the correct source reference instead of replacing it with the original unprocessed file content.
Added
- Source map regression tests (
tests/sourcemap.test.ts) — 8 unit tests run vianpm test, covering: map presence, correctsources[0]filename, per-line mappings for original code, and absence of mappings on injected lines. npm testscript — vitest is now a dev dependency; the plugin repo has its own test suite.CHANGELOG.md
Changed
magic-stringadded as an explicit runtime dependency (was already pulled in transitively).@vitejs/devtools-kitdev dependency upgraded0.1.21→0.1.24.
v0.1.3
Changelog
v0.1.3
- Remove Settings tab — the Settings panel has been removed as none of its options were functional
v0.1.2
- Hover-only highlight — components are now highlighted on hover in the component tree; selecting a node no longer triggers a highlight
- ContextPanel copy buttons — each row in the Context panel now has a per-row copy button (matching the ComponentDetail pattern)
- Migrate to
rolldownOptions— build config updated fromrollupOptionstorolldownOptionsfor Vite 8 / Rolldown compatibility