Commit Graph

434 Commits (7d1e4e82ffb5825bee254113cbba360aea0745f0)

Author SHA1 Message Date
Tan Li Hau 7d1e4e82ff
support destructuring in await (#4548)
6 years ago
Tan Li Hau 5bb5ba4c76
complain if named slots other than direct descendant of component (#4509)
6 years ago
Tan Li Hau 82dce0c8fc
do not initialise slot fallback fragment unless necessary (#4514)
6 years ago
vlasy e06a900b23
throw compiler error when binding directly to const variables (#4506)
6 years ago
Tan Li Hau 404ed3dbfe
fix else-block update in keyed each-block (#4558)
6 years ago
Tan Li Hau a66437b3c1
allow <svelte:self> to be part of a slot (#4532)
6 years ago
Tan Li Hau 91d758e35b
introduce $$restProps (#4489)
6 years ago
Tan Li Hau 345d5f27ee fix lazy code breaks in build
6 years ago
Conduitry a8291227ce
fit bitmask overflow initial dirty value in 'if' blocks (#4507)
6 years ago
Conduitry f2ee7efb94
add dev runtime warning for unknown slot names (#4501)
6 years ago
Tan Li Hau 926a2aebd8
fix render fallback slot content due to whitespace (#4500)
6 years ago
Tan Li Hau d802c3b266
in spread, distinguish never-updating and always-updating props (#4487)
6 years ago
Brian Takita 3a37de364b
chore: more specific typings, and add README note about Yarn (#4483)
6 years ago
pushkin b6aaa44880
check for unknown props even if component doesn't have writable props (#4454)
6 years ago
Tan Li Hau cf660bdab1
mark module variables as mutated or reassigned (#4469)
6 years ago
rixo 0786d2858d
exclude global variables from $capture_state (#4475)
6 years ago
Conduitry 19f1c9cb7c
don't treat $$-names as stores during invalidation (#4453)
6 years ago
Conduitry 3bfa0e5cd6
deconflict `value` parameter in contextual bindings (#4452)
6 years ago
rixo cb64fb2ac9
make $capture_state/$inject_state act on entire state (#3822)
6 years ago
swyx 3fbafe33c2
implement Dev mode validation of {#each} block argument (#4419)
6 years ago
Tan Li Hau fdc89ebb62
warn if component is expected to be reactive (#4409)
6 years ago
Tan Li Hau 6250046c05
perform dirty check before updating keyed each blocks (#4413)
6 years ago
Conduitry b6d80f485a
fix indirect bindings on elements with spreads (#4398)
6 years ago
Conduitry 7f2ffb2977
fix event handlers that are dynamic via reactive declarations or stores (#4394)
6 years ago
Conduitry 0625fc218b
fix invalidation in ++foo.bar (#4395)
6 years ago
Conduitry f5f489984f
fix handling of reserved keywords when parsing (#4390)
6 years ago
Tan Li Hau 2195832ecc better error messages for else, elseif, then, catch with unclosed tag (#4136)
6 years ago
Conduitry d78f32ee5a
fix arrow function precedence (#4385)
6 years ago
Conduitry 3cbe38cbf1
fix binding to module-level variables (#4352)
6 years ago
Conduitry 5076613256
disallow simultaneous foo / {foo} / bind:foo (#4343)
6 years ago
Conduitry be9b79f805
fix detection of unused partially global CSS selectors (#4332)
6 years ago
Dave Lunny bf006a43e5 [Internals] Improve unit tests (#4262)
6 years ago
Conduitry 455a5cc754
fix hydration of <title> (#4311)
6 years ago
Conduitry 1a343b165c
disallow duplicate each keys in dev mode (#4303)
6 years ago
Tan Li Hau e4daaccd06 fix nested block not reactive (#4294)
6 years ago
Conduitry f12340acf0
preserve js comments where possible (#4293)
6 years ago
Conduitry e4460e38ba
fix '~=' and class selectors with arbitrary whitespace (#4286)
6 years ago
Conduitry b39282a918
apply event modifiers to <svelte:body> events (#4279)
6 years ago
Tan Li Hau 527ddea289 disallow binding variables declared in await and catch
6 years ago
John Muhl 2fd593f9d5 Add more globals
6 years ago
Tan Li Hau 8b9b2c266e fix allow let scoped to root element (#4266)
6 years ago
Conduitry 7494509dfd
only attach SSR <head> markers when hydratable: true (#4260)
6 years ago
Tan Li Hau b3582c7fb2 fix hydrating <head> (#4082)
6 years ago
Tan Li Hau ef56a70acb SSR should only render one <title> (#4250)
6 years ago
Tan Li Hau 7c3e34c00b fix hydrating each else (#4253)
6 years ago
Tan Li Hau a422d2aba5 fix actions having no access to parent nodes (#4252)
6 years ago
burningTyger b9368d5de4 remove quotes from code suggestion
6 years ago
Conduitry 741444d07e fix when LHS of a reactive assignment is a member expression (#4212)
6 years ago
Tan Li Hau 7fb35dd0dc fix safari input jumping
6 years ago
David Kondrad 8a596936d2 dynamic events: validate handler before executing (#4105)
6 years ago