Arpit Jalan
3f56baf760
blog: fix typo in 'svelte.dev: A complete overhaul' blog entry ( #9438 )
12 months ago
Dominic Gannaway
cf63220a0e
fix: ensure keyed fallback to indexed ( #9441 )
...
Fixes #9408 . Ensures that if we have a key that matches the index, that we fallback to using an indexed each block.
12 months ago
Dominic Gannaway
da37c928ef
fix: support dynamic attributes containing call expressions ( #9443 )
...
Fixes #9403 . We weren't taking into account the containment of call expressions logic before.
12 months ago
Yuichiro Yamashita
a6fdc47a0b
chore: show ast on playground ( #9440 )
...
The modern one
12 months ago
Rich Harris
66661eff04
chore: use internal `get_descriptors` helper ( #9389 )
...
* chore: use internal get_descriptors helper
* tweak changeset
* fix bad merge
---------
Co-authored-by: Rich Harris <rich.harris@vercel.com>
12 months ago
Simon H
7ab03ae36c
fix: add missing files binding ( #9415 )
...
no two-way binding because setting it involves a `DataTransfer` workaround, so it's not really officially supported that way - if you need that, you shouldn't use that binding probably. This matches the behavior in Svelte 4.
Co-authored-by: Rich Harris <rich.harris@vercel.com>
12 months ago
Simon H
9aa06bdf9e
fix: check that snippet is not rendered as a component ( #9423 )
...
Co-authored-by: Rich Harris <rich.harris@vercel.com>
12 months ago
github-actions[bot]
1fd77d7494
Version Packages (next) ( #9386 )
...
* Version Packages (next)
* Update packages/svelte/CHANGELOG.md
---------
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Rich Harris <richard.a.harris@gmail.com>
12 months ago
Rich Harris
9fc8726f13
skip svelte.dev deploy. this may or may not work ( #9424 )
...
* skip svelte.dev deploy. this may or may not work
* try this
---------
Co-authored-by: Rich Harris <rich.harris@vercel.com>
12 months ago
Rich Harris
a990e5716a
fix tsconfig.json ( #9427 )
...
* fix tsconfig.json
* prettier
* another apparently-necessary fix
---------
Co-authored-by: Rich Harris <rich.harris@vercel.com>
12 months ago
Dominic Gannaway
5768df1300
chore: remove selector api ( #9426 )
...
* chore: remove selector api
12 months ago
Dominic Gannaway
17e6c4f834
fix: address runtime effect issues ( #9417 )
...
* Fix runtime effect issues
* Prettier
* Add changeset
* Fix operations
* Update .changeset/khaki-mails-draw.md
* more tweaks
* more tweaks
---------
Co-authored-by: Simon H <5968653+dummdidumm@users.noreply.github.com>
12 months ago
Dominic Gannaway
8798f3b1e7
chore: split $.each into $.each_keyed/$.each_indexed ( #9422 )
...
* Split $.each into $.each_keyed/$.each_indexed
* Add changeset
* Update .changeset/quiet-camels-mate.md
* Fix typo
---------
Co-authored-by: Simon H <5968653+dummdidumm@users.noreply.github.com>
12 months ago
Dominic Gannaway
5a6afe5463
fix: correct each block update index type ( #9425 )
...
* fix: correctly handle index within each block updates
* changeset
12 months ago
Wilson Hobbs
1daadc357d
chore: add missing svelte/transition functions ( #9391 )
...
* chore: add missing svelte/transition functions
* lint
12 months ago
Simon H
9a99554379
breaking: remove Component type, keep using SvelteComponent instead ( #9413 )
...
I came to the conclusion that when we're making up arbitrary types, we might as well keep the old class. That way:
- one less thing to worry about (language tools and other tooling basically can continue to spit out SvelteComponent )
- we can more clearly mark $set , the constructor etc as being deprecated and no longer functioning unless you use that legacy compatibility mode
- much more ergonomic to type for the user:
- const someInstance: SvelteComponent<..> instead of const someInstance: ReturnType<typeof Component<..>>
- If you're using generics, you can do export class MyComponent<T> extends SvelteComponent<{ prop: T }> {} instead of having to type out the whole function in a way that I'm not even sure how to do with generics
12 months ago
gtmnayan
2ae953934d
enable dev mode for preview repl ( #9393 )
...
* enable dev mode for preview repl
* format
* also add dev mode toggle for compiler options
* whoops
12 months ago
Rich Harris
11eead7db9
lint
12 months ago
Ben McCann
6d7caf3fd3
chore: update PR template ( #9397 )
...
* chore: update PR template
* Update .github/PULL_REQUEST_TEMPLATE.md
---------
Co-authored-by: Rich Harris <richard.a.harris@gmail.com>
12 months ago
gtmnayan
7a84e78b4d
fix: add snippet symbol to children prop ( #9395 )
...
* add snippet symbol to children prop
* fix error message for snippet validation
* changeset
12 months ago
Rich Harris
304a29e1cc
fix runes mode indicator ( #9388 )
...
* fix runes mode indicator
* tidy up
---------
Co-authored-by: Rich Harris <rich.harris@vercel.com>
1 year ago
Rich Harris
7bcd33dbe1
Fix diagnostics ( #9385 )
...
* simplify a whole bunch of stuff
* delete more unused stuff
* fix diagnostics
* prettier
---------
Co-authored-by: Rich Harris <rich.harris@vercel.com>
1 year ago
Rich Harris
2aacfad9ae
fix: exclude internal props from spread attributes ( #9384 )
...
* exclude internal props from spread attributes
* changeset
* tighten up
---------
Co-authored-by: Rich Harris <rich.harris@vercel.com>
1 year ago
Simon Holthausen
51394a4834
docs: note more breaking changes
1 year ago
Rich Harris
14d7424d75
fix symlink (hopefully) ( #9383 )
...
Co-authored-by: Rich Harris <rich.harris@vercel.com>
1 year ago
Simon Holthausen
c732bf8b42
Merge branch 'main' of https://github.com/sveltejs/svelte
1 year ago
github-actions[bot]
28b560392b
Version Packages (next) ( #9382 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 year ago
Simon Holthausen
341810b82c
chore: don't format changeset folder
1 year ago
Simon H
c6c934afb2
chore: cleanup ( #9381 )
...
* lets see if this works
* fix versions
* sigh
* debugging ci is sooo fun
* oh wow
* fix stuff, changelog, add back readme
* appease prettier
* format stuff
1 year ago
Simon Holthausen
b8ea454372
chore: enter changeset prerelease mode
1 year ago
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>
1 year ago
github-actions[bot]
1369aa5cec
Version Packages ( #9380 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 year ago
Simon H
e10be7a8e4
site: summit banner ( #9378 )
1 year ago
Simon H
2a2a773174
chore: rewire some master occurences ( #9379 )
...
(main for a few in contributing; doesn't exist yet but will, soon)
1 year ago
Kelvin Soh
00700621bb
fix: html tag hydration: regard empty claimed_nodes array as content mismatch ( #9184 )
...
fixes #6832
1 year ago
Ben McCann
d8e382712c
site: fix type errors in JS files ( #9354 )
1 year ago
Pedro Coelho
ac7505d81b
docs: update text color in animate example ( #9374 )
1 year ago
Vardhaman Bhandari
2a6f9e3bb7
docs: fix typo in blog ( #9373 )
1 year ago
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>
1 year ago
Ben McCann
54233adb63
docs: clarify "obsolete" in runes blog post ( #9364 )
1 year ago
Ben McCann
895612514c
fix: improve a11y-click-events-have-key-events message ( #9358 )
1 year ago
Ben McCann
3d20b39289
site: fix 404 page by upgrading SvelteKit and avoiding null reference ( #9337 )
1 year ago
Sanjaiyan Parthipan
522d06a6ad
site: add `type="search"` to search input ( #9263 )
1 year ago
Ben McCann
28d6b34598
chore: fix failing format linting ( #9338 )
1 year ago
Min Kim
4b911045b0
docs: fix else if blocks on tutorial ( #9336 )
1 year ago
github-actions[bot]
590503044f
Version Packages ( #9293 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 year ago
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
1 year ago
Simon H
c1b7262248
fix: repair pnpm lock to deduplicate packages and make repl working again ( #9333 )
1 year ago
vhladko
ab80d9d214
fix: add missing plaintext-only value to contenteditable type ( #9242 )
...
fixes #9181
1 year ago
Ben McCann
c9cd687d36
chore: upgrade semver and postcss to address four security issues ( #9322 )
1 year ago