0
0
mirror of https://github.com/sveltejs/svelte.git synced 2024-11-30 00:46:29 +01:00
Commit Graph

6889 Commits

Author SHA1 Message Date
Simon H
f4779eee4a
[fix] don't emit css option deprecation warning for now (#8012) 2022-11-10 09:10:09 -05:00
Dominik G
ee480bded6
[fix] only read static value for rel attribute validation (#8003)
fixes #7994
2022-11-10 14:00:08 +01:00
gtmnayan
ea219f4ed8
[chore] patch bump tslib (#8015)
closes #8013
ref: microsoft/tslib#160
2022-11-10 12:54:25 +01:00
Conduitry
b2d36075ae -> v3.53.0 2022-11-09 16:51:48 -05:00
Conduitry
80d4f55a06 update changelog 2022-11-09 16:24:27 -05:00
Ben McCann
74fdbb670b
update changelog 2022-11-09 10:25:25 -08:00
Ben McCann
92f02669cf
[chore] upgrade dependencies (#7982) 2022-11-09 10:22:25 -08:00
Maximiliano Ruani
773dedf714
[feat] Compiler option css: 'none' support (#7914) 2022-11-09 10:21:38 -08:00
Simon H
b05b684b95
Update changelog 2022-11-07 13:09:53 +01:00
byt3r
84ea242666
[fix] check parentNode exists before removing child (#6910)
Fixes #6037
2022-11-07 13:09:01 +01:00
tomoam
d39920fb10
[docs] fix link in November newsletter (#7998) 2022-11-07 18:15:25 +09:00
Jørgen Kalsnes Hagen
bba3ffed0e
[chore] Update link to feature request template (#7992) 2022-11-03 17:43:39 +09:00
Daniel Sandoval
df2e927b46
[docs] "What's new in Svelte" November newsletter (#7986)
Co-authored-by: Ben McCann <322311+benmccann@users.noreply.github.com>
Co-authored-by: Simon H <5968653+dummdidumm@users.noreply.github.com>
2022-10-31 21:20:54 +01:00
Josh Soref
b265bc6f0f
[chore] fix spelling and typos (#7974) 2022-10-27 08:09:18 -07:00
Neagu Mihai
146e7a6310
fix: Remove Security Message (#7959) 2022-10-20 20:04:35 +02:00
Josiah Nieves
0a7cf0e73e
[docs] fix typo "bellow" vs "below" (#7955) 2022-10-16 19:45:03 -07:00
Tan Li Hau
f9e5b3e995
Update CHANGELOG.md 2022-10-16 17:01:12 +08:00
Sid
8921c04a21
[chore] Upgrade css-tree version to 2.1.0 (#7572)
* chore: upgrade to css-tree major version

* fix: handle whitespace token for new ast

* fix: css syntax error

* remove @types/css-tree

* import css-tree/parser instead of file path import

Co-authored-by: tanhauhau <lhtan93@gmail.com>
2022-10-16 16:58:34 +08:00
Yuri
1de2c02535
Ensure onmouseleave event fires in Hoverable example (#7873)
Fixes the browser-quirk-related issue described in #6520 and #7867, based on a [suggestion](https://github.com/sveltejs/svelte/issues/7867#issuecomment-1248993436) by @Prinzhorn.

Tested in the editable example area on the Svelte site: https://svelte.dev/examples/slot-props
2022-10-16 16:25:39 +08:00
Yuichiro Yamashita
caca8a5340
[chore] Improve CI (#7945)
* stop to use cache

* update on.push.branches

* rename
2022-10-16 13:55:23 +09:00
Conduitry
ef849217c4 -> v3.52.0 2022-10-15 09:57:24 -04:00
Tan Li Hau
244d74d4a7
[feat] pre-build before testing in CI (#7933) 2022-10-14 05:08:25 -07:00
Yuichiro Yamashita
a6169f65eb
Update CHANGELOG.md 2022-10-14 14:15:28 +09:00
Tan Li Hau
e8b4997bb5
[fix] duplicate meta tags during hydration (#7941) 2022-10-14 14:15:04 +09:00
Tan Li Hau
bb83eddfc6
Update CHANGELOG.md 2022-10-13 22:25:39 +08:00
Billy Levin
88ed9931f2
warn on assignment to const (#4960)
* warn on assignment to const

* fix formatting and switch to error

* check most local scopes first

* fix logic and add more tests

* more formatting

* Fix broken test

* use find_owner instead

Co-authored-by: tanhauhau <lhtan93@gmail.com>
2022-10-13 22:23:07 +08:00
Tan Li Hau
ab1285a4f8
Update CHANGELOG.md 2022-10-13 21:59:07 +08:00
Joffrey LEVEUGLE
c7c6c05c7f
[feat] add security warning for anchor element (rel attribute) (#6289)
* add security warning for anchor element (rel attribute)

* manage more case for security warnings on anchor (aplocks, false positive ...)

* remove noopener checks as noreferrer imples noopener

Co-authored-by: tanhauhau <lhtan93@gmail.com>
2022-10-13 21:58:10 +08:00
Tan Li Hau
ea9ee3911f
Update CHANGELOG.md 2022-10-13 21:53:23 +08:00
gtmnayan
bee1851faa
[feat] |important modifier for style directive (#7489)
* important modifier for style directive

* docs

* Exclude third param if false
third param for set_style is optional

* Remove unused test

Runtime test doesn't work because of weird behaviour of computed style
the puppeteer test should cover it

* remove unnecessary test

Co-authored-by: tanhauhau <lhtan93@gmail.com>
2022-10-13 21:52:06 +08:00
Siarhei
ff6e1c39d0
[chore] Bump actions' versions (#7921) 2022-10-13 21:51:06 +08:00
Don Alfons
1ca83c2050
[docs] Improve grammar (#7923)
* [docs] Improve grammar

* revert spelling changes

Co-authored-by: tanhauhau <lhtan93@gmail.com>
2022-10-13 21:01:58 +08:00
Hofer Ivan
739bfaec12
[chore] add missing types to compiler/compile/render_dom functions and variables (#7777)
* add missing types to `compiler/compile/render_dom` functions and variables

* add `DetachingOrNull`

* fis `is_head`
2022-10-13 20:56:09 +08:00
Hofer Ivan
0eba57113b
[chore]: store regexp as variable instead of defining it inline (#7716)
* store regexp as variable instead of defining it inline

* fix naming of `regex_quoted_value`

* some more variables

* optimize `.replace() calls

* restore formatting changes

* optimize `parser.*` calls

* small refactor

* optimize `.test() calls

* rename some variables

* fix tests

* rename pattern variables

* extract common regexes into `patters.ts`

* rename variables to use snake_case

* fix trim
2022-10-13 20:54:30 +08:00
metonym
26a428972b
[fix] "not interactive" -> "noninteractive" (#7930) 2022-10-13 20:49:00 +08:00
Conduitry
6ac7038e47 -> v3.51.0 2022-10-10 13:15:45 -04:00
Ben McCann
1c659193a0
[docs] update SvelteKit status (#7919) 2022-10-07 16:34:31 -07:00
Geoff Rich
ff2759e143
[docs] fix typo in getting started (#7918) 2022-10-07 16:25:19 -07:00
Samuel Stroschein
220325cd9f
[docs] add inline documentation to svelte runtime functions (#7846)
* add documentation

* add links do docs
2022-10-07 17:11:46 +08:00
Tan Li Hau
2b73938857
Update CHANGELOG.md 2022-10-07 08:25:04 +08:00
Tan Li Hau
8de7931c64
[feat] better error message for invalid logic block placement (#7862)
* better error message for invalid logic block placement

* include checking for {@html} tags in invalid location
2022-10-07 08:23:12 +08:00
Yuichiro Yamashita
d04b1cca24
Update CHANGELOG.md 2022-10-06 23:30:42 +09:00
Tan Li Hau
158ec43d99
[fix] do not warn about missing props for bindings (#6583) 2022-10-06 23:29:48 +09:00
Marcos Mercuri
ce569f97eb
[docs] Add clarification on how reactivity works (#7819)
* Add clarification on how reactivity works

Based on the fact that there are multiple issues were opened related to a perceived bug on the reactive variables, I thought it would be good to add a clarification on the docs. Part of the text is taken from [this comment](https://github.com/sveltejs/svelte/issues/7818#issuecomment-1230374639) that I found super useful.

* Reword based on PR comments
2022-10-06 17:23:29 +08:00
Yuichiro Yamashita
bfb7536c1a
Update CHANGELOG.md 2022-10-06 10:28:41 +09:00
Tan Li Hau
81d4dbad99
[fix] call on_destroy if unmounted called immediately before on_mount (#7860)
* call on_destroy if unmounted called immediately before on_mount

* feat: review changes
2022-10-06 10:21:36 +09:00
Yuichiro Yamashita
57541e6abc
Update CHANGELOG.md 2022-10-06 01:21:31 +09:00
Tan Li Hau
5c5bc27d97
[feat] Support style props for SVG components (#7859) 2022-10-06 01:18:37 +09:00
Tan Li Hau
ea2f83adeb
Update CHANGELOG.md 2022-10-05 23:29:43 +08:00
Yuichiro Yamashita
01a91163a9
[fix] Improve error message if this attribute of <svelte:component> is not valid (#7551)
* add test

* improve error message if this attribute of <svelte:component> is not SvelteComponent

* add more tests

* improve validation

* simplify test

Co-authored-by: Tan Li Hau <tanhauhau@users.noreply.github.com>
2022-10-05 23:28:00 +08:00