Commit Graph

97 Commits (svelte@5.20.3)

Author SHA1 Message Date
adiGuba 85f83ec435
feat: $props.id(), a SSR-safe ID generation (#15185)
7 months ago
Paolo Ricciuti 99fdc3f0ab
docs: update error message for `const_tag_invalid_placement` (#15003)
8 months ago
Simon H a2565efa37
docs: tweak "invalid assignment" compiler error message (#14955)
9 months ago
Rich Harris d41801c75f
feat: warn on using `slide` transition with invalid `display` styles (#14936)
9 months ago
Caique Torres 48e3db21c1
fix: default values in object destructuring (#14554)
9 months ago
Rich Harris 97f3aa9151
docs: fix links in some errors/warnings (#14825)
9 months ago
Rich Harris bfa0b34663
add self-closing-tags info (#14758)
9 months ago
Dominic Gannaway 5483495c8d
feat: add $inspect.trace rune (#14290)
9 months ago
waedi 65db409860
docs: typo in ## script_context_deprecated (#14694)
9 months ago
Simon H 68d266e0f8
fix: remove overzealous `reactive_declaration_non_reactive_property` warning (#14663)
9 months ago
Rich Harris 3dcd5a4a3e
fix docs (#14635)
10 months ago
Simon H c6fca02009
docs: more details for errors/warnings on the site (#14632)
10 months ago
Dominic Gannaway 5771b455c0
feat: add support for bind getter/setters (#14307)
10 months ago
Simon H 86ae349bcc
fix: better error messages for invalid HTML trees (#14445)
10 months ago
Rich Harris 4c4f18b24c
chore: fix docs (#14538)
10 months ago
Rich Harris fe0bd299a5
fix: proxify values when assigning using `||=`, `&&=` and `??=` operators (#14273)
10 months ago
Rich Harris a5de086f95
feat: turn `reactive_declaration_non_reactive_property` into a runtime warning (#14192)
10 months ago
Dominic Gannaway 4d2f2fb8e6
feat: allow snippets to be exported from module scripts (#14315)
10 months ago
Dominic Gannaway ed7ebcde1e
feat: add error boundaries (#14211)
10 months ago
Dominic Gannaway 7fd3774015
fix: disallow invalid attributes for `<svelte:window>` and `<svelte:document>` (#14228)
10 months ago
Rich Harris 4157db94c4
fix: correct typo in compiler error messages (#14044)
11 months ago
Richard Smith e99e865291
docs: update links to point to new site (#13986)
11 months ago
Paolo Ricciuti 8ff2af52d3
fix: show filename information in `legacy_recursive_reactive_block` (#13764)
11 months ago
Dominic Gannaway ae10f4d37c
breaking: state mutations inside the template are no longer allowed (#13660)
11 months ago
Dominic Gannaway 139114bdcb
fix: ensure legacy run utility does not cause cycles (#13643)
11 months ago
Dominic Gannaway 2070c8a166
breaking: disallow state mutations in logic block expression (#13625)
11 months ago
Rich Harris 5ee3ae4369
update diffs (#13575)
11 months ago
Simon H 4578d4f25a
docs: generate pages for compiler/runtime warnings/errors (#13557)
12 months ago
Rich Harris d6ab12ae76
feat: deprecate `<svelte:self>` in runes mode (#13333)
1 year ago
James Glenn c229e0f80b
feat: a11y warning for `<button>` / `<a>` without aria-label and content (#13130)
1 year ago
Simon H ed7611b163
feat: provide guidance in browser console when logging `$state` objects (#13142)
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
Dominic Gannaway 3b88b88886
fix: prevent nullish snippet for rendering empty content (#13083)
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
Dominic Gannaway 975918c602
fix: ensure assignments to state field inside constructor trigger effect (#12985)
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 57a4b5d19c
feat: better compiler warnings for non-reactive dependencies of reactive statements (#12824)
1 year ago
brunnerh 32808ac054
docs: More guidance on migrating away from `<svelte:component>`. (#12839)
1 year ago
Rich Harris c51dfcfc00
feat: warn on invalid event handlers (#12818)
1 year ago
Rich Harris dfb6755514
feat: add compiler error when encountering a $-prefixed store value outside a `.svelte` file (#12799)
1 year ago
Rich Harris 7cbd188f80
breaking: replace `$state.frozen` with `$state.raw` (#12808)
1 year ago
Paolo Ricciuti cbcd7617c4
feat: deprecate `svelte:component` (#12694)
1 year ago
Theodor Steiner 7ae21ea97d
feat: make <svelte:option> customElement configuration's tag property optional (#12751) (#12754)
1 year ago
Dominic Gannaway d06174e461
chore: add error for derived self referencing (#12746)
1 year ago