c23f15134e 
								
									
								
							
								 
							
						 
						
							
							
								
								chore: remove stack-based module boundaries ( #15711 )  
							
							
 
							
						 
						
							7 months ago  
				
					
						
							
							
								 
						
							
							
								93110a3246 
								
									
								
							
								 
							
						 
						
							
							
								
								docs: explain restriction on exporting reassigned state ( #15713 )  
							
							
 
							
						 
						
							7 months ago  
				
					
						
							
							
								 
						
							
							
								0ff3d74520 
								
									
								
							
								 
							
						 
						
							
							
								
								docs: update `$effect` examples ( #15463 )  
							
							... 
							
							
 
							
							* docs: update effect examples
* revert
* Update documentation/docs/02-runes/04-$effect.md
* update example
* revert
* update effect root example
---------
Co-authored-by: Rich Harris <rich.harris@vercel.com> 
							
						 
						
							7 months ago  
				
					
						
							
							
								 
						
							
							
								0ca1f4a37e 
								
									
								
							
								 
							
						 
						
							
							
								
								docs: raise importance of global vs local transitions ( #15479 )  
							
							... 
							
							
 
							
							* Doc: Raise importance of global vs local transitions
* switch order
---------
Co-authored-by: Rich Harris <rich.harris@vercel.com> 
							
						 
						
							7 months ago  
				
					
						
							
							
								 
						
							
							
								98d14ece66 
								
									
								
							
								 
							
						 
						
							
							
								
								fix: rework binding ownership validation ( #15678 )  
							
							... 
							
							
 
							
							* remove old validation
* fix: rework binding ownership validation
Previously we were doing stack-based retrieval of the owner, which while catching more cases was costly (performance-wise) and prone to errors (as shown by many issues over the months).
This drastically simplifies the ownership validation - we now only do simple static analysis to check which props are mutated and wrap them with runtime checks to see if a binding was established.
Besides making the implementation simpler and more performant, this also follows an insight we had over the months: Most people don't really know what to do with this warning when it's shown beyond very simple cases. Either it's not actionable because they don't really know how to fix it or they question if they should at all (in some cases rightfully so). Now that the warning is only shown in simple and easy-to-reason-about cases, it has a much better signal-to-noise-ratio and will hopefully guide people in the right direction early on (learn from the obvious cases to not write spaghetti code in more complex cases).
closes  #15532 
closes  #15210 
closes  #14893 
closes  #13607 
closes  #13139 
closes  #11861 
* remove some now obsolete tests
* fix
* better warnings now that we have more info
* fix
* hoist
* we only care about mutation, not reassignment
* tidy
* handle prop aliases
* mutation validation is only tangentially linked to context requirement
* no need for two vars, one will do
* update warning, include mutation location
* tweak
---------
Co-authored-by: Rich Harris <rich.harris@vercel.com> 
							
						 
						
							7 months ago  
				
					
						
							
							
								 
						
							
							
								6a668c4daf 
								
									
								
							
								 
							
						 
						
							
							
								
								docs:Update 02-context.md ( #15700 )  
							
							... 
							
							
 
							
							* Update 02-context.md
use `const` for key variable and assign it a symbol instead of empty of object.
* Update documentation/docs/06-runtime/02-context.md
---------
Co-authored-by: Rich Harris <hello@rich-harris.dev> 
							
						 
						
							7 months ago  
				
					
						
							
							
								 
						
							
							
								8e21c41c27 
								
									
								
							
								 
							
						 
						
							
							
								
								Link from $host directive docs to custom elements docs ( #15686 )  
							
							
 
							
						 
						
							7 months ago  
				
					
						
							
							
								 
						
							
							
								3682371fb6 
								
									
								
							
								 
							
						 
						
							
							
								
								chore: doc fix ( #15651 )  
							
							
 
							
						 
						
							7 months ago  
				
					
						
							
							
								 
						
							
							
								04257925d2 
								
									
								
							
								 
							
						 
						
							
							
								
								docs: clarify what you can build with SvelteKit ( #15461 )  
							
							... 
							
							
 
							
							* docs: clarify what you can build with SvelteKit
* try relative URLs
* Update documentation/docs/01-introduction/02-getting-started.md
Co-authored-by: Simon H <5968653+dummdidumm@users.noreply.github.com>
---------
Co-authored-by: Simon H <5968653+dummdidumm@users.noreply.github.com> 
							
						 
						
							7 months ago  
				
					
						
							
							
								 
						
							
							
								f49856449d 
								
									
								
							
								 
							
						 
						
							
							
								
								docs: add a reference to the official hash router ( #15611 )  
							
							
 
							
						 
						
							7 months ago  
				
					
						
							
							
								 
						
							
							
								3080c1334e 
								
									
								
							
								 
							
						 
						
							
							
								
								fix: prevent state runes from being called with spread ( #15585 )  
							
							... 
							
							
 
							
							* fix: prevent state runes from being called with spread
* prevent spread arguments for all runes except $inspect
---------
Co-authored-by: Rich Harris <rich.harris@vercel.com> 
							
						 
						
							7 months ago  
				
					
						
							
							
								 
						
							
							
								ef98ccae8b 
								
							
								 
							
						 
						
							
							
								
								doh  
							
							
 
							
						 
						
							7 months ago  
				
					
						
							
							
								 
						
							
							
								441108b8ff 
								
							
								 
							
						 
						
							
							
								
								fix docs  
							
							
 
							
						 
						
							7 months ago  
				
					
						
							
							
								 
						
							
							
								5a8fa69dbf 
								
									
								
							
								 
							
						 
						
							
							
								
								feat: make deriveds writable ( #15570 )  
							
							... 
							
							
 
							
							* feat: make deriveds writable
* add optimistic UI example
* add note to when-not-to-use-effect
* add section on deep reactivity
* root-relative URL
* use hash URL
* mention const
* make handler async, move into script block 
							
						 
						
							7 months ago  
				
					
						
							
							
								 
						
							
							
								842a7c6995 
								
									
								
							
								 
							
						 
						
							
							
								
								docs: update state_unsafe_mutation message ( #15539 )  
							
							... 
							
							
 
							
							* docs: update state_unsafe_mutation message
* regenerate
* fix example 
							
						 
						
							7 months ago  
				
					
						
							
							
								 
						
							
							
								83d0c5894d 
								
									
								
							
								 
							
						 
						
							
							
								
								docs: add note on effect-local state ( #15572 )  
							
							
 
							
						 
						
							7 months ago  
				
					
						
							
							
								 
						
							
							
								6915c12b58 
								
									
								
							
								 
							
						 
						
							
							
								
								feat: allow state created in deriveds/effects to be written/read locally without self-invalidation ( #15553 )  
							
							... 
							
							
 
							
							* move parent property onto Signal
* don't self-invalidate when updating a source create inside current reaction
* lazily create deep state with parent reaction
* no need to push_derived_source with mutable_state, as it never coexists with $.derived
* reduce indirection
* remove state_unsafe_local_read error
* changeset
* tests
* fix test
* inelegant fix
* remove arg
* tweak
* some progress
* more
* tidy up
* parent -> p
* tmp
* alternative approach
* tidy up
* reduce diff size
* more
* update comment 
							
						 
						
							7 months ago  
				
					
						
							
							
								 
						
							
							
								701f085c82 
								
									
								
							
								 
							
						 
						
							
							
								
								docs: rewrite context docs ( #15541 )  
							
							
 
							
						 
						
							8 months ago  
				
					
						
							
							
								 
						
							
							
								8f940ee0ff 
								
									
								
							
								 
							
						 
						
							
							
								
								docs: use function bindings in "when not to use effect" ( #15544 )  
							
							
 
							
						 
						
							8 months ago  
				
					
						
							
							
								 
						
							
							
								0af6f20c77 
								
									
								
							
								 
							
						 
						
							
							
								
								Fix grammar ( #15533 )  
							
							
 
							
						 
						
							8 months ago  
				
					
						
							
							
								 
						
							
							
								e5881eade3 
								
									
								
							
								 
							
						 
						
							
							
								
								chore: tweak migration doc diff blocks ( #15527 )  
							
							
 
							
						 
						
							8 months ago  
				
					
						
							
							
								 
						
							
							
								f30d75ab7e 
								
									
								
							
								 
							
						 
						
							
							
								
								updated -> to  → in v5-migration-guide ( #15526 )  
							
							
 
							
						 
						
							8 months ago  
				
					
						
							
							
								 
						
							
							
								aaeda65f2f 
								
									
								
							
								 
							
						 
						
							
							
								
								docs: add docs on state_unsafe_mutation error ( #14932 )  
							
							... 
							
							
 
							
							closes  #14752  
						
							8 months ago  
				
					
						
							
							
								 
						
							
							
								dab1a1b467 
								
									
								
							
								 
							
						 
						
							
							
								
								docs: Update 99-faq.md ( #15510 )  
							
							
 
							
						 
						
							8 months ago  
				
					
						
							
							
								 
						
							
							
								dbd4617ac4 
								
									
								
							
								 
							
						 
						
							
							
								
								docs: correct toggle function in lifecycle hooks example ( #15486 )  
							
							
 
							
						 
						
							8 months ago  
				
					
						
							
							
								 
						
							
							
								2c4d85bcec 
								
									
								
							
								 
							
						 
						
							
							
								
								docs: address `$effect` feedback ( #15107 )  
							
							... 
							
							
 
							
							* docs: address $effect feedback
* also add a note to the migration guide
* minor wording tweak
* update onMount docs
* Update documentation/docs/02-runes/05-$effect.md
Co-authored-by: Rich Harris <rich.harris@vercel.com>
* restore order
* soften a bit
* add back mention of updating template in response to effects
* define parent effect
* state that they don't run on the server
* Update documentation/docs/02-runes/04-$effect.md
Co-authored-by: Simon H <5968653+dummdidumm@users.noreply.github.com>
* format
* Apply suggestions from code review
Co-authored-by: Simon H <5968653+dummdidumm@users.noreply.github.com>
* update onMount docs
* add 'Understanding lifecycle' section
* note
* tweak wording
---------
Co-authored-by: Rich Harris <rich.harris@vercel.com>
Co-authored-by: Simon H <5968653+dummdidumm@users.noreply.github.com> 
							
						 
						
							8 months ago  
				
					
						
							
							
								 
						
							
							
								e591e872aa 
								
									
								
							
								 
							
						 
						
							
							
								
								Update 01-basic-markup.md with new svelte-ignore syntax ( #15394 )  
							
							
 
							
						 
						
							8 months ago  
				
					
						
							
							
								 
						
							
							
								016421533d 
								
									
								
							
								 
							
						 
						
							
							
								
								Fix Rune phonetic spelling ( #15445 )  
							
							
 
							
						 
						
							8 months ago  
				
					
						
							
							
								 
						
							
							
								474c588067 
								
									
								
							
								 
							
						 
						
							
							
								
								fix: disallow `bind:group` to snippet parameters ( #15401 )  
							
							
 
							
						 
						
							8 months ago  
				
					
						
							
							
								 
						
							
							
								0d5d9ab760 
								
									
								
							
								 
							
						 
						
							
							
								
								docs: fix two element_invalid_self_closing_tag warning in example ( #15324 )  
							
							... 
							
							
 
							
							* code is incorrect (warning element_invalid_self_closing_tag)
* close canvas 
							
						 
						
							9 months ago  
				
					
						
							
							
								 
						
							
							
								75f81991c2 
								
									
								
							
								 
							
						 
						
							
							
								
								docs(bindable): fix `file:` annotation for App.svelte ( #15314 )  
							
							
 
							
						 
						
							9 months ago  
				
					
						
							
							
								 
						
							
							
								5fe0272868 
								
									
								
							
								 
							
						 
						
							
							
								
								docs: remove duplicate `onDestroy` description ( #15274 )  
							
							
 
							
						 
						
							9 months ago  
				
					
						
							
							
								 
						
							
							
								85f83ec435 
								
									
								
							
								 
							
						 
						
							
							
								
								feat: $props.id(), a SSR-safe ID generation ( #15185 )  
							
							... 
							
							
 
							
							* first impl of $$uid
* fix
* $props.id()
* fix errors
* rename $.create_uid() into $.props_id()
* fix message
* relax const requirement, validate assignments instead
* oops
* simplify
* non-constants should be lowercased
* ditto
* start at 1
* add docs
* changeset
* add test
* add docs
* doc : add code example
* fix type reported by bennymi
---------
Co-authored-by: Rich Harris <rich.harris@vercel.com> 
							
						 
						
							9 months ago  
				
					
						
							
							
								 
						
							
							
								502b585ed2 
								
									
								
							
								 
							
						 
						
							
							
								
								docs: enhance migration docs about accessors ( #15138 )  
							
							... 
							
							
 
							
							* docs: enhance migration docs about accessors
related to #15134 
* more 
							
						 
						
							9 months ago  
				
					
						
							
							
								 
						
							
							
								e1014e3016 
								
									
								
							
								 
							
						 
						
							
							
								
								Update 11-bind.md ( #15192 )  
							
							
 
							
						 
						
							9 months ago  
				
					
						
							
							
								 
						
							
							
								e83ab1c038 
								
									
								
							
								 
							
						 
						
							
							
								
								docs: fix typos and a link ( #15135 )  
							
							
 
							
						 
						
							9 months ago  
				
					
						
							
							
								 
						
							
							
								674f81b5ce 
								
									
								
							
								 
							
						 
						
							
							
								
								[docs] clarify that `$effect` analyzes functions deeply ( #15144 )  
							
							... 
							
							
 
							
							* Update 04-$effect.md
* Update documentation/docs/02-runes/04-$effect.md
---------
Co-authored-by: Rich Harris <hello@rich-harris.dev> 
							
						 
						
							9 months ago  
				
					
						
							
							
								 
						
							
							
								6df59055e7 
								
									
								
							
								 
							
						 
						
							
							
								
								docs: more examples on what is outside the rendering process ( #15157 )  
							
							... 
							
							
 
							
							closes  #15151  
						
							9 months ago  
				
					
						
							
							
								 
						
							
							
								2aefc5430d 
								
									
								
							
								 
							
						 
						
							
							
								
								feat(elements): Expose ClassValue ( #15035 )  
							
							... 
							
							
 
							
							* Push
* Cleanup
* Add changeset
* Remove redundant string
* Update documentation/docs/03-template-syntax/18-class.md
Co-authored-by: Paolo Ricciuti <ricciutipaolo@gmail.com>
* Update documentation/docs/03-template-syntax/18-class.md
---------
Co-authored-by: Paolo Ricciuti <ricciutipaolo@gmail.com> 
							
						 
						
							10 months ago  
				
					
						
							
							
								 
						
							
							
								99fdc3f0ab 
								
									
								
							
								 
							
						 
						
							
							
								
								docs: update error message for `const_tag_invalid_placement` ( #15003 )  
							
							
 
							
						 
						
							10 months ago  
				
					
						
							
							
								 
						
							
							
								a129592e5b 
								
									
								
							
								 
							
						 
						
							
							
								
								feat: allow const tag inside `svelte:boundary` ( #14993 )  
							
							... 
							
							
 
							
							* feat: allow const tag inside `svelte:boundary`
* chore: add better test
* docs: update docs for `@const` 
							
						 
						
							10 months ago  
				
					
						
							
							
								 
						
							
							
								3e11b89244 
								
									
								
							
								 
							
						 
						
							
							
								
								docs: improve section for snippets-slots interop ( #13869 )  
							
							... 
							
							
 
							
							* docs: improve section for snippets-slots interop
* tweak
---------
Co-authored-by: Rich Harris <rich.harris@vercel.com> 
							
						 
						
							10 months ago  
				
					
						
							
							
								 
						
							
							
								d15aea4e18 
								
									
								
							
								 
							
						 
						
							
							
								
								docs: clarify svelte:component migration, avoids common gotcha ( #13835 )  
							
							... 
							
							
 
							
							* docs: clarify svelte:component migration to avoid lowercase component name gotcha
* docs: move <svelte:component> section out of Breaking Changes, since it is not breaking. Change links.
* docs: move migration dot notation component initialization notes to svelte:component section
* tweaks
* fix link
---------
Co-authored-by: Gonzalo Ruiz <rgon@rgon.es>
Co-authored-by: Rich Harris <rich.harris@vercel.com> 
							
						 
						
							10 months ago  
				
					
						
							
							
								 
						
							
							
								bf80c10625 
								
									
								
							
								 
							
						 
						
							
							
								
								docs: clarify example on dynamic dependency tracking ( #13767 )  
							
							... 
							
							
 
							
							* docs(effect): clarify example on dynamic dependency tracking
* use an if block, it's clearer
* fix
* toggle
---------
Co-authored-by: Rich Harris <rich.harris@vercel.com> 
							
						 
						
							10 months ago  
				
					
						
							
							
								 
						
							
							
								a2565efa37 
								
									
								
							
								 
							
						 
						
							
							
								
								docs: tweak "invalid assignment" compiler error message ( #14955 )  
							
							... 
							
							
 
							
							* docs: tweak "invalid assignment" compiler error message
fixes  #14702 
* tweak wording
---------
Co-authored-by: Rich Harris <rich.harris@vercel.com> 
							
						 
						
							10 months ago  
				
					
						
							
							
								 
						
							
							
								d41801c75f 
								
									
								
							
								 
							
						 
						
							
							
								
								feat: warn on using `slide` transition with invalid `display` styles ( #14936 )  
							
							... 
							
							
 
							
							* feat: warn on using `slide` transition with table elements
* more generic
* more generic 
							
						 
						
							10 months ago  
				
					
						
							
							
								 
						
							
							
								ce2566d4c4 
								
									
								
							
								 
							
						 
						
							
							
								
								docs: simplify `$effect.tracking()` docs ( #14939 )  
							
							
 
							
						 
						
							10 months ago  
				
					
						
							
							
								 
						
							
							
								48e3db21c1 
								
									
								
							
								 
							
						 
						
							
							
								
								fix: default values in object destructuring ( #14554 )  
							
							... 
							
							
 
							
							* fix: enhance string/expression length check and fix closing character issues
* docs: add documentation for unterminated_string_constant error
* test: add tests for object destructuring with default values in "each" blocks
* Update .changeset/clean-planets-rush.md
* refactor: clean up unnecessary comments and whitespace
* fix: resolve formatting issues
* simplify
* tweak
* regenerate
---------
Co-authored-by: Rich Harris <rich.harris@vercel.com> 
							
						 
						
							10 months ago  
				
					
						
							
							
								 
						
							
							
								19038d19cb 
								
									
								
							
								 
							
						 
						
							
							
								
								docs: add section on update propagation ( #14938 )  
							
							
 
							
						 
						
							10 months ago  
				
					
						
							
							
								 
						
							
							
								34628b9c90 
								
									
								
							
								 
							
						 
						
							
							
								
								docs: note custom elements on caveat ( #14934 )  
							
							... 
							
							
 
							
							closes  #14727  
						
							10 months ago  
				
					
						
							
							
								 
						
							
							
								a1f371e786 
								
									
								
							
								 
							
						 
						
							
							
								
								docs: add code of files being tested ( #14925 )  
							
							... 
							
							
 
							
							* docs: add code of files being tested
closes  #14900 
* fix
* Apply suggestions from code review
Co-authored-by: Rich Harris <rich.harris@vercel.com>
* Update documentation/docs/07-misc/02-testing.md
Co-authored-by: Rich Harris <rich.harris@vercel.com>
* Apply suggestions from code review
Co-authored-by: Rich Harris <rich.harris@vercel.com>
* rename import
* from https://github.com/sveltejs/svelte.dev/pull/1094 
---------
Co-authored-by: Rich Harris <rich.harris@vercel.com> 
							
						 
						
							10 months ago  
				
					
						
							
							
								 
						
							
							
								8201d7ad8b 
								
									
								
							
								 
							
						 
						
							
							
								
								docs: Switch typing of Action<Parameter> from null to undefined in 12-use.md ( #14798 )  
							
							... 
							
							
 
							
							* Update 12-use.md -
* Remove unecessary line in Action typing example
* drive-by formatting fix
---------
Co-authored-by: Rich Harris <rich.harris@vercel.com> 
							
						 
						
							10 months ago  
				
					
						
							
							
								 
						
							
							
								793f6f3b11 
								
									
								
							
								 
							
						 
						
							
							
								
								add note about svelte/elements to $props docs ( #14829 )  
							
							
 
							
						 
						
							10 months ago  
				
					
						
							
							
								 
						
							
							
								97f3aa9151 
								
									
								
							
								 
							
						 
						
							
							
								
								docs: fix links in some errors/warnings ( #14825 )  
							
							... 
							
							
 
							
							* fix links in some errors/warnings
* fix 
							
						 
						
							10 months ago  
				
					
						
							
							
								 
						
							
							
								015210a1a8 
								
									
								
							
								 
							
						 
						
							
							
								
								feat: allow objects/arrays for class attribute ( #14714 )  
							
							... 
							
							
 
							
							* WIP
* missed
* fix
* fix
* rename, smooth over incompatibilities
* spread support + test
* docs
* types
* implement CSS pruning for array/object expressions
* beefier static analysis
* lint
* rename doc
* move class after all directive docs
* tweak docs - clarify top-level falsy values, stagger examples, demonstrate composition, discourage class: more strongly
* changeset
* fix
* Update documentation/docs/03-template-syntax/18-class.md
Co-authored-by: Conduitry <git@chor.date>
* Apply suggestions from code review
---------
Co-authored-by: Rich Harris <rich.harris@vercel.com>
Co-authored-by: Conduitry <git@chor.date> 
							
						 
						
							10 months ago  
				
					
						
							
							
								 
						
							
							
								bfa0b34663 
								
									
								
							
								 
							
						 
						
							
							
								
								add self-closing-tags info ( #14758 )  
							
							... 
							
							
 
							
							* add self-closing-tags info
* regenerate 
							
						 
						
							11 months ago  
				
					
						
							
							
								 
						
							
							
								d7e4bd2c66 
								
									
								
							
								 
							
						 
						
							
							
								
								Link to migration guide from <svelte:component> documentation ( #14737 )  
							
							
 
							
						 
						
							11 months ago  
				
					
						
							
							
								 
						
							
							
								5483495c8d 
								
									
								
							
								 
							
						 
						
							
							
								
								feat: add $inspect.trace rune ( #14290 )  
							
							... 
							
							
 
							
							* feat: add $trace rune
WIP
WIP
WIP
WIP
WIP
WIP
WIP
WIP
WIP
WIP
WIP
WIP
WIP
WIP
WIP
WIP
WIP
WIP
WIP
WIP
* lint
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* more tweaks
* lint
* improve label for derived cached
* improve label for derived cached
* lint
* better stacks
* complete redesign
* fixes
* dead code
* dead code
* improve change detection
* rename rune
* lint
* lint
* fix bug
* tweaks
* Update packages/svelte/src/internal/client/dev/tracing.js
Co-authored-by: Rich Harris <rich.harris@vercel.com>
* Update packages/svelte/src/internal/client/dev/tracing.js
Co-authored-by: Rich Harris <rich.harris@vercel.com>
* Update packages/svelte/src/internal/client/dev/tracing.js
Co-authored-by: Rich Harris <rich.harris@vercel.com>
* Update packages/svelte/src/internal/client/dev/tracing.js
Co-authored-by: Rich Harris <rich.harris@vercel.com>
* todos
* add test + some docs
* changeset
* update messages
* address feedback
* address feedback
* limit to first statement of function
* remove unreachable trace_rune_duplicate error
* tweak message
* remove the expression statement, not the expression
* revert
* make label optional
* relax restriction on label - no longer necessary with new design
* update errors
* newline
* tweak
* add some docs
* fix playground
* fix playground
* tweak message when function runs outside an effect
* unused
* tweak
* handle async functions
* fail on generators
* regenerate, update docs
* better labelling
---------
Co-authored-by: Rich Harris <rich.harris@vercel.com> 
							
						 
						
							11 months ago  
				
					
						
							
							
								 
						
							
							
								b0e3c5b438 
								
									
								
							
								 
							
						 
						
							
							
								
								feat: add outro option to unmount ( #14540 )  
							
							... 
							
							
 
							
							* feat: add outro option to unmount
* unused
* regenerate
* revert
* changeset
* create separate component_root effect
* docs
* return a promise
* remove from map immediately 
							
						 
						
							11 months ago  
				
					
						
							
							
								 
						
							
							
								65db409860 
								
									
								
							
								 
							
						 
						
							
							
								
								docs: typo in ## script_context_deprecated ( #14694 )  
							
							... 
							
							
 
							
							* Fix typo in ## script_context_deprecated
Changed +++context+++ to +++module+++
* regenerate
---------
Co-authored-by: Rich Harris <rich.harris@vercel.com> 
							
						 
						
							11 months ago  
				
					
						
							
							
								 
						
							
							
								432db95358 
								
									
								
							
								 
							
						 
						
							
							
								
								docs: Update the linked playgrounds in the snippet docs ( #14676 )  
							
							... 
							
							
 
							
							* Update the linked playgrounds in the snippet docs
* Apply suggestions from code review
---------
Co-authored-by: Rich Harris <hello@rich-harris.dev> 
							
						 
						
							11 months ago  
				
					
						
							
							
								 
						
							
							
								68d266e0f8 
								
									
								
							
								 
							
						 
						
							
							
								
								fix: remove overzealous `reactive_declaration_non_reactive_property` warning ( #14663 )  
							
							... 
							
							
 
							
							fixes  #14532 
This removes the `reactive_declaration_non_reactive_property` warning altogether. The first version caused many false positives at compile time. The refined runtime version (introduced in #14192 ) was hoped to fix this, but it turns out we now get loads of false positives at runtime. 
						
							11 months ago  
				
					
						
							
							
								 
						
							
							
								d43a10ba7a 
								
									
								
							
								 
							
						 
						
							
							
								
								feat: add `svelte/reactivity/window` module ( #14660 )  
							
							... 
							
							
 
							
							* feat: add `svelte/reactivity/window` module
* lint
* fix
* hide private types
* online binding
* tweak docs
* tweak
* add @since tags
---------
Co-authored-by: Simon Holthausen <simon.holthausen@vercel.com> 
							
						 
						
							11 months ago  
				
					
						
							
							
								 
						
							
							
								3dcd5a4a3e 
								
									
								
							
								 
							
						 
						
							
							
								
								fix docs ( #14635 )  
							
							
 
							
						 
						
							11 months ago  
				
					
						
							
							
								 
						
							
							
								c6fca02009 
								
									
								
							
								 
							
						 
						
							
							
								
								docs: more details for errors/warnings on the site ( #14632 )  
							
							... 
							
							
 
							
							* docs: more details for errors/warnings on the site
Related to #11305 
* Apply suggestions from code review
Co-authored-by: Rich Harris <rich.harris@vercel.com>
* fix in correct place
* tab not spaces
* tweaks
* fix
* Apply suggestions from code review
* regenerate
---------
Co-authored-by: Rich Harris <rich.harris@vercel.com> 
							
						 
						
							11 months ago  
				
					
						
							
							
								 
						
							
							
								c1c59e77a5 
								
									
								
							
								 
							
						 
						
							
							
								
								docs: where the hell did this come from? ( #14613 )  
							
							
 
							
						 
						
							11 months ago  
				
					
						
							
							
								 
						
							
							
								5771b455c0 
								
									
								
							
								 
							
						 
						
							
							
								
								feat: add support for bind getter/setters ( #14307 )  
							
							... 
							
							
 
							
							* feat: add support for bind getters/setters
* different direction
* oops
* oops
* build
* add changeset and tests
* move validation
* add comment
* build
* bind:group error
* simpler to just keep it as a SequenceExpression
* fix
* lint
* fix
* move validation to visitor
* fix
* no longer needed
* fix
* parser changes are no longer needed
* simplify
* simplify
* update messages
* docs
---------
Co-authored-by: Rich Harris <rich.harris@vercel.com>
Co-authored-by: Simon Holthausen <simon.holthausen@vercel.com> 
							
						 
						
							11 months ago  
				
					
						
							
							
								 
						
							
							
								ad87572adc 
								
									
								
							
								 
							
						 
						
							
							
								
								docs: Import .svelte.js files with explicit extension. ( #14584 )  
							
							
 
							
						 
						
							11 months ago  
				
					
						
							
							
								 
						
							
							
								1ffce92d90 
								
									
								
							
								 
							
						 
						
							
							
								
								docs: note before/afterUpdate breaking change ( #14567 )  
							
							... 
							
							
 
							
							...about slotted content behavior
Related to #14564  
							
						 
						
							11 months ago  
				
					
						
							
							
								 
						
							
							
								4b802dbed3 
								
									
								
							
								 
							
						 
						
							
							
								
								docs: add a mobile app FAQ ( #14559 )  
							
							... 
							
							
 
							
							* docs: add a mobile app FAQ
* Update 99-faq.md 
							
						 
						
							11 months ago  
				
					
						
							
							
								 
						
							
							
								350811ed8c 
								
									
								
							
								 
							
						 
						
							
							
								
								docs: note when defaultValue support was added ( #14553 )  
							
							
 
							
						 
						
							11 months ago  
				
					
						
							
							
								 
						
							
							
								a57e747cbb 
								
									
								
							
								 
							
						 
						
							
							
								
								feat: default values for form elements ( #14289 )  
							
							... 
							
							
 
							
							* tests
* typings
* implement for defaultValue/defaultChecked on inputs
* docs (draft)
* selected
* fix test
* remove
* tweak
* changeset
* untrack reads, they could be inside an effect
* Apply suggestions from code review
Co-authored-by: Rich Harris <rich.harris@vercel.com>
* handle select reset case
* handle reset case specifically: use different props/queries in that case
* enhance test
* fix
---------
Co-authored-by: Rich Harris <rich.harris@vercel.com> 
							
						 
						
							11 months ago  
				
					
						
							
							
								 
						
							
							
								86ae349bcc 
								
									
								
							
								 
							
						 
						
							
							
								
								fix: better error messages for invalid HTML trees ( #14445 )  
							
							... 
							
							
 
							
							* fix: better error messages for invalid HTML trees
closes  #13331 
* fix test
* more concise
* tweak
* tweak messages
* adjust tests
* tweak message slightly, so it doesn't sound like the bad element is the one we're currently encountering
* put locations in generated message
* tidy up
* consistency
* fix
---------
Co-authored-by: Rich Harris <rich.harris@vercel.com> 
							
						 
						
							11 months ago  
				
					
						
							
							
								 
						
							
							
								348185794d 
								
									
								
							
								 
							
						 
						
							
							
								
								docs: tweak slot docs ( #14543 )  
							
							
 
							
						 
						
							11 months ago  
				
					
						
							
							
								 
						
							
							
								4c4f18b24c 
								
									
								
							
								 
							
						 
						
							
							
								
								chore: fix docs ( #14538 )  
							
							
 
							
						 
						
							11 months ago  
				
					
						
							
							
								 
						
							
							
								fe0bd299a5 
								
									
								
							
								 
							
						 
						
							
							
								
								fix: proxify values when assigning using `||=`, `&&=` and `??=` operators ( #14273 )  
							
							... 
							
							
 
							
							* add failing test for #14268 
* simplify
* proxify values when using ||=, &&= and ??= assignment operators
* proxify values assigned to private state fields
* changeset
* fix
* fix
* add warning
* update test 
							
						 
						
							11 months ago  
				
					
						
							
							
								 
						
							
							
								d5a28a01a1 
								
									
								
							
								 
							
						 
						
							
							
								
								docs: fix typo in `$state` ( #14535 )  
							
							
 
							
						 
						
							11 months ago  
				
					
						
							
							
								 
						
							
							
								a5de086f95 
								
									
								
							
								 
							
						 
						
							
							
								
								feat: turn `reactive_declaration_non_reactive_property` into a runtime warning ( #14192 )  
							
							... 
							
							
 
							
							* turn `reactive_declaration_non_reactive_property` into a runtime warning
* ignore warning
* Update packages/svelte/src/internal/client/reactivity/effects.js
Co-authored-by: Simon H <5968653+dummdidumm@users.noreply.github.com>
* Update packages/svelte/src/internal/client/runtime.js
Co-authored-by: Simon H <5968653+dummdidumm@users.noreply.github.com>
* fix
* test
* changeset
* Update .changeset/witty-turtles-bake.md
Co-authored-by: Simon H <5968653+dummdidumm@users.noreply.github.com>
* add some details
* check
* regenerate
---------
Co-authored-by: Simon H <5968653+dummdidumm@users.noreply.github.com> 
							
						 
						
							11 months ago  
				
					
						
							
							
								 
						
							
							
								87863da6ff 
								
									
								
							
								 
							
						 
						
							
							
								
								docs: how to javascript ( #14528 )  
							
							
 
							
						 
						
							11 months ago  
				
					
						
							
							
								 
						
							
							
								8ad9295535 
								
									
								
							
								 
							
						 
						
							
							
								
								docs: hints on preserving reactivity ( #14514 )  
							
							
 
							
						 
						
							11 months ago  
				
					
						
							
							
								 
						
							
							
								3d36e15ddd 
								
									
								
							
								 
							
						 
						
							
							
								
								docs: add tsconfig.json info to TS docs ( #14519 )  
							
							... 
							
							
 
							
							Also fix adjacent code examples
closes  #14187  
							
						 
						
							11 months ago  
				
					
						
							
							
								 
						
							
							
								7142fa0b5c 
								
									
								
							
								 
							
						 
						
							
							
								
								docs: note requirement on 5.5.0 to export snippets ( #14523 )  
							
							
 
							
						 
						
							11 months ago  
				
					
						
							
							
								 
						
							
							
								4d2f2fb8e6 
								
									
								
							
								 
							
						 
						
							
							
								
								feat: allow snippets to be exported from module scripts ( #14315 )  
							
							... 
							
							
 
							
							* feat: allow snippets to be exported from module scripts
* tweak type
* fix issue + add test
* refactor
* refactor
* fix exports error
* fix lint
* fix lint
* error on undefined export
* hoisted snippets belong in transform state, not analysis
* put the code where it's used
* drop the local_. just binding. it's cleaner
* simplify
* simplify
* simplify
* simplify
* tidy up
* oops
* update message, add some details
* lint
* Apply suggestions from code review
* add some docs
* Update packages/svelte/src/compiler/phases/3-transform/utils.js
* Update .changeset/famous-parents-turn.md
---------
Co-authored-by: Rich Harris <rich.harris@vercel.com>
Co-authored-by: Simon H <5968653+dummdidumm@users.noreply.github.com> 
							
						 
						
							11 months ago  
				
					
						
							
							
								 
						
							
							
								abb90d8737 
								
									
								
							
								 
							
						 
						
							
							
								
								docs: fix grammatical error ( #14500 )  
							
							... 
							
							
 
							
							a instead of an before failed 
							
						 
						
							11 months ago  
				
					
						
							
							
								 
						
							
							
								a283083751 
								
									
								
							
								 
							
						 
						
							
							
								
								feat: each without as ( #14396 )  
							
							... 
							
							
 
							
							* feat: each without as
WIP
closes  #8348 
* properly
* docs
* changeset
* real world demo
* simplify
* typo
---------
Co-authored-by: Rich Harris <rich.harris@vercel.com> 
							
						 
						
							11 months ago  
				
					
						
							
							
								 
						
							
							
								9fcfd7f0d1 
								
									
								
							
								 
							
						 
						
							
							
								
								docs: note when boundaries were added ( #14487 )  
							
							
 
							
						 
						
							11 months ago  
				
					
						
							
							
								 
						
							
							
								ed7ebcde1e 
								
									
								
							
								 
							
						 
						
							
							
								
								feat: add error boundaries ( #14211 )  
							
							... 
							
							
 
							
							* feat: add error boundary support
tweak
tweak again
retry -> reset
tweaks
add tests
tweaks
tweaks
tweaks
more tests
more tests and tweaks
comments
tweak
tweak
tweak
tweak
tweak
* tweak
tweak
tweak
tweak
more fixes
tweak
tweak
more fixes
changeset
* Update packages/svelte/elements.d.ts
Co-authored-by: Simon H <5968653+dummdidumm@users.noreply.github.com>
* Update .changeset/polite-peaches-do.md
Co-authored-by: Simon H <5968653+dummdidumm@users.noreply.github.com>
* fix issue with rethrowing
* handle fallback error
* handle fallback error
* add more test coverage
* more tests
* more bug fixes
* guard against non-errors
* add component_stack to error
* alternative approach
* remove spread support
* lint
* add to legacy ast
* add to svelte-html
* disallow anything but attributes on the boundary element
* fix error
* more validation
* only create block when necessary
* swap argument order - results in nicer-looking code in many cases
* Update .changeset/polite-peaches-do.md
* simplify a bit
* simplify
* move declaration closer to usage
* push once
* unused
* tweaks
* consistent naming
* simplify
* add a couple newlines
* tweak comments
* simplify
* newlines
* placeholder documentation
* add some docs
* Update packages/svelte/src/internal/client/dom/blocks/boundary.js
Co-authored-by: Rich Harris <rich.harris@vercel.com>
* Update packages/svelte/src/internal/client/dom/blocks/boundary.js
Co-authored-by: Rich Harris <rich.harris@vercel.com>
* Update packages/svelte/src/internal/client/dom/blocks/boundary.js
Co-authored-by: Rich Harris <rich.harris@vercel.com>
* fix type
* fix link
* explain what happens if onerror throws
---------
Co-authored-by: Simon H <5968653+dummdidumm@users.noreply.github.com>
Co-authored-by: Simon Holthausen <simon.holthausen@vercel.com>
Co-authored-by: Rich Harris <rich.harris@vercel.com> 
							
						 
						
							11 months ago  
				
					
						
							
							
								 
						
							
							
								97185eb3d5 
								
									
								
							
								 
							
						 
						
							
							
								
								docs Update 03-typescript.md ( #14382 )  
							
							... 
							
							
 
							
							* Update 03-typescript.md
Fix TS error: Cannot invoke an object which is possibly 'undefined'.
* Update 03-typescript.md
---------
Co-authored-by: Rich Harris <hello@rich-harris.dev> 
							
						 
						
							11 months ago  
				
					
						
							
							
								 
						
							
							
								24ebbcbbc1 
								
									
								
							
								 
							
						 
						
							
							
								
								docs: use e.detail instead of e.details in migration examples ( #14340 )  
							
							
 
							
						 
						
							12 months ago  
				
					
						
							
							
								 
						
							
							
								6373641045 
								
									
								
							
								 
							
						 
						
							
							
								
								docs: add example to "state instead of stores" ( #14310 )  
							
							... 
							
							
 
							
							closes  #13879  
						
							12 months ago  
				
					
						
							
							
								 
						
							
							
								7fd3774015 
								
									
								
							
								 
							
						 
						
							
							
								
								fix: disallow invalid attributes for `<svelte:window>` and `<svelte:document>` ( #14228 )  
							
							
 
							
						 
						
							12 months ago  
				
					
						
							
							
								 
						
							
							
								1e5a385c96 
								
									
								
							
								 
							
						 
						
							
							
								
								docs: fix typo ( #14232 )  
							
							
 
							
						 
						
							12 months ago  
				
					
						
							
							
								 
						
							
							
								6534742ae1 
								
									
								
							
								 
							
						 
						
							
							
								
								docs: fix grammar ( #14244 )  
							
							... 
							
							
 
							
							Co-authored-by: Ben McCann <322311+benmccann@users.noreply.github.com> 
							
						 
						
							12 months ago  
				
					
						
							
							
								 
						
							
							
								5ce1159ec3 
								
									
								
							
								 
							
						 
						
							
							
								
								Update 03-typescript.md ( #14197 )  
							
							
 
							
						 
						
							12 months ago  
				
					
						
							
							
								 
						
							
							
								26d109cb11 
								
									
								
							
								 
							
						 
						
							
							
								
								docs: `SvelteHTMLElements` can be used for creating component wrapper ( #14162 )  
							
							
 
							
						 
						
							12 months ago  
				
					
						
							
							
								 
						
							
							
								3d67cd53db 
								
									
								
							
								 
							
						 
						
							
							
								
								docs: fix migration guide typo ( #14155 )  
							
							
 
							
						 
						
							12 months ago  
				
					
						
							
							
								 
						
							
							
								87d83ffa39 
								
									
								
							
								 
							
						 
						
							
							
								
								Add same note as in tutorial to doc. ( #14136 )  
							
							... 
							
							
 
							
							Co-authored-by: Rich Harris <rich.harris@vercel.com> 
							
						 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								8731f4f780 
								
									
								
							
								 
							
						 
						
							
							
								
								docs: note what the value of `this` can be on `svelte:element` ( #14117 )  
							
							... 
							
							
 
							
							closes  #7575  
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								a952860232 
								
									
								
							
								 
							
						 
						
							
							
								
								docs: more docs on TS types ( #14065 )  
							
							... 
							
							
 
							
							* docs: more docs on TS types
and a few related changes/enhancements
closes  #13940 
* Apply suggestions from code review
* adjust
* Apply suggestions from code review
* Update documentation/docs/07-misc/03-typescript.md
* Update documentation/docs/07-misc/03-typescript.md
* Update documentation/docs/07-misc/03-typescript.md
---------
Co-authored-by: Rich Harris <rich.harris@vercel.com> 
							
						 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								8d0937a534 
								
									
								
							
								 
							
						 
						
							
							
								
								docs: fix compilation error ( #14121 )  
							
							
 
							
						 
						
							1 year ago