-
-
Notifications
You must be signed in to change notification settings - Fork 165
docs: "What's new in Svelte" August newsletter #1433
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
@DreaminDani is attempting to deploy a commit to the Svelte Team on Vercel. A member of the Team first needs to authorize it. |
- getAbortSignal returns an AbortSignal that aborts when the current derived or effect re-runs or is destroyed (**[email protected]**, [Docs](https://svelte.dev/docs/svelte/svelte#getAbortSignal), [#16266](https://github.com/sveltejs/svelte/pull/16266)) | ||
- A new parent property has been added to the `__svelte_meta` properties that are added to elements at dev time - useful for debugging nested hierarchies (**[email protected]**, Docs, [#16255](https://github.com/sveltejs/svelte/pull/16255)) | ||
- `await` is now supported in components when using the `experimental.async` compiler option (**[email protected]/[email protected]**, [Docs](https://svelte.dev/docs/svelte/await-expressions) [#15844](https://github.com/sveltejs/svelte/pull/15844)) | ||
- `svelte.config.ts` can now be loaded in runtimes that support importing TypeScript files (**[email protected]**, [#13935](https://github.com/sveltejs/kit/pull/13935)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this does not yet work with language-tools and eslint-plugin-svelte, i'd prefer it to be announced more publicly after all our tools support it
- `svelte.config.ts` can now be loaded in runtimes that support importing TypeScript files (**[email protected]**, [#13935](https://github.com/sveltejs/kit/pull/13935)) |
Not sure which category to best put this in but there is a new major release of vite-plugin-svelte with support for vite7, rolldown-vite and more https://github.com/sveltejs/vite-plugin-svelte/releases/tag/%40sveltejs%2Fvite-plugin-svelte%406.0.0 |
|
||
## What's new in Svelte, SvelteKit, Language Tools and CLI (sv) | ||
|
||
- getAbortSignal returns an AbortSignal that aborts when the current derived or effect re-runs or is destroyed (**[email protected]**, [Docs](https://svelte.dev/docs/svelte/svelte#getAbortSignal), [#16266](https://github.com/sveltejs/svelte/pull/16266)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- getAbortSignal returns an AbortSignal that aborts when the current derived or effect re-runs or is destroyed (**[email protected]**, [Docs](https://svelte.dev/docs/svelte/svelte#getAbortSignal), [#16266](https://github.com/sveltejs/svelte/pull/16266)) | |
- `getAbortSignal` returns an `AbortSignal` that aborts when the current derived or effect re-runs or is destroyed (**[email protected]**, [Docs](https://svelte.dev/docs/svelte/svelte#getAbortSignal), [#16266](https://github.com/sveltejs/svelte/pull/16266)) |
## What's new in Svelte, SvelteKit, Language Tools and CLI (sv) | ||
|
||
- getAbortSignal returns an AbortSignal that aborts when the current derived or effect re-runs or is destroyed (**[email protected]**, [Docs](https://svelte.dev/docs/svelte/svelte#getAbortSignal), [#16266](https://github.com/sveltejs/svelte/pull/16266)) | ||
- A new parent property has been added to the `__svelte_meta` properties that are added to elements at dev time - useful for debugging nested hierarchies (**[email protected]**, Docs, [#16255](https://github.com/sveltejs/svelte/pull/16255)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- A new parent property has been added to the `__svelte_meta` properties that are added to elements at dev time - useful for debugging nested hierarchies (**[email protected]**, Docs, [#16255](https://github.com/sveltejs/svelte/pull/16255)) | |
- A new `parent` property has been added to the `__svelte_meta` properties that are added to elements at dev time - useful for debugging nested hierarchies (**[email protected]**, Docs, [#16255](https://github.com/sveltejs/svelte/pull/16255)) |
authorURL: https://dreamindani.com | ||
--- | ||
|
||
With [Async Svelte](https://github.com/sveltejs/svelte/discussions/15845) officially out in the world, there's a lot of updates to share! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
With [Async Svelte](https://github.com/sveltejs/svelte/discussions/15845) officially out in the world, there's a lot of updates to share! | |
With [Async Svelte](https://github.com/sveltejs/svelte/discussions/15845) officially out in the world and its companion [Remote Functions](https://github.com/sveltejs/kit/discussions/13897) already ligned up, there's a lot of updates to share! |
|
||
_Featuring Svelte Contributors and Ambassadors_ | ||
|
||
- [promise.then(...)](https://www.youtube.com/watch?v=e-1pVKUWlOQ) by Rich Harris - what's next now that Svelte is Async |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should also mention this one https://www.youtube.com/live/kL4Tp8RmJwo
- A new parent property has been added to the `__svelte_meta` properties that are added to elements at dev time - useful for debugging nested hierarchies (**[email protected]**, Docs, [#16255](https://github.com/sveltejs/svelte/pull/16255)) | ||
- `await` is now supported in components when using the `experimental.async` compiler option (**[email protected]/[email protected]**, [Docs](https://svelte.dev/docs/svelte/await-expressions) [#15844](https://github.com/sveltejs/svelte/pull/15844)) | ||
- `svelte.config.ts` can now be loaded in runtimes that support importing TypeScript files (**[email protected]**, [#13935](https://github.com/sveltejs/kit/pull/13935)) | ||
- There are now types for the `params` prop in page/layout components (**[email protected]/[email protected]**, [#13999](https://github.com/sveltejs/kit/pull/13999)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Similarly, typed routes are a thing now sveltejs/kit#13864
|
||
Let's dive into the highlights... | ||
|
||
## What's new in Svelte, SvelteKit, Language Tools and CLI (sv) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Kind of a minor addition but SvelteKit's read
now works in edge environments where fs.readFile
isn't available such as in Cloudflare's workerd, Netlify, and Vercel's edge functions.
sveltejs/kit#13859
Let me know if I missed anything!