Commit Graph

750 Commits (68dd118de0ea93e7da48304e22f7697704fada0d)

Author SHA1 Message Date
Conduitry f029559855 update changelog
4 years ago
Tan Li Hau ccc61a71d8
add missing export for hasContext (#5727)
4 years ago
Conduitry 505eba84b9 -> v3.30.0
4 years ago
Tan Li Hau 9331398299
support spread into slot props (#5616)
4 years ago
Simon H 99000ef42e
typed SvelteComponent(Dev) interface (#5431)
4 years ago
Conduitry 666b7aefa8 update changelog
4 years ago
Tan Li Hau 1cc5bdb9ca
reactive dependency not referenced can't set to undefined initially (#5600)
4 years ago
Tan Li Hau 24c44b9177
fix order of html tags with {#if} in {#key} block (#5685)
4 years ago
Conduitry 342c1e427c update changelog
4 years ago
Conduitry 0aa8cc1c9f update changelog
4 years ago
Conduitry 4524566fda -> v3.29.7
4 years ago
Conduitry ed4288fe43 -> v3.29.6
4 years ago
Ben McCann 627aae8c5c
Add package.json to exports map (#5660)
4 years ago
Conduitry b135055c5c -> v3.29.5
4 years ago
Tan Li Hau 41d16c02be
add export map (#5566)
4 years ago
Tan Li Hau 7949d8efac
support $$slots in custom elements (#5619)
4 years ago
Tan Li Hau f7bddb23d3
add extension to request to support webpack 5 (#5624)
4 years ago
Tan Li Hau 148b6105ed
fix else block transition update (#5591)
4 years ago
Tan Li Hau 5d7ffdb8a7
fix function slot props based on context (#5607)
4 years ago
Tan Li Hau 6fa3e91b5d
support $$props and $$restProps for custom elements (#5608)
4 years ago
Conduitry a47ca4498a update changelog
4 years ago
Conduitry 65104e8b2a -> v3.29.4
4 years ago
Conduitry 040e9cc6fa
fix code generation error with nullish coalescing operator and logical operators (#5564)
4 years ago
Conduitry 5cbc8c80b1 -> v3.29.3
4 years ago
Conduitry a6040d6e73 -> v3.29.2
4 years ago
Conduitry ae1f9e5f9a -> v3.29.1
4 years ago
Conduitry b9ac8c9e47 update changelog
4 years ago
Conduitry f038cf75fa update changelog
4 years ago
Conduitry 0ec928324f update changelog
4 years ago
Conduitry 377c7647ed update changelog
4 years ago
Conduitry a28d776c06 update changelog
4 years ago
Conduitry c24b313b1a -> v3.29.0
4 years ago
Tan Li Hau 2d88dc460e
warn for possible use of component without uppercase tag name (#5302)
4 years ago
Conduitry 99e2cfca11 update changelog
4 years ago
Tan Li Hau 2c5f1c466e
add typings to `get_store_value` (#5269)
4 years ago
Tan Li Hau 8056829a91
allow <slot> to be part of a slot (#4295)
4 years ago
Tan Li Hau 3970def5eb
fix sibling combinators with spread attributes (#5467)
4 years ago
Tan Li Hau 296e81af4d
add EventSource to the known globals (#5468)
4 years ago
Conduitry 46a83a50e3 -> v3.28.0
4 years ago
Tan Li Hau fa7c780bad
{#key} block (#5397)
4 years ago
Conduitry 0ca1dcd33c -> v3.27.0
4 years ago
Tan Li Hau 967b88186b
scope CSS sibling combinators (#5427)
4 years ago
Tan Li Hau a1651ca271
add nonpassive event modifier (#5442)
4 years ago
Tan Li Hau 41d1656458
update keyed each when key expression changes (#5447)
4 years ago
Tan Li Hau c3b56a164e
handle destructuring to a store value (#5452)
4 years ago
Tan Li Hau 6e0cd9bcbf
fix missing-declaration warning for use:obj.method (#5454)
4 years ago
Conduitry e867a4de33 -> v3.26.0
4 years ago
Tan Li Hau b5b02f8561
whitelist [open] attribute selector for <details> (#5425)
4 years ago
Tan Li Hau 254096d320
support methods as actions (#5398)
4 years ago
Tan Li Hau b3f54bd2cf
fix store direct property assignment (#5416)
4 years ago
Tan Li Hau aef5671411
update acorn and parse expression as module script (#5423)
4 years ago
Conduitry 6601143255 -> v3.25.1
4 years ago
Tan Li Hau 87ed0b2f42
fix await stuck indefinitely without catch (#5402)
4 years ago
Tan Li Hau 1ce6ac5d48
fix destructuring to get multiple stores (#5390)
4 years ago
Tan Li Hau 338cf877bc
maintain context for transition (#5392)
4 years ago
Tan Li Hau 46d423d9db
fix css specificity for child combinator (#5399)
4 years ago
Tan Li Hau 7900e3eafa
fix style scoping with > * (#5400)
4 years ago
Conduitry 5bf2d6fadf -> v3.25.0
4 years ago
Conduitry daa1c390d5 update changelog
4 years ago
Conduitry b7710b93bc update changelog
4 years ago
Tan Li Hau 8a28d1bb38
valid XHTML syntax in innerHTML for static elements (#5317)
4 years ago
Tan Li Hau 51e2626f42
fix $$props reactivity in fallback of a slot (#5375)
4 years ago
Tan Li Hau 8148a7a334
each binding with store props (#5289)
4 years ago
Tan Li Hau c752ed3527
handle undefined input value with spread (#5291)
4 years ago
Conduitry 1d9e2a13f2 update changelog
4 years ago
Tan Li Hau 0ac341d2c6
expose which slots are present in $$slots (#4602)
4 years ago
Tan Li Hau e879cb5a4c
fix not passing child_ctx for catch block (#5261)
4 years ago
Conduitry 76b7196a1b update changelog
4 years ago
Conduitry 6ebe7f8210 update changelog
4 years ago
Tan Li Hau 7aae362bcb
fix reference for namespaced component (#5256)
4 years ago
Tan Li Hau 5194f596f7
do not declare variable for member assignment in reactive declaration in SSR (#5251)
4 years ago
Conduitry a62d736215 -> v3.24.1
4 years ago
Conduitry 0f3bbb441e update changelog
4 years ago
Conduitry 308f3c284d update changelog
4 years ago
Conduitry f0d586f4a4 update changelog
4 years ago
Tan Li Hau 02e10b1159
fix bind:group contextual reference (#5199)
4 years ago
Tan Li Hau 3dad14f0e1
better error message for mismatched tags due to autoclosing (#5060)
4 years ago
Tan Li Hau ec0f79c5af
add updating guard to binding callback (#5126)
4 years ago
Tan Li Hau d472bd2f5e
invalidate $$props and $$restProps only when there are changes (#5123)
4 years ago
Tan Li Hau fc7e99e9f0
fix $$props reactive for slots (#5125)
4 years ago
Conduitry 87aeb1d609 -> v3.24.0
4 years ago
Tan Li Hau 4021063305
spread condition for input element (#5004)
4 years ago
Conduitry d6392ad6b2 update changelog
4 years ago
Tan Li Hau 62345432ac
html anchor in head (#5071)
4 years ago
Tan Li Hau f739b4772a
error on expression scope store (#5079)
4 years ago
Conduitry e6026fe6f5 update changelog
4 years ago
Conduitry 4910f5797f update changelog
4 years ago
Tan Li Hau 2450dd1ff0
update acorn@^7.3.1 for optional chaining support (#5013)
4 years ago
Tan Li Hau 55c809624d
fix collapsing HTML with static content (#5059)
4 years ago
Conduitry d3ee85e5fe update changelog
4 years ago
Tan Li Hau 1a71e04079
fix bind:this, skip checking before adding to binding_callbacks (#5072)
4 years ago
Tan Li Hau e1b55f0fc3
add further cases where {@html} uses an anchor (#5061)
4 years ago
Conduitry e139bd4922 update changelog
4 years ago
Conduitry 92578706b0 update changelog
4 years ago
Tan Li Hau 6289dfcdcd
fix <select> one-way bind when options change (#5054)
4 years ago
Tan Li Hau 6e2b81663c
fix extracting names from ThisExpression (#5036)
4 years ago
Conduitry 1c05785ddf -> v3.23.2
4 years ago
Conduitry 6404656698
don't crash when using an arrow function as a statement (#5000)
4 years ago
Tan Li Hau 7dfd9e9653
deconflict bind:this variable (#4949)
4 years ago
Tan Li Hau 38de3b2e9f
fix bind:group in each (#4868)
4 years ago
Conduitry 4135ca5415 -> v3.23.1
4 years ago
Tan Li Hau 787ece66a4
fix bind:group with duplicated values (#4877)
4 years ago
Conduitry e75831201e update changelog
4 years ago
Conduitry 430961cc94 update changelog
4 years ago
Tan Li Hau 0f43ad40ab
fix reactivity with assigning item in each block (#4945)
4 years ago
Tan Li Hau bf6c74fb17
fix binding for each block local variable (#4861)
4 years ago
Conduitry f46b38a308 -> v3.23.0
4 years ago
Rich Harris b0377cc4e4
fix `{@html}` assuming it lives inside a <div> (#4863)
4 years ago
Tan Li Hau 11967804af
fix reactivity when binding to each context (#4878)
4 years ago
Rich Harris 3330c3fbab
only add event listeners when a block is first mounted (#4860)
4 years ago
Tan Li Hau 24ef4e1181
set select multiple value with spread (#4894)
4 years ago
Tan Li Hau e34f208843
reselect <select> when the option values change (#4885)
4 years ago
Richard Harris 25488772e2 update changelog
4 years ago
Richard Harris 185706f7d0 add #2998 to changelog
4 years ago
Conduitry c19542b634 update changelog
4 years ago
Conduitry 33d8979495 -> v3.22.3
4 years ago
Conduitry a1b0295fc3 update changelog
4 years ago
Conduitry bdbc73f111 update changelog
4 years ago
Conduitry 283f9ae6cf update changelog
4 years ago
Conduitry ee130793ca update changelog
4 years ago
Tan Li Hau 37cc5888f8
dry {#each}/{#await} destructuring (#4596)
4 years ago
Conduitry c743e72a1e -> v3.22.2
4 years ago
Conduitry bdabd89f09
fix exception with empty alt attribute (#4778)
4 years ago
Conduitry bb5e2d2f26 -> v3.22.1
4 years ago
Conduitry b9f83fd295 -> v3.22.0
4 years ago
Conduitry 3df407447f update changelog
4 years ago
Conduitry 9179c3e99b update changelog
4 years ago
Conduitry 09115b5256 update changelog
4 years ago
Conduitry f111cf6881
deconflict `anchor` variable name (#4769)
4 years ago
Conduitry fe0a008a6a update changelog
4 years ago
Conduitry 5604954f15 update changelog
4 years ago
Conduitry 628b09d867 update changelog
4 years ago
Conduitry 8c4e72647a update changelog
4 years ago
Tan Li Hau aabb23cc34
fix mutation to imported variable (#4713)
4 years ago
Conduitry dbfc44d078 -> v3.21.0
4 years ago
Conduitry 21546e94b2 update changelog
4 years ago
Conduitry f1d7da320b update changelog
4 years ago
Tan Li Hau 2bf8fc7e6b
fix slot fallback update parent (#4598)
4 years ago
Conduitry 7b74e84ca7 update changelog
4 years ago
Conduitry 68ac96b8b8 update changelog
4 years ago
Conduitry f11b2052cc update changelog
4 years ago
Tan Li Hau 77ec48deba
add await catch shorthand (#4490)
4 years ago
Conduitry fe003b57cb update changelog
4 years ago
Conduitry d7497deaec update changelog
4 years ago
Tan Li Hau a0749f6adb
fix creating debugging comment for HTML comment (#4567)
4 years ago
Conduitry e50ad1dcb6 -> v3.20.1
5 years ago
Conduitry 40c5df51a2 -> v3.20.0
5 years ago
Tan Li Hau b4b57c39a2
clean up event handlers on re-mount (#4493)
5 years ago
Tan Li Hau 7d1e4e82ff
support destructuring in await (#4548)
5 years ago
Tan Li Hau 5bb5ba4c76
complain if named slots other than direct descendant of component (#4509)
5 years ago
Tan Li Hau 82dce0c8fc
do not initialise slot fallback fragment unless necessary (#4514)
5 years ago
Jacob Wright 966aae3420
allow transitions and animations to work within iframes (#3625)
5 years ago
Conduitry c46b3727f1 update changelog
5 years ago
Tan Li Hau 404ed3dbfe
fix else-block update in keyed each-block (#4558)
5 years ago
Tan Li Hau ec3589e314
fix hydration of top-level content (#4550)
5 years ago
Tan Li Hau a66437b3c1
allow <svelte:self> to be part of a slot (#4532)
5 years ago
Tan Li Hau 91d758e35b
introduce $$restProps (#4489)
5 years ago
Conduitry fd378f2d37 -> v3.19.2
5 years ago
Conduitry a8291227ce
fit bitmask overflow initial dirty value in 'if' blocks (#4507)
5 years ago
Conduitry f2ee7efb94
add dev runtime warning for unknown slot names (#4501)
5 years ago
Tan Li Hau 926a2aebd8
fix render fallback slot content due to whitespace (#4500)
5 years ago
Tan Li Hau d802c3b266
in spread, distinguish never-updating and always-updating props (#4487)
5 years ago
Conduitry 3f647a84f6 update changelog
5 years ago
Tan Li Hau 8feb85a61f
fix bitmask overflow for slot (#4485)
5 years ago
Tan Li Hau cf660bdab1
mark module variables as mutated or reassigned (#4469)
5 years ago
Conduitry dc3e9c4bed update changelog
5 years ago
Conduitry b8bf3643d4 -> v3.19.1
5 years ago
Conduitry 19f1c9cb7c
don't treat $$-names as stores during invalidation (#4453)
5 years ago
Conduitry 3bfa0e5cd6
deconflict `value` parameter in contextual bindings (#4452)
5 years ago
Conduitry 138213ca3c
fix dev mode each block validation when using strings (#4451)
5 years ago
Conduitry a972a47e14 -> v3.19.0
5 years ago
Conduitry a7ffceefdd update changelog
5 years ago
Conduitry 423d1fe14e update changelog
5 years ago
Conduitry 30b09f3182 update changelog
5 years ago
Tan Li Hau fdc89ebb62
warn if component is expected to be reactive (#4409)
5 years ago
Tan Li Hau 6250046c05
perform dirty check before updating keyed each blocks (#4413)
5 years ago
Conduitry b6d80f485a
fix indirect bindings on elements with spreads (#4398)
5 years ago
Conduitry c3232826d4 -> v3.18.2
5 years ago
Conduitry 7f2ffb2977
fix event handlers that are dynamic via reactive declarations or stores (#4394)
5 years ago
Conduitry 0625fc218b
fix invalidation in ++foo.bar (#4395)
5 years ago
Conduitry f5f489984f
fix handling of reserved keywords when parsing (#4390)
5 years ago
Tan Li Hau 2195832ecc better error messages for else, elseif, then, catch with unclosed tag (#4136)
5 years ago
Conduitry cb67a53e51 update changelog
5 years ago
Conduitry d78f32ee5a
fix arrow function precedence (#4385)
5 years ago
Conduitry 3cbe38cbf1
fix binding to module-level variables (#4352)
5 years ago
Conduitry 5076613256
disallow simultaneous foo / {foo} / bind:foo (#4343)
5 years ago
Conduitry 46634e8ea4 -> v3.18.1
5 years ago
Conduitry be9b79f805
fix detection of unused partially global CSS selectors (#4332)
5 years ago
Conduitry 3eb298fd28
fix code generation with adjacent inline and block comments (#4327)
5 years ago
Conduitry efe8ab9ca5 -> v3.18.0
5 years ago
Conduitry 5d4408ba23 update changelog
5 years ago
Conduitry 9cdf0da160 fix changelog
5 years ago
Conduitry f01bb639be make autosubscribing to a nullish store a no-op (#4304)
5 years ago
Conduitry fd9b23e5e4 -> v3.17.3
5 years ago
Conduitry 455a5cc754
fix hydration of <title> (#4311)
5 years ago
Conduitry 1a343b165c
disallow duplicate each keys in dev mode (#4303)
5 years ago
Conduitry 5107ad38b6
fix deriving from RxJS observables (#4300)
5 years ago
Tan Li Hau e4daaccd06 fix nested block not reactive (#4294)
5 years ago
Conduitry e93c991362 -> v3.17.2
5 years ago
Conduitry f12340acf0
preserve js comments where possible (#4293)
5 years ago
Conduitry b0415a269b update changelog
5 years ago
Conduitry e4460e38ba
fix '~=' and class selectors with arbitrary whitespace (#4286)
5 years ago
Conduitry 2f81365e44
fix awaited expressions that need parentheses (#4283)
5 years ago
Conduitry b39282a918
apply event modifiers to <svelte:body> events (#4279)
5 years ago
Conduitry bda254e250 update changelog
5 years ago
Conduitry 1438994bd4 update changelog
5 years ago
Tan Li Hau 8b9b2c266e fix allow let scoped to root element (#4266)
5 years ago
Conduitry 4e812a95e9 -> v3.17.1
5 years ago
Conduitry 7494509dfd
only attach SSR <head> markers when hydratable: true (#4260)
5 years ago
Conduitry c97e8f81db -> v3.17.0
5 years ago
Tan Li Hau b3582c7fb2 fix hydrating <head> (#4082)
5 years ago
Conduitry d7d7ce1e6c update changelog
5 years ago
Tan Li Hau ef56a70acb SSR should only render one <title> (#4250)
5 years ago
Tan Li Hau 7c3e34c00b fix hydrating each else (#4253)
5 years ago
Tan Li Hau a422d2aba5 fix actions having no access to parent nodes (#4252)
5 years ago
Conduitry 3b0c6a1c56 fix $$invalidate getting confused by an undefined third argument (#4170)
5 years ago
Conduitry 741444d07e fix when LHS of a reactive assignment is a member expression (#4212)
5 years ago
Conduitry 8d49aa6125 update changelog
5 years ago
Conduitry aa8e470b41 update changelog
5 years ago
Conduitry b608148238 -> v3.16.7
5 years ago
Conduitry f805a2cdc5 -> v3.16.6
5 years ago
Conduitry a9065d4120 -> v3.16.5
5 years ago
Conduitry 2467c4bf64 -> v3.16.4
5 years ago
Rich Harris 0a6310f7a3 -> v3.16.3
5 years ago
Rich Harris ba3ab67233 -> v3.16.2
5 years ago
Conduitry 8a6abc9215 -> v3.16.1
5 years ago
Conduitry 0f2c7d2872 update changelog
5 years ago
Conduitry 6a4956b403 update changelog
5 years ago
Richard Harris 13ef75be22 -> v3.16.0
5 years ago
Conduitry d3cefd2bcb update changelog
5 years ago
Conduitry 2f4d77115f update changelog
5 years ago
Rich Harris a8ff02a25f -> v3.15.0
5 years ago
pngwn d1df52cdc7 Add unreleased changelog entry for #3948
5 years ago
Conduitry 7e2e23e7ae -> v3.14.1
5 years ago
Rich Harris c29e2085a1 -> v3.14.0
5 years ago
Richard Harris 4c53eb6bda -> v3.13.0
5 years ago
Conduitry 16ccc7493d update changelog
5 years ago
Conduitry dbdcb60f29 update changelog
5 years ago
Conduitry 9f48d1a5fd
fix SSR spread with boolean attributes (#3797)
5 years ago
Tan Li Hau 9f7565cf19 fix changelog issue link
5 years ago
Conduitry b8107e7fa7 update changelog
5 years ago
Conduitry 85692cbd5a
fix handling of style scoping and `class:` with spread scopes (#3792)
5 years ago
Conduitry 07b9d0378e update changelog
5 years ago
Conduitry 0419039d26
Don't lose `class:` directive classes on an element with `{...spread}` attributes when updating (#3781)
5 years ago
Conduitry f68b3a3b8c
Fix boolean attributes in presence of spread attributes (#3775)
5 years ago
Conduitry 8ef32d766a
produce better code for <slot/> (#3631)
5 years ago
Conduitry 3e02b95488
fix compound ifs with outros and no dependencies (#3595)
5 years ago
Conduitry 8d7d0ff7dd
fix `bind:this` binding to a store (#3591)
5 years ago
Conduitry 2e2b0c9175 update changelog
5 years ago
Conduitry dda9a53727
preserve `$:` label in reactive blocks in SSR mode (#2828) (#3469)
5 years ago