Commit Graph

73 Commits (0b2b980eaea690312175b5ab3ce7535d200b21fb)

Author SHA1 Message Date
paoloricciuti 0b2b980eae feat: await async blocks if render static
10 months ago
paoloricciuti aa155e6963 feat: add `renderStaticHTML` to render a component without hydration markers
10 months ago
paoloricciuti 3e083307f5 push wrong hydratable
10 months ago
Paolo Ricciuti 8a8e6f70e8
fix: avoid marking subtree as dynamic for inlined attributes (#14269)
10 months ago
Paolo Ricciuti 04c38b089f
fix: allow binding to const with spread in legacy mode (#13849)
11 months ago
Paolo Ricciuti 0598f2bbe1
fix: reset `reset_element` in `render` to prevent runtime error (#13669)
11 months ago
adiGuba 531ff6243c
fix: do no rerun the each block when array change from empty to empty (#13553)
11 months ago
Dominic Gannaway 0466e40680
breaking: use `<svelte-css-wrapper>` instead of `<div>` for style props (#13499)
11 months ago
Simon H e8508526e7
feat: enable snippets to fill slots (#13427)
11 months ago
Rich Harris b3f3915180
fix: set strings as attributes, non-strings as properties if property exists (#13327)
12 months ago
Rich Harris 93ffb4dbeb
chore: squelch warnings, robustify (#13034)
1 year ago
Rich Harris 057316ccd1
chore: simpler fallback values (#12788)
1 year ago
Rich Harris 79ef645151
chore: improve constants (#12695)
1 year ago
Rich Harris a45ad5df7b
chore: dedupe void element lists (#12690)
1 year ago
Rich Harris 97d5cf178f
chore: simplify assignments in server code (#12614)
1 year ago
Rich Harris c66d2cfcc1
feat: better code generation for `let:` directives in SSR mode (#12611)
1 year ago
Rich Harris c173140969
chore: use JSDoc import (#12595)
1 year ago
Rich Harris 72f5539f51
fix: remove runtime validation of components/snippets, rely on types instead (#12507)
1 year ago
Rich Harris 6fdfc537e4
fix: update original source in HMR update (#12547)
1 year ago
Rich Harris ff080cbbdc
fix: improve validation error that occurs when using `{@render ...}` to render default slotted content (#12521)
1 year ago
Rich Harris 07b0db83c5
feat: move dev-time component properties to private symbols (#12461)
1 year ago
Rich Harris 8d3c0266ce
breaking: use `structuredClone` inside `$state.snapshot` (#12413)
1 year ago
Paolo Ricciuti 4e8d1c8c52
feat: runtime dev warn for mismatched `@html` (#12396)
1 year ago
Rich Harris a4f6407144
feat: universal injected css (#12374)
1 year ago
Rich Harris 256e60994e
chore: remove some junk (#12372)
1 year ago
Rich Harris 2789a3c0ef
feat: single-pass hydration (#12335)
1 year ago
Simon H 3dbb220169
fix: ensure `$$slots` returns a record of booleans (#12359)
1 year ago
Rich Harris bbf489504d
feat: better `<svelte:element>` SSR output (#12339)
1 year ago
Rich Harris 2f1d2d5906
fix: make props optional during SSR (#12284)
1 year ago
Rich Harris 3da2646b10
feat: more accurate `render`/`mount`/`hydrate` options (#12111)
1 year ago
Paolo Ricciuti e27b8c5cb5
fix: better `render` type (#11997)
1 year ago
Azat S 088632b06d
fix: fix merge style func (#11971)
1 year ago
Rich Harris 4f12846fdf
feat: more efficient output for attributes in SSR (#11949)
1 year ago
Rich Harris 388f210183
feat: simpler hydration of CSS custom property wrappers (#11948)
1 year ago
Rich Harris 123b5cbecb
chore: simpler `<svelte:element>` hydration (#11773)
1 year ago
Dominic Gannaway 7714c934fe
chore: deprecate html in favour of body for render() (#11927)
1 year ago
Rich Harris c70533a5a7
fix: more efficient spread attributes in SSR output (#11660)
1 year ago
Simon H 4365562228
fix: deduplicate children prop from default slot (#10800)
1 year ago
Dominic Gannaway 1087e6fb54
chore: improve SSR invalid element error message (#11585)
1 year ago
Simon H a0bdac8cd7
fix: correctly handle falsy values of style directives in SSR mode (#11583)
1 year ago
Dominic Gannaway b4968584df
fix: improve html escaping of element attributes (#11411)
1 year ago
Luke Warlow 8be6fdde54
feat: MathML support (#11387)
1 year ago
Rich Harris 8e17428316
chore: tidy up messages (#11327)
1 year ago
Simon H cd7c3fea16
fix: more accurate default value handling (#11183)
1 year ago
Daniel d061f2f137
fix: ssr comments in head elements that require raw content (#10936)
1 year ago
Dominic Gannaway 3c2f4d2d55
fix: improve hydration of svelte head blocks (#11099)
1 year ago
Rich Harris bb1d229e26
fix docs (#11048)
1 year ago
Rich Harris 7bd853b1a8
fix: hydrate HTML with surrounding whitespace (#10996)
1 year ago
Dominic Gannaway 696b6922e8
fix: revert shorthand ssr comments (#10980)
1 year ago
Rich Harris f303d82043
chore: tidy up server exports (#10972)
1 year ago