summaryrefslogtreecommitdiff
path: root/.changeset
diff options
context:
space:
mode:
Diffstat (limited to '.changeset')
-rw-r--r--.changeset/calm-mails-check.md5
-rw-r--r--.changeset/cold-snakes-train.md42
-rw-r--r--.changeset/dry-eels-yell.md5
-rw-r--r--.changeset/empty-rules-type.md18
-rw-r--r--.changeset/fair-jars-behave.md24
-rw-r--r--.changeset/few-mails-kiss.md5
-rw-r--r--.changeset/late-spoons-knock.md5
-rw-r--r--.changeset/little-hornets-give.md48
-rw-r--r--.changeset/shaggy-cats-film.md5
-rw-r--r--.changeset/short-flies-itch.md5
10 files changed, 0 insertions, 162 deletions
diff --git a/.changeset/calm-mails-check.md b/.changeset/calm-mails-check.md
deleted file mode 100644
index 7de709c1b..000000000
--- a/.changeset/calm-mails-check.md
+++ /dev/null
@@ -1,5 +0,0 @@
----
-"astro": patch
----
-
-Fixes an issue where functions could not be used as named slots.
diff --git a/.changeset/cold-snakes-train.md b/.changeset/cold-snakes-train.md
deleted file mode 100644
index 0bab4f40e..000000000
--- a/.changeset/cold-snakes-train.md
+++ /dev/null
@@ -1,42 +0,0 @@
----
-"@astrojs/markdown-remark": minor
----
-
-Adds a `data-language` attribute on the rendered `pre` elements to expose the highlighted syntax language.
-
-For example, the following Markdown code block will expose `data-language="python"`:
-```
-\```python
-def func():
- print('Hello Astro!')
-\```
-```
-
-This allows retrieving the language in a rehype plugin from `node.properties.dataLanguage` by accessing the `<pre>` element using `{ tagName: "pre" }`:
-```js
-// myRehypePre.js
-import { visit } from "unist-util-visit";
-export default function myRehypePre() {
- return (tree) => {
- visit(tree, { tagName: "pre" }, (node) => {
- const lang = node.properties.dataLanguage;
- [...]
- });
- };
-}
-```
-
-Note: The `<pre>` element is not exposed when using Astro's `<Code />` component which outputs flattened HTML.
-
-
-The `data-language` attribute may also be used in css rules:
-```css
-pre::before {
- content: attr(data-language);
-}
-
-pre[data-language="javascript"] {
- font-size: 2rem;
-}
-```
-
diff --git a/.changeset/dry-eels-yell.md b/.changeset/dry-eels-yell.md
deleted file mode 100644
index 3b7a20f3a..000000000
--- a/.changeset/dry-eels-yell.md
+++ /dev/null
@@ -1,5 +0,0 @@
----
-"astro": minor
----
-
-Adds a new dev toolbar settings option to change the horizontal placement of the dev toolbar on your screen: bottom left, bottom center, or bottom right.
diff --git a/.changeset/empty-rules-type.md b/.changeset/empty-rules-type.md
deleted file mode 100644
index afd185e98..000000000
--- a/.changeset/empty-rules-type.md
+++ /dev/null
@@ -1,18 +0,0 @@
----
-"@astrojs/markdoc": minor
-"@astrojs/preact": minor
-"@astrojs/svelte": minor
-"@astrojs/react": minor
-"@astrojs/solid-js": minor
-"@astrojs/mdx": minor
-"@astrojs/vue": minor
-"create-astro": minor
-"@astrojs/prism": minor
-"@astrojs/telemetry": minor
-"@astrojs/upgrade": minor
-"astro": minor
----
-
-Deprecate support for versions of Node.js older than `v18.17.1` for Node.js 18, older than `v20.0.3` for Node.js 20, and the complete Node.js v19 release line.
-
-This change is in line with Astro's [Node.js support policy](https://docs.astro.build/en/upgrade-astro/#support).
diff --git a/.changeset/fair-jars-behave.md b/.changeset/fair-jars-behave.md
deleted file mode 100644
index 700b1b883..000000000
--- a/.changeset/fair-jars-behave.md
+++ /dev/null
@@ -1,24 +0,0 @@
----
-"astro": minor
----
-
-Adds a new experimental security option to prevent [Cross-Site Request Forgery (CSRF) attacks](https://owasp.org/www-community/attacks/csrf). This feature is available only for pages rendered on demand:
-
-```js
-import { defineConfig } from "astro/config"
-export default defineConfig({
- experimental: {
- security: {
- csrfProtection: {
- origin: true
- }
- }
- }
-})
-```
-
-Enabling this setting performs a check that the "origin" header, automatically passed by all modern browsers, matches the URL sent by each `Request`.
-
-This experimental "origin" check is executed only for pages rendered on demand, and only for the requests `POST, `PATCH`, `DELETE` and `PUT` with one of the following `content-type` headers: 'application/x-www-form-urlencoded', 'multipart/form-data', 'text/plain'.
-
-It the "origin" header doesn't match the pathname of the request, Astro will return a 403 status code and won't render the page.
diff --git a/.changeset/few-mails-kiss.md b/.changeset/few-mails-kiss.md
deleted file mode 100644
index 6bf4fed23..000000000
--- a/.changeset/few-mails-kiss.md
+++ /dev/null
@@ -1,5 +0,0 @@
----
-"astro": patch
----
-
-Fixes a false positive for "Invalid `tabindex` on non-interactive element" rule for roleless elements ( `div` and `span` ).
diff --git a/.changeset/late-spoons-knock.md b/.changeset/late-spoons-knock.md
deleted file mode 100644
index 0cca6ce61..000000000
--- a/.changeset/late-spoons-knock.md
+++ /dev/null
@@ -1,5 +0,0 @@
----
-"astro": patch
----
-
-Fixes an issue where CLI commands could not report the reason for failure before exiting.
diff --git a/.changeset/little-hornets-give.md b/.changeset/little-hornets-give.md
deleted file mode 100644
index fdbb6492e..000000000
--- a/.changeset/little-hornets-give.md
+++ /dev/null
@@ -1,48 +0,0 @@
----
-"astro": minor
----
-
-Adds a new i18n routing option `manual` to allow you to write your own i18n middleware:
-
-```js
-import { defineConfig } from "astro/config"
-// astro.config.mjs
-export default defineConfig({
- i18n: {
- locales: ["en", "fr"],
- defaultLocale: "fr",
- routing: "manual"
- }
-})
-```
-
-Adding `routing: "manual"` to your i18n config disables Astro's own i18n middleware and provides you with helper functions to write your own: `redirectToDefaultLocale`, `notFound`, and `redirectToFallback`:
-
-```js
-// middleware.js
-import { redirectToDefaultLocale } from "astro:i18n";
-export const onRequest = defineMiddleware(async (context, next) => {
- if (context.url.startsWith("/about")) {
- return next()
- } else {
- return redirectToDefaultLocale(context, 302);
- }
-})
-```
-
-Also adds a `middleware` function that manually creates Astro's i18n middleware. This allows you to extend Astro's i18n routing instead of completely replacing it. Run `middleware` in combination with your own middleware, using the `sequence` utility to determine the order:
-
-```js title="src/middleware.js"
-import {defineMiddleware, sequence} from "astro:middleware";
-import { middleware } from "astro:i18n"; // Astro's own i18n routing config
-
-export const userMiddleware = defineMiddleware();
-
-export const onRequest = sequence(
- userMiddleware,
- middleware({
- redirectToDefaultLocale: false,
- prefixDefaultLocale: true
- })
-)
-```
diff --git a/.changeset/shaggy-cats-film.md b/.changeset/shaggy-cats-film.md
deleted file mode 100644
index 4aaecea6c..000000000
--- a/.changeset/shaggy-cats-film.md
+++ /dev/null
@@ -1,5 +0,0 @@
----
-"astro": minor
----
-
-Adds the `httpOnly`, `sameSite`, and `secure` options when deleting a cookie
diff --git a/.changeset/short-flies-itch.md b/.changeset/short-flies-itch.md
deleted file mode 100644
index 929bdec52..000000000
--- a/.changeset/short-flies-itch.md
+++ /dev/null
@@ -1,5 +0,0 @@
----
-"astro": patch
----
-
-Fixed errorOverlay theme toggle bug.