Skip to content

Commit 4357763

Browse files
committed
SuperDebug rune version is back
1 parent 046d50e commit 4357763

File tree

4 files changed

+10
-2
lines changed

4 files changed

+10
-2
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@ Headlines: Added, Changed, Deprecated, Removed, Fixed, Security
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [Unreleased]
9+
10+
### Fixed
11+
12+
- SuperDebug rune version is back, can now be imported as `import SuperDebug from 'sveltekit-superforms/SuperDebug.svelte';`
13+
814
## [2.26.1] - 2025-06-05
915

1016
### Removed

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@
7474
"types": "./dist/client/SuperDebug.svelte.d.ts",
7575
"svelte": "./dist/client/SuperDebug.svelte"
7676
},
77+
"types": "./dist/client/SuperDebugRuned.svelte.d.ts",
7778
"./server": {
7879
"types": "./dist/server/index.d.ts",
7980
"svelte": "./dist/server/index.js",

src/lib/client/SuperDebugRuned.svelte

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -724,12 +724,14 @@
724724
Other use cases includes debugging plain objects, promises, stores and more.
725725
726726
More info: https://superforms.rocks/super-debug
727+
728+
This is the rune (Svelte 5) version of SuperDebug, which will be default in the next major release.
727729
728730
**Short example:**
729731
730732
```svelte
731733
<script>
732-
import { SuperDebug } from 'sveltekit-superforms';
734+
import SuperDebug from 'sveltekit-superforms/SuperDebug.svelte';
733735
import { superForm } from 'sveltekit-superforms';
734736
735737
const { data } = $props();

src/lib/index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import SuperDebug from './client/SuperDebug.svelte';
22
export default SuperDebug;
3-
//export { default as SuperDebug } from './client/SuperDebugRuned.svelte';
43

54
export { SuperFormError, SchemaError } from './errors.js';
65

0 commit comments

Comments
 (0)