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

6936 Commits

Author SHA1 Message Date
gtmnayan
afd3f4e5a9
[feat] Make setContext return the value that was passed in (#7432)
* return value from setContext

* update docs

* Add test

* eof new line

* pacify the linter

* const and tabs
2022-04-11 08:50:28 +08:00
Kazuma Oe
707455fa8b
[docs] add <svelte:element> example (#7439) 2022-04-10 23:50:15 +08:00
Conduitry
467ba0a920 -> v3.47.0 2022-04-08 14:24:31 -04:00
Simon H
cd3bb35342
update changelog 2022-04-08 19:32:35 +02:00
Yuichiro Yamashita
eca1a652fb
[fix] better context checks for identifiers in const tags (#7222)
Fixes #7423
Fixes #7431
Fixes #7206
Fixes #7431
Fixes #7221

Co-authored-by: tanhauhau <lhtan93@gmail.com>
2022-04-08 19:30:49 +02:00
Simon H
f6fd8e1ec8
update changelog 2022-04-08 16:59:03 +02:00
Yuichiro Yamashita
e0d93254fd
[feature] Dynamic elements implementation <svelte:element> (#6898)
Closes #2324

Co-authored-by: Alfred Ringstad <alfred.ringstad@hyperlab.se>
Co-authored-by: Simon Holthausen <simon.holthausen@accso.de>
Co-authored-by: tanhauhau <lhtan93@gmail.com>
2022-04-08 16:54:55 +02:00
Tan Li Hau
54197c5a1f
Update CHANGELOG.md 2022-04-08 22:26:32 +08:00
Tan Li Hau
89fda7edae
[fix] add key dependencies into block dependencies (#7422)
* add key dependencies into block dependencies

* fix lint
2022-04-08 22:24:15 +08:00
Dominik G
6ef0aa2944
[docs] add link to vitest svelte example to test faq (#7281) 2022-04-08 11:22:30 +02:00
Simon H
31eb623779
[docs] add note about initially selected value
Closes #7430
2022-04-08 10:01:22 +02:00
Ben McCann
3c11c480b9
[docs] clarify css option (#7271) 2022-04-08 10:25:31 +08:00
TzuHsuan
535a1fc20d
Change top level requirement wording (#7336)
Changed the wording to be more consistent between `<svelte:window>`, `<svelte:body>` and `<svelte:head>`.
Chose "may only appear" over "has to appear" as the latter could be misinterpreted as a compulsory element
2022-04-08 10:22:01 +08:00
Ben McCann
42905c757f
[docs] update bundler documentation (#7414)
* [docs] update bundler documentation

* Update site/content/docs/04-compile-time.md

Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>

Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
2022-04-08 10:20:46 +08:00
Angie Byron
5f020cc91e
[docs] Fix REPL instructions (#7413)
Closes #7412
2022-04-06 14:39:57 +02:00
Tan Li Hau
fdca706e87
Update CHANGELOG.md 2022-04-06 18:47:55 +08:00
maxlath
f58382b22a
add Symbol to globals (#7419)
addressing #7418
2022-04-06 18:46:17 +08:00
Janosh Riebesell
6a663490b5
[docs] fix typos in whats-new-in-svelte-april-2022.md (#7417) 2022-04-04 11:06:21 +02:00
Daniel Sandoval
687a26b784
[docs] "What's new in Svelte" April newsletter (#7377) 2022-04-01 14:02:18 +02:00
dependabot[bot]
5e7b044b6c
Bump minimist from 1.2.5 to 1.2.6 (#7401)
Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases)
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6)

---
updated-dependencies:
- dependency-name: minimist
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-31 13:37:14 -07:00
dependabot[bot]
a1143d96a1
Bump ansi-regex from 3.0.0 to 3.0.1 (#7402)
Bumps [ansi-regex](https://github.com/chalk/ansi-regex) from 3.0.0 to 3.0.1.
- [Release notes](https://github.com/chalk/ansi-regex/releases)
- [Commits](https://github.com/chalk/ansi-regex/compare/v3.0.0...v3.0.1)

---
updated-dependencies:
- dependency-name: ansi-regex
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-31 13:37:00 -07:00
Conduitry
2041ab6fe8 -> v3.46.6 2022-03-31 10:15:06 -04:00
GHOST
b04c4a201f
[fix] include action in pkg.files (#7407) 2022-03-31 10:13:11 -04:00
Conduitry
468ed37650 -> v3.46.5 2022-03-30 11:03:55 -04:00
Conduitry
428023ea58 update changelog 2022-03-30 10:50:54 -04:00
Pat Cavit
9f4602ac6f
[fix] style: directive should prevent innerHTML optimization (#7390)
Fixes #7386
2022-03-30 10:49:25 -04:00
Eliaz Bobadilla
0eee98a50a
[docs] Update package.json to link to homepage (#7374) 2022-03-21 18:33:14 +01:00
Raúl Sáez
9d4ff6738a
[docs] Correct default port on blog posts (#7372) 2022-03-17 09:06:27 -04:00
Isabel Leccese
2f71bc9333
[docs] fix typo (#7344) 2022-03-06 16:46:48 +01:00
Simon H
1632bca34e
Update changelog 2022-03-03 12:24:04 +01:00
Maurício Kishi
cdd3575026
[fix] attribute escaping during ssr (#7333)
Fixes #7327 and a related security issue
2022-03-03 12:22:38 +01:00
Simon H
b26aa1c865
Update changelog 2022-03-03 08:27:41 +01:00
Geoff Rich
0a3353b671
[fix] do not collapse whitespace-only css vars (#7303)
Fixes #7152, see also #7288

--foo:; used to be an invalid CSS custom property value, while -foo: ; was valid. By collapsing the whitespace in these declaration values, we were breaking scenarios where an empty custom property was desired. The spec was updated to trim whitespace and treat these values identically, but Chromium browsers still treat --foo; as invalid. This was recently fixed and will be released in Chrome 99, but this would still be a good fix to maintain backwards compatibility.
2022-03-03 08:25:52 +01:00
Ben McCann
2c629bcc0c
Update CHANGELOG.md 2022-03-02 16:57:26 -08:00
rgossiaux
e2adf6a211
fix: do not generate unused-export-let inside <script context="module"> (#7232)
Fixes #7055. This warning can be delegated to userland tools like eslint
2022-03-02 16:55:02 -08:00
tomoam
9b7b8149e4
[docs] add - to the beginning of the line (#7328) 2022-03-02 11:21:24 +08:00
Daniel Sandoval
a9e6087113
[docs] "What's new in Svelte" March newsletter (#7293) 2022-03-01 15:16:20 +01:00
Frozen FIsh
555cdf3da2
[docs] fix typo (#7323) 2022-03-01 00:51:26 +08:00
Simon H
8073768f65
update changelog 2022-02-26 19:37:53 +01:00
Ignatius Bagus
78131b9f98
[feat] TS interfaces for typing actions (#7121)
Fixes #6538
2022-02-26 19:37:12 +01:00
Nick Cummings
f24614cd52
[docs] Add missing parent element to code example. (#7309)
The div is part of the code, but not part of the code snippet of the text
2022-02-25 09:16:13 +01:00
Jacob Størdahl
b6441eb655
[fix] add aria-description aria_attributes - (#7302)
Fixes #7301
2022-02-22 17:39:27 +01:00
kram1138
435d14aafe
[docs] Fix feature request link (#7292) 2022-02-19 21:56:52 +01:00
opensas
252895d42a
[docs] improve actions tutorial presentation (#7283) 2022-02-17 23:14:43 +01:00
T•Ø•R•Ü•S
f287bbe80d
[doc] fixed seemingly erroneous capitalization of noun (#7273) 2022-02-16 16:09:43 -08:00
dependabot[bot]
39f0d8cc31
Bump path-parse from 1.0.6 to 1.0.7 (#7258)
Bumps [path-parse](https://github.com/jbgutierrez/path-parse) from 1.0.6 to 1.0.7.
- [Release notes](https://github.com/jbgutierrez/path-parse/releases)
- [Commits](https://github.com/jbgutierrez/path-parse/commits/v1.0.7)

---
updated-dependencies:
- dependency-name: path-parse
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-14 05:45:38 -08:00
Ignatius Bagus
ec0922219d
[docs] update to multi-page docs links (#7249) 2022-02-14 05:45:04 -08:00
dependabot[bot]
5c256bffd1
Bump ajv from 6.10.2 to 6.12.6 (#7248)
Bumps [ajv](https://github.com/ajv-validator/ajv) from 6.10.2 to 6.12.6.
- [Release notes](https://github.com/ajv-validator/ajv/releases)
- [Commits](https://github.com/ajv-validator/ajv/compare/v6.10.2...v6.12.6)

---
updated-dependencies:
- dependency-name: ajv
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-12 20:28:25 -08:00
Geoff Rich
a4a1c3c272
[docs] set language on FAQ code blocks (#7237) 2022-02-09 09:12:07 -08:00
Conduitry
eb6fb66f19 -> v3.46.4 2022-02-03 12:59:55 -05:00