Releases: metonym/svelte-link
Releases · metonym/svelte-link
v2.0.0
Breaking Changes
- Set
type: "module"
in package.json
- Add
exports
map to resolve Vite warning
- Drop bundled ESM/UMD support
Fixes
- Support
data-*
attributes in TypeScript definitions
- Drop legacy
sveltekit:*
attributes from TypeScript definitions
- Ignore a11y warning
v1.4.0
Features
- Add
sveltekit:reload
prop to TypeScript definitions
v1.3.0
Features
- Add
sveltekit:prefetch
, sveltekit:noscroll
props to TypeScript definitions
v1.2.0
Features
- Add
active
prop; if true
, it sets the class to "active" and aria-current="page"
v1.1.0
Features
- Update JSDoc/TypeScript prop descriptions
- Type
target
prop as "_self" | "_blank" | "_parent" | "_top"
instead of a string
v1.0.3
Fixes
- Use
.svelte.d.ts
extension for component TypeScript definition
v1.0.2
Fixes
- Use
SvelteComponentTyped
in TypeScript definitions from Svelte version >=v3.31
v1.0.1
Fixes
- Fix window check for SSR environments (PR #4)
v1.0.0
Features
Breaking Changes
- Set
outbound
to false
to disable the external URL auto-detection
v0.3.0
Features
- Add TypeScript definitions