From 5832b68826bacec06045dbbe1fb308c9812e4993 Mon Sep 17 00:00:00 2001 From: Daniel Sandoval Date: Tue, 29 Nov 2022 17:39:37 -0700 Subject: [PATCH] Address @Patrick#8787's feedback from Discord --- .../blog/2022-12-01-whats-new-in-svelte-december-2022.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/site/content/blog/2022-12-01-whats-new-in-svelte-december-2022.md b/site/content/blog/2022-12-01-whats-new-in-svelte-december-2022.md index 69bb1e5f2f..b0c7eeb90e 100644 --- a/site/content/blog/2022-12-01-whats-new-in-svelte-december-2022.md +++ b/site/content/blog/2022-12-01-whats-new-in-svelte-december-2022.md @@ -11,9 +11,9 @@ TBD - Use the `willUnload` property to find out if the navigation will result the app being unloaded (full page reload/closing/leaving to another page). ([#6813](https://github.com/sveltejs/kit/pull/6813)) - `__data.json` requests now use the Vary header, which allows one cached response for each variation of the x-sveltekit-invalidated header, ensuring we cache matching responses for all invalidation scenarios ([#7532](https://github.com/sveltejs/kit/pull/7532)) - Linking to `` tags is now supported ([#7596](https://github.com/sveltejs/kit/pull/7596)) -- Throwing redirects in a handled error is now supported ([#7612](https://github.com/sveltejs/kit/pull/7612)) +- Throwing redirects in the `handle` hook is now supported ([#7612](https://github.com/sveltejs/kit/pull/7612)) - A fallback component will now be added automatically for layouts without one ([#7619](https://github.com/sveltejs/kit/pull/7619)) -- Fonts are now preloaded automatically and preloading can be customized with the `resolve` hook ([Docs](https://kit.svelte.dev/docs/hooks#server-hooks-handle), [#4963](https://github.com/sveltejs/kit/pull/4963)) +- The new `preload` function within the `resolve` hook determines what files should be added to the tag to preload it ([Docs](https://kit.svelte.dev/docs/hooks#server-hooks-handle), [#4963](https://github.com/sveltejs/kit/pull/4963), [#7704](https://github.com/sveltejs/kit/pull/7704)) - `version` is now available via `$app/environment` ([#7689](https://github.com/sveltejs/kit/pull/7689), [#7694](https://github.com/sveltejs/kit/pull/7694)) - `handleError` can now return a promise ([#7780](https://github.com/sveltejs/kit/pull/7780))