555e90f932 
								
									
								
							
								 
							
						 
						
							
							
								
								Version Packages (next) ( #12825 )  
							
							... 
							
							
 
							
							Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> 
							
						 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								c51dfcfc00 
								
									
								
							
								 
							
						 
						
							
							
								
								feat: warn on invalid event handlers ( #12818 )  
							
							... 
							
							
 
							
							* feat: warn on invalid event handlers
* handle assignments etc
* handle component events too where possible
* lint 
							
						 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								c2fb1a6df1 
								
									
								
							
								 
							
						 
						
							
							
								
								Version Packages (next) ( #12816 )  
							
							... 
							
							
 
							
							Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> 
							
						 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								dfb6755514 
								
									
								
							
								 
							
						 
						
							
							
								
								feat: add compiler error when encountering a $-prefixed store value outside a `.svelte` file ( #12799 )  
							
							... 
							
							
 
							
							* feat: add compiler error when encountering a $-prefixed store value outside a .svelte file
* add fromState/toState APIs
* another test, update types
* rename fromState to toStore, and toState to fromStore
* docs
* add docs
* separate client/server entry points for svelte/store 
							
						 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								9f17f766b7 
								
									
								
							
								 
							
						 
						
							
							
								
								Version Packages (next) ( #12811 )  
							
							... 
							
							
 
							
							Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> 
							
						 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								7cbd188f80 
								
									
								
							
								 
							
						 
						
							
							
								
								breaking: replace `$state.frozen` with `$state.raw` ( #12808 )  
							
							... 
							
							
 
							
							* breaking: replace `$state.frozen` with `$state.raw`
* regenerate
* rename
* rename
* rename
* rename
* rename
* rename
* rename
* rename
* rename
* typo
* add compiler error for existing `$state.frozen` uses
* regenerate
* rename
* tidy up
* move proxy logic into props function 
							
						 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								fa5d3a9002 
								
									
								
							
								 
							
						 
						
							
							
								
								fix: ensure inspect effects are skipped from effect parent logic ( #12810 )  
							
							
 
							
						 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								b462c8d2e9 
								
									
								
							
								 
							
						 
						
							
							
								
								Version Packages (next) ( #12805 )  
							
							... 
							
							
 
							
							Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> 
							
						 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								cbcd7617c4 
								
									
								
							
								 
							
						 
						
							
							
								
								feat: deprecate `svelte:component` ( #12694 )  
							
							... 
							
							
 
							
							* feat: deprecate `svelte:component`
Co-authored-by: Oscar Dominguez <dominguez.celada@gmail.com>
* move logic into the visitor
* tweak docs
---------
Co-authored-by: Oscar Dominguez <dominguez.celada@gmail.com>
Co-authored-by: Rich Harris <rich.harris@vercel.com> 
							
						 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								5094cb9e89 
								
									
								
							
								 
							
						 
						
							
							
								
								feat: treat tag with `.` as a component, even if lowercase ( #12798 )  
							
							... 
							
							
 
							
							* feat: treat tag with `.` as a component, even if lowercase
* changeset
* consistency
* note breaking change
* oops, wrong place 
							
						 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								09db33979d 
								
									
								
							
								 
							
						 
						
							
							
								
								Version Packages (next) ( #12797 )  
							
							... 
							
							
 
							
							* Version Packages (next)
* Update CHANGELOG.md
---------
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Rich Harris <rich.harris@vercel.com> 
							
						 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								7ae21ea97d 
								
									
								
							
								 
							
						 
						
							
							
								
								feat: make <svelte:option> customElement configuration's tag property optional ( #12751 ) ( #12754 )  
							
							... 
							
							
 
							
							* feat: make svelte:option customElement tag property optional (#12751 )
* tweak comment
* tweak docs
* tweak some more wording
* Update .changeset/four-kids-flow.md
---------
Co-authored-by: Rich Harris <rich.harris@vercel.com>
Co-authored-by: Rich Harris <hello@rich-harris.dev> 
							
						 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								97c0150b00 
								
									
								
							
								 
							
						 
						
							
							
								
								fix: improved memory profile for transitions/animations ( #12796 )  
							
							... 
							
							
 
							
							* fix: improved memory profile for transitions/animations
* put back the catch 
							
						 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								4aa6059712 
								
									
								
							
								 
							
						 
						
							
							
								
								Version Packages (next) ( #12795 )  
							
							... 
							
							
 
							
							Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> 
							
						 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								d2efca0b04 
								
									
								
							
								 
							
						 
						
							
							
								
								fix: prevent numerous transition/animation memory leaks ( #12759 )  
							
							... 
							
							
 
							
							* fix: prevent numerous transition/animation memory leaks
* address feedback
* tweak 
							
						 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								ba116a1b43 
								
									
								
							
								 
							
						 
						
							
							
								
								fix: propagate custom element component prop changes ( #12774 )  
							
							... 
							
							
 
							
							* fix: propagate custom element component prop changes
* add test 
							
						 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								a0bbf2ace0 
								
									
								
							
								 
							
						 
						
							
							
								
								Version Packages (next) ( #12794 )  
							
							... 
							
							
 
							
							Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> 
							
						 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								57a7b0cd48 
								
									
								
							
								 
							
						 
						
							
							
								
								chore: transformers ( #12780 )  
							
							... 
							
							
 
							
							* clear out getters on new scope
* fix
* fix
* fix
* fix
* consolidate legacy_reactive_import logic
* unused
* $$sanitized_props
* use getters mechanism for store_sub
* snapshot
* fix
* tests passing
* remove some stuff
* more
* fix
* tidy up
* simplify
* simplify
* getters -> transformers
* update
* use update transformers
* add assign transformer
* more
* tweak
* remove junk
* unused
* simplify
* tidy up
* tweak
* assign_property
* fix
* tidy up
* tidy up
* move store code
* this appears to be unused
* tidy up
* tweak
* simplify
* move code
* move stuff
* note to self
* move stuff
* each blocks
* note to self
* lengthen stack trace
* tweak
* more
* tidy up
* tidy up
* remove some junk
* tidy up
* move stuff
* remove stuff
* tweak
* tweak
* fix
* tweak
* tidy up
* tidy up
* tidy up
* tweak
* simplify
* tidy up
* simplify
* tidy up
* improve output
* delete comments
* more
* unused
* tidy up
* tidy up
* fix
* move some stuff
* tweak
* tidy up
* DRY
* synchronise
* DRY out
* tidy up
* tidy up
* tidy up
* add test that fails on main
* snapshot test
* changesets
* lint
* ugh 
							
						 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								536be645fa 
								
									
								
							
								 
							
						 
						
							
							
								
								fix: ensure custom element styles append correctly during prod ( #12777 )  
							
							... 
							
							
 
							
							* fix: ensure custom element styles append correctly during prod
* fix
* fix
* fix
* feedback
* only add third argument for custom elements
---------
Co-authored-by: Rich Harris <rich.harris@vercel.com> 
							
						 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								1a3dbda20c 
								
									
								
							
								 
							
						 
						
							
							
								
								Version Packages (next) ( #12789 )  
							
							... 
							
							
 
							
							Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> 
							
						 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								d8954d7add 
								
									
								
							
								 
							
						 
						
							
							
								
								fix: ensure custom elements do not sync flush on mount ( #12787 )  
							
							... 
							
							
 
							
							* fix: ensure Svelte4Components do not sync flush
* fix: ensure Svelte4Components do not sync flush
* lint
* feedback
* simplify test, remove redundant comments
* prettier
* fix test
---------
Co-authored-by: Rich Harris <rich.harris@vercel.com> 
							
						 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								057316ccd1 
								
									
								
							
								 
							
						 
						
							
							
								
								chore: simpler fallback values ( #12788 )  
							
							... 
							
							
 
							
							* DRY
* value_or_fallback_async doesnt do anything
* rename value_or_fallback to fallback
* DRY
* DRY
* make lazy the exception
* changeset 
							
						 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								19819d0477 
								
									
								
							
								 
							
						 
						
							
							
								
								fix: provide more hydration mismatch coverage ( #12755 )  
							
							... 
							
							
 
							
							* fix: provide more hydration mismatch coverage
* tweak
* add test for safari borking stuff
* fix
* fix windows test
* failing test
* oops
* revert playground changes
* simplify
* template content hydration logic should really be separate from reset logic
* actually the test is incorrect, and now i cant seem to recreate what i saw before... hmm
* update comment to no longer mention templates
* failing test
* delete test for now
---------
Co-authored-by: Rich Harris <rich.harris@vercel.com> 
							
						 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								c32a91891f 
								
									
								
							
								 
							
						 
						
							
							
								
								fix: ensure event handlers referencing $host are not hoisted ( #12775 )  
							
							
 
							
						 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								9ff33f1346 
								
									
								
							
								 
							
						 
						
							
							
								
								Version Packages (next) ( #12786 )  
							
							... 
							
							
 
							
							Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> 
							
						 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								7de3e3b703 
								
									
								
							
								 
							
						 
						
							
							
								
								feat: simplify derived object destructuring ( #12781 )  
							
							... 
							
							
 
							
							* simplify derived object destructuring
* add test for destructuring an array
* add changeset
* shorter temp variable name
* skip intermediate derived for simple cases
---------
Co-authored-by: Rich Harris <rich.harris@vercel.com> 
							
						 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								d6e26c0953 
								
									
								
							
								 
							
						 
						
							
							
								
								chore: speed up exclude_from_object ( #12783 )  
							
							... 
							
							
 
							
							* speed up exclude_from_object
* changeset
* convert prop names to string at compile time
* faster still
---------
Co-authored-by: Rich Harris <rich.harris@vercel.com> 
							
						 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								9f28503bef 
								
									
								
							
								 
							
						 
						
							
							
								
								chore: publish package provenance info ( #12779 )  
							
							
 
							
						 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								37020384ca 
								
									
								
							
								 
							
						 
						
							
							
								
								Version Packages (next) ( #12750 )  
							
							... 
							
							
 
							
							Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> 
							
						 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								ec8a029db4 
								
									
								
							
								 
							
						 
						
							
							
								
								fix: skip `is_standalone` optimisation for dynamic components ( #12767 )  
							
							... 
							
							
 
							
							* fix: skip `is_standalone` optimisation for dynamic components
* changeset 
							
						 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								60148d3352 
								
									
								
							
								 
							
						 
						
							
							
								
								fix: order of arguments for `push_element` in `svelte:element` ( #12763 )  
							
							... 
							
							
 
							
							* fix: order of arguments for `push_element` in `svelte:element`
* chore: move test to runtime
* fix: add line and column to function call 
							
						 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								1942f87ed9 
								
									
								
							
								 
							
						 
						
							
							
								
								fix: improve prop binding warning validation for stores ( #12745 )  
							
							... 
							
							
 
							
							* fix: improve prop binding warning validation for stores
* ts
* address feedback
* add comment
* failing test
* fix/simplify
---------
Co-authored-by: Rich Harris <rich.harris@vercel.com> 
							
						 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								d06174e461 
								
									
								
							
								 
							
						 
						
							
							
								
								chore: add error for derived self referencing ( #12746 )  
							
							... 
							
							
 
							
							* chore: add warning for derived self referencin
* update build
* address feedback
* address feedback
* build
* messages shouldn't end with a period
* simplify test
* regenerate
* newlines are free
* no need to export this, we can move it closer to where it's used
* fix double negative
---------
Co-authored-by: Rich Harris <rich.harris@vercel.com> 
							
						 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								bd9a2d2077 
								
									
								
							
								 
							
						 
						
							
							
								
								fix: ensure unowned deriveds correctly update ( #12747 )  
							
							
 
							
						 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								98ae05b569 
								
									
								
							
								 
							
						 
						
							
							
								
								Version Packages (next) ( #12741 )  
							
							... 
							
							
 
							
							Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> 
							
						 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								e747a6f75d 
								
									
								
							
								 
							
						 
						
							
							
								
								Version Packages (next) ( #12718 )  
							
							... 
							
							
 
							
							Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> 
							
						 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								59ea0b9e13 
								
									
								
							
								 
							
						 
						
							
							
								
								fix: better event handling ( #12722 )  
							
							... 
							
							
 
							
							* simplify
* fix/simplify
* fix/simplify
* start getting a grip of this mess
* tidy up
* more
* more
* more
* tidy up
* make things a bit less weird
* tweak
* more
* more
* add once once
* consolidate event handling code
* some progress. man, this stuff is entangled
* more
* tidy up
* simplify
* simplify
* more
* fix
* fix test names
* fix a bug
* tidy up
* changeset
* simplify
* regenerate
* tidy up
* tidy up
* tidy up
* simplify
* the module declaration case is already accounted for, above
* simplify/document
* typo
* "hoistable" is a misnomer
* hoist non_hoistable, rename
* more typos
* tweak
* regenerate 
							
						 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								e78cfd393e 
								
									
								
							
								 
							
						 
						
							
							
								
								fix: correctly handle SvelteDate methods with arguments ( #12738 )  
							
							... 
							
							
 
							
							* fix: correctly handle SvelteDate methods with arguments
* tweak
* Update packages/svelte/src/reactivity/date.js
* Update packages/svelte/src/reactivity/date.js
Co-authored-by: Rich Harris <rich.harris@vercel.com>
* Update packages/svelte/src/reactivity/date.test.ts
---------
Co-authored-by: Rich Harris <rich.harris@vercel.com> 
							
						 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								8bde2d5710 
								
									
								
							
								 
							
						 
						
							
							
								
								fix: add touch events on microtask to avoid Chromium bug ( #12735 )  
							
							
 
							
						 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								76cb89c750 
								
									
								
							
								 
							
						 
						
							
							
								
								fix: allow deletion of $$restProps properties ( #12736 )  
							
							
 
							
						 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								e66416bec7 
								
									
								
							
								 
							
						 
						
							
							
								
								feat: more efficient code generation when referencing globals ( #12712 )  
							
							... 
							
							
 
							
							* feat: more efficient code generation when referencing globals
* update test 
							
						 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								93cfa6cd69 
								
									
								
							
								 
							
						 
						
							
							
								
								fix: add css hash to custom element rendered with `svelte:element` ( #12715 )  
							
							... 
							
							
 
							
							* fix: add css hash to custom element rendered with `svelte:element`
* simplify
* skip arg where possible
* drive-by improvements — remove some unnecessary arguments where possible
---------
Co-authored-by: Rich Harris <rich.harris@vercel.com> 
							
						 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								8e04a91c67 
								
									
								
							
								 
							
						 
						
							
							
								
								Version Packages (next) ( #12707 )  
							
							... 
							
							
 
							
							Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> 
							
						 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								3286617e3c 
								
									
								
							
								 
							
						 
						
							
							
								
								feat: function called as tagged template literal is reactively called ( #12692 )  
							
							... 
							
							
 
							
							* feat: function called as tagged template literal is reactively called
Co-authored-by: Oscar Dominguez <dominguez.celada@gmail.com>
* chore: re-organize import of visitors
* simplify
---------
Co-authored-by: Oscar Dominguez <dominguez.celada@gmail.com>
Co-authored-by: Rich Harris <rich.harris@vercel.com> 
							
						 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								e4e66e237f 
								
									
								
							
								 
							
						 
						
							
							
								
								feat: allow for `svelte:options` css injected ( #12660 )  
							
							... 
							
							
 
							
							* feat: allow for `svelte:options` css injected
* chore: update test with different class
* fix: regenerate types
* remove external option
* regenerate
* Update .changeset/eight-comics-tell.md
* fix
---------
Co-authored-by: Rich Harris <rich.harris@vercel.com>
Co-authored-by: Rich Harris <hello@rich-harris.dev> 
							
						 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								be28f8256b 
								
									
								
							
								 
							
						 
						
							
							
								
								Version Packages (next) ( #12699 )  
							
							... 
							
							
 
							
							Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> 
							
						 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								31659508b0 
								
									
								
							
								 
							
						 
						
							
							
								
								fix: only create `document.title` effect if value is dynamic ( #12698 )  
							
							... 
							
							
 
							
							* fix: dont create an effect for static title
* improve build_template_literal
* tidy up
* changeset
* simplify
* simplify
* tweak 
							
						 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								a1db4931ff 
								
									
								
							
								 
							
						 
						
							
							
								
								Version Packages (next) ( #12682 )  
							
							... 
							
							
 
							
							Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> 
							
						 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								038754bfc6 
								
									
								
							
								 
							
						 
						
							
							
								
								chore: client transform visitors refactor ( #12683 )  
							
							... 
							
							
 
							
							* start refactoring client transform visitor code
* more
* more
* more
* more
* more
* more
* more
* more
* more
* more
* more
* more
* more
* more
* more
* tweak
* painful
* more
* simplify
* more
* more
* more
* more
* more
* tidy up
* changeset 
							
						 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								9eca3d0736 
								
									
								
							
								 
							
						 
						
							
							
								
								fix: allow nested `<dt>`/`<dd>` elements if they are within a `<dl>` element ( #12681 )  
							
							... 
							
							
 
							
							* fix: allow nested `<dt>`/`<dd>` elements if they are within a `<dl>` element
This introduces a resets array, which means descendants that are forbidden are allowed again, if an element within the resets array is encountered between the tag and the forbidden descendant
fixes  #12676 
* better name 
							
						 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								9411b6f9f1 
								
									
								
							
								 
							
						 
						
							
							
								
								Version Packages (next) ( #12680 )  
							
							... 
							
							
 
							
							Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> 
							
						 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								01e7845180 
								
									
								
							
								 
							
						 
						
							
							
								
								fix: always synchronously call `bind:this` ( #12679 )  
							
							... 
							
							
 
							
							fixes  #12673 
#12591  wrongfully applied the "wrap in effect if an action on this element" logic for `bind:this` 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								21da63ddb6 
								
									
								
							
								 
							
						 
						
							
							
								
								Version Packages (next) ( #12670 )  
							
							... 
							
							
 
							
							Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> 
							
						 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								5a05f6371a 
								
									
								
							
								 
							
						 
						
							
							
								
								chore: perf tweaks for actions/styles/classes ( #12654 )  
							
							... 
							
							
 
							
							* chore: perf tweaks for actions/styles/classes
- check if we really need to add/remove the class (calling `includes` first is cheaper than always setting/removing it)
- check if we really need to update a style (calling `getPropertyValue/setProperty` is expensive)
- check if we should call the action's update function (this is not only a perf tweak but also a correctness fix)
closes  #12652 
* changeset
---------
Co-authored-by: Rich Harris <rich.harris@vercel.com> 
							
						 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								64d2a2e20c 
								
									
								
							
								 
							
						 
						
							
							
								
								feat: allow ignoring runtime warnings ( #12608 )  
							
							... 
							
							
 
							
							* feat: allow ignoring binding_property_non_reactive
* chore: add comments before `to_ignore`
* chore: fix warnings regeneration
* chore: include client warnings code in svelte ignore extract
* feat: allow ignoring state_snapshot_uncloneable
* chore: abstract ignore into function
* feat: allow skipping of `hydration_attribute_changed`
* feat: allow skip of `hydration_html_changed`
* feat: allow skipping `ownership_invalid_binding`
* chore: revert extracting codes and use hardcoded list
* chore: update changeset
* feat: allow skipping `ownership_invalid_mutation`
* is_to_ignore -> is_ignored
* make is_ignored type safe
* tweak
* tweak naming
* tweak
* remove extra args
* comment is redundant, code contains enough information
* remove more unwanted args
* lint
---------
Co-authored-by: Rich Harris <rich.harris@vercel.com> 
							
						 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								2d9bc2565f 
								
									
								
							
								 
							
						 
						
							
							
								
								Version Packages (next) ( #12667 )  
							
							... 
							
							
 
							
							Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> 
							
						 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								71c373d0a5 
								
									
								
							
								 
							
						 
						
							
							
								
								chore: refactor analysis ( #12651 )  
							
							... 
							
							
 
							
							* start moving visitors into separate modules
* remove unused code
* more
* more
* tidy up
* more
* more
* more
* more
* more
* more
* more
* more
* more
* more
* more
* alphabetize
* more
* fix
* more
* more
* consolidate
* more
* more
* more
* more
* more
* more
* more
* tweak
* more
* more
* more
* more
* more
* more
* more
* more
* more
* more
* jfc what are we doing here
* more
* bizarre
* more
* more
* more
* more
* more
* more
* tidy
* one down
* dont merge
* hmm
* DRY
* more
* more
* tidy up
* tidy up
* add changeset, as this should have its own release
* tidy up
* oh i should probably hit save 
							
						 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								8be7dd558b 
								
									
								
							
								 
							
						 
						
							
							
								
								feat: make `<svelte:component>` unnecessary in runes mode ( #12646 )  
							
							... 
							
							
 
							
							* feat: make `<svelte:component>` unnecessary in runes mode
In Svelte 4, writing `<Component />` meant that the component instance is static. If you made the variable `Component` a reactive state variable and updated the component value, the component would not be reinstantiated with the new value - you had to use `<svelte:component>` for that. One reason was that having a dynamic component was more overhead, which is no longer the case in Svelte 5. We can therefore reduce the potential API surface area (by maybe deprecating `<svelte:component>` in the future) by allowing Svelte to recognize when a component variable is potentially dynamic. It turned out that this was already mostly the case. This PR fixes one case where it wasn't, and fixes another where this was wrongfully applied in legacy mode.
* we already have this function
* add interactive demos
* changeset
---------
Co-authored-by: Rich Harris <rich.harris@vercel.com> 
							
						 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								00e8ebde1d 
								
									
								
							
								 
							
						 
						
							
							
								
								fix: widen `ComponentProps` constraint to accept more component shapes ( #12666 )  
							
							... 
							
							
 
							
							language tools has to type its own shape for backwards compatibility, and it currently doesn't include the `$on` and `$set` methods, which means without widening the type as done here you would get a "this shape is not accepted" type error when passing it to `ComponentProps`
closes  #12627  
							
						 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								ee1a3df835 
								
									
								
							
								 
							
						 
						
							
							
								
								Version Packages (next) ( #12650 )  
							
							... 
							
							
 
							
							Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> 
							
						 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								32c4e47060 
								
									
								
							
								 
							
						 
						
							
							
								
								fix: always set draggable through `setAttribute` to avoid weird behavior ( #12649 )  
							
							... 
							
							
 
							
							Closes  #12643 
Very weird behaviour from the draggable setter...if you set element.draggable="false" it will actually set draggable to true (the boolean). 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								e417d3a2d2 
								
									
								
							
								 
							
						 
						
							
							
								
								fix: remove implicit passive behavior from OnDirective events ( #12645 )  
							
							... 
							
							
 
							
							Fixes  #12639  
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								5817767a87 
								
									
								
							
								 
							
						 
						
							
							
								
								Version Packages (next) ( #12641 )  
							
							... 
							
							
 
							
							Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> 
							
						 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								5d82cf1f03 
								
									
								
							
								 
							
						 
						
							
							
								
								feat: remove `$.unwrap` calls from `bind:group` ( #12642 )  
							
							... 
							
							
 
							
							* add each.metadata.keyed
* simplify
* feat: remove `$.unwrap` from `bind:group` code
* changeset
* regenerate types 
							
						 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								219ba6a71b 
								
									
								
							
								 
							
						 
						
							
							
								
								fix: error on `bind:this` to each block parameter ( #12638 )  
							
							... 
							
							
 
							
							* chore: remove outdated comment
* fix: error on `bind:this` to each block parameter 
							
						 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								7af0e604d8 
								
									
								
							
								 
							
						 
						
							
							
								
								feat: remove `$.unwrap` calls from each block indexes ( #12640 )  
							
							... 
							
							
 
							
							* remove $.unwrap from key functions
* feat: remove `$.unwrap` calls from each block indexes
* tweak 
							
						 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								1d17677131 
								
									
								
							
								 
							
						 
						
							
							
								
								Version Packages (next) ( #12613 )  
							
							... 
							
							
 
							
							Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> 
							
						 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								32af9434bc 
								
									
								
							
								 
							
						 
						
							
							
								
								fix: never set custom element props as attributes ( #12622 )  
							
							... 
							
							
 
							
							* fix: never set custom element props as attributes
* changeset
---------
Co-authored-by: Rich Harris <rich.harris@vercel.com> 
							
						 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								97d5cf178f 
								
									
								
							
								 
							
						 
						
							
							
								
								chore: simplify assignments in server code ( #12614 )  
							
							... 
							
							
 
							
							Also fixes an uncovered bug where store `+=/-=` etc assignments were not serialized correctly on the server 
							
						 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								c66d2cfcc1 
								
									
								
							
								 
							
						 
						
							
							
								
								feat: better code generation for `let:` directives in SSR mode ( #12611 )  
							
							... 
							
							
 
							
							* better code generation for slot props in SSR
* simplify
* remove getters mechanism from server compiler
* changeset
* no need to use getters in SSR mode
* fix comment 
							
						 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								beea5c3772 
								
									
								
							
								 
							
						 
						
							
							
								
								Version Packages (next) ( #12609 )  
							
							... 
							
							
 
							
							Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Rich Harris <rich.harris@vercel.com> 
							
						 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								ff27753742 
								
									
								
							
								 
							
						 
						
							
							
								
								Version Packages (next) ( #12583 )  
							
							... 
							
							
 
							
							Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> 
							
						 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								13d86e9019 
								
									
								
							
								 
							
						 
						
							
							
								
								feat: allow `:global` in more places (alternative) ( #12560 )  
							
							... 
							
							
 
							
							* `div { :global { &.x { ... } } }` is equivalent to `div:global.x { ... }`, so the latter should be allowed, too
* finalize
* replace obsolete breaking change (which turned out to be a wrong change and was since reverted), add new breaking change note
* changeset
* regenerate types
* Update sites/svelte-5-preview/src/routes/docs/content/03-appendix/02-breaking-changes.md
Co-authored-by: Rich Harris <rich.harris@vercel.com>
* always remove descendant selector before global
* error on lone `:global` with nested `&`, revert "remove spaces" rule
* regenerate types
* documentation
* oops
* switch to removing descendant combinator
* fix
* revert combinator validation relaxation
* error on first global being modified
* tweak docs
* tweak error messages
* Update documentation/docs/02-template-syntax/05-styles-and-classes.md
Co-authored-by: Rich Harris <rich.harris@vercel.com>
* clarify
* tweak messages
* update tests
* tweak docs
* tweak `:global(...)` docs
* tweak docs
---------
Co-authored-by: Rich Harris <rich.harris@vercel.com> 
							
						 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								5a07219836 
								
									
								
							
								 
							
						 
						
							
							
								
								fix: add missing hydration mismatch call-site ( #12604 )  
							
							... 
							
							
 
							
							* fix: add missing hydration mismatch call-site
* add changeset
* Update playgrounds/demo/index.html
Co-authored-by: Conduitry <git@chor.date>
---------
Co-authored-by: Conduitry <git@chor.date> 
							
						 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								afa3128d2f 
								
									
								
							
								 
							
						 
						
							
							
								
								breaking: avoid flushing queued updates on mount/hydrate ( #12602 )  
							
							... 
							
							
 
							
							* Revert "Revert "breaking: avoid flushing queued updates on mount/hydrate" (#1…"
This reverts commit 8d139210b7 
							
						 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								7a8cf3a9a1 
								
									
								
							
								 
							
						 
						
							
							
								
								fix: ensure directives run in sequential order ( #12591 )  
							
							... 
							
							
 
							
							Co-authored-by: Rich Harris <rich.harris@vercel.com> 
							
						 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								8d139210b7 
								
									
								
							
								 
							
						 
						
							
							
								
								Revert "breaking: avoid flushing queued updates on mount/hydrate" ( #12593 )  
							
							... 
							
							
 
							
							* Revert "breaking: avoid flushing queued updates on mount/hydrate (#12587 )"
This reverts commit 20b879717a 
							
						 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								20b879717a 
								
									
								
							
								 
							
						 
						
							
							
								
								breaking: avoid flushing queued updates on mount/hydrate ( #12587 )  
							
							... 
							
							
 
							
							* breaking: avoid flushing queued updates on mount/hydrat
* Fix tests
* Update packages/svelte/src/internal/client/render.js
Co-authored-by: Rich Harris <rich.harris@vercel.com>
* tweak
* tweak
---------
Co-authored-by: Rich Harris <rich.harris@vercel.com> 
							
						 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								abaa4413df 
								
									
								
							
								 
							
						 
						
							
							
								
								fix: tweak element_invalid_self_closing_tag to exclude namespace ( #12585 )  
							
							
 
							
						 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								37f58cf318 
								
									
								
							
								 
							
						 
						
							
							
								
								fix: apply dynamic event fixes to OnDirective ( #12582 )  
							
							... 
							
							
 
							
							* fix: apply dynamic event fixes to OnDirective
* build 
							
						 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								c18221dcc3 
								
									
								
							
								 
							
						 
						
							
							
								
								Version Packages (next) ( #12579 )  
							
							... 
							
							
 
							
							Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> 
							
						 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								c0832fd85d 
								
									
								
							
								 
							
						 
						
							
							
								
								fix: exclude `bind:this` from reactive state validation ( #12566 )  
							
							
 
							
						 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								cf8df0bacc 
								
									
								
							
								 
							
						 
						
							
							
								
								chore: remove `binding.expression` ( #12530 )  
							
							... 
							
							
 
							
							* add state.getters as alternative to binding.expression
* on second thoughts
* fix
* first of many
* couple more
* regenerate types
* more
* another
* more
* another
* another
* another
* remove binding.expression from client-side code
* tweak
* last one
* comment
* regenerate types
* add a changeset
* small tidy up
* simplify
* simplify
* simplify and fix
* simplify 
							
						 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								9b512ca91d 
								
									
								
							
								 
							
						 
						
							
							
								
								Version Packages (next) ( #12576 )  
							
							... 
							
							
 
							
							Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> 
							
						 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								9f3ed8968f 
								
									
								
							
								 
							
						 
						
							
							
								
								fix: correctly set anchor inside HMR block ( #12575 )  
							
							
 
							
						 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								5669c7de4f 
								
									
								
							
								 
							
						 
						
							
							
								
								Version Packages (next) ( #12552 )  
							
							... 
							
							
 
							
							Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> 
							
						 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								d17755a8b5 
								
									
								
							
								 
							
						 
						
							
							
								
								fix: ensure dynamic event handlers are wrapped in a derived ( #12563 )  
							
							... 
							
							
 
							
							* fix: ensure dynamic event handlers are wrapped in a derived
* fix test
* feedback
* more feedback
* address feedback
* we have .svelte.js files
---------
Co-authored-by: Rich Harris <rich.harris@vercel.com> 
							
						 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								d73c5b8434 
								
									
								
							
								 
							
						 
						
							
							
								
								fix: ensure $state.snapshot correctly clones Date objects ( #12564 )  
							
							
 
							
						 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								7b2279d84c 
								
									
								
							
								 
							
						 
						
							
							
								
								chore: tidy up dynamic event handler generated code ( #12553 )  
							
							... 
							
							
 
							
							* chore: tidy up dynamic event handler generated code
* actually we need a proper function 
							
						 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								e2b75d1a6e 
								
									
								
							
								 
							
						 
						
							
							
								
								fix: properly update store values ( #12562 )  
							
							... 
							
							
 
							
							We need to extend the "don't use `set` on first run" logic to the falsy branch aswell
Fixes  #12558  
							
						 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								72f5539f51 
								
									
								
							
								 
							
						 
						
							
							
								
								fix: remove runtime validation of components/snippets, rely on types instead ( #12507 )  
							
							... 
							
							
 
							
							closes  #12446  
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								90d6f573e3 
								
									
								
							
								 
							
						 
						
							
							
								
								fix: dynamic event delegation for stateful call expressions ( #12549 )  
							
							
 
							
						 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								55400fd16c 
								
									
								
							
								 
							
						 
						
							
							
								
								Version Packages (next) ( #12548 )  
							
							... 
							
							
 
							
							Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> 
							
						 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								6fdfc537e4 
								
									
								
							
								 
							
						 
						
							
							
								
								fix: update original source in HMR update ( #12547 )  
							
							... 
							
							
 
							
							* fix: update original source in HMR update
* tidy up
* comments
* oops 
							
						 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								53d32d4dfe 
								
									
								
							
								 
							
						 
						
							
							
								
								Version Packages (next) ( #12536 )  
							
							... 
							
							
 
							
							Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> 
							
						 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								73ac4fe456 
								
									
								
							
								 
							
						 
						
							
							
								
								fix: only emit binding_property_non_reactive warning in runes mode ( #12544 )  
							
							
 
							
						 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								fd5cfd77d8 
								
									
								
							
								 
							
						 
						
							
							
								
								fix: correctly set filename on HMR wrappers ( #12543 )  
							
							... 
							
							
 
							
							* fix: correctly set filename on HMR wrappers
* changeset 
							
						 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								346cf96599 
								
									
								
							
								 
							
						 
						
							
							
								
								fix: bail-out of hydrating head if no anchor is found ( #12541 )  
							
							... 
							
							
 
							
							* fix: bail-out of hydrating head if no anchor is found
* add failing test
* fix
* fix comment
---------
Co-authored-by: Rich Harris <rich.harris@vercel.com> 
							
						 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								518d9854f5 
								
									
								
							
								 
							
						 
						
							
							
								
								chore: add warning for invalid render function of createRawSnippet ( #12535 )  
							
							... 
							
							
 
							
							* chore: add warning for invalid render function of createRawSnippet
* add test
* warnings
* Update packages/svelte/messages/client-warnings/warnings.md
Co-authored-by: Rich Harris <rich.harris@vercel.com>
* build
* build
* build
---------
Co-authored-by: Rich Harris <rich.harris@vercel.com> 
							
						 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								ca2f02c23e 
								
									
								
							
								 
							
						 
						
							
							
								
								Version Packages (next) ( #12515 )  
							
							... 
							
							
 
							
							Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> 
							
						 
						
							1 year ago