Skip to content

Commit 20eef87

Browse files
committed
fix
1 parent 2773347 commit 20eef87

File tree

6 files changed

+7
-7
lines changed

6 files changed

+7
-7
lines changed

apps/svelte.dev/content/blog/2023-04-01-whats-new-in-svelte-april-2023.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ For all the changes to the Svelte compiler, including unreleased changes, check
3333

3434
## What's new in SvelteKit
3535

36-
- You can now get all cookies for a request with `cookies.getAll` (**1.10.0**, [#9287](https://github.com/sveltejs/kit/pull/9287), [Docs](/docs/kit/types#public-types-cookies))
37-
- Easily manage the submission status of (multiple) forms with the new exposed `submitter` parameter in `use:enhance` (**1.12.0**, [#9425](https://github.com/sveltejs/kit/pull/9425), [Docs](/docs/kit/types#public-types-submitfunction))
36+
- You can now get all cookies for a request with `cookies.getAll` (**1.10.0**, [#9287](https://github.com/sveltejs/kit/pull/9287), [Docs](/docs/kit/@sveltejs-kit#Cookies))
37+
- Easily manage the submission status of (multiple) forms with the new exposed `submitter` parameter in `use:enhance` (**1.12.0**, [#9425](https://github.com/sveltejs/kit/pull/9425), [Docs](/docs/kit/@sveltejs-kit#SubmitFunction))
3838
- The default error page now has dark mode styles (**1.13.0**, [#9460](https://github.com/sveltejs/kit/pull/9460))
3939
- You can now omit types on all methods and variables with special meaning to SvelteKit and still benefit from full type safety! Read more about it in the [announcement blog post](https://svelte.dev/blog/zero-config-type-safety)
4040

apps/svelte.dev/content/blog/2023-07-01-whats-new-in-svelte-july-2023.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ For a full list of all the changes to the Svelte compiler, including unreleased
1919

2020
This month there were lots of awesome [bug fixes](https://github.com/sveltejs/kit/blob/master/packages/kit/CHANGELOG.md), so be sure to upgrade to the latest version! There are also a few new features to mention:
2121

22-
- The new `event.isSubRequest` boolean indicates whether this is a same-origin fetch request to one of the app's own APIs during a server request (**1.21.0**, [Docs](/docs/kit/types#public-types-requestevent), [#10170](https://github.com/sveltejs/kit/pull/10170))
22+
- The new `event.isSubRequest` boolean indicates whether this is a same-origin fetch request to one of the app's own APIs during a server request (**1.21.0**, [Docs](/docs/kit/@sveltejs-kit#RequestEvent), [#10170](https://github.com/sveltejs/kit/pull/10170))
2323
- A new config option, `config.kit.env.privatePrefix` will set a private prefix on environment variables. This defaults to `''` (**1.21.0**, [Docs](/docs/kit/configuration), [#9996](https://github.com/sveltejs/kit/pull/9996))
2424
- `VERSION` is now exported and accessible via `@sveltejs/kit`. This can be used for feature detection or anything else that requires knowledge of the current version of SvelteKit (**1.21.0**, [Docs](/docs/kit/@sveltejs-kit#VERSION), [#9969](https://github.com/sveltejs/kit/pull/9969))
2525

apps/svelte.dev/content/blog/2024-02-01-whats-new-in-svelte-february-2024.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ So let's dive in to check out what's new and see what the rest of the community
1515

1616
- The client router is now tree shakeable (**2.1.0**, [#11340](https://github.com/sveltejs/kit/pull/11340))
1717
- `$env/static/public` is now exposed in service workers (**2.2.0**, [Docs](/docs/kit/$env-static-public), [#10994](https://github.com/sveltejs/kit/pull/10994))
18-
- `style-src-elem` is now supported in environments with a Content Security Policy (**2.2.1**, [Docs](/docs/kit/types#private-types-cspdirectives), [#11562](https://github.com/sveltejs/kit/pull/11562))
18+
- `style-src-elem` is now supported in environments with a Content Security Policy (**2.2.1**, [Docs](/docs/kit/@sveltejs-kit#CspDirectives), [#11562](https://github.com/sveltejs/kit/pull/11562))
1919
- The new `reroute` hook allows you to change how URLs are translated into routes (**2.3.0**, [Docs](/docs/kit/hooks#universal-hooks-reroute), [#11537](https://github.com/sveltejs/kit/pull/11537))
2020
- The `read` function is now available in the `$app/server` module - allowing you to read assets from the filesystem (**2.4.0**, [Docs](/docs/kit/$app-server#read), [#11649](https://github.com/sveltejs/kit/pull/11649))
2121
- Adapters can now `emulate` the prod environment for dev and preview servers by implementing the corresponding functions. This is useful for providing access to e.g. KV namespaces in development (**2.5.0**, [Docs](/docs/kit/writing-adapters), [#11730](https://github.com/sveltejs/kit/pull/11730))

apps/svelte.dev/content/tutorial/03-sveltekit/08-stores/01-page-store/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ title: page
66
77
As we learned earlier, Svelte stores are a place to put data that doesn't belong to an individual component.
88

9-
SvelteKit makes three readonly stores available via the `$app/stores` module — `page`, `navigating` and `updated`. The one you'll use most often is [`page`](/docs/kit/types#public-types-page), which provides information about the current page:
9+
SvelteKit makes three readonly stores available via the `$app/stores` module — `page`, `navigating` and `updated`. The one you'll use most often is [`page`](/docs/kit/@sveltejs-kit#Page), which provides information about the current page:
1010

1111
- `url` — the [URL](https://developer.mozilla.org/en-US/docs/Web/API/URL) of the current page
1212
- `params` — the current page's [parameters](params)

apps/svelte.dev/content/tutorial/03-sveltekit/08-stores/02-navigating-store/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ The `navigating` store represents the current navigation. When a navigation star
77
- `from` and `to` — objects with `params`, `route` and `url` properties
88
- `type` — the type of navigation, e.g. `link`, `popstate` or `goto`
99

10-
> [!NOTE] For complete type information visit the [`Navigation`](/docs/kit/types#public-types-navigation) documentation.
10+
> [!NOTE] For complete type information visit the [`Navigation`](/docs/kit/@sveltejs-kit#Navigation) documentation.
1111
1212
It can be used to show a loading indicator for long-running navigations. In this exercise, `src/routes/+page.server.js` and `src/routes/about/+page.server.js` both have an artificial delay. Inside `src/routes/+layout.svelte`, import the `navigating` store and add a message to the nav bar:
1313

apps/svelte.dev/content/tutorial/04-advanced-sveltekit/01-hooks/02-event/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: The RequestEvent object
33
---
44

5-
The `event` object passed into `handle` is the same object — an instance of a [`RequestEvent`](/docs/kit/types#public-types-requestevent) — that is passed into [API routes](get-handlers) in `+server.js` files, [form actions](the-form-element) in `+page.server.js` files, and `load` functions in `+page.server.js` and `+layout.server.js`.
5+
The `event` object passed into `handle` is the same object — an instance of a [`RequestEvent`](/docs/kit/@sveltejs-kit#RequestEvent) — that is passed into [API routes](get-handlers) in `+server.js` files, [form actions](the-form-element) in `+page.server.js` files, and `load` functions in `+page.server.js` and `+layout.server.js`.
66

77
It contains a number of useful properties and methods, some of which we've already encountered:
88

0 commit comments

Comments
 (0)