0
0
mirror of https://github.com/sveltejs/svelte.git synced 2024-11-22 03:47:27 +01:00
Commit Graph

7544 Commits

Author SHA1 Message Date
Simon Holthausen
fe8a9ce31d breaking: init Svelte 5
Co-authored-by: Rich Harris <rich.harris@vercel.com>
Co-authored-by: Simon Holthausen <simon.holthausen@vercel.com>
Co-authored-by: Dominic Gannaway <dg@domgan.com>
2023-11-10 15:48:23 +01:00
github-actions[bot]
1369aa5cec
Version Packages (#9380)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-11-10 13:41:20 +01:00
Simon H
e10be7a8e4
site: summit banner (#9378) 2023-11-10 13:38:39 +01:00
Simon H
2a2a773174
chore: rewire some master occurences (#9379)
(main for a few in contributing; doesn't exist yet but will, soon)
2023-11-10 13:38:07 +01:00
Kelvin Soh
00700621bb
fix: html tag hydration: regard empty claimed_nodes array as content mismatch (#9184)
fixes #6832
2023-11-10 12:44:57 +01:00
Ben McCann
d8e382712c
site: fix type errors in JS files (#9354) 2023-11-08 05:34:37 -08:00
Pedro Coelho
ac7505d81b
docs: update text color in animate example (#9374) 2023-11-07 12:54:34 -08:00
Vardhaman Bhandari
2a6f9e3bb7
docs: fix typo in blog (#9373) 2023-11-05 16:40:38 -08:00
Dani Sandoval
3a842e3da4
docs: "What's new in Svelte" November newsletter (#9360)
* november draft

* Apply suggestions from code review

Co-authored-by: Ben McCann <322311+benmccann@users.noreply.github.com>
Co-authored-by: Stanislav Khromov <stanislav.khromov+github@gmail.com>

* add version number to kit suggestion

* add svelte summit blurb

* update title, move summit to intro, add deno note

* Update documentation/blog/2023-11-01-whats-new-in-svelte-november-2023.md

Co-authored-by: Ben McCann <322311+benmccann@users.noreply.github.com>

---------

Co-authored-by: Ben McCann <322311+benmccann@users.noreply.github.com>
Co-authored-by: Stanislav Khromov <stanislav.khromov+github@gmail.com>
2023-10-31 20:27:22 +01:00
Ben McCann
54233adb63
docs: clarify "obsolete" in runes blog post (#9364) 2023-10-30 22:42:25 -04:00
Ben McCann
895612514c
fix: improve a11y-click-events-have-key-events message (#9358) 2023-10-30 09:43:24 -07:00
Ben McCann
3d20b39289
site: fix 404 page by upgrading SvelteKit and avoiding null reference (#9337) 2023-10-23 13:19:06 -07:00
Sanjaiyan Parthipan
522d06a6ad
site: add type="search" to search input (#9263) 2023-10-20 21:04:22 +02:00
Ben McCann
28d6b34598
chore: fix failing format linting (#9338) 2023-10-19 10:06:57 -07:00
Min Kim
4b911045b0
docs: fix else if blocks on tutorial (#9336) 2023-10-19 15:46:51 +02:00
github-actions[bot]
590503044f
Version Packages (#9293)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-10-19 10:41:11 +02:00
Sina Salahshour
6b9b8af050
fix: ignore comments while comparing nodes in node_match (#9197)
related to issue #9088
it doesn't solve the main problem of dependencies getting invalidated whenever value of a variable gets changed.
but it fixes the behavior difference between the code with and without comments
2023-10-19 10:28:33 +02:00
Simon H
c1b7262248
fix: repair pnpm lock to deduplicate packages and make repl working again (#9333) 2023-10-19 14:13:07 +05:45
vhladko
ab80d9d214
fix: add missing plaintext-only value to contenteditable type (#9242)
fixes #9181
2023-10-19 10:03:00 +02:00
Ben McCann
c9cd687d36
chore: upgrade semver and postcss to address four security issues (#9322) 2023-10-19 09:51:15 +02:00
Mathias Schäfer
16c42cb085
fix: add transform-origin to SVGAttributes (#9326)
See https://svgwg.org/svg2-draft/styling.html#PresentationAttributes
2023-10-19 09:50:51 +02:00
Ravi van Rooijen
1ed9182025
docs: mention {#await} on non-Promise values short-circuiting to the fullfilled branch (#9324)
Fixes #9323
2023-10-19 09:27:47 +02:00
Simon H
9900c85acf
fix: support camelCase properties on custom elements (#9328)
while attributes are case insensitive, properties are not. to not introduce a breaking change, the lowercased variant is checked first.
fixes #9325
2023-10-18 15:46:22 +02:00
Emmanuel Ferdman
6f508a011b
fix: update link to LICENSE.md (#9296) 2023-10-06 12:59:22 +02:00
Ben McCann
4efec418c2
chore: bump jsdom to address word-wrap vulnerability (#9046)
* chore: bump jsdom to address word-wrap vulnerability

* downgrade jsdom

* fix lockfile
2023-10-05 12:39:47 +02:00
Ben McCann
052d38158f
chore: upgrade magic-string (#9292) 2023-10-04 09:39:32 +02:00
Rubin Raithel
9ffe07da2f
fix: svelte.dev site scripts filepath generation (#9273) 2023-10-03 21:58:16 -07:00
Willow (GHOST)
e42b961bd2
Add Hacktoberfest blog post (#9280) 2023-10-03 06:59:33 -07:00
Dani Sandoval
050592d2e1
docs: "What's new in Svelte" October newsletter (#9271) 2023-09-30 22:30:24 -07:00
Diego Augusto Molina
acb93568b0
docs: fix typo in Action jsdoc (#9254) 2023-09-25 08:39:03 -07:00
Irshad Ali
fa89421301
fix(repl): runes bottom banner overlapping fixed (#9238)
---------

Co-authored-by: Simon H <5968653+dummdidumm@users.noreply.github.com>
Co-authored-by: Simon Holthausen <simon.holthausen@vercel.com>
2023-09-21 11:05:41 +02:00
Ben McCann
666d70ac2b
chore: update PR template with note about rewrite (#9231) 2023-09-20 19:23:27 +02:00
Simon H
68b40effb2
site: runes banner (#9228)
* site: runes banner

* well I should get the title right, shouldnt I?

* padding

* fix typo

* tweak
2023-09-20 11:02:36 -04:00
Rich Harris
c50ad34b06
introducing runes (#9227)
Co-authored-by: Rich Harris <rich.harris@vercel.com>
2023-09-20 09:56:54 -04:00
github-actions[bot]
bd5e5eef9b
Version Packages (#9121)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-09-20 10:25:09 +02:00
gtmnayan
26eb2a2f89
fix: false reactive component warning (#9094)
fixes #9082
2023-09-20 10:04:16 +02:00
Teo
93b17c85f7
fix: spreading attributes on option value attribute get's replaced by option's inner text (#9125)
fixes #9107
Apart from the problem with the option the same happens with the textarea.
2023-09-20 10:02:38 +02:00
Teo
228dd4d9d7
fix: svelte:element with dynamic this and spread attributes throws error (#9112)
fixes #9092

---------

Co-authored-by: gtmnayan <50981692+gtm-nayan@users.noreply.github.com>
Co-authored-by: Simon H <5968653+dummdidumm@users.noreply.github.com>
2023-09-20 10:02:18 +02:00
gtmnayan
3191147c2a
chore: document init parameters (#9118) 2023-09-20 09:59:38 +02:00
paulreece
6fe17eabf2
fix: This makes the indeterminate HTML attribute available for use. Fixes #9176. (#9180)
Fixes #9176. This adds indeterminate to the list of HTMLAttributes so that one can use it without receiving an error.
2023-09-20 09:50:10 +02:00
Kelvin Soh
d5a1822428
fix: style directive not updating when style attribute is present and style directive is updated via an object prop. fixes #9185 (#9187)
fixes #9185.

I narrowed down the issue to the bug surfacing when we use object properties to update style attributes and directives. This fix removes the size check (because a single object will be of size 1 but can affect n attributes/directives via its properties).

In addition, the order of the OR is switched as the earlier condition has some reactive assignments which are not run in the current order when style_changed_var is truthy.
2023-09-20 09:49:50 +02:00
gtmnayan
115ea1ff4a
fix: do not add module declared variables as dependencies (#9122)
closes #5943
2023-09-20 09:48:47 +02:00
Puru Vijay
6aca6127ca
site: fix scroll restoration (#9222) 2023-09-19 08:08:54 -07:00
Puru Vijay
408ab77420
feat: OnThisPage blog (#9216)
* feat: OnThisPage blog

### Before submitting the PR, please make sure you do the following

- [ ] It's really useful if your PR references an issue where it is discussed ahead of time. In many cases, features are absent for a reason. For large changes, please create an RFC: https://github.com/sveltejs/rfcs
- [ ] Prefix your PR title with `feat:`, `fix:`, `chore:`, or `docs:`.
- [ ] This message body should clearly illustrate what problems it solves.
- [ ] Ideally, include a test that fails without this PR but passes with it.

### Tests and linting

- [ ] Run the tests with `pnpm test` and lint the project with `pnpm lint`

* Bump site-kit

* Add content
2023-09-18 12:18:35 +05:30
Ben McCann
8e85b3fa9e
docs: remove typescript faq (#9108) 2023-09-16 11:45:15 -07:00
Puru Vijay
1a28d58b5d
feat: Copy code button (#8995)
* Push

* Bump site-kit

* Add headers to primary snippets

* Update deps

* Bump deos

* redploy

* Back to normal

* Push

* Bump deps

* site: fix rendering of promise in deprecation warning (#9191)

* copy: true

* Bump site-kit

* Use cache
2023-09-16 20:00:16 +05:30
Conduitry
16504d1f52
docs: add FAQ about why you can't keep unused styles (#9193) 2023-09-15 16:34:49 -07:00
Jack Farley
9073241daa
docs: mention escaping of curly braces (#8560) 2023-09-15 16:26:19 -07:00
Yeom suyun
b62fc8c8fd
chore: eslint rule for naming convention (#9208) 2023-09-15 11:12:53 -07:00
Rich Harris
8667f0fd7e
add teaser page (#9210)
* add teaser page

* add origin

* host card externally

* fix

* remove unused styles

* redesign

* black bg

* fix og image

* tweak font-sizes and alignment

---------

Co-authored-by: Rich Harris <rich.harris@vercel.com>
2023-09-15 11:32:31 -04:00