Commit Graph

3015 Commits (svelte@5.49.0)

Author SHA1 Message Date
github-actions[bot] d92fa432d1
Version Packages (#16690)
11 months ago
Simon H f51c04afce
fix: ensure batch exists when resetting a failed boundary (#16698)
11 months ago
ComputerGuy 2344b4052e
fix: replace `undefined` with `void(0)` in CallExpressions (#16693)
12 months ago
ComputerGuy be645b4d9f
fix: place store setup inside async body (#16687)
12 months ago
Rich Harris 8f11796838 remove unused import
12 months ago
github-actions[bot] 942eaf027b
Version Packages (#16677)
12 months ago
Simon H bde51ed7dc
fix: don't fail on `flushSync` while flushing effects (#16674)
12 months ago
github-actions[bot] 5314f48d95
Version Packages (#16673)
12 months ago
github-actions[bot] 5912754fd6
Version Packages (#16667)
12 months ago
Simon H 677af5723c
fix: ensure async deriveds always get dependencies from thennable (#16672)
12 months ago
Gurpreet Atwal 967431c1a7
chore(elements.d.ts): add "Accept-CH" as valid value for `http-equiv` (#16671)
12 months ago
hariharan 0d48916e02
fix: cursor jumps in input two way binding (#16649)
12 months ago
Edoardo Cavazza 6534aa08e3
fix: Add check for builtin custom elements in `set_custom_element_data` (#16592)
12 months ago
Rich Harris 7105736828
fix: restore batch along with effect context (#16668)
12 months ago
ComputerGuy 57fed6a267
fix: place instance-level snippets inside async body (#16666)
12 months ago
github-actions[bot] e883cd086b
Version Packages (#16642)
12 months ago
Rich Harris d3cb1482fe
perf: better effect pruning (#16625)
12 months ago
Simon H acd9eaf2ec
fix: ensure correct order of template effect values (#16655)
12 months ago
ComputerGuy 11a2d8e937
fix: only emit `for_await_track_reactivity_loss` in async mode (#16644)
12 months ago
Simon H a60995abef
fix: allow async `{@const}` in more places (#16643)
12 months ago
Simon H 1dcced59e7
fix: properly catch top level await errors (#16619)
12 months ago
github-actions[bot] 04836a8799
Version Packages (#16603)
12 months ago
Rich Harris f5d4350f3d
Revert "fix: do not defer unmount; immediately unmount components (#16624)" (#16639)
12 months ago
Rich Harris 2b85d2a544
fix: run blocks eagerly during flush (#16631)
1 year ago
Rich Harris 7b2d774627
chore: update/simplify test (#16630)
1 year ago
Harsh Mandan 95e5175581
fix: do not defer unmount; immediately unmount components (#16624)
1 year ago
ComputerGuy 036d4588ab
fix: actually use the changes from #16617 (#16626)
1 year ago
ComputerGuy a543559acf
fix: avoid recursion error when tagging circular references (#16622)
1 year ago
ComputerGuy ad19a1a0f5
fix: don't clone non-proxies in `$inspect` (#16617)
1 year ago
github-actions[bot] 2e02868ef1
Version Packages (#16573)
1 year ago
Simon H 0480f040c0
fix: skip effects inside dynamic component that is about to be destroyed (#16601)
1 year ago
shamokit d2ba2589fe
fix: add hint popover (#16581)
1 year ago
Ben McCann f00b364d5b
chore: switch to jrdigewell version of remapping library (#16587)
1 year ago
Paolo Ricciuti 548ad7b7eb
fix: wrap `abort` in `without_reactive_context` (#16570)
1 year ago
Nathan Shively-Sanders 97f263c3d4
chore:Update for TS7 (#16485)
1 year ago
github-actions[bot] ec03c7ac36
Version Packages (#16560)
1 year ago
ComputerGuy 193f23fa05
feat: async fragments (#16542)
1 year ago
Rich Harris 41a20aa975
chore: remove `b.async` (#16566)
1 year ago
ComputerGuy b181c45484
chore: emit `await_reactivity_loss` in `for await` loops (#16521)
1 year ago
7nik bbd0b1ed87
fix: remount at any hydration error (#16248)
1 year ago
ComputerGuy d8c3f3d87e
fix: emit `snippet_invalid_export` instead of `undefined_export` for exported snippets (#16539)
1 year ago
Rich Harris e7e8a9c7b7
docs: remove 'thus', fix some phrasing (#16559)
1 year ago
Isak Regnström e1ff6ddf17
Correct link in README.md (#16557)
1 year ago
Anthony a3f18351af
docs: corrections (#16550)
1 year ago
github-actions[bot] 0cbb5becf6
Version Packages (#16544)
1 year ago
7nik 540f1b19ec
fix: reset attribute cache after setting corresponding property (#16543)
1 year ago
github-actions[bot] 9134856fec
Version Packages (#16529)
1 year ago
Rich Harris c04975d3db
fix: prevent last_propagated_event from being DCE'd (#16538)
1 year ago
Elliot Bentley 72e46d31c0
fix: add types for SVG bindable attributes (#16525)
1 year ago
ComputerGuy f5950f866c
fix: correctly differentiate static fields before emitting `duplicate_class_field` (#16526)
1 year ago
Laszlo Korte a91e0154d4
fix: double event processing in Firefox (#16522) (#16527)
1 year ago
github-actions[bot] d82edf6b1d
Version Packages (#16513)
1 year ago
ComputerGuy 48f2fa22c0
fix: allow await expressions inside `{#await ...}` argument (#16514)
1 year ago
ComputerGuy 03f2e44757
chore: remove some todos (#16515)
1 year ago
Rich Harris 51771447c6
chore: remove `parser.template_untrimmed` (#16511)
1 year ago
Paolo Ricciuti 99452053af
fix: `append_styles` in an effect to make them available on mount (#16509)
1 year ago
fkobi 1773df9484
docs: use sh instead of bash in source blocks (#16506)
1 year ago
github-actions[bot] 39ee7cf4c2
Version Packages (#16505)
1 year ago
Rich Harris 7cc4d56263
feat: ignore component options in `compileModule` (#16362)
1 year ago
7nik c7851789d7
fix: always mark props as stateful (#16504)
1 year ago
github-actions[bot] d0ebd42986
Version Packages (#16500)
1 year ago
ComputerGuy b0f9ea3ae6
fix: throw on duplicate class field declarations (#16502)
1 year ago
Bladesheng 0bba84cc20
fix: add types for `part` attribute to svg attributes (#16499)
1 year ago
github-actions[bot] 8ad02e4a8c
Version Packages (#16493)
1 year ago
Rich Harris dc043fb2d3
fix: don't update a focused input with values from its own past (#16491)
1 year ago
Simon H 7eb11e0e24
fix: don't destroy effect roots created inside of deriveds (#16492)
1 year ago
github-actions[bot] 4e74cd35fe
Version Packages (#16488)
1 year ago
Simon H 46d3261ed9
chore: don't do effect scheduling unnecessarily (#16489)
1 year ago
Rich Harris 53417ea8f7
fix: preserve dirty status of deferred effects (#16487)
1 year ago
github-actions[bot] f8820956d2
Version Packages (#16484)
1 year ago
Hyunbin Seo c26365bdda
chore: rename form `accept-charset` attribute (#16478)
1 year ago
Rich Harris 8e2f4b51c5
fix: unset batch before flushing queued effects (#16482)
1 year ago
Rich Harris 68372460e9
chore: small tidy up (#16476)
1 year ago
Rich Harris 1deb31082a
fix: abort and reschedule `$effect.pre` when necessary (#16335)
1 year ago
Rich Harris 9412c5861c
chore: log effect functions in log_effect_tree (#16468)
1 year ago
github-actions[bot] 28403beaeb
Version Packages (#16467)
1 year ago
Simon H aabd333d89
fix: ensure subscriptions are picked up correctly by deriveds (#16466)
1 year ago
github-actions[bot] ce4a99ed6d
Version Packages (#16459)
1 year ago
github-actions[bot] 8afe5ec0c5
Version Packages (#16453)
1 year ago
Rich Harris 1f99914a16
chore: move `capture_signals` to legacy module (#16456)
1 year ago
Rich Harris d3a01bd5a7
fix: always mark reactions of deriveds (#16457)
1 year ago
Rich Harris 53fdd0f93a
chore: remove some unused code (#16455)
1 year ago
Rich Harris 0a2a2e213a
fix: add labels to `@const` tags and props (#16454)
1 year ago
Rich Harris 5033c8e965
fix: tag stores for `$inspect.trace()` (#16452)
1 year ago
github-actions[bot] dd55de3b75
Version Packages (#16450)
1 year ago
Rich Harris 9a52007785
fix: prevent batches from getting intertwined (#16446)
1 year ago
github-actions[bot] cc05cbcf5c
Version Packages (#16445)
1 year ago
ComputerGuy e1e7a75d71
fix: allow async destructured deriveds (#16444)
1 year ago
ComputerGuy 307ec228ff
fix: move store setup/cleanup outside of async component body (#16443)
1 year ago
ComputerGuy ad0b58ee96
fix: move ownership validation into async component body (#16449)
1 year ago
ComputerGuy 63cbe2108a
fix: disallow `export { foo as default }` in `<script module>` (#16447)
1 year ago
Simon H 27c90dfa83
fix: don't reexecute derived with no dependencies on teardown (#16438)
1 year ago
github-actions[bot] 05f6436445
Version Packages (#16435)
1 year ago
Elliott Johnson f5db130e2d
chore: Switch `payload.out` to an array (#16428)
1 year ago
Paolo Ricciuti c2da1ebb85
fix: keep effect in the graph if it has an abort controller (#16430)
1 year ago
github-actions[bot] 93a8a495d2
Version Packages (#16426)
1 year ago
Rich Harris 98fb1b1f8b
fix: allow instrinsic `<svelte:...>` elements to inherit from `SvelteHTMLElements` (#16424)
1 year ago
github-actions[bot] 6c9717a91f
Version Packages (#16418)
1 year ago
Simon H 65e5249296
docs: remove mention of deprecated way to enhance typings (#16416)
1 year ago
Paolo Ricciuti bdf6adb411
fix: delegate functions with shadowed variables if declared locally (#16417)
1 year ago
ComputerGuy f343170927
docs: fix `$effect.root` jsdoc formatting (#16411)
1 year ago
Ray Thurn Void 9e1e7139fb
fix: robustify reset calls in error boundaries (#16171)
1 year ago
Rich Harris e5e6c0cd12
fix docs (#16409)
1 year ago
github-actions[bot] fcfbc9cca0
Version Packages (#16406)
1 year ago
Rich Harris a67b5862f1
fix: more informative error when effects run in an infinite loop (#16405)
1 year ago
Rich Harris 09c9a3c165
fix: silence `$inspect` errors when the effect is about to be destroyed (#16391)
1 year ago
Rich Harris c11c5ec0e3
docs: tweak createSubscriber explanation (#16398)
1 year ago
github-actions[bot] 58788db27b
Version Packages (#16397)
1 year ago
Simon H ee1ef6083a
fix: ensure compiler state is reset before compilation (#16396)
1 year ago
Rich Harris 4947283fa5
fix: avoid microtask in flushSync (#16394)
1 year ago
github-actions[bot] be44f8b23e
Version Packages (#16384)
1 year ago
7nik 6cf3a19342
fix: better handle $inspect on array mutations (#16389)
1 year ago
ComputerGuy 8e73fd4b03
fix: don't log `await_reactivity_loss` warning when signal is read in `untrack` (#16385)
1 year ago
Rich Harris e01bd97bef
fix: update `$effect.pending()` immediately after a batch is removed (#16382)
1 year ago
github-actions[bot] 3fa3dd78a1
Version Packages (#16377)
1 year ago
jjones315 eb23028d8f
fix: add pending snippet to <svelte:boundary> types (#16379)
1 year ago
Rich Harris 9f591223b1
docs: async stuff (#16376)
1 year ago
github-actions[bot] b23f1e0a43
Version Packages (#16374)
1 year ago
Rich Harris 9134caca24
fix: only skip updating bound `<input>` if the input was the source of the change (#16373)
1 year ago
Rich Harris 1e4547b005
chore: add `@since` tags for `settled` and `experimental.async` (#16371)
1 year ago
Rich Harris 2e49783afa
docs: fix code snippets (#16367)
1 year ago
Rich Harris 96ff125fcf
chore: fix error boundary test (#16368)
1 year ago
Rich Harris be0818552d
chore: squelch hydration warning in test suite (#16336)
1 year ago
github-actions[bot] 616d29f5cd
Version Packages (#16364)
1 year ago
Ahmad S. 63b5ebf36e
fix: silence a11y warning for inert elements (#16339)
1 year ago
Rich Harris 0672e48223
feat: allow `await` in components (#15844)
1 year ago
ComputerGuy 82f648157e
chore: clean up a11y analysis code (#16345)
1 year ago
github-actions[bot] 6d8f39f8d2
Version Packages (#16347)
1 year ago
Rich Harris f6a2599ee1
chore: remove memoize_expression (#16358)
1 year ago
Rich Harris df5801c5fe
chore: remove unused option validators (#16361)
1 year ago
Rich Harris 3f3cf9ff36
chore: rename check_dirtiness -> is_dirty (#16359)
1 year ago
Rich Harris a23599a196
fix: don't show adjusted error messages in boundaries (#16360)
1 year ago
Rich Harris 4ef53a75a9
chore: tidy up some stuff (#16357)
1 year ago
Rich Harris 61f75651d6
chore: re-export shared errors (#16356)
1 year ago
Ahmad S. 96c1a10042
fix: silence autofocus a11y warning inside `<dialog>` (#16341)
1 year ago
Ahmad S. e802d3b2cc
chore: replace inline regex with variable (#16340)
1 year ago
github-actions[bot] ca1eb55e97
Version Packages (#16334)
1 year ago
Rich Harris 6f0aec5271
chore: simplify source ownership (#16333)
1 year ago
Rich Harris 8da222f460
chore: simplify component pop (#16331)
1 year ago
Rich Harris 0cafe34c92
chore: DRY out increment logic (#16332)
1 year ago
Rich Harris c3361bfdb7
chore: remove component_context.d (#16330)
1 year ago
Rich Harris 86b06cb694
chore: dry out transition `get_options` (#16329)
1 year ago
Rich Harris 71ed9e4648
chore: simplify/optimize source_ownership occurrence (#16328)
1 year ago
github-actions[bot] fab2091743
Version Packages (#16314)
1 year ago
Paolo Ricciuti c9098bcaa0
fix: use `state` instead of `source` in reactive classes (#16239)
1 year ago
Rich Harris 140462374a
fix: re-evaluate derived props during teardown (#16278)
1 year ago
github-actions[bot] eb094ba059
Version Packages (#16313)
1 year ago
Rich Harris cf2ff5e8dc
fix: abort and reschedule effect processing after state change in user effect (#16280)
1 year ago
github-actions[bot] 63e48365fb
Version Packages (#16303)
1 year ago
Rich Harris 4a26edf545
chore: remove unused `mounting` variable from `select_option` call (#16312)
1 year ago
Paolo Ricciuti 834cd91b36
fix: account for mounting when `select_option` in `attribute_effect` (#16309)
1 year ago
7nik c3348aea06
fix: do not proxify the value assigned to a derived (#16302)
1 year ago
Rich Harris 432763a03e
chore: `reaction_sources` -> `source_ownership` (#16287)
1 year ago
github-actions[bot] 220e901a82
Version Packages (#16297)
1 year ago
Rich Harris eeb32a50d1
fix: bump esrap (#16295)
1 year ago
github-actions[bot] 5ebbedf205
Version Packages (#16281)
1 year ago
Rich Harris dde791311d
chore: minor tweaks (#16285)
1 year ago
Rich Harris 7914cb1835
chore: convert boundary implementation to a class (#16284)
1 year ago
Rich Harris 49cba86e9b
chore: rename EFFECT_HAS_DERIVED to EFFECT_PRESERVED (#16283)
1 year ago
Simon H 32882a956b
feat: add parent hierarchy to `__svelte_meta` objects at dev time (#16255)
1 year ago
github-actions[bot] 9dddb31b4a
Version Packages (#16276)
1 year ago
Simon H 2f68131e9a
fix: revert props legacy mode regression (#16279)
1 year ago
Rich Harris 11ec907fd5
chore: simplify props (#16270)
1 year ago
Rich Harris d427ffd8b9
chore: encapsulate expression memoization (#16269)
1 year ago
Rich Harris eb530c82c4
chore: move stuff from `analysis` into global compiler state (#16268)
1 year ago
Rich Harris b673145659
feat: add `getAbortSignal()` (#16266)
1 year ago
Rich Harris e896c55b6c
chore: bump esrap (#16240)
1 year ago
github-actions[bot] cf9f8c9c6b
Version Packages (#16257)
1 year ago
Simon H 7019894fd9
fix: ensure unowned deriveds can add themselves as reactions while connected (#16249)
1 year ago
Rich Harris 32481bece6
chore: simplify `<select>` initialization (#16251)
1 year ago
Rich Harris 213274a75e
chore: reduce some select.value indirection (#16250)
1 year ago
Rich Harris da2feafe67
chore: silence some pesky logs (#16241)
1 year ago
7nik 0b2b9c724f
chore: adjust linting (#16231)
1 year ago
github-actions[bot] 777e67b948
Version Packages (#16216)
1 year ago
Paolo Ricciuti 922bee9a6d
fix: use fine grained for template if the component is not explicitly in legacy mode (#16232)
1 year ago
Fedor Nezhivoi 2af7ba2156
fix: lift unsafe_state_mutation constraints for SvelteSet and SvelteMap created inside the derived (#16221)
1 year ago
Paolo Ricciuti c4b32c2bff
fix: untrack `$inspect.with` and add check for unsafe mutation (#16209)
1 year ago
7nik 4db4ee5330
chore: rid of nodeType magic numbers (#16208)
1 year ago
github-actions[bot] 669a2233ee
Version Packages (#16205)
1 year ago
7nik 659198a95c
fix: address css class matching regression (#16204)
1 year ago
github-actions[bot] d941cf5d3b
Version Packages (#16196)
1 year ago
7nik 2b20a2d16b
fix: match class and style directives against attribute selector (#16179)
1 year ago
github-actions[bot] 402434e6cd
Version Packages (#16195)
1 year ago
Ray Thurn Void de90fc8dce
Test array sort in effect to prevent regressions of this use-case (#16175)
1 year ago
floriskn 579d0e6636
fix: ensure undefined attributes are removed during hydration (#16178)
1 year ago
Simon H a5f500e7c0
fix: keep spread non-delegated event handlers up to date (#16180)
1 year ago
7nik 838f881550
fix: avoid shadowing a variable in dynamic components (#16185)
1 year ago
Simon H 061ab31d23
fix: ensure sources within nested effects still register correctly (#16193)
1 year ago
github-actions[bot] 0524d16215
Version Packages (#16181)
1 year ago
Rich Harris b224c3fb4b
fix: coarse reactivity, alternative approach (#16100)
1 year ago
Paolo Ricciuti 7e588857c2
fix: don't set state withing `with_parent` in proxy (#16176)
1 year ago
Rich Harris 931f211b25
chore: fix `$.attachment` prop (#16172)
1 year ago
Rich Harris c91e69b15b
chore: remove some unnecessary code (#16160)
1 year ago
github-actions[bot] 546608636a
Version Packages (#16157)
1 year ago
7nik 6636f748ae
fix: prevent memory leaking signals in legacy mode (#16145)
1 year ago
Matei Trandafir 92ea58bee6
fix: don't eagerly execute deriveds on resume (#16150)
1 year ago
Paolo Ricciuti 113a3daab2
fix: don't define `error.message` if it's not configurable (#16149)
1 year ago
github-actions[bot] da63318191
Version Packages (#16147)
1 year ago
ComputerGuy 36315fece4
fix: prune typescript class field declarations (#16154)
1 year ago
Lyu, Wei-Da 6a7df1cce8
fix: add missing typings for some dimension bindings (#16142)
1 year ago
github-actions[bot] f0497b15ee
Version Packages (#16133)
1 year ago
Rich Harris f5a020d56b
fix: correctly tag private class state fields (#16132)
1 year ago
Rich Harris e8a7c426d4 remove errant log
1 year ago
github-actions[bot] ee25c15a96
Version Packages (#16128)
1 year ago
Rich Harris 438349eb88
fix: better `$inspect.trace()` output (#16131)
1 year ago
L. 292af8d38a
feat: add `command` and `commandfor` to `HTMLButtonAttributes` (#16117)
1 year ago
Paolo Ricciuti 90807ca18d
fix: properly hydrate dynamic css props components and remove element removal (#16118)
1 year ago
ComputerGuy 91272d702b
feat: add source name logging to `$inspect.trace` (#16060)
1 year ago
github-actions[bot] 17629a60db
Version Packages (#16121)
1 year ago
Paolo Ricciuti fd08cb03de
fix: reset `is_flushing` if `flushSync` is called and there's no scheduled effect (#16119)
1 year ago
github-actions[bot] 26e3286899
Version Packages (#16107)
1 year ago
Rich Harris 5f62b9e441
chore: bump esrap (#16106)
1 year ago
Paolo Ricciuti 669a32a615
fix: destructuring state in ssr (#16102)
1 year ago
github-actions[bot] d5c6991b3b
Version Packages (#16101)
1 year ago
ComputerGuy 0741ee65d1
chore: update acorn parser `ecmaVersion` to parse import attributes (#16098)
1 year ago
github-actions[bot] 2bbaaa361b
Version Packages (#16097)
1 year ago
Christoph Sanz 8d8fdb8a56
fix: add `xmlns` attribute to HTMLAttributes type (#16080)
1 year ago
Paolo Ricciuti 8faa178cd7
fix: visit expression when destructuring state declarations (#16081)
1 year ago
github-actions[bot] 370b18f278
Version Packages (#16094)
1 year ago
Rich Harris 2d2772a4a1
fix: invoke parent boundary of deriveds that throw (#16091)
1 year ago
Rich Harris 2342c8719a
chore: better HTML normalization test helper (#16056)
1 year ago
github-actions[bot] 335779dcf5
Version Packages (#16064)
1 year ago
Paolo Ricciuti 1b5f6af276
fix: destructuring snippet arguments (#16068)
1 year ago
Rich Harris b851b54e9d
Revert "feat: enable TS autocomplete for Svelte HTML element definitions" (#16063)
1 year ago
github-actions[bot] 194f5b34fd
Version Packages (#16059)
1 year ago
ComputerGuy 6a3066519c
fix: avoid recursion error in `EachBlock` visitor (#16058)
1 year ago
github-actions[bot] 8175091423
Version Packages (#16054)
1 year ago
ComputerGuy b5fcd112c6
fix: correctly transform reassignments to class fields in SSR mode (#16051)
1 year ago
github-actions[bot] e5d0cd2eb4
Version Packages (#16045)
1 year ago
Rich Harris 54990f2329
fix: use local mutable sources for props in legacy mode in case they are indirectly invalidated (#16038)
1 year ago
github-actions[bot] 2f90dd8246
Version Packages (#16037)
1 year ago
Ray Thurn Void ff72dd27bc
fix: transitions might render animated elements without animation styles applied for the duration of some rendering frames when they start (#16035)
1 year ago
github-actions[bot] b5b814c7de
Version Packages (#16034)
1 year ago
Rich Harris 23d42fb8ac
fix: put expressions in effects unless known to be static (#15792)
1 year ago
github-actions[bot] 7a8cb378a1
Version Packages (#16033)
1 year ago
Paolo Ricciuti c9ce4f439f
fix: only `select_option` if `'value'` is in `next` (#16032)
1 year ago
github-actions[bot] 0d67ff4865
Version Packages (#16029)
1 year ago
Paolo Ricciuti 3ea2dbc6a1
fix: `bind:value` to select with stores (#16028)
1 year ago
github-actions[bot] 7433cb98e5
Version Packages (#16023)
1 year ago
Paolo Ricciuti 6351288c7b
fix: falsy attachments on components (#16021)
1 year ago
Paolo Ricciuti 40e0e33883
feat: ssr select value (#16017)
1 year ago
github-actions[bot] b2fa84702d
Version Packages (#16020)
1 year ago
Rich Harris b8d15135cf
fix: stable attachments (#15961)
1 year ago
Rich Harris 81a34aa134
fix: handle derived destructured iterators (#16015)
1 year ago
github-actions[bot] 2e27c5d8aa
Version Packages (#16010)
1 year ago
Paolo Ricciuti 37488fa65c
fix: warn when using rest or identifier in custom elements without props option (#16003)
1 year ago
Hyunbin Seo 4e3ff0944d
fix: narrow `defaultChecked` to boolean (#16009)
1 year ago
github-actions[bot] 6e2ba643c5
Version Packages (#16002)
1 year ago
7nik 94a2bca0e3
fix: cleanup event handlers on media elements (#16005)
1 year ago
Paolo Ricciuti fbb6444fd8
fix: allow using typescript in `customElement.extend` option (#16001)
1 year ago
github-actions[bot] add0c6a987
Version Packages (#15998)
1 year ago
Rich Harris a38ea026c7
fix: don't mark deriveds as clean if updating during teardown (#15997)
1 year ago
7nik 4875cd6e67
fix: correctly parse escaped unicode characters in css selector (#15976)
1 year ago
Rich Harris 4c21f66f27
chore: add `@since` tag to fragments option (#15990)
1 year ago
venus 6928aaca06
feat: enable TS autocomplete for Svelte HTML element definitions (#15972)
1 year ago
github-actions[bot] db7b25b678
Version Packages (#15989)
1 year ago
Simon H ac046df40a
fix: make deriveds on the server lazy again (#15964)
1 year ago
github-actions[bot] 9250c9cb36
Version Packages (#15987)
1 year ago
Paolo Ricciuti d1141a19b5
feat: functional template generation (#15538)
1 year ago
github-actions[bot] 5a840982a7
Version Packages (#15978)
1 year ago
Rich Harris 50de8c5317
fix: attach __svelte_meta correctly to elements following a CSS wrapper (#15982)
1 year ago
Rich Harris c03ea47e4e
chore: simplify `<pre>` cleaning (#15980)
1 year ago
Paolo Ricciuti 4e72b7d28b
fix: import `untrack` directly from client in `svelte/attachments` (#15974)
1 year ago
github-actions[bot] ef48d35a15
Version Packages (#15967)
1 year ago
Gautier Ben Aïm de8094910d
fix(14815): warn when an invalid <select multiple> value is given (#14816)
1 year ago
github-actions[bot] 21d5448ab7
Version Packages (#15959)
1 year ago
Rich Harris 93443f9316
fix: only re-run directly applied attachment if it changed (#15962)
1 year ago
7nik c66a43940a
feat: warn on implicitly closed tags (#15932)
1 year ago
Paolo Ricciuti 7183886a73
feat: attachments `fromAction` utility (#15933)
1 year ago
github-actions[bot] a96d01b918
Version Packages (#15956)
1 year ago
Paolo Ricciuti a2ddca1aa1
fix: avoid auto-parenthesis for special-keywords-only `MediaQuery` (#15937)
1 year ago
Paolo Ricciuti b7b393d50f
chore: watch for messages changes in dev generate script (#15950)
1 year ago
github-actions[bot] 21bf947ca8
Version Packages (#15947)
1 year ago
Elliott Johnson d103adff9c
feat: State declarations in class constructors (#15820)
1 year ago
Mateusz Kadlubowski b2ce3fa85e
(fix/ast types) fix: Add missing `AttachTag` in `Tag` union type inside the `AST` namespace from `"svelte/compiler"` (#15946)
1 year ago
github-actions[bot] c365634ace
Version Packages (#15931)
1 year ago
pengqiseven c7e4b8e765
chore: remove redundant word in comment (#15942)
1 year ago
Paolo Ricciuti 60b22ab933
fix: falsy attachments types (#15939)
1 year ago
Matteo Battista a5a0b49003
fix: update_branch with (anchor).data possible undefined on ios devices (#15851)
1 year ago
github-actions[bot] 271fd33634
Version Packages (#15922)
1 year ago
Paolo Ricciuti 0e22b54110
fix: add `typeParams` to `SnippetBlock` for legacy parser (#15921)
1 year ago
github-actions[bot] e2a13a3beb
Version Packages (#15916)
1 year ago
Paolo Ricciuti 66a21552f6
feat: allow generics on snippets (#15915)
1 year ago
github-actions[bot] 51b858dfd1
Version Packages (#15914)
1 year ago
Rich Harris b93a617aa8
feat: attachments (#15000)
1 year ago
github-actions[bot] 7636031b0d
Version Packages (#15905)
1 year ago
ComputerGuy 7826ebaccc
fix: rewrite destructuring logic to handle iterators (#15813)
1 year ago
Ryan Atkinson d4fb9f4b10
fix: remove unncessary guards that require CSP privilege when removing event attributes (#15846)
1 year ago
github-actions[bot] fbb1aecc2d
Version Packages (#15904)
1 year ago
Paolo Ricciuti 944ef1dbce
fix: don't spread away `$$slots` from `$props` is it's used (#15849)
1 year ago
Paolo Ricciuti 2bc2ae0ddd
fix: use `transform.read` for `ownership_validator.mutation` array (#15848)
1 year ago
github-actions[bot] 77bdf249ff
Version Packages (#15903)
1 year ago
7nik 3bb1af9677
fix: proxify the value in assignment shorthands to the private field (#15862)
1 year ago
7nik 326b32932c
fix: more frequently update `bind:buffered` to actual value (#15874)
1 year ago
github-actions[bot] f2796dda0e
Version Packages (#15899)
1 year ago
ComputerGuy aa041a9e65
fix: warn on bidirectional control characters, fix various issues with template expressions (#15893)
1 year ago
Rich Harris 92cdeadadf
chore: ts-ignore Math.f16round (#15902)
1 year ago
Rich Harris 895337cf47
fix: treat nullish expression as empty string (#15901)
1 year ago
Rich Harris 8a351944a3
chore: tweak flushSync implementation (#15898)
1 year ago
Rich Harris eebb940b31
fix: prevent invalid BigInt calls from blowing up at compile time (#15900)
1 year ago
7nik df03af2e9d
fix: emit right error for a shadowed invalid rune (#15892)
1 year ago
github-actions[bot] 9e49be4d30
Version Packages (#15825)
1 year ago
Rich Harris b6164128b3
chore: avoid microtasks when flushing sync (alternative) (#15895)
1 year ago
Lars Francke c051a6eb1e
fix: improve error message for migration errors when slot would be renamed (#15841)
1 year ago
Simon H 1c2fc21023
fix: allow characters in the supplementary special-purpose plane (#15823)
1 year ago
github-actions[bot] 018996c167
Version Packages (#15818)
1 year ago
Simon H dfd742d532
fix: don't mark selector lists inside `:global` with multiple items as unused (#15817)
1 year ago
Rich Harris bfb969a6cc
chore: simplify `process_effects` (#15809)
1 year ago
Rich Harris a1adf2be6b
chore: squelch test console output (#15807)
1 year ago
github-actions[bot] e40e9eb1a4
Version Packages (#15800)
1 year ago
zeroberry b2d5787a09
fix: ensure `<svelte:boundary>` properly removes error content in production mode (#15793)
1 year ago
Paolo Ricciuti 3d80884029
fix: `update_version` after `delete` if `source` is `undefined` and `prop` in `target` (#15796)
1 year ago
7nik d8c6afde94
fix: emit error on wrong placement of the `:global` block selector (#15794)
1 year ago
github-actions[bot] 6fe5977b3d
Version Packages (#15798)
1 year ago
ComputerGuy d0dcc0b795
fix: improve partial evaluation (#15781)
1 year ago
github-actions[bot] 5b7af5e289
Version Packages (#15790)
1 year ago
Paolo Ricciuti 7f473f618d
fix: allow accessing snippet in script tag (#15789)
1 year ago
github-actions[bot] 707682eaa9
Version Packages (#15788)
1 year ago
Rich Harris 4f8708a824
chore: use pkg.imports for builder.js (#15785)
1 year ago
Rich Harris 262b281c91
docs: add inline documentation for svelte/reactivity (#15722)
1 year ago
Rich Harris fc61262b61
chore: delete some unused code (#15783)
1 year ago
github-actions[bot] 189bd4788e
Version Packages (#15772)
1 year ago
Rich Harris 80f62b5b10
chore: use template_effect for html tags (#15779)
1 year ago
Rich Harris 19836e29f2
chore: add log_effect_tree utility (#15780)
1 year ago
Thor Galle 3d9a9ab32d
docs: correct the suggested type for custom events without detail (Svelte 4) (#15763)
1 year ago
Rich Harris 2db5bccde3
chore: default params for html blocks (#15778)
1 year ago
Simon H ea4843c5ad
fix: avoid unnecessary read version increments (#15777)
1 year ago
Elliott Johnson e079ac92b8
fix: Throw on unrendered snippets in `dev` (#15766)
1 year ago
github-actions[bot] 6a7e53feaa
Version Packages (#15764)
1 year ago
Rich Harris 90563e903f
feat: add partial evaluation (#15494)
1 year ago
Simon H a051f96ed6
fix: relax `:global` selector list validation (#15762)
1 year ago
github-actions[bot] 7aed6beeaa
Version Packages (#15756)
1 year ago
Simon H 26e574f27f
fix: ignore mutation validation for props that are not proxies in more cases (#15759)
1 year ago
Simon H bdf033e30f
fix: allow self-closing tags within math namespace (#15761)
1 year ago
Paolo Ricciuti fd0bc29973
fix: correctly validate head snippets on the server (#15755)
1 year ago
github-actions[bot] 3153384928
Version Packages (#15751)
1 year ago
Paolo Ricciuti 69a427518d
fix: correctly validate `undefined` snippet params with default value (#15750)
1 year ago
Rich Harris 3d6da41b1d
chore: remove some unused code (#15747)
1 year ago
github-actions[bot] fd57eb362d
Version Packages (#15737)
1 year ago
Rich Harris 95a020acea
fix: update `state_referenced_locally` message (#15733)
1 year ago
github-actions[bot] 02448a9acd
Version Packages (#15731)
1 year ago
Paolo Ricciuti 01171096ce
feat: add `css.hasGlobal` to `compile` output (#15450)
1 year ago
ComputerGuy ec1d85c89e
fix: add snippet argument validation in dev (#15521)
1 year ago
github-actions[bot] 0020e597e2
Version Packages (#15729)
1 year ago
Paolo Ricciuti 0d233e58cf
fix: don't transform reassigned state in labeled statement in `$derived` (#15725)
1 year ago
Dominic Gannaway 9cafdd89d0
fix: improve internal_set versioning mechanic (#15724)
1 year ago
github-actions[bot] c2c83b67f3
Version Packages (#15726)
1 year ago
Rich Harris 6d195f0350
fix: handle hydration mismatches in await blocks (#15708)
1 year ago
Paolo Ricciuti 6c97a78049
fix: prevent ownership warnings if the fallback of a bindable is used (#15720)
1 year ago
github-actions[bot] 475b5dbe83
Version Packages (#15712)
1 year ago