Commit Graph

3015 Commits (svelte@5.49.0)

Author SHA1 Message Date
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
Rich Harris b268ccbf44
fix: correctly reschedule deferred effects when reviving a batch after async work (#17332)
8 months ago
Yash 4e6104a939
fix typo (#17347)
8 months ago
Manuel a584ff1347
fix: correctly print `!doctype` during `print` (#17341)
8 months ago
github-actions[bot] 01cd35211b
Version Packages (#17331)
8 months ago
Ryan Atkinson 3cabb52534
fix: set Root start/end to null when fragment contains only whitespace (#17125)
8 months ago
Rich Harris 7ec9e4b3b1
fix: prevent erroneous `state_referenced_locally` warnings on prop fallbacks (#17329)
8 months ago
github-actions[bot] ebf7d94a71
Version Packages (#17328)
8 months ago
Random Fads 6ae3e908a1
fix: Added the "off" value to the TS definition for textarea's wrap attribute (#17326)
8 months ago
Manuel 123fab2731
fix: add more css selectors to `print()` (#17330)
8 months ago
Elliott Johnson 44058da346
fix: Don't crash on `hydratable` serialization failures (#17315)
8 months ago
github-actions[bot] 275fa8231f
Version Packages (#17312)
8 months ago
Rich Harris 0990095aed
fix: don't issue a11y warning for video without captions if it has no `src` (#17311)
8 months ago
Rich Harris 46603d93cb
fix: add `srcObject` to permitted `<audio>`/`<video>` attributes (#17310)
8 months ago
Ben McCann 0cdc431562
chore: upgrade dependencies to fix dependabot warnings (#17287)
8 months ago
github-actions[bot] c864d2c778
Version Packages (#17299)
8 months ago
Rich Harris 190e64acd9
fix: destroy each items after siblings are resumed (#17258)
8 months ago
Rich Harris 3a3b7e8a3f
chore: tidy up types for DOM operations (#17298)
8 months ago
github-actions[bot] f091b11eab
Version Packages (#17286)
8 months ago
Simon H 794b8f3dfd
fix: keep reactions up to date even when read outside of effect (#17295)
8 months ago
Rich Harris 1f3f1826e8
chore: move DOM-related effect properties to `effect.nodes` (#17293)
8 months ago
Rich Harris 8dd8e3ec0b
chore: minor each tweak (#17294)
8 months ago
Rich Harris 6dea3d0a28
chore: skip static index update (#17249)
8 months ago
Manuel 5b5f688ddd
fix: `print(ast)` types (#17255)
8 months ago
Rich Harris 0e1c98ea11
fix: allow `$props.id()` to occur after an `await` (#17285)
8 months ago
github-actions[bot] f8287b0d91
Version Packages (#17268)
8 months ago
Rich Harris 649d8572a6
fix: handle cross-realm Promises in `hydratable` (#17284)
8 months ago
Rich Harris 617e179e68
fix: preserve node locations for better sourcemaps (#17269)
9 months ago
Rich Harris 6d696be170
chore: update parser snapshots (#17267)
9 months ago
adiGuba 570f64963b
fix: add props to state_referenced_locally (#17266)
9 months ago
Simon H a72167bb38
chore: more effect debug helpers (#17259)
9 months ago
github-actions[bot] b4b580a13a
Version Packages (#17257)
9 months ago
ComputerGuy bec7ca7918
fix: throw on invalid `{@tag}`s (#17256)
9 months ago
Paolo Ricciuti ae6004657d
fix: array destructuring after await (#17254)
9 months ago
github-actions[bot] 5c821c1a41
Version Packages (#17253)
9 months ago
Simon H da4cd0e359
fix: link offscreen items and last effect in each block correctly (#17240)
9 months ago
github-actions[bot] 1bc3ae7cbf
Version Packages (#17247)
9 months ago
Rich Harris 8addf203c4
feat: add `print(...)` function (#16188)
9 months ago
github-actions[bot] cc1b3f234a
Version Packages (#17245)
9 months ago
Alejandro Torres 3c63b12ccd
chore: fix typos in code comments and documentation (#17187)
9 months ago
Simon H a7848c021a
fix: generate correct code for simple destructurings (#17237)
9 months ago
Simon H d0e61bc252
fix: ensure each block animations don't mess with transitions (#17238)
9 months ago
Rich Harris e3acf5deea
chore: better log_effect_tree (#17243)
9 months ago
Simon H 5546272988
chore: test component exports + async (#17241)
9 months ago
Rich Harris 52a36bdb35
fix: link offscreen items and last effect in each block correctly (alternative) (#17244)
9 months ago
Simon H f2dd477031
fix: await blockers before initialising const (#17226)
9 months ago
github-actions[bot] c6f99e6399
Version Packages (#17234)
9 months ago
Elliott Johnson c2a110cd81
feat: `hydratable` (#17154)
9 months ago
github-actions[bot] 129c4086f7
Version Packages (#17228)
9 months ago
Simon H 84b261886b
chore: lift "flushSync cannot be called in effects" restriction (#17139)
9 months ago
Paolo Ricciuti ea8838e96f
fix: store forked derived values (#17212)
9 months ago
Simon H 53bbe3462b
fix: don't execute attachments and attribute effects eagerly (#17208)
9 months ago
github-actions[bot] 1aafbc47ff
Version Packages (#17204)
9 months ago
Simon H 91486fa807
fix: take async into account for bindings/transitions/animations/attachments (#17198)
9 months ago
Paolo Ricciuti a17dc3c302
fix: correctly migrate named self closing slots (#17199)
9 months ago
github-actions[bot] 110181068f
Version Packages (#17202)
9 months ago
Paolo Ricciuti 056b201d80
fix: don't set derived values during time traveling (#17163)
9 months ago
github-actions[bot] 9ccbd734f2
Version Packages (#17192)
9 months ago
Rich Harris e365890ef9
fix: maintain correct linked list of effects when updating each blocks (#17191)
9 months ago
github-actions[bot] 92c936d9b3
Version Packages (#17189)
9 months ago
Simon H 203c228174
fix: don't cancel transition of already outroing elements (#17186)
9 months ago
Simon H ebb97a618c
perf: don't use tracing overeager during dev (#17183)
9 months ago
github-actions[bot] 3b4b0adcd5
Version Packages (#17178)
9 months ago
Simon H 3604fdac6b
fix: avoid other batches running with queued root effects of main batch (#17145)
9 months ago
Rich Harris fe50e58f34
chore: fix types of binding.blocker (#17177)
9 months ago
github-actions[bot] b94289d23b
Version Packages (#17168)
9 months ago
Simon H 99e670f632
fix: ensure eager effects don't break reactions chain (#17138)
9 months ago
Simon H a7a6d898d5
fix: correctly handle functions when determining async blockers (#17137)
9 months ago
Rich Harris e0501ede03
chore: only skip effects when deferring (#17169)
9 months ago
Simon H 686720070b
fix: keep deriveds reactive after their original parent effect was destroyed (#17171)
9 months ago
Simon H 7fd2d8660f
fix: parallelize async `@const`s in the template (#17165)
9 months ago