Commit Graph

1736 Commits (async-fork)

Author SHA1 Message Date
github-actions[bot] 2086c199be
Version Packages (#14776)
9 months ago
ottomated 999b92d134
fix: intellisense DX for $props, $inspect, $bindable, and $host (#14777)
9 months ago
Dominic Gannaway 5bc4033421
fix: treeshake `$inspect.trace` code if unused in modules (#14774)
9 months ago
github-actions[bot] 69d198eb44
Version Packages (#14764)
9 months ago
Rich Harris 7c6379a260
fix: bump esrap dependency (#14765)
9 months ago
Dominic Gannaway d0f156c0f9
fix: ensure $inspect.trace code is treeshaken out if unused (#14770)
9 months ago
Dominic Gannaway 8705d44c64
fix: ensure svg namespace for `<a>` elements is correct (#14756)
9 months ago
github-actions[bot] 2bfdd1b436
Version Packages (#14745)
9 months ago
Taku Fukada c79b909458
fix: remove 'implements' from class declaration (#14749)
9 months ago
Rich Harris e38975eac9
fix: remove unwanted properties from both replaced and unreplaced nodes (#14744)
9 months ago
github-actions[bot] 00ff60e8d5
Version Packages (#14740)
9 months ago
Rich Harris c033dae049
fix: bump esrap, prevent malformed AST (#14742)
9 months ago
Rich Harris 36a437c2f9
fix: compare array contents for equality mismatch detections, not the arrays themselves (#14738)
9 months ago
github-actions[bot] 5529ad241f
Version Packages (#14735)
9 months ago
Simon H 3146e93bbb
chore: loose parser improvements (#14733)
9 months ago
Paolo Ricciuti 36d73cad55
fix: correctly highlight first rerun of `$inspect.trace` (#14734)
9 months ago
github-actions[bot] e0e999055d
Version Packages (#14728)
9 months ago
Dominic Gannaway 699dc6e4f7
fix: improve unowned derived performance (#14724)
9 months ago
github-actions[bot] bbf38291fc
Version Packages (#14715)
9 months ago
Dominic Gannaway 5483495c8d
feat: add $inspect.trace rune (#14290)
9 months ago
github-actions[bot] 64a32cec38
Version Packages (#14708)
9 months ago
Rich Harris ecd1b48095
bump changeset to minor (#14710)
9 months ago
Rich Harris b0e3c5b438
feat: add outro option to unmount (#14540)
9 months ago
Simon H f0af633263
feat: loose parser mode (#14691)
9 months ago
github-actions[bot] af9b071622
Version Packages (#14698)
9 months ago
Paolo Ricciuti 887ce6ab4b
fix: don't add parenthesis to media query if already present (#14699)
9 months ago
Mateusz Kadlubowski 61a0da8a5f
feat: Expose more AST types from `"svelte/compiler"` (#14601)
9 months ago
Dominic Gannaway 2e0dcd7872
fix: ensure if block paths retain correct template namespacing (#14685)
9 months ago
github-actions[bot] 780041a51e
Version Packages (#14689)
9 months ago
Yang Pan 88c2d6ea36
fix: Allow unquoted slash in attributes (#14615)
9 months ago
Paolo Ricciuti 5e8d6edcf8
fix: make `defaultValue` work with spread (#14640)
9 months ago
Rich Harris ef8bd6adeb
fix: better handle hydration of script/style elements (alternative) (#14683)
9 months ago
Dominic Gannaway 8ba1b9ddd0
fix: avoid mutation validation for invalidate_inner_signals (#14688)
9 months ago
github-actions[bot] 7aa80fc2a7
Version Packages (#14682)
9 months ago
Paolo Ricciuti edfc0a9c6a
fix: correctly handle ssr for `reactivity/window` (#14681)
9 months ago
github-actions[bot] a5a4649743
Version Packages (#14679)
9 months ago
Simon H 68d266e0f8
fix: remove overzealous `reactive_declaration_non_reactive_property` warning (#14663)
9 months ago
Paolo Ricciuti ea6fd95332
fix: account for global block in `is_empty` (#14677)
9 months ago
github-actions[bot] b0374f8863
Version Packages (#14662)
9 months ago
Rich Harris d43a10ba7a
feat: add `svelte/reactivity/window` module (#14660)
9 months ago
Simon H a2539cfe1f
fix: correctly set custom element props (#14508)
9 months ago
github-actions[bot] cb5734ae66
Version Packages (#14652)
9 months ago
grieben a26b6d80ef
fix: overwrite #last_value when Spring is `.set()` with `{instant: true}` (#14656)
9 months ago
Dominic Gannaway fb879dd702
fix: ensure $state.snapshot clones holey arrays correctly (#14657)
9 months ago
Paolo Ricciuti ab1f7f437e
fix: transform everything that is not a selector inside `:global` (#14577)
9 months ago
Simon H 88184cd769
fix: don't emit assignment warnings for bindings (#14651)
9 months ago
Dominic Gannaway 66e30d3288
fix: ensure snippet hoisting works in the correct scope (#14642)
9 months ago
Dominic Gannaway 9cfd2e20ab
fix: restore input binding selection position (#14649)
9 months ago
github-actions[bot] 8bee23e387
Version Packages (#14631)
9 months ago
Rich Harris a25a17373d
chore: upgrade last changeset to a minor (#14636)
9 months ago
Simon H cfc1fb7de8
chore: provide links to documentation for errors/warnings (#14629)
9 months ago
Paolo Ricciuti 11764632b9
fix: deconflict `get_name` for literal class properties (#14607)
9 months ago
Paolo Ricciuti 38171f60ea
fix: allow exports with source from script module even if no bind is present (#14620)
9 months ago
github-actions[bot] 0a10c59517
Version Packages (#14628)
9 months ago
Paolo Ricciuti c66bf178aa
fix: mark subtree dynamic for bind with sequence expressions (#14626)
9 months ago
github-actions[bot] 301744f1f7
Version Packages (#14598)
9 months ago
Rich Harris 57f8ca6e3c oops
9 months ago
Dominic Gannaway 5771b455c0
feat: add support for bind getter/setters (#14307)
9 months ago
Rich Harris 1a0b822f48
fix: always run `if` block code the first time (#14597)
9 months ago
github-actions[bot] 98286349b2
Version Packages (#14593)
9 months ago
Rich Harris 8433a7169b
fix: reinstate `prefersReducedMotion` (#14586)
9 months ago
github-actions[bot] 947d4adf3b
Version Packages (#14583)
9 months ago
Rich Harris 80ffcc3fe1
feat: add Spring and Tween classes (#11519)
9 months ago
github-actions[bot] 60c0dc7a2d
Version Packages (#14576)
9 months ago
Simon H ca67aa1b34
fix: ensure bindings always take precedence over spreads (#14575)
9 months ago
github-actions[bot] 7f5172745d
Version Packages (#14570)
9 months ago
Simon H 0a9890bb1e
feat: provide `MediaQuery` / `prefersReducedMotion` (#14422)
9 months ago
Simon H 73b3cf72d0
fix: treat `undefined` and `null` the same for the initial input value (#14562)
9 months ago
github-actions[bot] 85dec47a5e
Version Packages (#14557)
9 months ago
Dominic Gannaway a220330011
chore: make if blocks tree-shakable (#14549)
9 months ago
github-actions[bot] 51c9eac577
Version Packages (#14556)
9 months ago
Simon H a151ae1804
fix: handle static form values in combination with default values (#14555)
9 months ago
github-actions[bot] c0746e0e73
Version Packages (#14552)
9 months ago
Simon H a57e747cbb
feat: default values for form elements (#14289)
9 months ago
github-actions[bot] c55af4aa83
Version Packages (#14548)
9 months ago
Simon H 86ae349bcc
fix: better error messages for invalid HTML trees (#14445)
9 months ago
Rich Harris 4e77bdef74
fix: respect the unidirectional nature of time (#14541)
9 months ago
Paolo Ricciuti 1f973b1770
fix: remove spreaded event handlers when they become nullish (#14546)
9 months ago
github-actions[bot] 3d9122fcc4
Version Packages (#14537)
9 months ago
Rich Harris fe0bd299a5
fix: proxify values when assigning using `||=`, `&&=` and `??=` operators (#14273)
9 months ago
Simon H bbee1fc7e0
fix: don't try to add owners to non-`$state` class fields (#14533)
9 months ago
Dominic Gannaway b5588523fc
fix: capture infinite_loop_guard in error boundary (#14534)
9 months ago
github-actions[bot] a65e68ca37
Version Packages (#14530)
9 months ago
github-actions[bot] d595cc16fb
Version Packages (#14529)
9 months ago
Rich Harris 2f8eda94f3
fix: ensure SvelteDate cached methods have correct reactive context (#14525)
9 months ago
Paolo Ricciuti 39275684e5
fix: don't throw with nullish actions (#13559)
9 months ago
Rich Harris a5de086f95
feat: turn `reactive_declaration_non_reactive_property` into a runtime warning (#14192)
9 months ago
Rich Harris aac929d503
fix: leave update expressions untransformed unless a transformer is provided (#14507)
9 months ago
github-actions[bot] e722ef6b15
Version Packages (#14510)
9 months ago
Dominic Gannaway 4d2f2fb8e6
feat: allow snippets to be exported from module scripts (#14315)
9 months ago
Simon H b72fd2b3cd
fix: ignore TypeScript generics on variables (#14509)
9 months ago
github-actions[bot] a091fb5ce6
Version Packages (#14501)
9 months ago
Simon H a283083751
feat: each without as (#14396)
9 months ago
github-actions[bot] a39605ec7a
Version Packages (#14499)
9 months ago
Rich Harris ef640c3b46
fix: render attributes during SSR regardless of case (#14492)
9 months ago
Rich Harris 1f25bd4f47
fix: correctly prune CSS for elements inside snippets (#14494)
9 months ago
github-actions[bot] 99b4cfbb51
Version Packages (#14489)
9 months ago
ComputerGuy 945b625e95
fix: Prevent `$state` `bigint`s incrementing and decrementing from throwing (#14485)
9 months ago
Rich Harris fe15ad4ae8
fix: treat spread elements the same as call expressions (#14488)
9 months ago
github-actions[bot] f75a9a566e
Version Packages (#14486)
9 months ago
Dominic Gannaway ed7ebcde1e
feat: add error boundaries (#14211)
9 months ago
github-actions[bot] 6dd60b5685
Version Packages (#14477)
9 months ago
Ben McCann 4c88431228
fix: upgrade to esm-env 1.2.1 to fix issues with non-Vite setups (#14470)
9 months ago
Rich Harris 00aaad16b2
fix: generate correct code when encountering object expression statement (#14480)
9 months ago
Rich Harris a60e837e44
fix: prevent infinite loops when pruning CSS (#14474)
9 months ago
github-actions[bot] ca3690f7df
Version Packages (#14464)
9 months ago
Simon H d62e7bdbe1
fix: ignore text and expressions outside the template when validating HTML (#14468)
9 months ago
Rich Harris c4ac0e01e7
fix: better account for render tags when pruning CSS (#14456)
9 months ago
github-actions[bot] dcef8ff45a
Version Packages (#14451)
9 months ago
Simon H d6fc176fcb
fix: strip exported TypeScript function overloads (#14458)
9 months ago
Ben McCann 41e47a4c00
chore: upgrade esm-env for Vite 6 support (#14460)
9 months ago
Paolo Ricciuti 19d80ad63c
fix: css pruning producing invalid css (#14448)
9 months ago
github-actions[bot] 3a6bf1041b
Version Packages (#14444)
9 months ago
Dominic Gannaway 45417a36ce
fix: addresses memory leak when creating deriveds inside untrack (#14443)
9 months ago
Rich Harris a6ad5af0bb
fix: disregard TypeScript nodes when pruning CSS (#14446)
9 months ago
Simon H 3fa08d565c
fix: show `:then` block for `null` value (#14440)
9 months ago
Simon H 9e9fb2463c
fix: relax parent validation (#14442)
9 months ago
github-actions[bot] 2b5c0e791e
Version Packages (#14383)
9 months ago
Dominic Gannaway 63484aff9b
fix: ensure last empty text node correctly hydrates (#14425)
9 months ago
Rich Harris 37e6c7f26b
fix: correctly prune key/each blocks (#14403)
10 months ago
Theodor Steiner e721d96d32
fix: export temporary LegacyComponentType (#14256) (#14257)
10 months ago
Dominic Gannaway dd9abea2a1
fix: ensure spread attribute events are attached synchronously (#14387)
10 months ago
github-actions[bot] 6e391fce59
Version Packages (#14380)
10 months ago
Paolo Ricciuti 520055cf5c
fix: always use set for private identifiers (#14378)
10 months ago
github-actions[bot] 85ec6fa276
Version Packages (#14377)
10 months ago
Dominic Gannaway 9d12fd1a01
chore: remove template expression inlining (#14374)
10 months ago
github-actions[bot] f616c22053
Version Packages (#14366)
10 months ago
Dominic Gannaway 811c8d32eb
fix: correctly handle srcObject attribute on video elements (#14369)
10 months ago
Frédéric Crozatier 7bd1cdf427
feat: add content-visibility: auto state change event (#14373)
10 months ago
Simon H 4dfa0e31fe
fix: tighten up `export default` validation (#14368)
10 months ago
Paolo Ricciuti 32a1453805
fix: include method definitions in class private fields (#14365)
10 months ago
github-actions[bot] 53cc60085e
Version Packages (#14362)
10 months ago
Dominic Gannaway 747d40833b
fix: ensure is_pure takes into account runes (#14333)
10 months ago
Dominic Gannaway 741106879b
fix: ensure internal cloning can work circular values (#14347)
10 months ago
Dominic Gannaway 6e8267f462
fix: correctly update dynamic member expressions (#14359)
10 months ago
Santiago Cézar 012166ec3c
fix: convert input value to number on hydration (#14349)
10 months ago
github-actions[bot] b145035a00
Version Packages (#14348)
10 months ago
Dominic Gannaway 1c454c236e
fix: ensure dynamic call expressions correctly generate output (#14345)
10 months ago
github-actions[bot] 396ea2ef37
Version Packages (#14328)
10 months ago
Dominic Gannaway 3a69b4c415
fix: ensure inline object literals are correctly serialised (#14325)
10 months ago
github-actions[bot] 95ab85fad7
Version Packages (#14304)
10 months ago
Simon H 94471ca38e
fix: avoid relying on Node specifics within compiler (#14314)
10 months ago
Paolo Ricciuti 1f0700f5c5
fix: mark subtree dynamic for img with loading attribute (#14317)
10 months ago
Simon H efc65d4e0c
fix: mark pseudo classes nested inside `:not` as used (#14303)
10 months ago
Simon H e379319626
fix: ensure props passed to components via mount are updateable (#14210)
10 months ago
Dominic Gannaway 7fd3774015
fix: disallow invalid attributes for `<svelte:window>` and `<svelte:document>` (#14228)
10 months ago
github-actions[bot] 312dd51acc
Version Packages (#14302)
10 months ago
Paolo Ricciuti 8a8e6f70e8
fix: avoid marking subtree as dynamic for inlined attributes (#14269)
10 months ago
github-actions[bot] 6a7146bee7
Version Packages (#14287)
10 months ago
Simon H 320ebd24d8
fix: bump `is-reference` dependency to fix `import.meta` bug (#14286)
10 months ago