All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
2.0.0 - 2024-08-13
Breaking Changes
- Set
type: "module"
inpackage.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
1.4.0 - 2022-04-15
- Add
sveltekit:reload
prop to TypeScript definitions
1.3.0 - 2022-04-10
- Add
sveltekit:prefetch
,sveltekit:noscroll
props to TypeScript definitions
1.2.0 - 2022-02-24
- Add
active
prop; iftrue
, it sets the class to "active" andaria-current="page"
1.1.0 - 2022-01-15
- Update JSDoc/TypeScript prop descriptions
- Type
target
prop as"_self" | "_blank" | "_parent" | "_top"
instead of astring
1.0.3 - 2021-09-12
- Use
.svelte.d.ts
extension for component TypeScript definition
1.0.2 - 2020-12-08
- Use
SvelteComponentTyped
in TypeScript definitions from Svelte version >=v3.31
1.0.1 - 2020-11-29
- Fix window check for SSR environments
1.0.0 - 2020-11-29
- Automatically set
outbound
totrue
if href is external (PR #3, issue #2 – thanks @seaneking)
Breaking Changes
- Set
outbound
tofalse
to disable the external URL auto-detection
0.3.0 - 2020-11-28
- Add TypeScript definitions
0.2.0 - 2020-04-19
- Prefetch link if non-standard
rel="prefetch"
is set (inspired by Sapper)
0.1.0 - 2020-04-16
- Initial release