summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.changeset/blue-jokes-eat.md5
-rw-r--r--.changeset/blue-spies-shave.md11
-rw-r--r--.changeset/curvy-penguins-act.md9
-rw-r--r--.changeset/four-chairs-exercise.md5
-rw-r--r--.changeset/lazy-pandas-love.md24
-rw-r--r--.changeset/light-pants-smoke.md22
-rw-r--r--.changeset/many-fans-battle.md5
-rw-r--r--.changeset/sharp-clouds-begin.md5
-rw-r--r--.changeset/stupid-glasses-switch.md39
-rw-r--r--examples/basics/package.json2
-rw-r--r--examples/blog/package.json4
-rw-r--r--examples/component/package.json2
-rw-r--r--examples/container-with-vitest/package.json2
-rw-r--r--examples/framework-alpine/package.json2
-rw-r--r--examples/framework-multiple/package.json2
-rw-r--r--examples/framework-preact/package.json2
-rw-r--r--examples/framework-react/package.json2
-rw-r--r--examples/framework-solid/package.json2
-rw-r--r--examples/framework-svelte/package.json2
-rw-r--r--examples/framework-vue/package.json2
-rw-r--r--examples/hackernews/package.json2
-rw-r--r--examples/integration/package.json2
-rw-r--r--examples/minimal/package.json2
-rw-r--r--examples/portfolio/package.json2
-rw-r--r--examples/ssr/package.json2
-rw-r--r--examples/starlog/package.json2
-rw-r--r--examples/toolbar-app/package.json2
-rw-r--r--examples/with-markdoc/package.json4
-rw-r--r--examples/with-mdx/package.json4
-rw-r--r--examples/with-nanostores/package.json2
-rw-r--r--examples/with-tailwindcss/package.json4
-rw-r--r--examples/with-vitest/package.json2
-rw-r--r--packages/astro/CHANGELOG.md79
-rw-r--r--packages/astro/package.json2
-rw-r--r--packages/integrations/markdoc/CHANGELOG.md8
-rw-r--r--packages/integrations/markdoc/package.json2
-rw-r--r--packages/integrations/mdx/CHANGELOG.md7
-rw-r--r--packages/integrations/mdx/package.json2
-rw-r--r--packages/integrations/tailwind/CHANGELOG.md10
-rw-r--r--packages/integrations/tailwind/package.json2
-rw-r--r--packages/internal-helpers/CHANGELOG.md6
-rw-r--r--packages/internal-helpers/package.json2
-rw-r--r--packages/markdown/remark/CHANGELOG.md25
-rw-r--r--packages/markdown/remark/package.json2
-rw-r--r--pnpm-lock.yaml54
45 files changed, 195 insertions, 185 deletions
diff --git a/.changeset/blue-jokes-eat.md b/.changeset/blue-jokes-eat.md
deleted file mode 100644
index a5a584ce1..000000000
--- a/.changeset/blue-jokes-eat.md
+++ /dev/null
@@ -1,5 +0,0 @@
----
-'@astrojs/internal-helpers': minor
----
-
-Adds `collapseDuplicateTrailingSlashes` function
diff --git a/.changeset/blue-spies-shave.md b/.changeset/blue-spies-shave.md
deleted file mode 100644
index 562de6a46..000000000
--- a/.changeset/blue-spies-shave.md
+++ /dev/null
@@ -1,11 +0,0 @@
----
-'astro': minor
----
-
-Redirects trailing slashes for on-demand pages
-
-When the `trailingSlash` option is set to `always` or `never`, on-demand rendered pages will now redirect to the correct URL when the trailing slash doesn't match the configuration option. This was previously the case for static pages, but now works for on-demand pages as well.
-
-Now, it doesn't matter whether your visitor navigates to `/about/`, `/about`, or even `/about///`. In production, they'll always end up on the correct page. For GET requests, the redirect will be a 301 (permanent) redirect, and for all other request methods, it will be a 308 (permanent, and preserve the request method) redirect.
-
-In development, you'll see a helpful 404 page to alert you of a trailing slash mismatch so you can troubleshoot routes.
diff --git a/.changeset/curvy-penguins-act.md b/.changeset/curvy-penguins-act.md
deleted file mode 100644
index e36bbfbf0..000000000
--- a/.changeset/curvy-penguins-act.md
+++ /dev/null
@@ -1,9 +0,0 @@
----
-'@astrojs/tailwind': major
----
-
-Deprecates the integration
-
-Tailwind CSS now offers a Vite plugin which is the preferred way to use Tailwind 4 in Astro. Please uninstall `@astrojs/tailwind` and follow the [Tailwind documentation for manual installation](https://tailwindcss.com/docs/installation/framework-guides/astro).
-
-This updated major version is only provided as a convenience for existing projects until they are able to migrate to the new plugin. It offers no additional functionality and is no longer recommended, but may continue to be used in your projects until it is removed entirely.
diff --git a/.changeset/four-chairs-exercise.md b/.changeset/four-chairs-exercise.md
deleted file mode 100644
index 906c85d34..000000000
--- a/.changeset/four-chairs-exercise.md
+++ /dev/null
@@ -1,5 +0,0 @@
----
-'astro': patch
----
-
-Updates `astro add tailwind` to add the `@tailwindcss/vite` plugin instead of the `@astrojs/tailwind` integration
diff --git a/.changeset/lazy-pandas-love.md b/.changeset/lazy-pandas-love.md
deleted file mode 100644
index 63e4ee2cd..000000000
--- a/.changeset/lazy-pandas-love.md
+++ /dev/null
@@ -1,24 +0,0 @@
----
-'@astrojs/markdown-remark': minor
----
-
-Adds support for TOML frontmatter in `.md` and `.mdx` files
-
-Astro 5.2 automatically identifies the format of your Markdown and MDX frontmatter based on the delimiter used. With `+++` as a delimiter (instead of the `---` YAML code fence), your frontmatter will automatically be recognized and parsed as [TOML](https://toml.io).
-
-This is useful for adding existing content files with TOML frontmatter to your project from another framework such as Hugo.
-
-TOML frontmatter can also be used with [content collections](https://docs.astro.build/guides/content-collections/), and files with different frontmatter languages can live together in the same project.
-
-No configuration is required to use TOML frontmatter in your content files. Your delimiter will indicate your chosen frontmatter language:
-
-```md
-+++
-date = 2025-01-30
-title = 'Use TOML frontmatter in Astro!'
-[author]
-name = 'Colin Bate'
-+++
-
-# Support for TOML frontmatter is here!
-```
diff --git a/.changeset/light-pants-smoke.md b/.changeset/light-pants-smoke.md
deleted file mode 100644
index 6a7f4a15b..000000000
--- a/.changeset/light-pants-smoke.md
+++ /dev/null
@@ -1,22 +0,0 @@
----
-'astro': minor
----
-
-Adds support for redirecting to external sites with the [`redirects`](https://docs.astro.build/en/reference/configuration-reference/#redirects) configuration option.
-
-Now, you can redirect routes either internally to another path or externally by providing a URL beginning with `http` or `https`:
-
-```js
-// astro.config.mjs
-import {defineConfig} from "astro/config"
-
-export default defineConfig({
- redirects: {
- "/blog": "https://example.com/blog",
- "/news": {
- status: 302,
- destination: "https://example.com/news"
- }
- }
-})
-```
diff --git a/.changeset/many-fans-battle.md b/.changeset/many-fans-battle.md
deleted file mode 100644
index 8240531d0..000000000
--- a/.changeset/many-fans-battle.md
+++ /dev/null
@@ -1,5 +0,0 @@
----
-'astro': patch
----
-
-Returns a more helpful 404 page in dev if there is a trailing slash mismatch between the route requested and the `trailingSlash` configuration
diff --git a/.changeset/sharp-clouds-begin.md b/.changeset/sharp-clouds-begin.md
deleted file mode 100644
index 12b857a5a..000000000
--- a/.changeset/sharp-clouds-begin.md
+++ /dev/null
@@ -1,5 +0,0 @@
----
-'astro': patch
----
-
-Added additional generated typings for the content layer
diff --git a/.changeset/stupid-glasses-switch.md b/.changeset/stupid-glasses-switch.md
deleted file mode 100644
index d33db244e..000000000
--- a/.changeset/stupid-glasses-switch.md
+++ /dev/null
@@ -1,39 +0,0 @@
----
-'astro': minor
----
-
-Adds a new experimental virtual module `astro:config` that exposes a type-safe subset of your `astro.config.mjs` configuration
-
-The virtual module exposes two sub-paths for controlled access to your configuration:
-- `astro:config/client`: exposes config information that is safe to expose to the client.
-- `astro:config/server`: exposes additional information that is safe to expose to the server, such as file/dir paths.
-
-To enable this new virtual module, add the `experimental.serializeManifest` feature flag to your Astro config:
-
-```js
-// astro.config.mjs
-import {defineConfig} from "astro/config"
-export default defineConfig({
- experimental: {
- serializeManifest: true
- }
-})
-```
-
-Then, you can access the module in any file inside your project to import and use values from your Astro config:
-
-```js
-// src/utils.js
-import { trailingSlash } from "astro:config/client";
-
-function addForwardSlash(path) {
- if (trailingSlash === "always") {
- return path.endsWith("/") ? path : path + "/"
- } else {
- return path
- }
-}
-
-```
-
-For a complete overview, and to give feedback on this experimental API, see the [Serialized Manifest RFC](https://github.com/withastro/roadmap/blob/feat/serialised-config/proposals/0051-serialized-manifest.md).
diff --git a/examples/basics/package.json b/examples/basics/package.json
index 2485f4181..876773365 100644
--- a/examples/basics/package.json
+++ b/examples/basics/package.json
@@ -10,6 +10,6 @@
"astro": "astro"
},
"dependencies": {
- "astro": "^5.1.10"
+ "astro": "^5.2.0"
}
}
diff --git a/examples/blog/package.json b/examples/blog/package.json
index 8d971cf23..a990bf12d 100644
--- a/examples/blog/package.json
+++ b/examples/blog/package.json
@@ -10,9 +10,9 @@
"astro": "astro"
},
"dependencies": {
- "@astrojs/mdx": "^4.0.7",
+ "@astrojs/mdx": "^4.0.8",
"@astrojs/rss": "^4.0.11",
"@astrojs/sitemap": "^3.2.1",
- "astro": "^5.1.10"
+ "astro": "^5.2.0"
}
}
diff --git a/examples/component/package.json b/examples/component/package.json
index 9f4800a43..6dcb477d1 100644
--- a/examples/component/package.json
+++ b/examples/component/package.json
@@ -15,7 +15,7 @@
],
"scripts": {},
"devDependencies": {
- "astro": "^5.1.10"
+ "astro": "^5.2.0"
},
"peerDependencies": {
"astro": "^4.0.0 || ^5.0.0"
diff --git a/examples/container-with-vitest/package.json b/examples/container-with-vitest/package.json
index b12ec469a..1f63a75ba 100644
--- a/examples/container-with-vitest/package.json
+++ b/examples/container-with-vitest/package.json
@@ -12,7 +12,7 @@
},
"dependencies": {
"@astrojs/react": "^4.2.0",
- "astro": "^5.1.10",
+ "astro": "^5.2.0",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"vitest": "^3.0.2"
diff --git a/examples/framework-alpine/package.json b/examples/framework-alpine/package.json
index 2da56ec83..208ebcc91 100644
--- a/examples/framework-alpine/package.json
+++ b/examples/framework-alpine/package.json
@@ -13,6 +13,6 @@
"@astrojs/alpinejs": "^0.4.3",
"@types/alpinejs": "^3.13.11",
"alpinejs": "^3.14.8",
- "astro": "^5.1.10"
+ "astro": "^5.2.0"
}
}
diff --git a/examples/framework-multiple/package.json b/examples/framework-multiple/package.json
index 59e0bf6c7..51072531b 100644
--- a/examples/framework-multiple/package.json
+++ b/examples/framework-multiple/package.json
@@ -17,7 +17,7 @@
"@astrojs/vue": "^5.0.6",
"@types/react": "^18.3.18",
"@types/react-dom": "^18.3.5",
- "astro": "^5.1.10",
+ "astro": "^5.2.0",
"preact": "^10.25.4",
"react": "^18.3.1",
"react-dom": "^18.3.1",
diff --git a/examples/framework-preact/package.json b/examples/framework-preact/package.json
index f3142d0c1..9e95c7d28 100644
--- a/examples/framework-preact/package.json
+++ b/examples/framework-preact/package.json
@@ -12,7 +12,7 @@
"dependencies": {
"@astrojs/preact": "^4.0.3",
"@preact/signals": "^2.0.1",
- "astro": "^5.1.10",
+ "astro": "^5.2.0",
"preact": "^10.25.4"
}
}
diff --git a/examples/framework-react/package.json b/examples/framework-react/package.json
index b7087c27e..2ef58c483 100644
--- a/examples/framework-react/package.json
+++ b/examples/framework-react/package.json
@@ -13,7 +13,7 @@
"@astrojs/react": "^4.2.0",
"@types/react": "^18.3.18",
"@types/react-dom": "^18.3.5",
- "astro": "^5.1.10",
+ "astro": "^5.2.0",
"react": "^18.3.1",
"react-dom": "^18.3.1"
}
diff --git a/examples/framework-solid/package.json b/examples/framework-solid/package.json
index f1facd934..883f6b499 100644
--- a/examples/framework-solid/package.json
+++ b/examples/framework-solid/package.json
@@ -11,7 +11,7 @@
},
"dependencies": {
"@astrojs/solid-js": "^5.0.4",
- "astro": "^5.1.10",
+ "astro": "^5.2.0",
"solid-js": "^1.9.4"
}
}
diff --git a/examples/framework-svelte/package.json b/examples/framework-svelte/package.json
index 937f40af0..0af2637ca 100644
--- a/examples/framework-svelte/package.json
+++ b/examples/framework-svelte/package.json
@@ -11,7 +11,7 @@
},
"dependencies": {
"@astrojs/svelte": "^7.0.4",
- "astro": "^5.1.10",
+ "astro": "^5.2.0",
"svelte": "^5.19.0"
}
}
diff --git a/examples/framework-vue/package.json b/examples/framework-vue/package.json
index 88cf0e173..03ef090eb 100644
--- a/examples/framework-vue/package.json
+++ b/examples/framework-vue/package.json
@@ -11,7 +11,7 @@
},
"dependencies": {
"@astrojs/vue": "^5.0.6",
- "astro": "^5.1.10",
+ "astro": "^5.2.0",
"vue": "^3.5.13"
}
}
diff --git a/examples/hackernews/package.json b/examples/hackernews/package.json
index b7f6ef331..ee01ef2c4 100644
--- a/examples/hackernews/package.json
+++ b/examples/hackernews/package.json
@@ -11,6 +11,6 @@
},
"dependencies": {
"@astrojs/node": "^9.0.1",
- "astro": "^5.1.10"
+ "astro": "^5.2.0"
}
}
diff --git a/examples/integration/package.json b/examples/integration/package.json
index 776ff62aa..264cc3b89 100644
--- a/examples/integration/package.json
+++ b/examples/integration/package.json
@@ -15,7 +15,7 @@
],
"scripts": {},
"devDependencies": {
- "astro": "^5.1.10"
+ "astro": "^5.2.0"
},
"peerDependencies": {
"astro": "^4.0.0"
diff --git a/examples/minimal/package.json b/examples/minimal/package.json
index 1ca5683e4..27eb1db34 100644
--- a/examples/minimal/package.json
+++ b/examples/minimal/package.json
@@ -10,6 +10,6 @@
"astro": "astro"
},
"dependencies": {
- "astro": "^5.1.10"
+ "astro": "^5.2.0"
}
}
diff --git a/examples/portfolio/package.json b/examples/portfolio/package.json
index 8dded9a8b..567bcf851 100644
--- a/examples/portfolio/package.json
+++ b/examples/portfolio/package.json
@@ -10,6 +10,6 @@
"astro": "astro"
},
"dependencies": {
- "astro": "^5.1.10"
+ "astro": "^5.2.0"
}
}
diff --git a/examples/ssr/package.json b/examples/ssr/package.json
index d47fa0e14..3f85daee4 100644
--- a/examples/ssr/package.json
+++ b/examples/ssr/package.json
@@ -13,7 +13,7 @@
"dependencies": {
"@astrojs/node": "^9.0.1",
"@astrojs/svelte": "^7.0.4",
- "astro": "^5.1.10",
+ "astro": "^5.2.0",
"svelte": "^5.19.0"
}
}
diff --git a/examples/starlog/package.json b/examples/starlog/package.json
index cdc4d0c7c..ba606a86a 100644
--- a/examples/starlog/package.json
+++ b/examples/starlog/package.json
@@ -9,7 +9,7 @@
"astro": "astro"
},
"dependencies": {
- "astro": "^5.1.10",
+ "astro": "^5.2.0",
"sass": "^1.83.4",
"sharp": "^0.33.3"
}
diff --git a/examples/toolbar-app/package.json b/examples/toolbar-app/package.json
index dc02761f5..1c3a90763 100644
--- a/examples/toolbar-app/package.json
+++ b/examples/toolbar-app/package.json
@@ -16,6 +16,6 @@
},
"devDependencies": {
"@types/node": "^18.17.8",
- "astro": "^5.1.10"
+ "astro": "^5.2.0"
}
}
diff --git a/examples/with-markdoc/package.json b/examples/with-markdoc/package.json
index c430f5441..daf45cfc5 100644
--- a/examples/with-markdoc/package.json
+++ b/examples/with-markdoc/package.json
@@ -10,7 +10,7 @@
"astro": "astro"
},
"dependencies": {
- "@astrojs/markdoc": "^0.12.7",
- "astro": "^5.1.10"
+ "@astrojs/markdoc": "^0.12.8",
+ "astro": "^5.2.0"
}
}
diff --git a/examples/with-mdx/package.json b/examples/with-mdx/package.json
index f7138195b..107ced545 100644
--- a/examples/with-mdx/package.json
+++ b/examples/with-mdx/package.json
@@ -10,9 +10,9 @@
"astro": "astro"
},
"dependencies": {
- "@astrojs/mdx": "^4.0.7",
+ "@astrojs/mdx": "^4.0.8",
"@astrojs/preact": "^4.0.3",
- "astro": "^5.1.10",
+ "astro": "^5.2.0",
"preact": "^10.25.4"
}
}
diff --git a/examples/with-nanostores/package.json b/examples/with-nanostores/package.json
index a274ab780..3f6816b8a 100644
--- a/examples/with-nanostores/package.json
+++ b/examples/with-nanostores/package.json
@@ -12,7 +12,7 @@
"dependencies": {
"@astrojs/preact": "^4.0.3",
"@nanostores/preact": "^0.5.2",
- "astro": "^5.1.10",
+ "astro": "^5.2.0",
"nanostores": "^0.11.3",
"preact": "^10.25.4"
}
diff --git a/examples/with-tailwindcss/package.json b/examples/with-tailwindcss/package.json
index dec94d27b..12de94e66 100644
--- a/examples/with-tailwindcss/package.json
+++ b/examples/with-tailwindcss/package.json
@@ -10,10 +10,10 @@
"astro": "astro"
},
"dependencies": {
- "@astrojs/mdx": "^4.0.7",
+ "@astrojs/mdx": "^4.0.8",
"@tailwindcss/vite": "^4.0.0",
"@types/canvas-confetti": "^1.9.0",
- "astro": "^5.1.10",
+ "astro": "^5.2.0",
"canvas-confetti": "^1.9.3",
"tailwindcss": "^4.0.0"
}
diff --git a/examples/with-vitest/package.json b/examples/with-vitest/package.json
index 7da6b2bce..0615157b6 100644
--- a/examples/with-vitest/package.json
+++ b/examples/with-vitest/package.json
@@ -11,7 +11,7 @@
"test": "vitest"
},
"dependencies": {
- "astro": "^5.1.10",
+ "astro": "^5.2.0",
"vitest": "^3.0.2"
}
}
diff --git a/packages/astro/CHANGELOG.md b/packages/astro/CHANGELOG.md
index 129e64fb3..4bcbaf197 100644
--- a/packages/astro/CHANGELOG.md
+++ b/packages/astro/CHANGELOG.md
@@ -1,5 +1,84 @@
# astro
+## 5.2.0
+
+### Minor Changes
+
+- [#12994](https://github.com/withastro/astro/pull/12994) [`5361755`](https://github.com/withastro/astro/commit/536175528dbbe75aa978d615ba2517b64bad7879) Thanks [@ascorbic](https://github.com/ascorbic)! - Redirects trailing slashes for on-demand pages
+
+ When the `trailingSlash` option is set to `always` or `never`, on-demand rendered pages will now redirect to the correct URL when the trailing slash doesn't match the configuration option. This was previously the case for static pages, but now works for on-demand pages as well.
+
+ Now, it doesn't matter whether your visitor navigates to `/about/`, `/about`, or even `/about///`. In production, they'll always end up on the correct page. For GET requests, the redirect will be a 301 (permanent) redirect, and for all other request methods, it will be a 308 (permanent, and preserve the request method) redirect.
+
+ In development, you'll see a helpful 404 page to alert you of a trailing slash mismatch so you can troubleshoot routes.
+
+- [#12979](https://github.com/withastro/astro/pull/12979) [`e621712`](https://github.com/withastro/astro/commit/e621712109b79313b24924ec4f0ba4f8ab6201c2) Thanks [@ematipico](https://github.com/ematipico)! - Adds support for redirecting to external sites with the [`redirects`](https://docs.astro.build/en/reference/configuration-reference/#redirects) configuration option.
+
+ Now, you can redirect routes either internally to another path or externally by providing a URL beginning with `http` or `https`:
+
+ ```js
+ // astro.config.mjs
+ import { defineConfig } from 'astro/config';
+
+ export default defineConfig({
+ redirects: {
+ '/blog': 'https://example.com/blog',
+ '/news': {
+ status: 302,
+ destination: 'https://example.com/news',
+ },
+ },
+ });
+ ```
+
+- [#13084](https://github.com/withastro/astro/pull/13084) [`0f3be31`](https://github.com/withastro/astro/commit/0f3be3104e62d5b50dabfb15023f97954a160b8e) Thanks [@ematipico](https://github.com/ematipico)! - Adds a new experimental virtual module `astro:config` that exposes a type-safe subset of your `astro.config.mjs` configuration
+
+ The virtual module exposes two sub-paths for controlled access to your configuration:
+
+ - `astro:config/client`: exposes config information that is safe to expose to the client.
+ - `astro:config/server`: exposes additional information that is safe to expose to the server, such as file/dir paths.
+
+ To enable this new virtual module, add the `experimental.serializeManifest` feature flag to your Astro config:
+
+ ```js
+ // astro.config.mjs
+ import { defineConfig } from 'astro/config';
+ export default defineConfig({
+ experimental: {
+ serializeManifest: true,
+ },
+ });
+ ```
+
+ Then, you can access the module in any file inside your project to import and use values from your Astro config:
+
+ ```js
+ // src/utils.js
+ import { trailingSlash } from 'astro:config/client';
+
+ function addForwardSlash(path) {
+ if (trailingSlash === 'always') {
+ return path.endsWith('/') ? path : path + '/';
+ } else {
+ return path;
+ }
+ }
+ ```
+
+ For a complete overview, and to give feedback on this experimental API, see the [Serialized Manifest RFC](https://github.com/withastro/roadmap/blob/feat/serialised-config/proposals/0051-serialized-manifest.md).
+
+### Patch Changes
+
+- [#13049](https://github.com/withastro/astro/pull/13049) [`2ed4bd9`](https://github.com/withastro/astro/commit/2ed4bd90f25a3e5a183d0bc862e3b359b8289b93) Thanks [@florian-lefebvre](https://github.com/florian-lefebvre)! - Updates `astro add tailwind` to add the `@tailwindcss/vite` plugin instead of the `@astrojs/tailwind` integration
+
+- [#12994](https://github.com/withastro/astro/pull/12994) [`5361755`](https://github.com/withastro/astro/commit/536175528dbbe75aa978d615ba2517b64bad7879) Thanks [@ascorbic](https://github.com/ascorbic)! - Returns a more helpful 404 page in dev if there is a trailing slash mismatch between the route requested and the `trailingSlash` configuration
+
+- [#12666](https://github.com/withastro/astro/pull/12666) [`037495d`](https://github.com/withastro/astro/commit/037495d437d2328bf10ffadc22cc114ccf474c65) Thanks [@Thodor12](https://github.com/Thodor12)! - Added additional generated typings for the content layer
+
+- Updated dependencies [[`5361755`](https://github.com/withastro/astro/commit/536175528dbbe75aa978d615ba2517b64bad7879), [`db252e0`](https://github.com/withastro/astro/commit/db252e0692a0addf7239bfefc0220c525d63337d)]:
+ - @astrojs/internal-helpers@0.5.0
+ - @astrojs/markdown-remark@6.1.0
+
## 5.1.10
### Patch Changes
diff --git a/packages/astro/package.json b/packages/astro/package.json
index 28577b2b7..7622de5ff 100644
--- a/packages/astro/package.json
+++ b/packages/astro/package.json
@@ -1,6 +1,6 @@
{
"name": "astro",
- "version": "5.1.10",
+ "version": "5.2.0",
"description": "Astro is a modern site builder with web best practices, performance, and DX front-of-mind.",
"type": "module",
"author": "withastro",
diff --git a/packages/integrations/markdoc/CHANGELOG.md b/packages/integrations/markdoc/CHANGELOG.md
index 5f941e07b..e88f3cdda 100644
--- a/packages/integrations/markdoc/CHANGELOG.md
+++ b/packages/integrations/markdoc/CHANGELOG.md
@@ -1,5 +1,13 @@
# @astrojs/markdoc
+## 0.12.8
+
+### Patch Changes
+
+- Updated dependencies [[`5361755`](https://github.com/withastro/astro/commit/536175528dbbe75aa978d615ba2517b64bad7879), [`db252e0`](https://github.com/withastro/astro/commit/db252e0692a0addf7239bfefc0220c525d63337d)]:
+ - @astrojs/internal-helpers@0.5.0
+ - @astrojs/markdown-remark@6.1.0
+
## 0.12.7
### Patch Changes
diff --git a/packages/integrations/markdoc/package.json b/packages/integrations/markdoc/package.json
index 418df0284..c73c7b345 100644
--- a/packages/integrations/markdoc/package.json
+++ b/packages/integrations/markdoc/package.json
@@ -1,7 +1,7 @@
{
"name": "@astrojs/markdoc",
"description": "Add support for Markdoc in your Astro site",
- "version": "0.12.7",
+ "version": "0.12.8",
"type": "module",
"types": "./dist/index.d.ts",
"author": "withastro",
diff --git a/packages/integrations/mdx/CHANGELOG.md b/packages/integrations/mdx/CHANGELOG.md
index c323f978c..840864ac3 100644
--- a/packages/integrations/mdx/CHANGELOG.md
+++ b/packages/integrations/mdx/CHANGELOG.md
@@ -1,5 +1,12 @@
# @astrojs/mdx
+## 4.0.8
+
+### Patch Changes
+
+- Updated dependencies [[`db252e0`](https://github.com/withastro/astro/commit/db252e0692a0addf7239bfefc0220c525d63337d)]:
+ - @astrojs/markdown-remark@6.1.0
+
## 4.0.7
### Patch Changes
diff --git a/packages/integrations/mdx/package.json b/packages/integrations/mdx/package.json
index cc9306ea9..50fb82fb9 100644
--- a/packages/integrations/mdx/package.json
+++ b/packages/integrations/mdx/package.json
@@ -1,7 +1,7 @@
{
"name": "@astrojs/mdx",
"description": "Add support for MDX pages in your Astro site",
- "version": "4.0.7",
+ "version": "4.0.8",
"type": "module",
"types": "./dist/index.d.ts",
"author": "withastro",
diff --git a/packages/integrations/tailwind/CHANGELOG.md b/packages/integrations/tailwind/CHANGELOG.md
index 84920ba39..0e18eeed7 100644
--- a/packages/integrations/tailwind/CHANGELOG.md
+++ b/packages/integrations/tailwind/CHANGELOG.md
@@ -1,5 +1,15 @@
# @astrojs/tailwind
+## 6.0.0
+
+### Major Changes
+
+- [#13049](https://github.com/withastro/astro/pull/13049) [`2ed4bd9`](https://github.com/withastro/astro/commit/2ed4bd90f25a3e5a183d0bc862e3b359b8289b93) Thanks [@florian-lefebvre](https://github.com/florian-lefebvre)! - Deprecates the integration
+
+ Tailwind CSS now offers a Vite plugin which is the preferred way to use Tailwind 4 in Astro. Please uninstall `@astrojs/tailwind` and follow the [Tailwind documentation for manual installation](https://tailwindcss.com/docs/installation/framework-guides/astro).
+
+ This updated major version is only provided as a convenience for existing projects until they are able to migrate to the new plugin. It offers no additional functionality and is no longer recommended, but may continue to be used in your projects until it is removed entirely.
+
## 5.1.5
### Patch Changes
diff --git a/packages/integrations/tailwind/package.json b/packages/integrations/tailwind/package.json
index db6b4226b..e3a5b7a35 100644
--- a/packages/integrations/tailwind/package.json
+++ b/packages/integrations/tailwind/package.json
@@ -1,7 +1,7 @@
{
"name": "@astrojs/tailwind",
"description": "Use Tailwind CSS to style your Astro site",
- "version": "5.1.5",
+ "version": "6.0.0",
"type": "module",
"types": "./dist/index.d.ts",
"author": "withastro",
diff --git a/packages/internal-helpers/CHANGELOG.md b/packages/internal-helpers/CHANGELOG.md
index 0d0824882..e49860f28 100644
--- a/packages/internal-helpers/CHANGELOG.md
+++ b/packages/internal-helpers/CHANGELOG.md
@@ -1,5 +1,11 @@
# @astrojs/internal-helpers
+## 0.5.0
+
+### Minor Changes
+
+- [#12994](https://github.com/withastro/astro/pull/12994) [`5361755`](https://github.com/withastro/astro/commit/536175528dbbe75aa978d615ba2517b64bad7879) Thanks [@ascorbic](https://github.com/ascorbic)! - Adds `collapseDuplicateTrailingSlashes` function
+
## 0.4.2
### Patch Changes
diff --git a/packages/internal-helpers/package.json b/packages/internal-helpers/package.json
index 292061403..8bf8a5d43 100644
--- a/packages/internal-helpers/package.json
+++ b/packages/internal-helpers/package.json
@@ -1,7 +1,7 @@
{
"name": "@astrojs/internal-helpers",
"description": "Internal helpers used by core Astro packages.",
- "version": "0.4.2",
+ "version": "0.5.0",
"type": "module",
"author": "withastro",
"license": "MIT",
diff --git a/packages/markdown/remark/CHANGELOG.md b/packages/markdown/remark/CHANGELOG.md
index 93399ddae..e63889311 100644
--- a/packages/markdown/remark/CHANGELOG.md
+++ b/packages/markdown/remark/CHANGELOG.md
@@ -1,5 +1,30 @@
# @astrojs/markdown-remark
+## 6.1.0
+
+### Minor Changes
+
+- [#12850](https://github.com/withastro/astro/pull/12850) [`db252e0`](https://github.com/withastro/astro/commit/db252e0692a0addf7239bfefc0220c525d63337d) Thanks [@colinbate](https://github.com/colinbate)! - Adds support for TOML frontmatter in `.md` and `.mdx` files
+
+ Astro 5.2 automatically identifies the format of your Markdown and MDX frontmatter based on the delimiter used. With `+++` as a delimiter (instead of the `---` YAML code fence), your frontmatter will automatically be recognized and parsed as [TOML](https://toml.io).
+
+ This is useful for adding existing content files with TOML frontmatter to your project from another framework such as Hugo.
+
+ TOML frontmatter can also be used with [content collections](https://docs.astro.build/guides/content-collections/), and files with different frontmatter languages can live together in the same project.
+
+ No configuration is required to use TOML frontmatter in your content files. Your delimiter will indicate your chosen frontmatter language:
+
+ ```md
+ +++
+ date = 2025-01-30
+ title = 'Use TOML frontmatter in Astro!'
+ [author]
+ name = 'Colin Bate'
+ +++
+
+ # Support for TOML frontmatter is here!
+ ```
+
## 6.0.2
### Patch Changes
diff --git a/packages/markdown/remark/package.json b/packages/markdown/remark/package.json
index 0c5184332..a827d19b7 100644
--- a/packages/markdown/remark/package.json
+++ b/packages/markdown/remark/package.json
@@ -1,6 +1,6 @@
{
"name": "@astrojs/markdown-remark",
- "version": "6.0.2",
+ "version": "6.1.0",
"type": "module",
"author": "withastro",
"license": "MIT",
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 424affa1e..0e19abcd1 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -142,13 +142,13 @@ importers:
examples/basics:
dependencies:
astro:
- specifier: ^5.1.10
+ specifier: ^5.2.0
version: link:../../packages/astro
examples/blog:
dependencies:
'@astrojs/mdx':
- specifier: ^4.0.7
+ specifier: ^4.0.8
version: link:../../packages/integrations/mdx
'@astrojs/rss':
specifier: ^4.0.11
@@ -157,13 +157,13 @@ importers:
specifier: ^3.2.1
version: link:../../packages/integrations/sitemap
astro:
- specifier: ^5.1.10
+ specifier: ^5.2.0
version: link:../../packages/astro
examples/component:
devDependencies:
astro:
- specifier: ^5.1.10
+ specifier: ^5.2.0
version: link:../../packages/astro
examples/container-with-vitest:
@@ -172,7 +172,7 @@ importers:
specifier: ^4.2.0
version: link:../../packages/integrations/react
astro:
- specifier: ^5.1.10
+ specifier: ^5.2.0
version: link:../../packages/astro
react:
specifier: ^18.3.1
@@ -203,7 +203,7 @@ importers:
specifier: ^3.14.8
version: 3.14.8
astro:
- specifier: ^5.1.10
+ specifier: ^5.2.0
version: link:../../packages/astro
examples/framework-multiple:
@@ -230,7 +230,7 @@ importers:
specifier: ^18.3.5
version: 18.3.5(@types/react@18.3.18)
astro:
- specifier: ^5.1.10
+ specifier: ^5.2.0
version: link:../../packages/astro
preact:
specifier: ^10.25.4
@@ -260,7 +260,7 @@ importers:
specifier: ^2.0.1
version: 2.0.1(preact@10.25.4)
astro:
- specifier: ^5.1.10
+ specifier: ^5.2.0
version: link:../../packages/astro
preact:
specifier: ^10.25.4
@@ -278,7 +278,7 @@ importers:
specifier: ^18.3.5
version: 18.3.5(@types/react@18.3.18)
astro:
- specifier: ^5.1.10
+ specifier: ^5.2.0
version: link:../../packages/astro
react:
specifier: ^18.3.1
@@ -293,7 +293,7 @@ importers:
specifier: ^5.0.4
version: link:../../packages/integrations/solid
astro:
- specifier: ^5.1.10
+ specifier: ^5.2.0
version: link:../../packages/astro
solid-js:
specifier: ^1.9.4
@@ -305,7 +305,7 @@ importers:
specifier: ^7.0.4
version: link:../../packages/integrations/svelte
astro:
- specifier: ^5.1.10
+ specifier: ^5.2.0
version: link:../../packages/astro
svelte:
specifier: ^5.19.0
@@ -317,7 +317,7 @@ importers:
specifier: ^5.0.6
version: link:../../packages/integrations/vue
astro:
- specifier: ^5.1.10
+ specifier: ^5.2.0
version: link:../../packages/astro
vue:
specifier: ^3.5.13
@@ -329,25 +329,25 @@ importers:
specifier: ^9.0.1
version: 9.0.1(astro@packages+astro)
astro:
- specifier: ^5.1.10
+ specifier: ^5.2.0
version: link:../../packages/astro
examples/integration:
devDependencies:
astro:
- specifier: ^5.1.10
+ specifier: ^5.2.0
version: link:../../packages/astro
examples/minimal:
dependencies:
astro:
- specifier: ^5.1.10
+ specifier: ^5.2.0
version: link:../../packages/astro
examples/portfolio:
dependencies:
astro:
- specifier: ^5.1.10
+ specifier: ^5.2.0
version: link:../../packages/astro
examples/ssr:
@@ -359,7 +359,7 @@ importers:
specifier: ^7.0.4
version: link:../../packages/integrations/svelte
astro:
- specifier: ^5.1.10
+ specifier: ^5.2.0
version: link:../../packages/astro
svelte:
specifier: ^5.19.0
@@ -368,7 +368,7 @@ importers:
examples/starlog:
dependencies:
astro:
- specifier: ^5.1.10
+ specifier: ^5.2.0
version: link:../../packages/astro
sass:
specifier: ^1.83.4
@@ -383,28 +383,28 @@ importers:
specifier: ^18.17.8
version: 18.19.50
astro:
- specifier: ^5.1.10
+ specifier: ^5.2.0
version: link:../../packages/astro
examples/with-markdoc:
dependencies:
'@astrojs/markdoc':
- specifier: ^0.12.7
+ specifier: ^0.12.8
version: link:../../packages/integrations/markdoc
astro:
- specifier: ^5.1.10
+ specifier: ^5.2.0
version: link:../../packages/astro
examples/with-mdx:
dependencies:
'@astrojs/mdx':
- specifier: ^4.0.7
+ specifier: ^4.0.8
version: link:../../packages/integrations/mdx
'@astrojs/preact':
specifier: ^4.0.3
version: link:../../packages/integrations/preact
astro:
- specifier: ^5.1.10
+ specifier: ^5.2.0
version: link:../../packages/astro
preact:
specifier: ^10.25.4
@@ -419,7 +419,7 @@ importers:
specifier: ^0.5.2
version: 0.5.2(nanostores@0.11.3)(preact@10.25.4)
astro:
- specifier: ^5.1.10
+ specifier: ^5.2.0
version: link:../../packages/astro
nanostores:
specifier: ^0.11.3
@@ -431,7 +431,7 @@ importers:
examples/with-tailwindcss:
dependencies:
'@astrojs/mdx':
- specifier: ^4.0.7
+ specifier: ^4.0.8
version: link:../../packages/integrations/mdx
'@tailwindcss/vite':
specifier: ^4.0.0
@@ -440,7 +440,7 @@ importers:
specifier: ^1.9.0
version: 1.9.0
astro:
- specifier: ^5.1.10
+ specifier: ^5.2.0
version: link:../../packages/astro
canvas-confetti:
specifier: ^1.9.3
@@ -452,7 +452,7 @@ importers:
examples/with-vitest:
dependencies:
astro:
- specifier: ^5.1.10
+ specifier: ^5.2.0
version: link:../../packages/astro
vitest:
specifier: ^3.0.2