Commit Graph

3185 Commits (svelte@5.54.0)

Author SHA1 Message Date
Elliott Johnson a0c7f28915
Merge commit from fork
6 months ago
Elliott Johnson 73098bb26c
Merge commit from fork
6 months ago
Elliott Johnson f89c7ddd7e
Merge commit from fork
6 months ago
github-actions[bot] b8f2b86105
Version Packages (#17733)
6 months ago
Rich Harris c83aa06d69
chore: proactively defer effects in pending boundary (#17734)
6 months ago
Rich Harris 2287ad005a
fix: detect and error on non-idempotent each block keys in dev mode (#17732)
6 months ago
Rich Harris 3f6521df0e
chore: unify async logic (#17731)
6 months ago
Rich Harris bd4ba56932
chore: make batch.is_deferred a private method (#17729)
6 months ago
github-actions[bot] 04c0368aa8
Version Packages (#17725)
6 months ago
Rich Harris e47c747338
fix: prevent event delegation logic conflicting between svelte instances (#17728)
6 months ago
Varun Chawla 60a425193c
fix: treat CSS attribute selectors as case-insensitive for HTML enumerated attributes (#17712)
6 months ago
Rich Harris 6557a0a591
fix: run effects in pending snippets (#17719)
6 months ago
7nik ff70ab1b76
fix: locate Rollup annontaion friendly to JS downgraders (#17724)
6 months ago
github-actions[bot] 82265f1496
Version Packages (#17711)
6 months ago
Copilot dd9fc0d1ad
Warn on non-destructured `$props()` reads in runes mode (#17708)
6 months ago
Paolo Ricciuti 01f1937a98
fix: take async into consideration for dev delegated handlers (#17710)
6 months ago
github-actions[bot] 7299ffc39f
Version Packages (#17704)
6 months ago
7nik 743d52a893
fix: don't crash on undefined `document.contentType` (#17707)
6 months ago
Rich Harris 220b526d3a
fix: use symbols for encapsulated event delegation (#17703)
6 months ago
github-actions[bot] 7b6755eaf6
Version Packages (#17693)
6 months ago
jyc.dev 86d5522096
fix: follow-up formatting in `print()` for block-level elements (#17699)
6 months ago
Abdelrahman 0565dca1f7
fix: implement ref counting for mount with same target (#17695)
6 months ago
Jay Harris 6c15e711e2
[fix]: Add support for TrustedTypes in Svelte (#16271)
6 months ago
Elliott Johnson 75e1992141
fix: sanitize template-literal-special-characters in SSR attribute values (#17692)
6 months ago
github-actions[bot] c1c664df93
Version Packages (#17681)
6 months ago
Razin Shafayet 45a796b327
fix: propagate `$effect` errors to `<svelte:boundary>` (#17684)
6 months ago
7nik b657029687
fix: take into account `nodeName` case sensitivity on XHTML pages (#17689)
6 months ago
Rich Harris 4eee2f7c92
fix: freeze effects-inside-deriveds when disconnecting, unfreeze on reconnect (#17682)
6 months ago
Rich Harris 9400689e1c
chore: use create_element everywhere (#17683)
6 months ago
Rich Harris bcd170ceb0
fix: always lowercase HTML elements, for XHTML compliance (#17664)
6 months ago
github-actions[bot] 015e744962
Version Packages (#17668)
6 months ago
Artyom Alekseevich 684cdba253
fix: resolve effect_update_depth_exceeded with select bind:value in legacy mode (#17645)
6 months ago
Manuel 3c6bb6faba
chore: provide proper public type for `parseCss` result (#17654)
6 months ago
Simon H b0ca0b84de
fix: robustify blocker calculation (#17676)
6 months ago
Rich Harris e3d7f3986f
chore: update ESLint to v10 (#17670)
6 months ago
Mohit Kourav 15fe6b85c0
feat: add warning when media.play() fails in bind:paused (#17656)
6 months ago
Simon H bd5480b9d0
fix: reduce if block nesting (#17662)
6 months ago
github-actions[bot] 35c845e35d
Version Packages (#17653)
6 months ago
Mohit Kourav 67c4a38117
docs: add explanatory comments to empty catch blocks (#17651)
6 months ago
Simon H 0a404c9863
fix: prevent async render tag hydration mismatches (#17652)
6 months ago
Rich Harris d047bc6e2a
fix: render boolean attribute values as empty strings for XHTML compliance (#17648)
6 months ago
7nik 9749ee869c
chore: add xhtml tests (#17597)
6 months ago
github-actions[bot] bb00d5b6e7
Version Packages (#17615)
6 months ago
Andrew Aquino 863c9d6875
chore: wrap JSDoc URLs in @see and @link tags (#17617)
6 months ago
Rich Harris 57cb393796
fix: allow NaN in key blocks (#17642)
6 months ago
Rich Harris bd7b8aa108
chore: fix broken css test (#17644)
6 months ago
Artyom Alekseevich f71a6813b7
fix: treat menu element like ul/ol for a11y role checks (#17638)
6 months ago
Artyom Alekseevich 4453e4895d
fix: fix spelling errors in media-query and test file (#17628)
6 months ago
Artyom Alekseevich 0c715afdab
fix: correct spelling errors in test files (#17630)
6 months ago
Artyom Alekseevich 989492f057
fix: use "set up" (verb) instead of "setup" (noun) in comments (#17632)
6 months ago
Rich Harris 6e5f2b157a
fix: exit resolved async blocks on correct node when hydrating (#17640)
6 months ago
Rich Harris bc44975869
fix: properly hydrate already-resolved async blocks (alternative) (#17641)
6 months ago
Rich Harris f5304ec8c9
chore: simplify SSR code (#17639)
6 months ago
Artyom Alekseevich a75866f34d
fix: detect store in each block expression regardless of AST shape (#17636)
6 months ago
Rich Harris fcbd3e325a
feat: allow use of createContext when instantiating components programmatically (#17575)
6 months ago
Rich Harris f05f946fea
fix: add vite-ignore comment inside dynamic crypto import (#17623)
6 months ago
7nik d7a8e3d130
fix: emit `each_key_duplicate` error in production (#16724)
6 months ago
Rich Harris 4f41e816ba
fix: ensure infinite effect loops are cleared after flushing (#17601)
6 months ago
github-actions[bot] eb63a6bbba
Version Packages (#17614)
6 months ago
Tee Ming 05229d9682
chore: remove SvelteKit data attributes from elements.d.ts (#17613)
6 months ago
Tee Ming baba15ab98
fix: avoid 'node:crypto' cloudflare warnings (#17612)
6 months ago
Simon H bc4dc1d10d
fix: avoid erroneous async derived expressions for blocks (#17604)
6 months ago
github-actions[bot] 92e6721c03
Version Packages (#17585)
7 months ago
FORMI 8933653fbe
fix: merge consecutive text nodes during hydration for large text content (#17587)
7 months ago
Rich Harris ebe583f2bb
fix: only create async functions in SSR output when necessary (#17593)
7 months ago
Antonio Bennett 5656dd569a
fix: handle renderer.run rejections (#17591)
7 months ago
7nik 704d0cd765
chore: allow testing in production env 2 (#17590)
7 months ago
Rich Harris 26b09ec420
chore: bump playwright (#17565)
7 months ago
7nik ffd65e90fe
chore: allow testing in production env (#16840)
7 months ago
Manuel 82fde88780
fix: `print()` multiline behaviour (#17319)
7 months ago
github-actions[bot] 9d1dd2e199
Version Packages (#17564)
7 months ago
Paolo Ricciuti 2d62ffee9c
fix: throw for unset `createContext` get on the server (#17580)
7 months ago
Rich Harris 1c131f11ca
fix: reset effects inside skipped branches (#17581)
7 months ago
Rich Harris 3608b3c869
fix: preserve old dependencies when updating reaction inside fork (#17579)
7 months ago
Rich Harris ece2e83eb9
fix: increment signal versions when discarding forks (#17577)
7 months ago
Rich Harris 37cd40d2e5
fix: more conservative assignment_value_stale warnings (#17574)
7 months ago
Razin Shafayet 3256a75b54
fix: ignore popover elements in a11y_consider_explicit_label check (#17367)
7 months ago
PandaMan 16fec7207a
fix: make onintrostart respect delay parameter (#17567)
7 months ago
Rich Harris 06e6ef83b8
failing test (#12791)
7 months ago
Dominik G. 975a5ec60a
fix invalid negative values in sourcemap column indexes (#17167)
7 months ago
Bladesheng 0cbf718aef
feat: allow passing `ShadowRootInit` to custom element `shadow` options (#17088)
7 months ago
github-actions[bot] 3d285f0ee4
Version Packages (#17560)
7 months ago
Rich Harris 30cea1f9a0
fix: run boundary `onerror` callbacks in a microtask, in case they result in the boundary's destruction (#17561)
7 months ago
Rich Harris 8c8a22add4
fix: prevent unintended exports from namespaces (#17562)
7 months ago
David 02b5d94b3a
fix: each block breaking with effects interspersed among items (#17550)
7 months ago
github-actions[bot] e9d580ed40
Version Packages (#17555)
7 months ago
Tee Ming 83eb9dac64
fix: avoid duplicating escaped characters when parsing styles (#17554)
7 months ago
github-actions[bot] 9662010a13
Version Packages (#17537)
7 months ago
Richman018 5872b89fb8
fix: add pointer and touch events to a11y_no_static_element_interactions warning (#17548)
7 months ago
David 5e0d18d210 fix: advance hydration before skipping settled async blocks (#17539)
7 months ago
ai-man-codes efcb7353bb
fix: handle falsy dynamic components in SSR (#17542)
7 months ago
David bec90d4801
fix: avoid using dev-mode array.includes wrapper on internal array checks (#17536)
7 months ago
David fe12ffc2a3
fix: avoid unnecessary block effect re-runs after async work completes (#17535)
7 months ago
github-actions[bot] e1427aa0c8
Version Packages (#17531)
7 months ago
Benjamin Tamasi 6046bbb456
fix: export `wait` function from internal client index (#17530)
7 months ago
github-actions[bot] 9108404450
Version Packages (#17517)
7 months ago
Rich Harris 0f68a00c3c
chore: defense-in-depth against script escapes (#17479)
7 months ago
Rich Harris 9b6539a8ef
fix: properly hydrate await in `{@html}` (alternative) (#17528)
7 months ago
Pooh 7ab62a5878
docs: fix <svelte:boundary> tag in const_tag_invalid_placement message (#17501)
7 months ago
Paolo Ricciuti 917ea2d4ae
fix: account for empty statements when visiting in transform async (#17524)
7 months ago
Rich Harris 1ff7dd6123
fix: batch resolution of async work (#17511)
7 months ago
Rich Harris ac03d27d68
chore: reduce indirection, simplify logic in batch.process(...) (#17521)
7 months ago
Rich Harris 1ed458edc7
chore: remove `set_is_updating_effect` (#17459)
7 months ago
David 7719d0312c
fix: perf regression with async mode (#17461)
7 months ago
Rich Harris f9cc2d25b9
fix: better code generation for const tags with async dependencies (#17518)
7 months ago
Paolo Ricciuti d95887deb6
fix: hoist snippets above const in same block (#17516)
7 months ago
github-actions[bot] c1fab8caae
Version Packages (#17508)
7 months ago
Rich Harris 0ce2313e35
chore: squelch hydration warnings (#17509)
7 months ago
Rich Harris f679259232
fix: prevent duplicate dependencies without using array.includes (#17503)
7 months ago
Tensorworker d3776c1723
fix: handle non-string values in svelte:element this attribute (#17499)
7 months ago
Elliott Johnson c9ebd6a885
feat: export `parseCss` from `svelte/compiler` (#17496)
7 months ago
github-actions[bot] 16e9c70d1e
Version Packages (#17488)
7 months ago
Paolo Ricciuti 4ea7631bf5
fix: trigger selectedcontent reactivity (#17486)
7 months ago
github-actions[bot] 9cf60666ea
Version Packages (#17480)
7 months ago
Paolo Ricciuti 645eb12258
feat: customizable select (#17429)
7 months ago
Paolo Ricciuti a903e9408b
fix: mark subtree of svelte boundary as dynamic (#17468)
7 months ago
Paolo Ricciuti 17c22969d8
fix: don't reset static elements with debug/snippets (#17477)
7 months ago
github-actions[bot] 0718a26b43
Version Packages (#17476)
7 months ago
Elliott Johnson cfc7e0a8c3
chore: Upgrade devalue (#17475)
7 months ago
Elliott Johnson ef81048e23
Merge commit from fork
7 months ago
Dominik G. 6d90b96e99
chore: edit changelog (#17463)
7 months ago
github-actions[bot] ed8dcd0636
Version Packages (#17458)
7 months ago
github-actions[bot] 51c7f7152c
Version Packages (#17410)
7 months ago
David 7dbb5b4788
fix: derived reactivity and perf regressions (#17362)
7 months ago
Rich Harris ae224bea49
fix: always reconnect deriveds in get, when appropriate (#17451)
7 months ago
Rich Harris 2c23390286 chore: const -> var
7 months ago
Rich Harris 286b40c452 fix: prevent derives without dependencies from ever re-running (#17445)
7 months ago
Rich Harris f8bdadc1bf
chore: simplify is_dirty (#17444)
7 months ago
Rich Harris 359be81c09
chore: tidy up (#17443)
7 months ago
Rich Harris f04f22ea49
chore: use update_derived_status instead of set_signal_status where appropriate (#17442)
7 months ago
Rich Harris c6ce1ffeff
chore: move set_signal_status into separate module (#17441)
7 months ago
Rich Harris 7ad5772309
fix: notify deriveds of changes to sources inside forks (#17437)
7 months ago
Rich Harris 4f49ea8961
fix: don't revert source to UNINITIALIZED state when time travelling (#17409)
7 months ago
Rich Harris 05a85d305a
chore: use normalization helper for hydration tests (#17434)
7 months ago
Rich Harris ac7c7646bc
fix: don't transform references of function declarations in legacy mode (#17431)
7 months ago
Rich Harris 044dce9da5
fix: adjust `loc` property of `Program` nodes created from `<script>` elements (#17428)
7 months ago
Rich Harris 41e8643814
fix: clear batch between runs (alternative approach) (#17424)
7 months ago
Rich Harris 1482ae8726
chore: remove `async_body` (#17425)
7 months ago
Rich Harris 37f08493c9
chore: eagerly assign labels to async deriveds (#17420)
7 months ago
Tee Ming b1f44c46c3
fix: correctly compile server code when using `$inspect` after a top-level await expression (#17407)
7 months ago
Rich Harris 965bf6ceec
chore: better async setContext test (#17398)
8 months ago
github-actions[bot] d8085c24ba
Version Packages (#17388)
8 months ago
Rich Harris 31ac74fac7
fix: skip static optimisation for stateless deriveds after await (#17389)
8 months ago
That Richan acd752524b
feat: type `currentTarget` in `on` function (#17370)
8 months ago
Rich Harris 95a895a9d9
fix: prevent infinite loop when HMRing a component with an `await` (#17380)
8 months ago
github-actions[bot] 435da13fdd
Version Packages (#17358)
8 months ago
Elliott Johnson c86c4fdca1
feat: Add CSP support for `hydratable` (#17338)
8 months ago
github-actions[bot] 5f249abeae
Version Packages (#17353)
8 months ago
Elliott Johnson 00459a1d78
fix: race condition when importing `AsyncLocalStorage` (#17350)
8 months ago
github-actions[bot] a544a9d5f3
Version Packages (#17343)
8 months ago