|
| 1 | +--- |
| 2 | +title: "What's new in Svelte: May 2023" |
| 3 | +description: "New Ambassadors, a new ESLint plugin and a whole bunch of SvelteHack submissions" |
| 4 | +author: Dani Sandoval |
| 5 | +authorURL: https://dreamindani.com |
| 6 | +--- |
| 7 | + |
| 8 | +Before we dive into the updates, there's a few announcements worth mentioning at the top: |
| 9 | + |
| 10 | +## New Svelte Ambassadors |
| 11 | +Regular features of this newsletter and all-around great content creators for Svelte [JoyOfCode](https://www.youtube.com/@JoyofCodeDev) and [HuntaByte](https://www.youtube.com/@Huntabyte) have been appointed as Svelte Ambassadors. Ambassadors are people who are well known for their helpfulness and contributions and for upholding Svelte’s reputation as a friendly, welcoming community, and we’re deeply grateful for their involvement! |
| 12 | + |
| 13 | +## SvelteHack winners will be announced May 6th |
| 14 | +In a just a few days, we'll find out who won [SvelteHack](https://hack.sveltesociety.dev/) - the Svelte Hackathon that took place between February 17th and April 17th. Tune in to [Svelte Summit](https://www.sveltesummit.com/) on May 6th to see if your favorite project was chosen 👀 |
| 15 | + |
| 16 | +Lots of submissions to the hackathon are featured in this month's showcase... but first, let's see what's new! |
| 17 | + |
| 18 | +## What's new in Svelte |
| 19 | +- `style` blocks now support CSS `@container` queries (**3.58.0**) |
| 20 | +- `bind:innerText` is now available for `contenteditable` elements (**3.58.0**) |
| 21 | +- A new accessability warning, `a11y-interactive-supports-focus` will now warn when interactive elements are not focusable (**3.58.0**) |
| 22 | + |
| 23 | +For all the changes to the Svelte compiler, including unreleased changes, check out the [CHANGELOG](https://github.com/sveltejs/svelte/blob/master/CHANGELOG.md). |
| 24 | + |
| 25 | +## What's new in SvelteKit |
| 26 | +- When hot module reloading (HMR) is enabled, the page will reload after an error is fixed (**1.14.0**, [#9497](https://github.com/sveltejs/kit/pull/9497)) |
| 27 | +- Two apps loaded into the same html page can now be loaded simultaneously in "embedded" mode (**1.15.7**, [#9610](https://github.com/sveltejs/kit/pull/9610)) |
| 28 | +- Vite's compilation will now log warnings for packages that use the `svelte` field to resolve Svelte files differently than standard Vite resolve ( **[email protected]**, **[email protected]**) |
| 29 | + |
| 30 | + |
| 31 | +## What's new in Language Tools |
| 32 | +- Support for `<svelte:document>` ([#1958](https://github.com/sveltejs/language-tools/pull/1958)) and intellisense report for new bindings ([#1957](https://github.com/sveltejs/language-tools/pull/1957)) (**107.3.0**) |
| 33 | +- The new fix-all menu option for the "Quick fix..." makes it easy to "Add all missing imports" and other detected errors (**107.3.0**, [#1939](https://github.com/sveltejs/language-tools/pull/1939)) |
| 34 | +- We have a new and better official [ESLint plugin](https://github.com/sveltejs/eslint-plugin-svelte)! Previous support for Svelte in ESLint did not handle the template AST well, resulting in false positive/negatives and a high barrier to custom ESLint rules. This new official version is based on [ota-meshi](https://github.com/ota-meshi)'s [svelte-eslint-parser](https://github.com/sveltejs/svelte-eslint-parser) and is ready for prime time. Try it out and [share your feedback](https://github.com/sveltejs/eslint-plugin-svelte/issues)! |
| 35 | + |
| 36 | +--- |
| 37 | + |
| 38 | +## Community Showcase |
| 39 | + |
| 40 | +**Apps & Sites built with Svelte** |
| 41 | +- [Sound of War](https://soundofwar.art/) is a storytelling data visualization project to help understand the scale of destruction in Ukraine |
| 42 | +- [Syntax FM's swag shop](https://swag.syntax.fm/) is now built with SvelteKit, PlanetScale and Prisma |
| 43 | +- [Appreciation Jar](https://appreciation.place/) is your own private space where you can send encouraging and appreciative messages to your partner |
| 44 | +- [Japanese Jouzu](https://jp-jouzu.netlify.app/) is a Japanese sound and symbol learning app |
| 45 | +- [MarkMyImages](https://www.markmyimages.com/) is a tool to bulk watermark, image resize, rename, effects, and more - all on-device for speed and privacy |
| 46 | +- [Immich](https://github.com/immich-app/immich) is a self-hosted photo and video backup solution directly from your mobile phone |
| 47 | +- [Earbetter](https://github.com/ryanatkn/earbetter) is an ear training game and tools for playing and programming music and audio |
| 48 | +- [Tune Twisters](https://tune-twisters.vercel.app/) is a guessing game for songs... in reverse |
| 49 | +- [ResponseHunt](https://www.responsehunt.com/) is a mystery game based on browser requests - use your programming skills to get to the “golden” response |
| 50 | +- [Wolfensvelte 3D](https://github.com/snuffyDev/Wolfensvelte-3D/) is a Svelte "port" of Wolfenstein 3D |
| 51 | +- [Code Solving](https://code-svelte.vercel.app/) teaches how to solve problems with code |
| 52 | +- [Make Bookmarklets](https://make-bookmarklets.com/) is a quick way to create JavaScript bookmarklets with linting, intellisense and auto-minification |
| 53 | +- [GeniePM](https://genie.pm) is an AI tool to help Product Managers write user stories and requirements |
| 54 | +- [Bitesized News](https://bitesized.news/) is an AI that delivers news digests and responds to questions via chat |
| 55 | +- [Open Tunings](https://www.open-tunings.com/) is a place to explore alternative guitar tunings without having to retune your guitar |
| 56 | +- [BlinkSMS](https://blinksms.se/#) is a text alert tool for Stockholm Student Housing to help with booking laundry times |
| 57 | +- [Dev Links](https://github.com/killswitchh/dev-links) helps dev showcase multiple links in a single place - similar to Linktree and Kofi |
| 58 | +- [Audiogest](https://audiogest.app/) is a tool to convert speech to text & summarize any audio |
| 59 | +- [MineSweep](https://alecames.com/minesweep) is a rendition of Minesweeper built with Svelte and JavaScript |
| 60 | +- [Biolytics](https://biolytics.app/) lets you import your lab tests to see all your lab tests in one place |
| 61 | +- [Zero share](https://github.com/ntsd/zero-share) is a secure P2P file sharing using WebRTC |
| 62 | +- [Svelte lab](https://www.sveltelab.dev/) is a sandbox for creating and sharing SvelteKit projects |
| 63 | + |
| 64 | +**Learning Resources** |
| 65 | + |
| 66 | +_Featuring Svelte Contributors and Ambassadors_ |
| 67 | +- [Dev Vlog: April 2023 - TypeScript vs JSDoc, Transitions API, Dominic Gannaway joins Svelte team](https://www.youtube.com/watch?v=MJHO6FSioPI) |
| 68 | +- [Rich Harris on frameworks, the web, and the edge.](https://www.youtube.com/watch?v=uXCipjbcQfM) from Vercel's Svelte Meetup in NYC |
| 69 | +- [Svelte & SvelteKit](https://frontendmasters.com/workshops/svelte-sveltekit/) taught by Rich Harris on Frontend Masters |
| 70 | +- This Week in Svelte: |
| 71 | + - [2023 March 31 - SvelteKit, Svelte; static sites and headless CMS demos](https://www.youtube.com/watch?v=-YjLubiieYs) |
| 72 | + - [2023 April 22 - SvelteKit 1.15.7, skip links, error handling, static assets](https://www.youtube.com/watch?v=SCMosMo85_8) |
| 73 | + - [2023 April 14 - SvelteKit 1.15.5, accessible buttons, advanced toggle state 🧪🔥](https://www.youtube.com/watch?v=H2kOO5mvUQs) |
| 74 | + - [2023 April 21 - SvelteKit 1.15.7, skip links, error handling, static assets](https://www.youtube.com/watch?v=SCMosMo85_8) |
| 75 | +- Svelte Radio |
| 76 | + - [Using Svelte in React with Puru Vijay](https://www.svelteradio.com/episodes/using-svelte-in-react-with-puru-vijay) |
| 77 | + - [Eric Brehault and Nuclia](https://www.svelteradio.com/episodes/eric-brehault-and-nuclia) |
| 78 | + - [Svelte at AppWrite with Alex Patterson](https://www.svelteradio.com/episodes/svelte-at-appwrite-with-alex-patterson) |
| 79 | + - [Svelte in Research at Dartmouth with Wasita and Eshin](https://www.svelteradio.com/episodes/svelte-in-research-at-dartmouth-with-wasita-and-eshin) |
| 80 | + |
| 81 | +_To Watch_ |
| 82 | +- [The Complete SvelteKit Course For Building Modern Web Apps](https://www.youtube.com/watch?v=MoGkX4RvZ38) and [Simple SvelteKit Page Transitions](https://www.youtube.com/watch?v=gkw1wFIXM_8) by Joy of Code |
| 83 | +- [Svelte For React Developers | Your Next JavaScript Framework?](https://www.youtube.com/watch?v=smqE0y0z0CA) by Cretezy |
| 84 | +- [Svelte & SvelteKit: The Complete Guide](https://www.udemy.com/course/svelte-and-sveltekit/?ranMID=39197&ranEAID=msYS1Nvjv4c&ranSiteID=msYS1Nvjv4c-oN6aTXp3jgDgUps8JCGxcg&LSNPUBID=msYS1Nvjv4c&utm_source=aff-campaign&utm_medium=udemyads) by Ali Alaa on Udemy |
| 85 | +- [ChatGPT-4 with SvelteKit 🤖 Generative AI on the EDGE 🌍](https://www.youtube.com/watch?v=Uw5GZg96kD8) by Johnny Magrippis |
| 86 | + |
| 87 | + |
| 88 | +_To Read_ |
| 89 | +- [Headless WordPress with GraphQL and SvelteKit](https://www.okupter.com/blog/headless-wordpress-graphql-sveltekit) and [How to fix the duplicate meta tags issue in SvelteKit](https://www.okupter.com/blog/sveltekit-fix-duplicate-metatags-issue) by Justin Ahinon |
| 90 | +- [How to setup tRPC in a SvelteKit project](https://raqueebuddinaziz.com/blog/how-to-setup-trpc-in-a-sveltekit-project/) by Raqueebuddin Aziz |
| 91 | +- [Better Data Visualizations with Svelte](https://www.newline.co/courses/better-data-visualizations-with-svelte/welcome) by newline |
| 92 | +- [Offline App with SvelteKit + SQLite Part 1: Setup WebAssembly SQLite](https://www.youtube.com/watch?v=Uvnzwp72Ze8) by hartenfellerdev |
| 93 | + |
| 94 | +**Libraries, Tools & Components** |
| 95 | +- [Sveltris](https://github.com/mokshit06/sveltris) lets you intermix UI primitives like components, and state primitives like hooks between frameworks, without even noticing |
| 96 | +- [SwiftMarket](https://github.com/SwiftMarket/swiftmarket-sveltekit) is an E-Commerce solution built with SvelteKit, Pocketbase as a database and Stripe for payments |
| 97 | +- [Svelegante](https://www.npmjs.com/package/svelegante) is a Classy writable store for Svelte |
| 98 | +- [Table Generator](https://www.table-generator.de/) lets you create, design and customize your own tables tables online using a graphical editor |
| 99 | +- [Svelte Animated Headline](https://www.npmjs.com/package/svelte-animated-headline) is an animated headline component that can grab attention in an informative way |
| 100 | +- [SvelteKit Music App Example](https://github.com/tguelcan/music) demonstrates how to connect and process data as well as some practical examples of how to develop frontend components with TailwindCSS |
| 101 | +- [Socio](https://www.npmjs.com/package/socio) is a WebSocket Real-Time Communication (RTC) API framework to connect your front-end logic to a back-end database reactively |
| 102 | +- [Flowbite Svelte](https://flowbite-svelte.com/) is an official Flowbite component library for Svelte |
| 103 | +- [Wundergraph](https://wundergraph.com/blog/introducing_svelte_query_client), a backend for frontend framework, just released their Svelte Query client |
| 104 | +- [Lucia](https://lucia-auth.com/blog/lucia-1) just reached 1.0 for their simple and flexible auth library for SvelteKit |
| 105 | +- [svelte-stepper](https://github.com/efstajas/svelte-stepper) is a simple library for building animated stepper flows with Svelte |
| 106 | + |
| 107 | +As always, feel free to let us know if we missed anything on [Reddit](https://www.reddit.com/r/sveltejs/) or [Discord](https://discord.gg/svelte). |
| 108 | + |
| 109 | +See ya next time! |
0 commit comments