Commit Graph

3491 Commits (module-script-comments)

Author SHA1 Message Date
Nic Polumeyv 6374a2a0db
chore: move `@types/trusted-types` to devDependencies (#18730)
1 month ago
Adnane Taghi 4ae5eb3f23
feat: add has function to createContext (#18472)
1 month ago
Simon H 5034b59e9e
chore: bump playwright (#18729)
1 month ago
Simon H 74197ccbe1
feat: add getOrInsert/getOrInsertComputed to SvelteMap (#18728)
1 month ago
Simon H edbe11ebc9
fix: properly apply static textarea value attribute during CSR (#18727)
1 month ago
Xia Chao 05b69164d1
fix: omit bind:focused from SSR output (#18724)
1 month ago
Nic Polumeyv 7c6f36aa92
fix: keep boolean attributes with an empty string value when rendering attribute objects on the server (#18721)
1 month ago
Nic Polumeyv 2e8b57bc58
fix: render `selected` options for `<select multiple>` with an array `value` on the server (#18720)
1 month ago
Nic Polumeyv 864de81bb6
fix: keep the current selection of a `<select>` when its `defaultValue` is applied (#18719)
1 month ago
Nic Polumeyv 4d5139552d
fix: block declaration tags on async values read inside closures (#18533)
1 month ago
Rich Harris aadc97ce1b
fix: simplify boundary error handling and handle hydration errors correctly (#18539)
1 month ago
Bao Nguyen 0f458d5aba
fix: report `derived_invalid_export` for `export let x = $derived(...)` (#18692)
1 month ago
Khaled Waleed 955b701df2
fix: measure nested transitions before applying their starting styles (#18647)
1 month ago
svelte-triage-bot[bot] c7d8233a5c
fix: apply ownership mutation ignores to bindings (#18718)
1 month ago
Simon H 68e7c9b521
fix: transform derived assignments and select function bindings correctly during server-side rendering (#18669)
1 month ago
Mathias Picker 14ec75c5fe
perf: fold SSR block-open markers into the branch's first push (#18712)
1 month ago
Ion c575b07bca
feat: support `defaultValue` on `<select>` (#18591)
1 month ago
Bao Nguyen b433f3cd87
fix: preserve line feed character references in attribute values (#18691)
1 month ago
Mathias Picker 34489c10df
perf: emit `$.only_child` for elements with a single child (#18717)
1 month ago
Mathias Picker 6b99f9fb52
perf: reuse the cached value in the `<option>`/`<select>` value guard (#18713)
1 month ago
Mathias Picker 8299cbf11b
perf: use `$.comment()` for single comment templates (#18714)
1 month ago
Mathias Picker 359413f512
perf: treat `<img loading>` as a static element again (#18711)
1 month ago
Simon H 135f1ec004
fix: more robust rendering of Svelte custom element slots (#18710)
1 month ago
Jawad Ali c894afd8c7
fix: sync SvelteURL port when protocol setter clears it (#18705)
1 month ago
Nic Polumeyv 6b16b7f73f
fix: keep defaultChecked on hydrated radio inputs with spread attributes (#18701)
1 month ago
Jawad Ali 1b02aa28c8
fix: decode uppercase-X hex numeric character references (#18708)
1 month ago
Nic Polumeyv 2b740e496e
fix: commit a reaction's dependencies even when it throws (#18703)
1 month ago
Mathias Picker fdb3aa8ba8
perf: store setters cache as Set instead of Array (#18251)
1 month ago
JY Wey b20b2ee85e
fix: avoid css tree-shaking for exported Snippet (#18540)
1 month ago
Ashok Kaushik 6f5dd04a00
fix: Fixes error thrown on use of select with no options (#18449)
1 month ago
Nic Polumeyv f2648b3537
fix: end a restored reaction context at the end of its synchronous segment (#18694)
1 month ago
Bao Nguyen 1be496f0a6
fix: accept `onfocusin`/`onfocusout` in `a11y_mouse_events_have_key_events` (#18689)
1 month ago
svelte-triage-bot[bot] 721244ad3b
fix: track SvelteDate snapshots in reactions (#18700)
1 month ago
svelte-triage-bot[bot] 4b61851ec8
fix: clean up svelte:head anchors on unmount (#18697)
1 month ago
ChaseCopeland 15720b16a5
docs: Updated docs to include information on easing functions (#16070)
2 months ago
sliang-code 63b4c3652d
fix: don't apply scoped CSS class to elements inside <svelte:head> (#18160)
2 months ago
PD Shaheed Ali Khan 2ac7366391
perf: optimize simple object destructuring in @const tags (#18390)
2 months ago
Nic Polumeyv a6560bbe08
fix: don't resurrect outroing elements when an ancestor block is paused and resumed (#18431)
2 months ago
svelte-triage-bot[bot] a6153f1d2a
fix: preserve whitespace after inline elements when printing (#18685)
2 months ago
Nic Polumeyv 3b559bbf96
fix: avoid NaN keyframe values in slide transition (#18430)
2 months ago
adiGuba 3405b5e735
fix: distinct memoizer on style/class directives (#18466)
2 months ago
Giorgio Maria Federico Birnthaler a1ec9c8eb7
chore: fix typo in read_version JSDoc (#18470)
2 months ago
Rupankar Dutta 224fcadbd5
fix: route $derived teardown errors through invoke_error_boundary (#18486)
2 months ago
Paolo Ricciuti 06c9b7929a
fix: prevent `selectedcontent` mutation from changing the selected option (#18495)
2 months ago
Nic Polumeyv b2a24b0426
fix: run `onDestroy` callbacks when a server render throws (#18585)
2 months ago
Nic Polumeyv 6266debb21
docs: clarify when `$effect.pre` runs relative to DOM updates (#18534)
2 months ago
Nic Polumeyv 9d0062d607
fix: make template store subscriptions wait for the promise that assigns the store (#18582)
2 months ago
Khaled Waleed 2d2e5df26e
fix: don't turn component instances stored in $state into state proxies (#18646)
2 months ago
Alexander Kireyev 09a67efcfc
fix: warn on undeclared shorthand event handlers on svelte:window/document/body (#18480)
2 months ago
AminBouchareb 07dda4056b
docs: document rune_missing_parentheses compiler error (#18589)
2 months ago
Kamil Jakubus 38ef714f1a
fix: scope SSR boundary failed snippets to their boundary (#18593)
2 months ago
Liam O'Dea f5f70343df
perf: O(n²)→O(n) Map lookups for legacy reactive statements (#18602)
2 months ago
Nic Polumeyv cac27c783e
feat: export RenderOutput, SyncRenderOutput, Csp and Sha256Source from svelte/server (#18648)
2 months ago
Siddhesh Kabra faf1e103c5
fix: prevent onoutroend from firing twice when compilerOptions.hmr is true (#18655)
2 months ago
github-actions[bot] 56a036f4ce
Version Packages (#18640)
2 months ago
Joe Schafer 545205b420
perf: make async blocker analysis linear (#18549)
2 months ago
Mukund Sarma 950e2a837c
fix: strip comments from inline style values in linear time (#18553)
2 months ago
randalmurphal ffc0e6e7ef
fix: release last_propagated_event after event propagation settles (#18569)
2 months ago
Nic Polumeyv 2f684fefd7
docs: clarify that context lookup includes the current component and all ancestors (#18581)
2 months ago
Nic Polumeyv 3feb34a992
chore: deduplicate client/server context helpers (#18580)
2 months ago
kdelay 24130c18e2
fix: parse nth-child `of` syntax without whitespace after `of` (#18611)
2 months ago
Magnar Ovedal Myrtveit a166761b04
fix: treat concise arrow function bodies as implicit returns when calculating blockers (#18613)
2 months ago
Sander Machado a4c60ccdbb
fix: append_styles resolving to `document.head` in WC (#18614)
2 months ago
Nathan Asdarjian ee1249b43c
fix: preserve renderer type in copy() during SSR (#18616)
2 months ago
svelte-triage-bot[bot] 9c2494b134
fix: preserve namespaces in CSS type selectors (#18678)
2 months ago
Madan kumar 19aa51d443
fix: print `{#await ... catch}` et al correctly (#18645)
2 months ago
Marwan 8835003d41
fix: preserve CSS escape sequences when printing selectors (#18667)
2 months ago
Gautier Ben Aïm fe4a56b0a8
fix: avoid double-calling a derived reference when destructuring (#18668)
2 months ago
subotac 384ee73aa2
fix: preserve logical assignments to private state fields (#18594)
2 months ago
Siddhesh Kabra a5ea12ee93
fix: skip Program comment nodes in migration to prevent crash (#18656)
2 months ago
Gautier Ben Aïm 9414eaa41b
fix: prevent crash on async custom element attributes (#18661)
2 months ago
Yuichiro Yamashita 248a2e1db4
fix: transform expressions inside labeled statements during server compilation (#18617)
2 months ago
subotac c0987c09f8
fix: remove stale capture listeners from spread attributes (#18618)
2 months ago
Yuuki Oohara a224dd5867
fix: give effect teardowns the value from before the first write in a flush (#18620)
2 months ago
svelte-triage-bot[bot] 221dcae8ca
fix: preserve comment placement for server derived reads (#18641)
2 months ago
남정욱 7725f77cca
fix: apply CSS custom properties with falsy values on components (#18634)
2 months ago
Yuichiro Yamashita 135f4439c3
fix: increment private state fields through a non-`this` receiver (#18622)
2 months ago
github-actions[bot] 20b341f100
Version Packages (#18628)
2 months ago
Simon H ee6dff80ca
fix: better whitespace handling inside printer (#18638)
2 months ago
Simon H a1d5035d17
fix: preserve CSS comments in the AST printer (#18637)
2 months ago
Simon H 3ed9db4ba7
fix: don't duplicate comments in attributes (#18636)
2 months ago
Sankalp Thakur 26786e9298
fix: skip controlled each fast path while another batch is pending (#18625)
2 months ago
github-actions[bot] 44a7813730
Version Packages (#18572)
2 months ago
Nic Polumeyv 3dde011d3a
fix: call `onerror` and provide a working `reset` when hydrating a failed boundary (#18556)
3 months ago
Floze 2bace308e3
fix: preserve select selection with spread attributes (#18561)
3 months ago
github-actions[bot] b29d7002ec
Version Packages (#18560)
3 months ago
Manuel b791cac54e
chore: provide `indent` option for `print` (#18474)
3 months ago
github-actions[bot] 4a6a85b5f1
Version Packages (#18552)
3 months ago
Joe Schafer d0dbe1a480
perf: skip quadratic blocker analysis when no top-level await (#18548)
3 months ago
Simon H 22e0adb75a
fix: rerun derived that had an abort controller on reconnection (#18551)
3 months ago
github-actions[bot] 602a873b6b
Version Packages (#18497)
3 months ago
adiGuba a4fd67e361
fix: $state.eager() is sometimes incorrect in SSR (#18530)
3 months ago
prashantg-pixi 199ffebca3
fix: clear previous_task reference after abort in Tween (#18541)
3 months ago
Simon H edeef1f9f7
chore: add some failing tests (#18528)
3 months ago
Fedor Nezhivoi a91b068786
fix: abort deriveds own AbortSignal when it disconnects (#18400)
3 months ago
Thribhuvan b4d1583ae2
fix: transform computed keys in keyed each block destructuring patterns (#18521)
3 months ago
Rabindra Kumar Meher 08a9e9e7e4
fix: prevent derived connection leak in untracked contexts (#18517)
3 months ago
JY Wey bfbb026f2f
fix: skip unnecessary derived effect in earlier batch (#18525)
3 months ago
Ivan 5edd8b0602
fix: chain preprocessor sourcemaps with an empty sources[0] (#18518)
3 months ago
Paolo Ricciuti 41642b70ee
fix: avoid declaration tag warning in event handlers (#18500)
3 months ago