Commit Graph

360 Commits (2a1d3c6e730f360eac31b18519f8a930a24f252c)

Author SHA1 Message Date
Rich Harris 5836c1cdbd
chore: improve output for `<svelte:element>` (#9648)
2 years ago
Rich Harris 6e863e617c
feat: warn on referenced mutated nonstate (#9669)
2 years ago
Rich Harris 9c44fd7854
feat: ignore href when hydrating (#9662)
2 years ago
Yuichiro Yamashita da1aa7c4a8
feat: support type annotations in `{@const ...}` tag (#9609)
2 years ago
Simon H 617d63dd90
fix: take event attributes into account when checking a11y (#9664)
2 years ago
Simon H 83fd001157
fix: prevent reactive snippet from reinitializing unnecessarily (#9665)
2 years ago
Simon H 7f237c2e41
fix: omit this bind this arg if we know it's not a signal (#9635)
2 years ago
Dominic Gannaway dee5bed829
fix: improve each block index handling (#9644)
2 years ago
Simon Holthausen 63e5831846 fix: adjust mount and createRoot types
2 years ago
Simon Holthausen a3bc7d5698 fix: type-level back-compat for default slot and children prop
2 years ago
Simon H 78a69acfa1
fix: dont error on stores looking like runes when runes explicitly turned off (#9615)
2 years ago
Simon H 72d3a2a8ce
fix: better attribute casing logic (#9626)
2 years ago
Dominic Gannaway ef68b66dee
fix: improve member expression mutation logic (#9625)
2 years ago
Dominic Gannaway d8d9be39d3
fix: apply correct snippet scope (#9623)
2 years ago
Dominic Gannaway 509f92d29e
fix: correctly assign bind:this with multiples (#9617)
2 years ago
Dominic Gannaway 8118efd115
fix: handle undefined bubble events (#9614)
2 years ago
Rich Harris 0283e50070
chore: reuse common templates (#9601)
2 years ago
Simon H 13c6c273c6
fix: prevent false positives when detecting runes mode (#9599)
2 years ago
Rich Harris 1f4ae5ef45
chore: remove some unused code (#9593)
2 years ago
Dominic Gannaway cf9130613d
feat: add $effect.active rune (#9591)
2 years ago
Rich Harris 13aef5245b
put nested class warning on the declaration, not the usage site (#9592)
2 years ago
Dominic Gannaway eb0b4dc6e5
chore: add inline new class warning (#9583)
2 years ago
Simon H 1003acccc4
feat: add Snippet type (#9584)
2 years ago
Dominic Gannaway da15806136
fix: adjust event delegation heuristics (#9581)
2 years ago
Theodore Brown c011db178b
fix: select enabled option with null value when it matches bound value (#9550)
2 years ago
Rich Harris 1bc89b5eb6
fix: deconflict generated names against globals (#9570)
2 years ago
Rich Harris 945a90b56c
fix: disallow static state fields (#9577)
2 years ago
Rich Harris 1c48d7cbdc
Typescript each indexed (#9567)
2 years ago
Rich Harris 225a5bfe50
set expression end to typeAnnotation end where appropriate (#9566)
2 years ago
Rich Harris 459e4ff006
feat: native TypeScript support (#9482)
2 years ago
Simon H 9926347ad9
fix: adjust static attribute regex (#9552)
2 years ago
gtmnayan 550cecf311
chore: shave off more bytes (#9540)
2 years ago
Dominic Gannaway b0588d7888
fix: address intro transition bugs (#9528)
2 years ago
Dominic Gannaway 298da65ed6
chore: more signal fine-tuning (#9531)
2 years ago
Dominic Gannaway f886bc133e
fix: handle intro global transition propagation correctly (#9515)
2 years ago
Dominic Gannaway 3b2e6eac9a
fix: address unowned propagation signal issue (#9510)
2 years ago
Dominic Gannaway 378093941d
fix: ensure we visit assignments during compilation (#9511)
2 years ago
Simon H 4418ba6535
fix: add top level snippets to instance scope (#9467)
2 years ago
Simon H 1beb5e8dc9
fix: tweak script/style tag parsing/preprocessing logic (#9502)
2 years ago
Rich Harris c827b0c772
fix: only treat instance context exports as accessors (#9500)
2 years ago
Rich Harris ede1edd314
fix: emit useful error on invalid binding to derived state (#9497)
2 years ago
Tee Ming 37f249350c
allow setting files (#9463)
2 years ago
Dominic Gannaway 60c273eb76
Revert "fix: address bug in before/after update" (#9480)
2 years ago
Simon H c1f6ee096d
fix: handle dynamic selects with falsy select values (#9471)
2 years ago
Rich Harris d749685b0f
fix: rework directive name handling (#9470)
2 years ago
Paolo Ricciuti 6f3dc04c82
fix: allow member access on directives (#9462)
2 years ago
Dominic Gannaway 9eb969ddd4
fix: address bug in before/after update (#9448)
2 years ago
Rich Harris 6f6c3a0787
fix: only escape attribute values for elements, not components (#9456)
2 years ago
Paolo Ricciuti e90ded677e
fix: allow svelte:self in snippets (#9439)
2 years ago
Dominic Gannaway 73ae5ef5bc
fix: tighten up event attributes and hoisting logic (#9433)
2 years ago
Dominic Gannaway cf63220a0e
fix: ensure keyed fallback to indexed (#9441)
2 years ago
Dominic Gannaway da37c928ef
fix: support dynamic attributes containing call expressions (#9443)
2 years ago
Simon H 9aa06bdf9e
fix: check that snippet is not rendered as a component (#9423)
2 years ago
Dominic Gannaway 5768df1300
chore: remove selector api (#9426)
2 years ago
Dominic Gannaway 17e6c4f834
fix: address runtime effect issues (#9417)
2 years ago
Simon H 9a99554379
breaking: remove Component type, keep using SvelteComponent instead (#9413)
2 years ago
gtmnayan 7a84e78b4d
fix: add snippet symbol to children prop (#9395)
2 years ago
Rich Harris 2aacfad9ae
fix: exclude internal props from spread attributes (#9384)
2 years ago
Simon Holthausen 51394a4834 docs: note more breaking changes
2 years ago
Simon Holthausen fe8a9ce31d breaking: init Svelte 5
2 years ago