0
0
mirror of https://github.com/sveltejs/svelte.git synced 2024-11-22 03:47:27 +01:00
svelte/documentation/blog/2022-01-01-whats-new-in-svelte-january-2022.md
Puru Vijay 993b40201c
feat(site-2): New Markdown renderer, FAQ, Blog, Tutorial, Docs, (#8603)
* New FAQ, new renderer

* Push blog stuff

* Fix blog posts

* Add tutorial to be rendered

* Update documentation/content/blog/2023-03-09-zero-config-type-safety.md

Co-authored-by: Simon H <5968653+dummdidumm@users.noreply.github.com>

* Update documentation/content/blog/2023-03-09-zero-config-type-safety.md

Co-authored-by: Simon H <5968653+dummdidumm@users.noreply.github.com>

* Revamp a lot of renderer, make it (soft) compatible with sveltekit

* Remove markdown types

* Clean up faq +page

* Document stuff

* Make the options more explicity

* chore(site-2): Restructure docs pt 2 (#8604)

* Push

* Update readme

* Push

* inor accessibility fix

* minr stuff

* Add prepare

* Run prettier

* Remove test script

* pnpm update

* Update sites/svelte.dev/src/routes/examples/[slug]/+page.svelte

Co-authored-by: Simon H <5968653+dummdidumm@users.noreply.github.com>

* Update sites/svelte.dev/package.json

Co-authored-by: Simon H <5968653+dummdidumm@users.noreply.github.com>

---------

Co-authored-by: Simon H <5968653+dummdidumm@users.noreply.github.com>

---------

Co-authored-by: Simon H <5968653+dummdidumm@users.noreply.github.com>
2023-05-25 18:19:38 +05:30

7.0 KiB

title description author authorURL
What's new in Svelte: January 2022 Faster builds with SvelteKit and a much anticipated REPL feature Dani Sandoval https://dreamindani.com

Happy new year, Svelte Community! Lots to share this month across Svelte, SvelteKit, Language Tools and the Showcase. Thanks to everyone who made 2021 a great year to use Svelte. Looking forward to the next one 🚀

What's new in SvelteKit

  • @sveltejs/adapter-static for SvelteKit now has a precompress option to make brotli compression of assets and pages easier to do out of the box (#3079)
  • Concurrency mode in SvelteKit will now prerender pages in parallel (#3120). It is enabled by default in 1.0.0-next.205 and later
  • CSS is now automatically included before JS for improved page performance (d13efe)
  • A new config option adds the ability to disable service worker registration to do your own custom registration (#2988)
  • SSR route-splitting is here - breaking monolithic builds into smaller pieces for improved startup and routing performance (#2931)
  • request.origin/path/query is now request.url - simplifying the config and page load functions (#3126)
  • After the update to Vite 2.7, SvelteKit users are reporting significant performance improvements and loading third-parties libraries in SSR has also been greatly improved
  • SvelteKit server will now automatically restart when the config files is changed (vite-plugin-svelte#237)

Other new bits from svelte/*

  • Svelte 3.44.3 is out with a few bug fixes in the binding and loop code
  • Svelte Language Tools has introduced support for the then/catch shorthands from Svelte 3.41 and TypeScript's "go to" functionality (105.8.0 and later)
  • The Svelte REPL got a nice upgrade as well - letting you delete saved REPLs. Try it out by logging in at svelte.dev/apps

Community Showcase

Apps & Sites

  • Discover Twitter Spaces is a tool that helps you find the Twitter Spaces
  • Modern Fluid Typography Editor helps create beautiful fluid typography using CSS clamp
  • Unnwhiteboard is a job board for companies (or teams) that don't do "whiteboard" interviews
  • Secret Santa is a gift giving coordination app developed with easiness in mind
  • LogSnag notifies you of your projects' events and provides you with a timeline to keep track of anything important that happens
  • Version 0.2 of Tangent, a Svelte-based note writing app, is now in beta
  • Intl Explorer is a tool for viewing output for all possible formatters for Intl

A lot of work this month has gone into migrating the Svelte main website and Svelte REPL to live in the https://github.com/sveltejs/sites repository - including a brand new homepage for svelte.dev. Thanks to all the contributors who made this possible!

If you're looking for a fun SvelteKit project to work on, you can contribute to the Svelte Society site rewrite 💅

Learning and Listening

To Read

To Watch

To Listen To

Libraries, Tools & Components

  • svelte-headlessui is an unofficial, complete Svelte port of the Headless UI component library
  • svelte-forms v2 has been released - the author is looking for feedback
  • Percival is a declarative data query and visualization language
  • Svelte FlatList is a mobile-friendly, simple, and customizable draggable menu
  • svelte-keyed is a writable derived store for objects and arrays
  • Svemix is Remix for Svelte - providing server scripts inside your Svelte components/routes, which will be transformed into endpoints

Want to add something to the showcase? Need help bringing your next idea to life in Svelte? Join us on Reddit or Discord.

See ya next month!