0
0
mirror of https://github.com/sveltejs/svelte.git synced 2024-12-01 17:30:59 +01:00
Commit Graph

5231 Commits

Author SHA1 Message Date
Conduitry
aa3dab93db fix running tests on github actions 2019-10-24 13:55:53 -04:00
Conduitry
07b9d0378e update changelog 2019-10-24 13:36:28 -04:00
Jesse Skinner
b6798e5221 allow multiple ancestors to be scoped with class (#3544) 2019-10-24 13:34:58 -04:00
Mike Lewis
af0557a2d4 add regression test for missing class on elem with bind and spread (#3668)
relates to #2707
2019-10-24 08:45:03 -04:00
Conduitry
0419039d26
Don't lose class: directive classes on an element with {...spread} attributes when updating (#3781)
* include all class: directive updates on elements with spreads (#3421)

* add test

* update changelog
2019-10-24 08:18:33 -04:00
Alessandro (Ale) Segala
8c0c15c3aa Fixed anchor link in documentation 2019-10-24 08:14:47 -04:00
mrkishi
1f6e0eb316 improve derived store typing for users 2019-10-23 17:07:44 -04:00
Conduitry
6d2d025d3b tidy up core test.js script 2019-10-23 17:04:21 -04:00
Tan Li Hau
5dbb08d19b allow solo for test suite (#3747) 2019-10-23 14:52:49 -04:00
Conduitry
f68b3a3b8c
Fix boolean attributes in presence of spread attributes (#3775)
* add failing tests

* fix boolean attributes along with spreads (DOM mode)

* fix boolean attributes along with spreads (SSR mode)

* update changelog (#3764)

* fix removing attributes in spreads
2019-10-23 12:43:20 -04:00
Paul Murray
d91e9afab6 Fixes #3008: Better SSR docs 2019-10-22 20:49:03 -04:00
Conduitry
614393edcb add sigil-expression-function-body test against regression (#3756) 2019-10-22 09:22:25 -04:00
Conduitry
ebf7a9024a alpha.1 2019-10-21 11:21:54 -04:00
Conduitry
d976203da8 update code-red etc (#3752) 2019-10-21 11:19:42 -04:00
Tan Li Hau
fca35def53 deconflict with builtins (#3724) 2019-10-21 11:19:15 -04:00
vages
e3953b234c Add Entur to "Who is using Svelte?" (#3754) 2019-10-20 15:26:26 -04:00
Conduitry
8ef32d766a
produce better code for <slot/> (#3631) 2019-10-20 07:39:11 -04:00
Conduitry
0d36f1a794 don't consult known globals when walking Expression nodes (#3708) 2019-10-20 07:35:52 -04:00
Conduitry
39b387a454 hoist globals even if they are mentioned in a script block (#3607) 2019-10-20 07:34:31 -04:00
Conduitry
3e02b95488
fix compound ifs with outros and no dependencies (#3595) 2019-10-20 07:29:33 -04:00
Maurício Kishi
914d155d9f fix store validation code generation (#3735) 2019-10-19 15:20:46 -04:00
Conduitry
8d7d0ff7dd
fix bind:this binding to a store (#3591) 2019-10-19 08:51:59 -04:00
Conduitry
2e2b0c9175 update changelog 2019-10-19 01:52:59 -04:00
Richard Harris
65d87e51d1 snake_case 2019-10-18 20:49:31 -04:00
Richard Harris
1bb5d8646e Merge branch 'tanhauhau/await-then-catch-block' of https://github.com/tanhauhau/svelte into tanhauhau-tanhauhau/await-then-catch-block 2019-10-18 20:48:52 -04:00
Richard Harris
4419a55977 fix test 2019-10-18 20:46:51 -04:00
Richard Harris
78c226b7b1 Merge branch 'tanhauhau/exported-variable-could-be-reassigned' of https://github.com/tanhauhau/svelte into tanhauhau-tanhauhau/exported-variable-could-be-reassigned 2019-10-18 20:45:25 -04:00
Rich Harris
6d1f163bc3
Merge pull request #3742 from tanhauhau/tanhauhau/remove-component-locator
remove Component.locator
2019-10-18 20:41:14 -04:00
Rich Harris
db901725ae
simplify 2019-10-18 20:40:06 -04:00
Tan Li Hau
e14197d944 remove component locator 2019-10-19 07:16:19 +08:00
Luke Edwards
ce5bd1bf35 fix: invoke authenticate factory 2019-10-18 15:18:29 -04:00
Conduitry
577333e180 add each-block-keyed-iife test against regression (#3436) 2019-10-18 13:56:08 -04:00
Tan Li Hau
daf4b465e6 name.slice to slug 2019-10-18 12:53:27 -04:00
Tan Li Hau
03d4bf48f9 DRY out :then and :catch 2019-10-19 00:32:38 +08:00
Li Hau Tan
a31fea139b then and catch block expect await, optional then block 2019-10-18 17:59:50 +08:00
Conduitry
dda9a53727
preserve $: label in reactive blocks in SSR mode (#2828) (#3469) 2019-10-17 10:06:44 -04:00
Conduitry
ddbbccc9e4 update changelog 2019-10-17 09:53:58 -04:00
Tan Li Hau
6a98febf5f fix typescript error 2019-10-17 21:47:40 +08:00
Tan Li Hau
8c4fd74543 resubscribe props if reassigned 2019-10-17 21:41:27 +08:00
Rich Harris
9534b27ac5
Merge pull request #3666 from tanhauhau/tanhauhau/show-output-if-test-error-does-not-match
[unit-test] show generated output if the error message does not match
2019-10-17 08:29:48 -04:00
Rich Harris
ba72fd2289
Merge pull request #3723 from sveltejs/always-set-attribute
don't cache attribute values
2019-10-17 08:24:49 -04:00
Richard Harris
8aa98795a1 dont cache attribute values (ref #3579) 2019-10-16 22:14:12 -04:00
Rich Harris
99911c31f5
Merge pull request #3579 from tcrowe/set-attribute-only-if-different
Prevent image flicker and reloading by checking attribute before setting it
2019-10-16 22:05:47 -04:00
Rich Harris
6966c5bb7d
Merge pull request #3701 from ryanatkn/fix-derived-store-type
fix type of derived store callback function
2019-10-16 21:33:22 -04:00
Richard Harris
1d150306e2 Merge branch 'master' of github.com:sveltejs/svelte 2019-10-16 21:30:07 -04:00
Richard Harris
908a06c133 typos 2019-10-16 21:29:54 -04:00
Richard Harris
456f5372e6 merge master -> tanhauhau/debugging-with-no-dependencies 2019-10-16 21:27:15 -04:00
das
54a129c7fa continue inlining $$invalidate calls (#3548)
* finish inlining $$invalidate

* add failing test

* add test for navigator online

* add tests for store invalidate refactor

* add test for reactive_store_subscriptions

* remove failing test

* update
2019-10-16 20:13:37 -04:00
Rich Harris
84b0e86583 allow site to run locally without PG env vars 2019-10-16 18:17:32 -04:00
Rich Harris
aa8503ac51 alpha.0 2019-10-16 17:56:30 -04:00