Conduitry
ab825ed2eb
-> v3.40.1
3 years ago
Tan Li Hau
365b5e300c
[fix] store reactivity in reactive declarations ( #6559 )
3 years ago
Conduitry
d487254beb
refactor: tidy use of Set for store subscribers
...
There's no need to check that a Set has an element before trying to
remove it.
3 years ago
Noski
b2260bc2e3
refactor: migrate array to set for subscriberss ( #6295 )
3 years ago
Conduitry
48934c8cd0
fix changelog
3 years ago
Conduitry
aaa543a070
-> v3.40.0
3 years ago
Conduitry
6d9c2ea057
update changelog
3 years ago
Tan Li Hau
8c66acfa92
fix one-way <select> bind with spread ( #6512 )
3 years ago
Conduitry
0d3e105915
update changelog
3 years ago
Tan Li Hau
c54d57b0d9
don't scope :root selector ( #6514 )
3 years ago
Conduitry
68a1b4977c
update changelog
3 years ago
Tan Li Hau
f906180435
fix binding when updating through accessors ( #6523 )
3 years ago
Conduitry
c8cdc73464
update changelog
3 years ago
Tan Li Hau
ef14280e28
use simpler insert and append functions when not compiling with hydration ( #6525 )
3 years ago
Conduitry
33307a54c8
update changelog
3 years ago
Yuichiro Yamashita
d9da22ac04
fix AST .end index for expressions in attributes ( #6542 )
3 years ago
Conduitry
8b09e6181a
update changelog
3 years ago
Hofer Ivan
5cfefeb6e7
support rendering components in a shadow dom ( #5870 )
3 years ago
Conduitry
a6448185d6
update changelog
3 years ago
Hasan Altan Birler
ecbd96af95
[fix] hydration improvements ( #6449 )
3 years ago
Ben McCann
16d562fcf6
site: bump Svelte version
3 years ago
Conduitry
b2a082a48f
-> v3.39.0
3 years ago
Conduitry
d01dc9b2eb
update changelog
3 years ago
Tan Li Hau
cb189ad0ec
[chore] update code-red, estree-walker, is-reference ( #6551 )
...
Co-authored-by: Ben McCann <322311+benmccann@users.noreply.github.com>
3 years ago
Tan Li Hau
c78a3af019
Update CHANGELOG.md
3 years ago
Tan Li Hau
222a9dd2c6
[feat] get all contexts ( #6528 )
...
* get all contexts
* docs
* explicit return type
* allow specifying return type through generic parameter
* Update site/content/docs/03-run-time.md
Co-authored-by: Ben McCann <322311+benmccann@users.noreply.github.com>
Co-authored-by: Simon H <5968653+dummdidumm@users.noreply.github.com>
Co-authored-by: Ben McCann <322311+benmccann@users.noreply.github.com>
3 years ago
Ben McCann
f6a9804275
Upgrade Periscopic ( #6549 )
3 years ago
Simon H
5534b911ea
update changelog
3 years ago
Maxime LUCE
0cf5511ae0
[feat] Add errorMode option to compile to allow continuing on errors (and mark them as warnings) ( #6194 )
...
This PR adds a new option errorMode to CompileOptions to allow continuing the compilation process when errors occured.
When set to warn, this new option will indicate to Svelte that it should log errors as warnings and continue compilation.
This allows (notably) preprocessors to compile the markup to detect vars in markup before preprocessing (in this case: script and style tags are stripped so it can produce a lot of errors).
This PR is part of a work on the svelte-preprocess side to improve the preprocessing of TypeScript files: https://github.com/sveltejs/svelte-preprocess/issues/318
- allow compiler to pass error as warnings
- enforce stops after errors during compilation (for type-checking, TS doesn't know the error method throws)
- should review Element.ts:302
- added a test case for errorMode
- added documentation
3 years ago
Simon H
931738e821
[docs] mention that afterUpdate runs after onMount
...
Closes #4273
3 years ago
Ashish Kapoor
ddde34aeb9
[docs] Multi select works by pressing and holding shift key ( #6532 )
...
For better understanding.
3 years ago
Simon H
5dd1e6e232
update changelog
3 years ago
Tan Li Hau
fd031105aa
[fix] do not warn if module variables are not the only dependencies in reactive statements ( #6510 )
...
The warning was too strict, since there are valid use cases for having non-reactive variables inside reactive statements
Fixes #5954
3 years ago
Simon H
a8c35daa9a
[fix] be able to silence more warnings ( #6504 )
...
including css-unused-selector, unused-export-let, module-script-reactive-declaration
Fixes #5954
Related to #5281
3 years ago
Ben McCann
52b67a0497
[chore] fix duplicate import of periscopic ( #6527 )
3 years ago
Ben McCann
ff50bfba6f
update changelog
3 years ago
Tan Li Hau
2818567925
fix input value 0 for ssr ( #6458 )
3 years ago
Tan Li Hau
23f8f4ba6d
[feat] centralise parse errors ( #6519 )
...
Co-authored-by: pngwn <hello@pngwn.io>
3 years ago
Antony Jones
fdd3d4b448
be a bit smarter about building the site locally ( #5262 )
...
Co-authored-by: Antony Jones <antony@beyonk.com>
3 years ago
Tan Li Hau
8f1ae80a99
update changelog
3 years ago
Tan Li Hau
6a582af839
[fix] script style end parsing ( #6511 )
...
* update script end tag parsing to allow whitespace after tagname
* update style end tag parsing to allow for whitespace after tag name
* handle no closing match for script and style for eof and non-eof failures
* cleaning up script and style end tag parsing
Co-authored-by: pngwn <hello@pngwn.io>
3 years ago
Aleksander Szołowicz
999032835b
fix typos, use shorthanded imports ( #5993 )
...
* fix(typo): existance -> existence
* fix(typo): seperate -> separate
* refactor(imports): use shorthand for periscopic
3 years ago
Simon H
53e0754d3b
[docs] remove unnecessary immutable option from App.svelte
...
Closes #5976
3 years ago
Simon H
937c7c9c4a
[docs] document $store behavior more explicitely
...
Closes #4677
3 years ago
David Dawkins
e7cbea64e0
[docs] fix padding in svg bar chart example ( #5945 )
...
Fixes #5941
3 years ago
Simon H
9467e4a780
[chore] adjust stale bot settings
...
Give more time until marked as stale, currently too soon. Also exempt bug, bugs don't go stale.
3 years ago
Tan Li Hau
ebaa891e69
[chore] update code-red@0.2.0 ( #6425 )
...
Co-authored-by: Conduitry <git@chor.date>
3 years ago
Ignatius Bagus
5334f4ad1b
docs: mention usage of regexp literal in text expressions ( #5640 )
3 years ago
Tan Li Hau
5f8f7ae28c
update changelog
3 years ago
Tan Li Hau
2cec6a94bc
[feat] sourcemap markup ( #6427 )
...
* sourcemap markup
* sourcemap textnode
* update test
3 years ago