AstroEco is Releasing…
Display your GitHub releases using astro-loader-github-releases
Patch Changes
-
#3416
fcc0633Thanks @randomguy-2650! - Updates German UI translations to be more idiomatic. -
#1640
d1b3828Thanks @hippotastic! - Refactors various internal systems, improving code quality and maintainability. -
#3421
97e8103Thanks @andersk! - Removes an invalidvalueattribute from the language and theme selectors -
#3422
9200facThanks @andersk! - Refactors collapsible sidebar sections and “on this page” dropdown to use<span>instead of<div>
Patch Changes
- #14326
c24a8f4Thanks @jsparkdev! - Updatesviteversion to fix CVE
Patch Changes
-
#14326
c24a8f4Thanks @jsparkdev! - Updatesviteversion to fix CVE -
Updated dependencies []:
- @astrojs/underscore-redirects@1.0.0
Patch Changes
- #14326
c24a8f4Thanks @jsparkdev! - Updatesviteversion to fix CVE
Patch Changes
- #14326
c24a8f4Thanks @jsparkdev! - Updatesviteversion to fix CVE
Patch Changes
- #14326
c24a8f4Thanks @jsparkdev! - Updatesviteversion to fix CVE
Patch Changes
- #14326
c24a8f4Thanks @jsparkdev! - Updatesviteversion to fix CVE
Patch Changes
-
#14294
e005855Thanks @martrapp! - Restores the ability to use Google AnalyticsHistory change triggerwith the<ClientRouter />. -
#14326
c24a8f4Thanks @jsparkdev! - Updatesviteversion to fix CVE -
#14108
218e070Thanks @JusticeMatthew! - Updates dynamic route split regex to avoid infinite retries/exponential complexity -
#14327
c1033beThanks @ascorbic! - Pins simple-swizzle to avoid compromised version
Patch Changes
- #14326
c24a8f4Thanks @jsparkdev! - Updatesviteversion to fix CVE
Patch Changes
-
#14326
c24a8f4Thanks @jsparkdev! - Updatesviteversion to fix CVE -
Updated dependencies []:
- @astrojs/underscore-redirects@1.0.0
Patch Changes
- #14326
c24a8f4Thanks @jsparkdev! - Updatesviteversion to fix CVE
Patch Changes
- #14326
c24a8f4Thanks @jsparkdev! - Updatesviteversion to fix CVE
Patch Changes
- #14326
c24a8f4Thanks @jsparkdev! - Updatesviteversion to fix CVE
Patch Changes
-
#14286
09c5db3Thanks @ematipico! - BREAKING CHANGES only to the experimental CSP featureThe following runtime APIs of the
Astroglobal have been renamed:Astro.insertDirectivetoAstro.csp.insertDirectiveAstro.insertStyleResourcetoAstro.csp.insertStyleResourceAstro.insertStyleHashtoAstro.csp.insertStyleHashAstro.insertScriptResourcetoAstro.csp.insertScriptResourceAstro.insertScriptHashtoAstro.csp.insertScriptHash
The following runtime APIs of the
APIContexthave been renamed:ctx.insertDirectivetoctx.csp.insertDirectivectx.insertStyleResourcetoctx.csp.insertStyleResourcectx.insertStyleHashtoctx.csp.insertStyleHashctx.insertScriptResourcetoctx.csp.insertScriptResourcectx.insertScriptHashtoctx.csp.insertScriptHash
-
#14283
3224637Thanks @ematipico! - Fixes an issue where CSP headers were incorrectly injected in the development server. -
#14275
3e2f20dThanks @florian-lefebvre! - Adds support for experimental CSP when using experimental fontsExperimental fonts now integrate well with experimental CSP by injecting hashes for the styles it generates, as well as
font-srcdirectives.No action is required to benefit from it.
-
#14280
4b9fb73Thanks @ascorbic! - Fixes a bug that caused cookies to not be correctly set when using middleware sequences -
#14276
77281c4Thanks @ArmandPhilippot! - Adds a missing export forresolveSrc, a documented image services utility.
Patch Changes
-
#14269
4823c42Thanks @florian-lefebvre! - Updatescontext.netlifyto implement all its properties -
Updated dependencies []:
- @astrojs/underscore-redirects@1.0.0
Patch Changes
-
9ecf359Thanks @alexanderniebuhr! - Improves the image proxy endpoint when using the default compile option to adhere to user configuration regarding the allowed remote domains -
Updated dependencies []:
- @astrojs/underscore-redirects@1.0.0
Patch Changes
-
#14260
86a1e40Thanks @jp-knj! - FixesAstro.url.pathnameto respecttrailingSlash: 'never'configuration when using a base path. Previously, the root path with a base would incorrectly return/base/instead of/basewhentrailingSlashwas set to 'never'. -
#14248
e81c4bdThanks @julesyoungberg! - Fixes a bug where actions named 'apply' do not work due to being a function prototype method.
Patch Changes
-
#14239
d7d93e1Thanks @wtchnm! - Fixes a bug where the types for the live content collections were not being generated correctly in dev mode -
#14221
eadc9ddThanks @delucis! - Fixes JSON schema support for content collections using thefile()loader -
#14229
1a9107aThanks @jonmichaeldarby! - EnsuresAstro.currentLocalereturns the correct locale during SSG for pages that use a locale param (such as[locale].astroor[locale]/index.astro, which produce[locale].html)
Patch Changes
- #14233
896886cThanks @gouravkhunger! - Fixes the issue with the optionlastmodwhere if it is defined it applies correctly to<url>entries in eachsitemap-${i}.xmlfile but not the<sitemap>entries in the rootsitemap-index.xmlfile.
Patch Changes
-
#14259
02366e9Thanks @ascorbic! - Removes warning when using the adapter with a static build.The Cloudflare adapter now has several uses outside of on-demand rendered pages, so this warning is misleading. Similar warnings have already been removed from other adapters.
-
#14234
15b55f3Thanks @yanthomasdev! - Fixes an issue that could cause duplicate exports when configuringworkerEntrypoint.namedExports -
#14240
77b18fbThanks @delucis! - Increases the minimum supported version of Astro to 5.7.0 -
Updated dependencies []:
- @astrojs/underscore-redirects@1.0.0
Patch Changes
- Updated dependencies [
4d16de7]:- @astrojs/internal-helpers@0.7.2
Patch Changes
- Updated dependencies [
4d16de7]:- @astrojs/internal-helpers@0.7.2
- @astrojs/underscore-redirects@1.0.0
Patch Changes
- Updated dependencies [
4d16de7]:- @astrojs/internal-helpers@0.7.2
Patch Changes
- Updated dependencies [
4d16de7]:- @astrojs/internal-helpers@0.7.2
- @astrojs/markdown-remark@6.3.6
Patch Changes
- Updated dependencies [
4d16de7]:- @astrojs/internal-helpers@0.7.2
- @astrojs/underscore-redirects@1.0.0
Patch Changes
4d16de7Thanks @ematipico! - Improves the detection of remote paths in the_imageendpoint. Nowhrefparameters that start with//are considered remote paths.
Patch Changes
- Updated dependencies []:
- @astrojs/markdown-remark@6.3.6
Patch Changes
- Updated dependencies [
4d16de7]:- @astrojs/internal-helpers@0.7.2
Patch Changes
5fc3c59Thanks @ematipico! - Fixes a routing bug in standalone mode withtrailingSlashset to"always".
Minor Changes
-
#13682
5824b32Thanks @gouravkhunger! - Adds acustomSitemapsoption to include extra sitemaps in thesitemap-index.xmlfile generated by Astro.This is useful for multi-framework setups on the same domain as your Astro site (
example.com), such as a blog atexample.com/blogwhose sitemap is generated by another framework.The following example shows configuring your Astro site to include sitemaps for an externally-generated blog and help center along with the generated sitemap entries in
sitemap-index.xml:Example:
import { defineConfig } from 'astro/config'; import sitemap from '@astrojs/sitemap'; export default defineConfig({ site: 'https://example.com', integrations: [ sitemap({ customSitemaps: [ 'https://example.com/blog/sitemap.xml', 'https://example.com/helpcenter/sitemap.xml', ], }), ], });
Learn more in the
@astrojs/sitemapconfiguration documentation.
Patch Changes
- #14207
91283b5Thanks @Adammatthiesen! - Fixes inferred types for Astro DB tables usingcolumn.textfields.
Minor Changes
-
#14190
438adabThanks @Adammatthiesen! - Adds support for enum support for text columns in Astro DB tables.import { column, defineTable } from 'astro:db'; // Table definition const UserTable = defineTable({ columns: { id: column.number({ primaryKey: true }), name: column.text(), rank: column.text({ enum: ['user', 'mod', 'admin'] }), }, }); // Resulting type definition type UserTableInferInsert = { id: string; name: string; rank: 'user' | 'mod' | 'admin'; };
Minor Changes
-
#14188
e3422aaThanks @ascorbic! - Adds support for specifying a host to load prerendered error pagesBy default, if a user defines a custom error page that is prerendered, Astro will load it from the same host as the one that the request is made to. This change allows users to specify a different host for loading prerendered error pages. This can be useful in scenarios such as where the server is running behind a reverse proxy or when prerendered pages are hosted on a different domain.
To use this feature, set the
experimentalErrorPageHostadapter option in your Astro configuration to the desired host URL. For example, if your server is running on localhost and served via a proxy, you can ensure the prerendered error pages are fetched via the localhost URL:import { defineConfig } from 'astro/config'; import node from '@astrojs/node'; export default defineConfig({ adapter: node({ // If your server is running on localhost and served via a proxy, set the host like this to ensure prerendered error pages are fetched via the localhost URL experimentalErrorPageHost: 'http://localhost:4321', }), });
For more information on enabling and using this experimental feature, see the
@astrojs/nodeadapter docs.
Patch Changes
- #14175
1e1cef0Thanks @ematipico! - Fixes a bug where the adapter would cause a runtime error when callingastro buildin CI environments.
Patch Changes
- #14186
9fe883eThanks @Adammatthiesen! - Fixes types for optional and primary key columns in Astro DB tables.
Patch Changes
- Updated dependencies [
0567fb7]:- @astrojs/internal-helpers@0.7.1
Minor Changes
-
#13894
b36e72fThanks @florian-lefebvre! - Removes support for Astro StudioAstro Studio has been discontinued since September 2024. If you still haven't migrated yet to Turso, check our guide.
Patch Changes
- Updated dependencies [
0567fb7]:- @astrojs/internal-helpers@0.7.1
- @astrojs/markdown-remark@6.3.5
Patch Changes
- Updated dependencies []:
- @astrojs/markdown-remark@6.3.5
Patch Changes
- Updated dependencies [
0567fb7]:- @astrojs/internal-helpers@0.7.1
Patch Changes
- Updated dependencies [
0567fb7]:- @astrojs/internal-helpers@0.7.1
Patch Changes
- Updated dependencies [
f4e8889]:- @astrojs/internal-helpers@0.7.0
Patch Changes
- Updated dependencies [
f4e8889]:- @astrojs/internal-helpers@0.7.0
- @astrojs/markdown-remark@6.3.4
Patch Changes
- Updated dependencies [
f4e8889]:- @astrojs/internal-helpers@0.7.0
Patch Changes
- Updated dependencies []:
- @astrojs/markdown-remark@6.3.4
Patch Changes
- #14158
89e9364Thanks @bjohansebas! - Prevents deprecation warnings in Node 24
Patch Changes
- #14158
89e9364Thanks @bjohansebas! - Prevents deprecation warnings in Node 24
Patch Changes
-
#3341
10f6fe2Thanks @HiDeoo! - Prevents potential build issues with the Astro Cloudflare adapter due to the dependency on Node.js builtins. -
#3327
bf58c60Thanks @delucis! - Fixes a routing bug for docs pages with a slug authored with non-normalized composition. This could occur for filenames containing diacritics in some circumstances, causing 404s.
Patch Changes
- #14127
2309adaThanks @florian-lefebvre! - Upgrades zod
Minor Changes
-
#14115
270e009Thanks @ascorbic! - Removes "Open in x" badges from the README of the official Astro templates when a new project is created -
#14115
270e009Thanks @ascorbic! - Adds support for marking sections in template READMEs to be removed when thecreate astrocommand is used to create a new projectTheme authors can now use magic comments in template READMEs to mark sections that should not be included when a user runs
create-astrowith the--templateflag to create a new project.This allows templates to have content that is visible when viewed in the source repo but not when the template is copied for use in a new project. This is useful for content that is appropriate for a theme's own repository, but will not be useful to someone using the theme, such as
an "Open this repository in StackBlitz" badge where the URL is hardcoded .Use the magic comments
<!-- ASTRO:REMOVE:START -->and<!-- ASTRO:REMOVE:END -->to indicate content to be excluded from your README during thecreate astroprocess.<!-- ASTRO:REMOVE:START --> [](https://stackblitz.com/github/withastro/astro/tree/latest/examples/basics) <!-- ASTRO:REMOVE:END -->
Note that these comments only remove content when new projects are created using
create astro. When your theme template is forked, your README will be copied in its entirety.
🐞 Bug Fixes
- Update deps to fix #34 (incl. Astro 5.11.1 → 5.12.1) & minor style tweaks - by @lin-stephanie in #34 (1cc27)
View changes on GitHub
Patch Changes
- Exit early in 'repoList' mode when GitHub token is missing (
e2fdc33)
Patch Changes
-
#13941
6bd5f75Thanks @aditsachde! - Adds support for TOML files to Astro's built-inglob()andfile()content loaders.In Astro 5.2, Astro added support for using TOML frontmatter in Markdown files instead of YAML. However, if you wanted to use TOML files as local content collection entries themselves, you needed to write your own loader.
Astro 5.12 now directly supports loading data from TOML files in content collections in both the
glob()and thefile()loaders.If you had added your own TOML content parser for the
file()loader, you can now remove it as this functionality is now included:// src/content.config.ts import { defineCollection } from "astro:content"; import { file } from "astro/loaders"; - import { parse as parseToml } from "toml"; const dogs = defineCollection({ - loader: file("src/data/dogs.toml", { parser: (text) => parseToml(text) }), + loader: file("src/data/dogs.toml") schema: /* ... */ })Note that TOML does not support top-level arrays. Instead, the
file()loader considers each top-level table to be an independent entry. The table header is populated in theidfield of the entry object.See Astro's content collections guide for more information on using the built-in content loaders.
Patch Changes
- Updated dependencies [
6bd5f75]:- @astrojs/markdown-remark@6.3.3
🚀 Features
- page: Add
/photospage to create your personal gallery - by @lin-stephanie in #31 (ebcff)
🐞 Bug Fixes
- photos:
- Dynamically adjust image auto-load threshold (
distanceToBottom) based on viewport height (fix #33) - by @lin-stephanie (76920) - Stabilize masonry placeholders; delay lightbox image; drop redundant img attrs - by @lin-stephanie (c924f)
- Restore smooth scroll; hide scrollbar in image viewer without layout shift; unify scrollbar style - by @lin-stephanie (aca66)
- Dynamically adjust image auto-load threshold (
- Make favicon adapt to light/dark mode - by @lin-stephanie (ee0ec)
- Avoid showing hr without Giscus & remove Giscus lazy loading - by @lin-stephanie (37c72)
💅 Refactors
- Add
ImageCarouselfor basic auto-play (removedswiper) - by @lin-stephanie (2077a)
🏡 Chore
- Update deps, Astro 5.7.13 → 5.11.1 - by @lin-stephanie (cb790)
- Update docs for image responsiveness and favicon - by @lin-stephanie (085bc)
- Update docs for new
/photospage - by @lin-stephanie (a94ba) - Lil typo - by @Draco1js in #32 (417fd)
- Optimize styles and formatting - by @lin-stephanie (7624e)
- Update image src - by @lin-stephanie (efa22)
View changes on GitHub
Minor Changes
-
#2261
778b743Thanks @shubham-padia! - Adds support for using any of Starlight’s built-in icons in asides. -
#3272
e7fe267Thanks @delucis! - Adds a newgenerateIdoption to Starlight’sdocsLoader()This enables overriding the default sluggifier used to convert content filenames to URLs.
-
#3276
3917b20Thanks @delucis! - Excludes banner content from search resultsPreviously, content set in
bannerin page frontmatter was indexed by Starlight’s default search provider Pagefind. This could cause unexpected search results, especially for sites setting a common banner content on multiple pages. Starlight’s defaultBannercomponent is now excluded from search indexing.This change does not impact
Banneroverrides using custom components. -
#3266
1161af0Thanks @HiDeoo! - Adds support for custom HTML attributes on autogenerated sidebar links using theautogenerate.attrsoption. -
#3274
80ccff7Thanks @HiDeoo! - Fixes an issue where some Starlight remark and rehype plugins were transforming Markdown and MDX content in non-Starlight pages.⚠️ BREAKING CHANGE:Previously, some of Starlight’s remark and rehype plugins, most notably the plugin transforming Starlight's custom Markdown syntax for rendering asides, were applied to all Markdown and MDX content. This included content from individual Markdown pages and content from content collections other than the
docscollection used by Starlight.This change restricts the application of Starlight’s remark and rehype plugins to only Markdown and MDX content loaded using Starlight's
docsLoader(). If you were relying on this behavior, please let us know about your use case in the dedicated#starlightchannel in the Astro Discord or by opening an issue.
Patch Changes
-
#3266
1161af0Thanks @HiDeoo! - Ensures invalid sidebar group configurations using theattrsoption are properly reported as a type error.Previously, invalid sidebar group configurations using the
attrsoption were not reported as a type error but only surfaced at runtime. This change is only a type-level change and does not affect the runtime behavior of Starlight which does not support theattrsoption for sidebar groups. -
#3274
80ccff7Thanks @HiDeoo! - Prevents Starlight remark and rehype plugins from transforming Markdown and MDX content when using the AstrorenderMarkdown()content loader API.
Minor Changes
- #2261
778b743Thanks @shubham-padia! - Adds support for theiconattribute in theasidetag, allowing the use of any of Starlight’s built-in icons.
Last fetched: | Scheduled refresh: Every Saturday
See Customizing GitHub Activity Pages to configure your own
Inspired by releases.antfu.me