Commit Graph

421 Commits (custom-condition)

Author SHA1 Message Date
Gautier Ben Aïm d83e4be1f0
docs: document the {' '} trick (#17806)
6 months ago
Andre Hora 9360563c94
docs: remove reference to archived https://github.com/sveltejs/template (#17779)
6 months ago
Theodor Steiner c98ce6945d
docs: migrate <svelte:document> to use attachment instead of action (#17749)
6 months ago
Simon H 2661513cd3
feat: allow error boundaries to work on the server (#17672)
6 months ago
Elliott Johnson 73098bb26c
Merge commit from fork
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 7cdd8740c6
docs: clarify that each blocks use Array.from (#17691)
6 months ago
Rich Harris f09785424b
docs: add crosslinks (#17663)
6 months ago
Michel Heusschen 6ad6eb1bbf
docs: add section on conditional attachments (#17599)
6 months ago
Artyom Alekseevich 01db7b8c2a
fix: update migration guide to reflect current passive events (#17631)
6 months ago
Artyom Alekseevich 989492f057
fix: use "set up" (verb) instead of "setup" (noun) in comments (#17632)
6 months ago
Rich Harris fcbd3e325a
feat: allow use of createContext when instantiating components programmatically (#17575)
6 months ago
GiantDragon9090 08448c501b
docs: update FAQ to mention SvelteKit hash-based routing support (#17546)
7 months ago
Rich Harris a66f453b56
docs: tweaking getting started instructions (#17566)
7 months ago
Bladesheng 0cbf718aef
feat: allow passing `ShadowRootInit` to custom element `shadow` options (#17088)
7 months ago
Gokul c041d122ba
docs: add note about typing children as Snippet in $props (#17534)
7 months ago
Pooh 7ab62a5878
docs: fix <svelte:boundary> tag in const_tag_invalid_placement message (#17501)
7 months ago
Elliott Johnson c86c4fdca1
feat: Add CSP support for `hydratable` (#17338)
8 months ago
Razin Shafayet 866ae6cdc7
docs: update #each to reflect support for null and undefined (#17339)
8 months ago
Davi Oliveira da Silva 5efbfa8e2b
docs: Updated docs to include usage of $bindable for bidirectional bindings and its possible riscs (#17121)
8 months ago
Ben McCann ad91827a23
docs: update link to sveltesociety (#17320)
8 months ago
dev-singh12 ba9de6a47b
docs: update outdated Svelte Society editor support link URL (#17292)
8 months ago
ComputerGuy bec7ca7918
fix: throw on invalid `{@tag}`s (#17256)
9 months ago
Alejandro Torres 3c63b12ccd
chore: fix typos in code comments and documentation (#17187)
9 months ago
t11r 707b6b8c20
docs: improve typography (#17222)
9 months ago
Rich Harris 99362b029b
9 months ago
Elliott Johnson c2a110cd81
feat: `hydratable` (#17154)
9 months ago
Simon H 84b261886b
chore: lift "flushSync cannot be called in effects" restriction (#17139)
9 months ago
Simon H 91486fa807
fix: take async into account for bindings/transitions/animations/attachments (#17198)
9 months ago
Rich Harris 657ec89caa
fix: ignore fork `discard()` after `commit()` (#17034)
10 months ago
Rich Harris c08ecba1b7
feat: forking (#17004)
10 months ago
Rich Harris 4b32d6d8b3
fix: make `$inspect` logs come from the callsite (#17001)
10 months ago
Rich Harris 53f2693b3b
feat: `$state.eager(value)` (#16849)
10 months ago
Rich Harris 9b5fb3f430
fix: error if `each` block has `key` but no `as` clause (#16966)
10 months ago
Rich Harris d6d13ced08
docs: improve createContext documentation (#16952)
10 months ago
Rich Harris ec99d7bc4c
fix docs (#16953)
10 months ago
Elliott Johnson 9cdd76e3a3
chore: Remove annoying sync-async warning (#16949)
10 months ago
Rich Harris f3c55e8e6c
feat: add `createContext` utility for type-safe context (#16948)
10 months ago
Rich Harris b05e12fd63
fix code block (#16937)
10 months ago
Ben McCann ba782f9fde
docs: link to custom renderer issue in Svelte Native discussion (#16896)
10 months ago
Hyunbin Seo b91f9de129
docs: await no longer need pending (#16900)
10 months ago
7nik 93012e1e6f
fix: track the user's getter of `bind:this` (#16916)
10 months ago
Ben McCann 30e2b23b59
docs: update one more link to the packages page (#16883)
10 months ago
Ben McCann 01fc47d155
docs: link to new packages page (#16882)
10 months ago
Michael Shilman fdb01fd966
docs: Promote Storybook testing to h2 (#16792)
10 months ago
Yuki Ishii 4f653ddcea
fix: update error message to clarify usage with radio inputs (#16874)
10 months ago
Jakub Kolesár 46c10d0476
fix: missing title warning for buttons and anchor tags (#16872)
11 months ago
Conduitry e0dba165b4
docs: remove reference to SSR being synchronous (#16861)
11 months ago
Tee Ming c75e862677
Update 19-await-expressions.md (#16827)
11 months ago
Rich Harris 7d9962a572
docs: update await expressions documentation (#16822)
11 months ago
Rich Harris 6076bab730
fix: issue `state_proxy_unmount` warning when unmounting a state proxy (#16747)
11 months ago
Elliott Johnson b8fd326d96
feat: async SSR (#16748)
11 months ago
Kyle Gach 08b3b66865
docs: add testing with storybook (#16701)
11 months ago
Jinay Patel 9d1aa699b6
Docs: Updated the custom elements documentation to include $host (#16686)
12 months ago
Simon H a60995abef
fix: allow async `{@const}` in more places (#16643)
12 months ago
Justin Paige 9efe672df2
Update 18-class.md (#16558)
1 year ago
Rich Harris e7e8a9c7b7
docs: remove 'thus', fix some phrasing (#16559)
1 year ago
Anthony a3f18351af
docs: corrections (#16550)
1 year ago
ComputerGuy 8067841170
docs: add note about attachments to `svelte/action` docs (#16537)
1 year ago
fkobi 1773df9484
docs: use sh instead of bash in source blocks (#16506)
1 year ago
ComputerGuy b0f9ea3ae6
fix: throw on duplicate class field declarations (#16502)
1 year ago
Simon H 65e5249296
docs: remove mention of deprecated way to enhance typings (#16416)
1 year ago
Ray Thurn Void 9e1e7139fb
fix: robustify reset calls in error boundaries (#16171)
1 year ago
Rich Harris b8b662a1ad
docs: make link to svelte/reactivity more prominent (#16410)
1 year ago
Rich Harris e5e6c0cd12
fix docs (#16409)
1 year ago
Rich Harris b17557cd91
docs: fix typo (#16408)
1 year ago
Rich Harris a67b5862f1
fix: more informative error when effects run in an infinite loop (#16405)
1 year ago
Rich Harris ead4091202
docs: diligently describe destructured derived declarations (#16400)
1 year ago
Rich Harris 9f591223b1
docs: async stuff (#16376)
1 year ago
Rich Harris 79904b7113
docs: tweak (#16369)
1 year ago
Rich Harris 2e49783afa
docs: fix code snippets (#16367)
1 year ago
Rich Harris 0672e48223
feat: allow `await` in components (#15844)
1 year ago
ComputerGuy 58baf80a70
docs: add note about proxying state proxies (#16354)
1 year ago
Rich Harris b673145659
feat: add `getAbortSignal()` (#16266)
1 year ago
brunnerh facf528cb8
docs: Simplify TS config docs (#16236)
1 year ago
Paolo Ricciuti c4b32c2bff
fix: untrack `$inspect.with` and add check for unsafe mutation (#16209)
1 year ago
Elliott Johnson d99d872519
fix: Make docs example not infinitely recurse (#16183)
1 year ago
7nik 5c5536eaa1
docs: clarify style precedence (#16158)
1 year ago
Paolo Ricciuti cc8d2f6c80
docs: add note on `Object.create` (#16124)
1 year ago
Jack Goodall 77a5d68675
also mention that `:has` is scoped in the migration guide (#16061)
1 year ago
Lol Mettam f969628394
Update 04-svelte-body.md (#16027)
1 year ago
Paolo Ricciuti 37488fa65c
fix: warn when using rest or identifier in custom elements without props option (#16003)
1 year ago
ComputerGuy f9d0df6041
docs: add link to lvalue info on `bind:` docs (#16008)
1 year ago
Paolo Ricciuti fbb6444fd8
fix: allow using typescript in `customElement.extend` option (#16001)
1 year ago
Mithi Sevilla 8860ca6c1d
docs: Improve sample code in `When not to use $effect` section (#15994)
1 year ago
Rich Harris 08346b51f2
docs: move some `$state` information around (#15969)
1 year ago
Rich Harris 8e16c777e0
docs: improve bind:group example (#15968)
1 year ago
Gautier Ben Aïm de8094910d
fix(14815): warn when an invalid <select multiple> value is given (#14816)
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
Rich Harris 22a0211cbb
docs: clarify when attachments re-run (#15927)
1 year ago
Elliott Johnson d103adff9c
feat: State declarations in class constructors (#15820)
1 year ago
Christian Decker 42e7e8168d
chore: fix docs typo in 02-context.md (#15944)
1 year ago
Rich Harris 17a7cf51e4
docs: clarify ordering of attributes with spread (#15917)
1 year ago
Rich Harris ae71152013
docs: clarify keyed each blocks (#15923)
1 year ago
Scott Wu 623cfb0653
docs: Clarify when is a variable proxied (#15804)
1 year ago
Rich Harris 43e32ba2ce
docs: update attach example (#15920)
1 year ago
Rich Harris b93a617aa8
feat: attachments (#15000)
1 year ago
7nik 8fc8bc79d1
docs: add missing bindings (#15834)
1 year ago
Tristan b6fe1cca3c
docs: remove dead link in 07-misc/99-faq.md (#15906)
1 year ago