Commit Graph

54 Commits (e9cd45a2daf2de2a62077b1e68019e3cc6f658c8)

Author SHA1 Message Date
Simon H a60995abef
fix: allow async `{@const}` in more places (#16643)
3 months ago
Rich Harris e7e8a9c7b7
docs: remove 'thus', fix some phrasing (#16559)
3 months ago
Anthony a3f18351af
docs: corrections (#16550)
3 months ago
ComputerGuy b0f9ea3ae6
fix: throw on duplicate class field declarations (#16502)
4 months ago
Rich Harris 0672e48223
feat: allow `await` in components (#15844)
4 months ago
Elliott Johnson d103adff9c
feat: State declarations in class constructors (#15820)
6 months ago
7nik d8c6afde94
fix: emit error on wrong placement of the `:global` block selector (#15794)
7 months ago
Simon H a051f96ed6
fix: relax `:global` selector list validation (#15762)
7 months ago
Paolo Ricciuti 3080c1334e
fix: prevent state runes from being called with spread (#15585)
8 months ago
Paolo Ricciuti 474c588067
fix: disallow `bind:group` to snippet parameters (#15401)
9 months ago
adiGuba 85f83ec435
feat: $props.id(), a SSR-safe ID generation (#15185)
9 months ago
Paolo Ricciuti 99fdc3f0ab
docs: update error message for `const_tag_invalid_placement` (#15003)
10 months ago
Simon H a2565efa37
docs: tweak "invalid assignment" compiler error message (#14955)
10 months ago
Caique Torres 48e3db21c1
fix: default values in object destructuring (#14554)
10 months ago
Dominic Gannaway 5483495c8d
feat: add $inspect.trace rune (#14290)
11 months ago
Dominic Gannaway 5771b455c0
feat: add support for bind getter/setters (#14307)
11 months ago
Simon H 86ae349bcc
fix: better error messages for invalid HTML trees (#14445)
11 months ago
Dominic Gannaway 4d2f2fb8e6
feat: allow snippets to be exported from module scripts (#14315)
11 months ago
Dominic Gannaway ed7ebcde1e
feat: add error boundaries (#14211)
11 months ago
Dominic Gannaway 7fd3774015
fix: disallow invalid attributes for `<svelte:window>` and `<svelte:document>` (#14228)
1 year ago
Rich Harris 4157db94c4
fix: correct typo in compiler error messages (#14044)
1 year ago
wackbyte e3ad1acc90
fix: follow spec for `customElement` option (#13247)
1 year ago
Simon H 1a9d8a509c
fix: allow `&` to appear at the top when inside a `:global(...)` (#13215)
1 year ago
Rich Harris 194570dc70
fix: error at compile time on unsupported TypeScript language features (#12982)
1 year ago
Dominic Gannaway cf6b64c6c0
fix: error on incorrect attributes for svelte:body (#13084)
1 year ago
Rich Harris 77096a1f30
fix: error on invalid element name (#13057)
1 year ago
Rich Harris bc1624ffc8
chore: configure knip (#13016)
1 year ago
Simon H 732dbf7fa9
breaking: deprecate `context="module"` in favor of `module` (#12948)
1 year ago
Paolo Ricciuti 02c86b1973
feat: error on invalid component name (#12821)
1 year ago
Rich Harris 0812b10100
breaking: overhaul proxies, remove `$state.is` (#12916)
1 year ago
Rich Harris dfb6755514
feat: add compiler error when encountering a $-prefixed store value outside a `.svelte` file (#12799)
1 year ago
Theodor Steiner 7ae21ea97d
feat: make <svelte:option> customElement configuration's tag property optional (#12751) (#12754)
1 year ago
Paolo Ricciuti e4e66e237f
feat: allow for `svelte:options` css injected (#12660)
1 year ago
Simon H 3bff87ac66
chore: tweak html tree validation (#12618)
1 year ago
Simon H 13d86e9019
feat: allow `:global` in more places (alternative) (#12560)
1 year ago
Simon H 04da87b599
fix: prevent invalid `:global` usage (#12474)
1 year ago
Simon H 3c3a542c05
fix: error on snippet rest parameters (#12472)
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
Dominic Gannaway ccb3c90cd5
breaking: rename $effect.active to $effect.tracking (#12022)
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)
2 years ago
Rich Harris 3bf68b4765
fix: make messages more consistent (#11643)
2 years ago
Simon H 4bedd0e4fb
feat: error on imports to `svelte/internal/*` (#11632)
2 years ago
Paolo Ricciuti 87a420f64d
feat: error when snippet shadows a prop (#11631)
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