You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/content/docs/en/guides/upgrade-to/v6.mdx
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -472,7 +472,7 @@ If you are an adapter author with a public repository and [include the `astro-ad
472
472
473
473
If you are seeing warnings because you are using a community adapter that is not yet updated, please reach out to the adapter author directly to let them know. It is ultimately their responsibility to update their adapters. You can also let the Astro core team know in the [`#integrations` channel of our Discord](https://astro.build/chat) and we will attempt to help the adapter author upgrade.
474
474
475
-
If you have built an adapter, follow these steps to remove the legacy v5 behaviour:
475
+
If you have built an adapter, follow these steps to remove the legacy v5 behavior:
476
476
477
477
<Steps>
478
478
@@ -592,7 +592,7 @@ Rename and move this file to `src/content.config.ts`
592
592
</details>
593
593
594
594
<details>
595
-
<summary>a collection that does not define a `loader`/ ([`ContentCollectionMissingALoaderError`](/en/reference/errors/content-collection-missing-loader/))</summary>
595
+
<summary>a collection that does not define a `loader`/ ([`ContentCollectionMissingALoaderError`](/en/reference/errors/content-collection-missing-loader/))</summary>
596
596
597
597
Import [Astro's built-in `glob()` loader](/en/guides/content-collections/#the-glob-loader) and define the `pattern` and `base` for your collection entries:
598
598
@@ -946,7 +946,7 @@ Astro 6.0 removes this signature entirely. Attempting to pass these separate arg
946
946
947
947
#### What should I do?
948
948
949
-
Review your `app.render` calls and pass `routeData` and `locals` as properties of an object instead of as multiple independent arguments:
949
+
Review your `app.render()` calls and pass `routeData` and `locals` as properties of an object instead of as multiple independent arguments:
- `staticImportMetaEnv` (See below for breaking changes to [`import.meta.env`](#changed-importmetaenv-values-are-always-inlined).)
1173
1173
- `headingIdCompat` (See below for breaking changes to [Markdown heading ID generation](#changed-markdown-heading-id-generation).)
1174
1174
1175
-
<ReadMore>Read about exciting new features and more in [the v6.0 Blog post](https://astro.build/blog/astro-6-beta/).</ReadMore>
1175
+
<ReadMore>Read about exciting new features and more in [the v6.0 Blog post](https://astro.build/blog/astro-6/).</ReadMore>
1176
1176
1177
1177
## Changed Defaults
1178
1178
@@ -1414,7 +1414,7 @@ If you were previously relying on the fact that the image service would automati
1414
1414
/>
1415
1415
```
1416
1416
1417
-
<ReadMore>Learn more about [the `format` image property](/en/reference/modules/astro-assets/#format)</ReadMore>
1417
+
<ReadMore>Learn more about [the `format` image property](/en/reference/modules/astro-assets/#format).</ReadMore>
1418
1418
1419
1419
### Changed: `getImage()` throws when called on the client
1420
1420
@@ -1612,7 +1612,7 @@ export function getStaticPaths() {
1612
1612
1613
1613
<SourcePR number="14895" title="feat: remove Vitest workaround for client environment"/>
1614
1614
1615
-
In Astro 5.x, rendering an Astro component on the client was forbidden. However we temporarily allowed this behavoir in Vitest client environments such as `jsdom` or `happy-dom` using the [experimental Container API](/en/reference/container-reference/).
1615
+
In Astro 5.x, rendering an Astro component on the client was forbidden. However we temporarily allowed this behavior in Vitest client environments such as `jsdom` or `happy-dom` using the [experimental Container API](/en/reference/container-reference/).
1616
1616
1617
1617
Astro 6.0 removes the ability to render Astro components in Vitest client environments: tests that render Astro components must now run in a server environment like `node`.
0 commit comments