Commit Graph

2720 Commits (b48c12b8594e5653cd333f6de3bce53e2c54c373)

Author SHA1 Message Date
Blade Barringer d1bd32ec9e
fix: allow get_proxied_value to return original value when error (#15577)
7 months ago
github-actions[bot] 6e343b9ad7
Version Packages (#15578)
7 months ago
Rich Harris 5a8fa69dbf
feat: make deriveds writable (#15570)
7 months ago
github-actions[bot] 2d3b65dfbd
Version Packages (#15575)
7 months ago
Rich Harris 842a7c6995
docs: update state_unsafe_mutation message (#15539)
7 months ago
Dominic Gannaway 1f37c02f91
fix: ensure toStore root effect is connected to correct parent effect (#15574)
7 months ago
Paolo Ricciuti ade66c6fea
fix: use `get` in constructor for deriveds (#15300)
7 months ago
Rich Harris 6b23a7c477
chore: camelCase -> snake_case (#15573)
7 months ago
github-actions[bot] e25c281296
Version Packages (#15551)
7 months ago
Rich Harris d2e79326c7
fix: don't depend on deriveds created inside the current reaction (#15564)
7 months ago
Dominic Gannaway 1d10a65b78
fix: check if DOM prototypes are extensible (#15569)
7 months ago
Robert Gieseke 1a5fb8fd51
fix: Keep inlined JSDoc comments in property conversion of svelte-migrate (#15567)
7 months ago
Rich Harris 6915c12b58
feat: allow state created in deriveds/effects to be written/read locally without self-invalidation (#15553)
7 months ago
Rich Harris c436b6cdbe
fix: simplify set calls for proxyable values (#15548)
7 months ago
Rich Harris 99ca7a4d7f
chore: create stack lazily when proxying value (#15547)
7 months ago
github-actions[bot] 190c0c7653
Version Packages (#15536)
7 months ago
Paolo Ricciuti 5b9f0df8ee
fix: don't hoist listeners that access non hoistable snippets (#15534)
7 months ago
github-actions[bot] 74917ae703
Version Packages (#15501)
8 months ago
adiGuba 32ee6c1bc2
rune_invalid_arguments_length (#15516)
8 months ago
Simon H aaeda65f2f
docs: add docs on state_unsafe_mutation error (#14932)
8 months ago
7nik 8e9a21e374
fix: correctly match `:has()`'s selector during css pruning (#15277)
8 months ago
Éric NICOLAS f227cfcea8
fix: Allow global-like pseudo-selectors refinement (#15313)
8 months ago
Ben McCann e74fbcbbac
chore: don't distribute unused types definitions (#15473)
8 months ago
Rich Harris 18d71fd528
chore: reuse expression nodes (#15513)
8 months ago
ComputerGuy 489f463d7b
fix: replace `undefined` with `void 0` to avoid edge case (#15511)
8 months ago
Dominic Gannaway 5d3aa2bda4
fix: ensure transient writes to tracked parent effects works as expected (#15506)
8 months ago
D.V. Colomban b27ca425c7
fix: add files and group properties to HTMLInputAttributes (#15492)
8 months ago
github-actions[bot] a1257c17f5
Version Packages (#15493)
8 months ago
Dominic Gannaway 110d42062f
fix: on teardown, use the last known value for the signal before the set (#15469)
8 months ago
Simon H 1cc5bcdc99
chore: clarify fuzzyset adaption (#15491)
8 months ago
Rich Harris 1c0e24013f
chore: reuse is_function helper (#15467)
8 months ago
github-actions[bot] e2bbc560e4
Version Packages (#15466)
8 months ago
Rich Harris eaf0087d7c
fix: skip `log_if_contains_state` if only logging literals (#15468)
8 months ago
Trevor N. Suarez 3326bd8ae7
feat: Add `closedby` to `HTMLDialogAttributes` (dialog element) (#15458)
8 months ago
adiGuba c5912aad71
fix: null and warnings for local handlers (#15460)
8 months ago
Ben McCann 2c4d85bcec
docs: address `$effect` feedback (#15107)
8 months ago
github-actions[bot] d513304dd0
Version Packages (#15453)
8 months ago
adiGuba ae615ae2ac
chore: memoize clsx() (alternative) (#15456)
8 months ago
adiGuba 30562b8780
chore: rewrite set_style() to handle directives (#15418)
8 months ago
adiGuba 2f685c1dba
fix: spreading style is not consistent with attribute (#15323)
8 months ago
Rich Harris 2d3818463a
chore: check namespace inside set attributes (#15443)
8 months ago
github-actions[bot] 43ff3047ac
Version Packages (#15452)
8 months ago
Rich Harris 76f5ecfdab
fix: never deduplicate expressions in templates (#15451)
8 months ago
github-actions[bot] 0abd7f2a7f
Version Packages (#15447)
8 months ago
Rich Harris 3fc2007836
fix: run effect roots in tree order (#15446)
8 months ago
github-actions[bot] 3b465a7172
Version Packages (#15444)
8 months ago
Paolo Ricciuti 181fb2ad49
fix: correctly set `is_updating` before flushing root effects (#15442)
8 months ago
github-actions[bot] cd56c1d60e
Version Packages (#15433)
8 months ago
Simon H ef7fd96ccf
fix: switch to our fork acorn typescript plugin (#15393)
8 months ago
github-actions[bot] 0f2633736d
Version Packages (#15431)
8 months ago
Tom Adler e3dc396e01
fix: make dialog element and role interactive (#15429)
8 months ago
Rich Harris b82692af2f
feat: add `idPrefix` to `render` (#15428)
8 months ago
github-actions[bot] 7ce2dfc622
Version Packages (#15402)
8 months ago
adiGuba 2032049e47
chore: Reduce hydration comment for {:else if} (#15250)
8 months ago
Rich Harris 5bcdb13f26 fix
8 months ago
Rich Harris 49480f0b69 try this
8 months ago
Rich Harris 31882d1d2d add `$effect.pending()`
8 months ago
Rich Harris a0a4d4f598 fix
8 months ago
Rich Harris ee71311e9d fix
8 months ago
Paolo Ricciuti 474c588067
fix: disallow `bind:group` to snippet parameters (#15401)
8 months ago
Rich Harris 94da28f97c skip test
8 months ago
Rich Harris 47a1693578 fix
8 months ago
github-actions[bot] e4987d2a9f
Version Packages (#15383)
8 months ago
adiGuba fe343e9c50
fix: catch error on @const tag in svelte:boundary in DEV mode (#15369)
8 months ago
Rich Harris be82332ac8
chore: simplify `process_effects` (#15397)
8 months ago
adiGuba 8fb2fb70e1
fix : bug "$0 is not defined" with svelte:element and a single class with a function call (#15396)
8 months ago
Rich Harris 52d4ade90f simplify
8 months ago
Rich Harris eb8c8e62e7 simplify
8 months ago
Rich Harris 8a96f23883 tidy
8 months ago
Rich Harris 3c350dbb94 fix
8 months ago
Rich Harris 9b36b6be53 add callsite to effect tree logs
8 months ago
Rich Harris ac3385715c fix
8 months ago
Rich Harris f90132c916 fix
8 months ago
Rich Harris 4e417e1ee2 fix
8 months ago
Rich Harris a5275b2405 update test, remove unnecessary suspend
8 months ago
Rich Harris b18cd46982 update tests
8 months ago
adiGuba cf56973bf0
fix: class:directive not working with $$restProps (#15389)
8 months ago
Rich Harris 710ae6285a fix
8 months ago
Rich Harris 2b2cdf13c5 fix
8 months ago
Rich Harris 57232ee364 fix
8 months ago
Rich Harris 9e877be638 fix
8 months ago
Rich Harris b0b37e6a84 partial fix
8 months ago
Ben McCann da98c894b8
chore: switch to `tinyglobby` (#15388)
8 months ago
Paolo Ricciuti 3d59e84a65
fix: allow double hyphen css selector names (#15384)
8 months ago
Rich Harris 807a585c90 tidy up
8 months ago
Rich Harris fde316fcc8 fix
8 months ago
Paolo Ricciuti c2ec0d9ac2
fix: allow for duplicate `var` declarations (#15382)
8 months ago
Rich Harris ba68a937af update test
8 months ago
Rich Harris 7e0fdb5261 update tests
8 months ago
Rich Harris f77df36ff1 WIP
8 months ago
Rich Harris 8e90bb2f04 remove unused test
8 months ago
Rich Harris 29906c5b2a partial fix
8 months ago
Rich Harris c6d9110b78 some progress
8 months ago
Rich Harris 97587c3284 WIP
8 months ago
Rich Harris 1f4be94486 move some stuff
8 months ago
Rich Harris dd9bb711d2 merge async
8 months ago
Rich Harris 92b03ce50b merge main
8 months ago
Rich Harris cbc227c75e more
8 months ago
Rich Harris db947906f9 more
8 months ago
Rich Harris ed50a6bb3f more
8 months ago
Rich Harris 5d9bd7f1ef more
8 months ago
Rich Harris 527deea929 more
8 months ago
Rich Harris 892dc82aa2 rename
8 months ago
Rich Harris f9eb2f9f9d mirror some changes from main
8 months ago
github-actions[bot] bbeeed421b
Version Packages (#15380)
8 months ago
Rich Harris 5f3b4d5421
chore: DRY out assignment validation (#15360)
8 months ago
Rich Harris 51337f22bd
chore: simplify flushing (#15348)
8 months ago
Rich Harris 7958eb74df
chore: remove unnecessary `binding.is_called` property (#15361)
8 months ago
Rich Harris 1b882fb1b5
chore: remove reactive_statements from state (#15363)
8 months ago
Rich Harris bfeb9ad448
chore: create `binding.updated` getter (#15362)
8 months ago
Rich Harris 53d1b17ce9
remove some unused exports (#15365)
8 months ago
Rich Harris 52d6ed1c73
remove instance_scope (#15364)
8 months ago
github-actions[bot] 220c2418d1
Version Packages (#15358)
8 months ago
adiGuba d4360af751
chore: rewrite set_class() to handle directives (#15352)
8 months ago
Alexis 5a946e7905
fix: Allow @const inside #key (#15377)
8 months ago
Rich Harris 3c4a8d425b
chore: make Binding a class (#15359)
8 months ago
adiGuba 1e1aea4063
chore: remove unnecessary `?? ''` on some expressions (#15287)
8 months ago
Rich Harris c582b5d3b5
chore: simplify flush_sync (#15346)
8 months ago
Rich Harris 0e4f041ae2 WIP
8 months ago
Rich Harris 8aaa5688e4 Merge branch 'async' into async-global-coordination
8 months ago
Rich Harris 6f32d21310 merge main
8 months ago
Rich Harris 2fbf29025e WIP
8 months ago
Rich Harris 0bc2af265d WIP
8 months ago
Rich Harris 120b086b85 WIP
8 months ago
Rich Harris b18247be38 WIP
8 months ago
github-actions[bot] 9873443337
Version Packages (#15304)
8 months ago
Paolo Ricciuti d8e78f7f57
fix: `muted` reactive without `bind` and select/autofocus attributes … (#15326)
8 months ago
Simon H 9091e7e930
fix: fire delegated events on target even it was disabled in the meantime (#15319)
8 months ago
Ranjan Purbey 575900de88
fix: Add more checks to determine if element is non-static (#15259)
8 months ago
tomoam 073f4d8911
fix: prevent writable store value from becoming a proxy when reassigning using $-prefix (#15283)
8 months ago
Paolo Ricciuti dde8603872
fix: do not warn for `binding_property_non_reactive` if binding is a store in an each (#15318)
8 months ago
Ben McCann 87d7cc7d89
chore: add missing await in tests (#15301)
8 months ago
adiGuba c40392c1e8
chore: remove options.uid in render() (#15302)
9 months ago
github-actions[bot] 32b78c9954
Version Packages (#15279)
9 months ago
Simon H 7e3253745e
fix: ensure AST analysis on `svelte.js` modules succeeds (#15297)
9 months ago
Paolo Ricciuti 8b977253f3
chore: fix `$props.id` tests (#15294)
9 months ago
Paolo Ricciuti b6bf735a23
fix: correctly ssr component in `svelte:head` with `$props.id()` or `css='injected'` (#15291)
9 months ago
Rich Harris 7923b5a754 simplify
9 months ago
Rich Harris 9d7d045310 create separate effect type for async deriveds, as they are not blocks
9 months ago
Rich Harris ef28490c07 merge main
9 months ago
Caique Torres 21dadfc997
fix: ignore typescript abstract methods during code transformation (#15267)
9 months ago
github-actions[bot] 23ecc364da
Version Packages (#15271)
9 months ago
Dominic Gannaway f747c412f4
chore: tweak effect self invalidation logic (#15275)
9 months ago
Paolo Ricciuti 5e52825d60
fix: take private and public into account for `constant_assignment` of derived state (#15276)
9 months ago
Paolo Ricciuti 18481386f3
fix: use `importNode` to clone templates for Firefox (#15272)
9 months ago
Simon H a3e49b6110
fix: recurse into `$derived` for ownership validation (#15166)
9 months ago
adiGuba afae274587
fix: value/checked not correctly set using spread (#15239)
9 months ago
Rich Harris a4540f8f2b merge main
9 months ago
adiGuba 85f83ec435
feat: $props.id(), a SSR-safe ID generation (#15185)
9 months ago
Rich Harris 73220b8667
chore: simplify process_effects (#15270)
9 months ago