Dominic Gannaway
5768df1300
chore: remove selector api ( #9426 )
...
* chore: remove selector api
1 year 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>
1 year 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>
1 year ago
Dominic Gannaway
5a6afe5463
fix: correct each block update index type ( #9425 )
...
* fix: correctly handle index within each block updates
* changeset
1 year ago
Wilson Hobbs
1daadc357d
chore: add missing svelte/transition functions ( #9391 )
...
* chore: add missing svelte/transition functions
* lint
1 year 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
1 year 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
1 year ago
Rich Harris
11eead7db9
lint
1 year 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>
1 year ago
gtmnayan
7a84e78b4d
fix: add snippet symbol to children prop ( #9395 )
...
* add snippet symbol to children prop
* fix error message for snippet validation
* changeset
1 year 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
Mathias Schäfer
16c42cb085
fix: add transform-origin to SVGAttributes ( #9326 )
...
See https://svgwg.org/svg2-draft/styling.html#PresentationAttributes
1 year ago
Ravi van Rooijen
1ed9182025
docs: mention `{#await}` on non-Promise values short-circuiting to the fullfilled branch ( #9324 )
...
Fixes #9323
1 year ago
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
1 year ago
Emmanuel Ferdman
6f508a011b
fix: update link to `LICENSE.md` ( #9296 )
1 year ago
Ben McCann
4efec418c2
chore: bump jsdom to address word-wrap vulnerability ( #9046 )
...
* chore: bump jsdom to address word-wrap vulnerability
* downgrade jsdom
* fix lockfile
1 year ago
Ben McCann
052d38158f
chore: upgrade magic-string ( #9292 )
1 year ago
Rubin Raithel
9ffe07da2f
fix: svelte.dev site scripts filepath generation ( #9273 )
1 year ago
Willow (GHOST)
e42b961bd2
Add Hacktoberfest blog post ( #9280 )
1 year ago
Dani Sandoval
050592d2e1
docs: "What's new in Svelte" October newsletter ( #9271 )
1 year ago
Diego Augusto Molina
acb93568b0
docs: fix typo in `Action` jsdoc ( #9254 )
1 year ago