summaryrefslogtreecommitdiff
path: root/.changeset
diff options
context:
space:
mode:
Diffstat (limited to '.changeset')
-rw-r--r--.changeset/calm-shirts-battle.md5
-rw-r--r--.changeset/khaki-glasses-raise.md48
-rw-r--r--.changeset/lovely-pianos-build.md28
-rw-r--r--.changeset/many-weeks-sort.md43
-rw-r--r--.changeset/nasty-elephants-provide.md5
-rw-r--r--.changeset/new-islands-lick.md5
-rw-r--r--.changeset/quiet-games-film.md5
-rw-r--r--.changeset/rude-lizards-scream.md51
-rw-r--r--.changeset/sixty-laws-argue.md21
-rw-r--r--.changeset/spotty-rings-crash.md5
-rw-r--r--.changeset/ten-sloths-invent.md7
-rw-r--r--.changeset/tender-suits-glow.md6
12 files changed, 0 insertions, 229 deletions
diff --git a/.changeset/calm-shirts-battle.md b/.changeset/calm-shirts-battle.md
deleted file mode 100644
index 023e17f3b..000000000
--- a/.changeset/calm-shirts-battle.md
+++ /dev/null
@@ -1,5 +0,0 @@
----
-'astro': patch
----
-
-Add ability to "Click to go editor" on auditted elements in the dev overlay
diff --git a/.changeset/khaki-glasses-raise.md b/.changeset/khaki-glasses-raise.md
deleted file mode 100644
index 4a0622a42..000000000
--- a/.changeset/khaki-glasses-raise.md
+++ /dev/null
@@ -1,48 +0,0 @@
----
-'astro': minor
----
-
-## Integration Hooks to add Middleware
-
-It's now possible in Astro for an integration to add middleware on behalf of the user. Previously when a third party wanted to provide middleware, the user would need to create a `src/middleware.ts` file themselves. Now, adding third-party middleware is as easy as adding a new integration.
-
-For integration authors, there is a new `addMiddleware` function in the `astro:config:setup` hook. This function allows you to specify a middleware module and the order in which it should be applied:
-
-```js
-// my-package/middleware.js
-import { defineMiddleware } from 'astro:middleware';
-
-export const onRequest = defineMiddleware(async (context, next) => {
- const response = await next();
-
- if(response.headers.get('content-type') === 'text/html') {
- let html = await response.text();
- html = minify(html);
- return new Response(html, {
- status: response.status,
- headers: response.headers
- });
- }
-
- return response;
-});
-```
-
-You can now add your integration's middleware and specify that it runs either before or after the application's own defined middleware (defined in `src/middleware.{js,ts}`)
-
-```js
-// my-package/integration.js
-export function myIntegration() {
- return {
- name: 'my-integration',
- hooks: {
- 'astro:config:setup': ({ addMiddleware }) => {
- addMiddleware({
- entrypoint: 'my-package/middleware',
- order: 'pre'
- });
- }
- }
- };
-}
-```
diff --git a/.changeset/lovely-pianos-build.md b/.changeset/lovely-pianos-build.md
deleted file mode 100644
index d7d512f3c..000000000
--- a/.changeset/lovely-pianos-build.md
+++ /dev/null
@@ -1,28 +0,0 @@
----
-'astro': minor
----
-
-Provides a new, experimental build cache for [Content Collections](https://docs.astro.build/en/guides/content-collections/) as part of the [Incremental Build RFC](https://github.com/withastro/roadmap/pull/763). This includes multiple refactors to Astro's build process to optimize how Content Collections are handled, which should provide significant performance improvements for users with many collections.
-
-Users building a `static` site can opt-in to preview the new build cache by adding the following flag to your Astro config:
-
-```js
-// astro.config.mjs
-export default {
- experimental: {
- contentCollectionCache: true,
- },
-};
-```
-
-When this experimental feature is enabled, the files generated from your content collections will be stored in the [`cacheDir`](https://docs.astro.build/en/reference/configuration-reference/#cachedir) (by default, `node_modules/.astro`) and reused between builds. Most CI environments automatically restore files in `node_modules/` by default.
-
-In our internal testing on the real world [Astro Docs](https://github.com/withastro/docs) project, this feature reduces the bundling step of `astro build` from **133.20s** to **10.46s**, about 92% faster. The end-to-end `astro build` process used to take **4min 58s** and now takes just over `1min` for a total reduction of 80%.
-
-If you run into any issues with this experimental feature, please let us know!
-
-You can always bypass the cache for a single build by passing the `--force` flag to `astro build`.
-
-```
-astro build --force
-```
diff --git a/.changeset/many-weeks-sort.md b/.changeset/many-weeks-sort.md
deleted file mode 100644
index 621daf8b6..000000000
--- a/.changeset/many-weeks-sort.md
+++ /dev/null
@@ -1,43 +0,0 @@
----
-'astro': minor
----
-
-Form support in View Transitions router
-
-The `<ViewTransitions />` router can now handle form submissions, allowing the same animated transitions and stateful UI retention on form posts that are already available on `<a>` links. With this addition, your Astro project can have animations in all of these scenarios:
-
-- Clicking links between pages.
-- Making stateful changes in forms (e.g. updating site preferences).
-- Manually triggering navigation via the `navigate()` API.
-
-This feature is opt-in for semver reasons and can be enabled by adding the `handleForms` prop to the `<ViewTransitions /> component:
-
-```astro
----
-// src/layouts/MainLayout.astro
-import { ViewTransitions } from 'astro:transitions';
----
-
-<html>
- <head>
- <!-- ... -->
- <ViewTransitions handleForms />
- </head>
- <body>
- <!-- ... -->
- </body>
-</html>
-```
-
-Just as with links, if you don't want the routing handling a form submission, you can opt out on a per-form basis with the `data-astro-reload` property:
-
-```astro
----
-// src/components/Contact.astro
----
-<form class="contact-form" action="/request" method="post" data-astro-reload>
- <!-- ...-->
-</form>
-```
-
-Form support works on post `method="get"` and `method="post"` forms.
diff --git a/.changeset/nasty-elephants-provide.md b/.changeset/nasty-elephants-provide.md
deleted file mode 100644
index 8a5ab241a..000000000
--- a/.changeset/nasty-elephants-provide.md
+++ /dev/null
@@ -1,5 +0,0 @@
----
-'astro': minor
----
-
-Updates the Image Services API to now delete original images from the final build that are not used outside of the optimization pipeline. For users with a large number of these images (e.g. thumbnails), this should reduce storage consumption and deployment times.
diff --git a/.changeset/new-islands-lick.md b/.changeset/new-islands-lick.md
deleted file mode 100644
index ba1c7b051..000000000
--- a/.changeset/new-islands-lick.md
+++ /dev/null
@@ -1,5 +0,0 @@
----
-'astro': minor
----
-
-Adds a new property `propertiesToHash` to the Image Services API to allow specifying which properties of `getImage()` / `<Image />` / `<Picture />` should be used for hashing the result files when doing local transformations. For most services, this will include properties such as `src`, `width` or `quality` that directly changes the content of the generated image.
diff --git a/.changeset/quiet-games-film.md b/.changeset/quiet-games-film.md
deleted file mode 100644
index bb9584d36..000000000
--- a/.changeset/quiet-games-film.md
+++ /dev/null
@@ -1,5 +0,0 @@
----
-"astro": minor
----
-
-The `<Picture />` component will now use `jpg` and `jpeg` respectively as fallback formats when the original image is in those formats.
diff --git a/.changeset/rude-lizards-scream.md b/.changeset/rude-lizards-scream.md
deleted file mode 100644
index 85eaddb12..000000000
--- a/.changeset/rude-lizards-scream.md
+++ /dev/null
@@ -1,51 +0,0 @@
----
-'astro': minor
----
-
-Experimental support for i18n routing.
-
-Astro's experimental i18n routing API allows you to add your multilingual content with support for configuring a default language, computing relative page URLs, and accepting preferred languages provided by your visitor's browser. You can also specify fallback languages on a per-language basis so that your visitors can always be directed to existing content on your site.
-
-Enable the experimental routing option by adding an `i18n` object to your Astro configuration with a default location and a list of all languages to support:
-
-```js
-// astro.config.mjs
-import {defineConfig} from "astro/config";
-
-export default defineConfig({
- experimental: {
- i18n: {
- defaultLocale: "en",
- locales: ["en", "es", "pt-br"]
- }
- }
-})
-```
-
-Organize your content folders by locale depending on your `i18n.routingStrategy`, and Astro will handle generating your routes and showing your preferred URLs to your visitors.
-```
-├── src
-│ ├── pages
-│ │ ├── about.astro
-│ │ ├── index.astro
-│ │ ├── es
-│ │ │ ├── about.astro
-│ │ │ ├── index.astro
-│ │ ├── pt-br
-│ │ │ ├── about.astro
-│ │ │ ├── index.astro
-```
-
-Compute relative URLs for your links with `getRelativeLocaleUrl` from the new `astro:i18n` module:
-
-```astro
----
-import {getRelativeLocaleUrl} from "astro:i18n";
-const aboutUrl = getRelativeLocaleUrl("pt-br", "about");
----
-<p>Learn more <a href={aboutURL}>About</a> this site!</p>
-```
-
-Enabling i18n routing also provides two new properties for browser language detection: `Astro.preferredLocale` and `Astro.preferredLocaleList`. These combine the browser's `Accept-Langauge` header, and your site's list of supported languages and can be used to automatically respect your visitor's preferred languages.
-
-Read more about Astro's [experimental i18n routing](https://docs.astro.build/en/guides/internationalization/) in our documentation.
diff --git a/.changeset/sixty-laws-argue.md b/.changeset/sixty-laws-argue.md
deleted file mode 100644
index 808106f88..000000000
--- a/.changeset/sixty-laws-argue.md
+++ /dev/null
@@ -1,21 +0,0 @@
----
-'astro': minor
----
-
-Prefetching is now supported in core
-
-You can enable prefetching for your site with the `prefetch: true` config. It is enabled by default when using [View Transitions](https://docs.astro.build/en/guides/view-transitions/) and can also be used to configure the `prefetch` behaviour used by View Transitions.
-
-You can enable prefetching by setting `prefetch:true` in your Astro config:
-
-```js
-// astro.config.js
-import { defineConfig } from 'astro/config';
-
-export default defineConfig({
- prefetch: true
-})
-```
-
-This replaces the `@astrojs/prefetch` integration, which is now deprecated and will eventually be removed.
-Visit the [Prefetch guide](https://docs.astro.build/en/guides/prefetch/) for more information.
diff --git a/.changeset/spotty-rings-crash.md b/.changeset/spotty-rings-crash.md
deleted file mode 100644
index c4522f96e..000000000
--- a/.changeset/spotty-rings-crash.md
+++ /dev/null
@@ -1,5 +0,0 @@
----
-'@astrojs/lit': patch
----
-
-Fix hydration ordering of nested custom elements. Child components will now wait for their parents to hydrate before hydrating themselves.
diff --git a/.changeset/ten-sloths-invent.md b/.changeset/ten-sloths-invent.md
deleted file mode 100644
index 12c5bdf5f..000000000
--- a/.changeset/ten-sloths-invent.md
+++ /dev/null
@@ -1,7 +0,0 @@
----
-'astro': patch
----
-
-Use UInt8Array instead of Buffer for both the input and return values of the `transform()` hook of the Image Service API to ensure compatibility with non-Node runtimes.
-
-This change is unlikely to affect you, but if you were previously relying on the return value being a Buffer, you may convert an `UInt8Array` to a `Buffer` using `Buffer.from(your_array)`.
diff --git a/.changeset/tender-suits-glow.md b/.changeset/tender-suits-glow.md
deleted file mode 100644
index a01662ce6..000000000
--- a/.changeset/tender-suits-glow.md
+++ /dev/null
@@ -1,6 +0,0 @@
----
-'@astrojs/markdown-remark': minor
-'astro': minor
----
-
-Adds experimental support for multiple shiki themes with the new `markdown.shikiConfig.experimentalThemes` option.