fix(v6): format snippets, add default, update deprecated/removed APIs#13347
fix(v6): format snippets, add default, update deprecated/removed APIs#13347ArmandPhilippot merged 4 commits intov6from
Conversation
✅ Deploy Preview for astro-docs-2 ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
| ## Migrating from `@astrojs/prefetch` | ||
|
|
||
| The `@astrojs/prefetch` integration was deprecated in v3.5.0 and will eventually be removed entirely. Use the following instructions to migrate to Astro's built-in prefetching which replaces this integration. | ||
| The `@astrojs/prefetch` integration was deprecated in v3.5.0 and is no longer maintained. Use the following instructions to migrate to Astro's built-in prefetching which replaces this integration. |
There was a problem hiding this comment.
While checking for deprecated APIs, I noticed the @astrojs/prefetch section. The phrasing sounded a bit outdated... The package is already removed from core (not sure in which version, v4 I guess?) but, the package is still downloadable.
So, I guess it doesn't hurt to keep that section but maybe the sentence should be updated?
Lunaria Status Overview🌕 This pull request will trigger status changes. Learn moreBy default, every PR changing files present in the Lunaria configuration's You can change this by adding one of the keywords present in the Tracked Files
Warnings reference
|
sarah11918
left a comment
There was a problem hiding this comment.
These look great, thank you! One small grammar edit!
(Gah, this got stuck as "pending")
Description (required)
Round 2 of my small fixes before v6:
guides/cms/*: replacespost.slugwithpost.id(content collections change)guides/content-collections.mdx: updates paths for consistency with the code snippet aboveguides/prefetch.mdx: not sure about this one, see my comment.experimental-flags/client-prerender.mdxandexperimental-flags/content-intellisense.mdx: wraps the config withdefineConfig()for consistency with other flagsexperimental-flags/route-caching.mdx: adds missing type/defaultreference/legacy-flags.mdx: adds missing type/default and wraps the API block in a paragraphmodules/astro-assets.mdx: removesemitESMImage()as per our migration guidemodules/astro-content.mdx: fixes the highlighted linesmodules/astro-transitions.mdx: updates an outdated sentence and replaces deprecated APIs used in some code snippetsRelated issues & labels (optional)