Commit Graph

134 Commits (9c3b79637b4c99e09b878fb1c3e1b47dd456248c)

Author SHA1 Message Date
Simon H 9c507a0a57
fix: ensure `$state.snapshot` never errors (#12445)
1 year ago
Rich Harris 8d3c0266ce
breaking: use `structuredClone` inside `$state.snapshot` (#12413)
1 year ago
Simon H f846cb4833
fix: disallow using `let:` directives with component render tags (#12400)
1 year ago
Paolo Ricciuti 4e8d1c8c52
feat: runtime dev warn for mismatched `@html` (#12396)
1 year ago
Rich Harris bdc45fdf7f
breaking: rename `legacy.componentApi` to `compatibility.componentApi` (#12370)
1 year ago
Simon H 14cbb65d85
chore: stricter control flow syntax validation in runes mode (#12342)
1 year ago
Simon H c42bb04276
fix: disallow accessing internal Svelte props (#12207)
1 year ago
Dominic Gannaway 23484d6875
breaking: prevent usage of arguments keyword in certain places (#12191)
1 year ago
Rich Harris 6588d85364
chore: rewrite state_unsafe_mutation message (#12059)
1 year ago
Dominic Gannaway ccb3c90cd5
breaking: rename $effect.active to $effect.tracking (#12022)
1 year ago
Simon H ba017db89d
docs: make legacy.componentApi more visible (#11924)
1 year ago
Dominic Gannaway 9f823b95e3
fix: improve consttag ordering in non-runes mode (#11908)
1 year ago
Rich Harris d15fd9556f
chore: better invalid attribute message (#11754)
1 year ago
Paolo Ricciuti 5765752d78
fix: throw on invalid attribute expressions (#11736)
1 year ago
Rich Harris d288735fa8
breaking: disallow string literal values in `<svelte:element this="...">` (#11454)
1 year ago
Rich Harris 2ebb277be7
feat: more information when hydration fails (#11649)
1 year ago
Rich Harris 3bf68b4765
fix: make messages more consistent (#11643)
1 year ago
Simon H 4bedd0e4fb
feat: error on imports to `svelte/internal/*` (#11632)
1 year ago
Paolo Ricciuti 87a420f64d
feat: error when snippet shadows a prop (#11631)
1 year ago
Dominic Gannaway 7ef686f8ee
feat: provide $state warnings for accidental equality (#11610)
1 year ago
Rich Harris 5cb432b7bd
feat: warn on unknown warning codes in runes mode (#11549)
1 year ago
Rich Harris 8742823e39
fix: make `$effect.active()` true when updating deriveds (#11500)
2 years ago
Rich Harris dca8861c5a
feat: better error for `bind:this` legacy API usage (#11498)
2 years ago
Simon H 5e0845fe3e
fix: disallow sequence expressions in `@const` tags (#11357)
2 years ago
Caique Torres 68071f7c06
fix: disallow mixing event-handling syntaxes (#11295)
2 years ago
Rich Harris 8e43e9aae0
fix: correctly interpret empty aria- attribute (#11325)
2 years ago
Rich Harris 8e17428316
chore: tidy up messages (#11327)
2 years ago
Rich Harris 6ad5cd4461
feat: implement message overloads (#11318)
2 years ago
Rich Harris 476f2172b6
fix: mark `accessors` and `immutable` as deprecated (#11277)
2 years ago
Rich Harris 22b2c15280
put messages in blockquotes (#11311)
2 years ago
Rich Harris 94b4268ce3
chore: markdown runtime errors/warnings (#11304)
2 years ago
Rich Harris eea5c8ff95
chore: handle option warnings the same as others (#11303)
2 years ago
Rich Harris 7b55bd4d89
chore: markdown warnings (#11302)
2 years ago
Rich Harris 73490bbb8e
chore: markdown errors (#11294)
2 years ago