diff --git a/.changeset/calm-walls-unite.md b/.changeset/calm-walls-unite.md deleted file mode 100644 index a0b3441d38..0000000000 --- a/.changeset/calm-walls-unite.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'astro': patch ---- - -Fix CSS scoping issue diff --git a/.changeset/honest-rivers-call.md b/.changeset/honest-rivers-call.md deleted file mode 100644 index ca88f46057..0000000000 --- a/.changeset/honest-rivers-call.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'astro': patch ---- - -Revert 939b9d0 "Allow dev server port to be set by PORT environment variable" diff --git a/.changeset/light-ads-grin.md b/.changeset/light-ads-grin.md deleted file mode 100644 index 0774ccb68e..0000000000 --- a/.changeset/light-ads-grin.md +++ /dev/null @@ -1,21 +0,0 @@ ---- -'astro': minor ---- - -**[BREAKING]** Replace the Collections API with new file-based routing. - -This is a breaking change which impacts collections, pagination, and RSS support. -Runtime warnings have been added to help you migrate old code to the new API. -If you have trouble upgrading, reach out on https://astro.build/chat - -This change was made due to confusion around our Collection API, which many users found difficult to use. The new file-based routing approach should feel more familiar to anyone who has used Next.js or SvelteKit. - -Documentation added: -- https://astro-docs-git-main-pikapkg.vercel.app/core-concepts/routing -- https://astro-docs-git-main-pikapkg.vercel.app/guides/pagination -- https://astro-docs-git-main-pikapkg.vercel.app/guides/rss -- https://astro-docs-git-main-pikapkg.vercel.app/reference/api-reference#getstaticpaths - - - - diff --git a/.changeset/seven-singers-mate.md b/.changeset/seven-singers-mate.md deleted file mode 100644 index 1daa0ad3df..0000000000 --- a/.changeset/seven-singers-mate.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -'docs': patch -'astro': patch ---- - -Adds support for Astro.resolve - -`Astro.resolve()` helps with creating URLs relative to the current Astro file, allowing you to reference files within your `src/` folder. - -Astro *does not* resolve relative links within HTML, such as images: - -```html - -``` - -The above will be sent to the browser as-is and the browser will resolve it relative to the current __page__. If you want it to be resolved relative to the .astro file you are working in, use `Astro.resolve`: - -```astro - -``` \ No newline at end of file diff --git a/.changeset/slow-planets-film.md b/.changeset/slow-planets-film.md deleted file mode 100644 index 2fd9e0a39e..0000000000 --- a/.changeset/slow-planets-film.md +++ /dev/null @@ -1,34 +0,0 @@ ---- -'astro': minor ---- - -Adds support for client:only hydrator - -The new `client:only` hydrator allows you to define a component that should be skipped during the build and only hydrated in the browser. - -In most cases it is best to render placeholder content during the build, but that may not always be feasible if an NPM dependency attempts to use browser APIs as soon as is imported. - -**Note** If more than one renderer is included in your Astro config, you need to include a hint to determine which renderer to use. Renderers will be matched to the name provided in your Astro config, similar to ``. Shorthand can be used for `@astrojs` renderers, i.e. `` will use `@astrojs/renderer-react`. - -An example usage: - -```jsx ---- -import BarChart from '../components/BarChart.jsx'; ---- - - -/** - * If multiple renderers are included in the Astro config, - * this will ensure that the component is hydrated with - * the Preact renderer. - */ - -/** - * If a custom renderer is required, use the same name - * provided in the Astro config. - */ - -``` - -This allows you to import a chart component dependent on d3.js while making sure that the component isn't rendered at all at build time. \ No newline at end of file diff --git a/.changeset/tidy-hotels-serve.md b/.changeset/tidy-hotels-serve.md deleted file mode 100644 index b2a988b4a8..0000000000 --- a/.changeset/tidy-hotels-serve.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'astro': patch ---- - -update dependencies, and fix a bad .flat() call