AstroEco is Releasing…
Display your GitHub releases using astro-loader-github-releases
Patch Changes
-
#16161
b51f297Thanks @matthewp! - Fixes a dev rendering issue with the Cloudflare adapter where head metadata could be missing and dev CSS/scripts could be injected in the wrong place -
#16110
de669f0Thanks @tmimmanuel! - Fixes skew protection query parameters not being appended to inter-chunk JavaScript imports in client bundles, which could cause version mismatches during rolling deployments on Vercel -
#16162
a0a49e9Thanks @rururux! - Fixes an issue where HMR would not trigger when modifying files while using @astrojs/cloudflare with prerenderEnvironment: 'node' enabled. -
#16142
7454854Thanks @rururux! - Fixes HTML content being incorrectly escaped as plain text when rendering a MDX component using theAstroContainerAPIs. -
#16116
12602a9Thanks @riderx! - Fixes a bug where page-level CSS could leak between unrelated pages when traversing style parents across top-level route boundaries -
#16178
a7e7567Thanks @matthewp! - Fixes SSR builds failing with "No matching renderer found" when a project only has injected routes and nosrc/pages/directory
Patch Changes
- #16034
814406dThanks @alexanderniebuhr! - Fixes generated redirect files to respect Astro’strailingSlashconfiguration, so redirect routes work with the expected URL format in built output instead of returning a 404 when accessed with a trailing slash.
Patch Changes
- Updated dependencies [
814406d]:- @astrojs/underscore-redirects@1.0.3
Patch Changes
- Updated dependencies [
814406d]:- @astrojs/underscore-redirects@1.0.3
Patch Changes
-
#16104
47a394dThanks @matthewp! - Fixesastro previewignoringvite.preview.allowedHostsset inastro.config.mjs -
#16047
711f837Thanks @matthewp! - Fixes catch-all routes incorrectly intercepting requests for static assets when using the@astrojs/nodeadapter in middleware mode. -
#15981
a60cbb6Thanks @moktamd! - Fix Zod v4 validation error formatting to show human-readable messages instead of raw JSON
Patch Changes
- #16106
d241012Thanks @matthewp! - Fixes dependency installation failing on Windows when runningnpm create astro@latest. The previous fix for DEP0190 warnings incorrectly assumed.cmdshims could be spawned directly without a shell — on Windows,.cmdfiles requirecmd.exeto execute. Package manager commands are now invoked viacmd.exe /d /s /con Windows. Also fixes the[object Object]error message that appeared when installation failed, replacing it with the actual error.
Minor Changes
-
#15804
a5e7232Thanks @merlinnot! - Allows setting codec-specific defaults for Astro's built-in Sharp image service viaimage.service.config.You can now configure encoder-level options such as
jpeg.mozjpeg,webp.effort,webp.alphaQuality,avif.effort,avif.chromaSubsampling, andpng.compressionLevelwhen usingastro/assets/services/sharpfor compile-time image generation.These settings apply as defaults for the built-in Sharp pipeline, while per-image
qualitystill takes precedence when set on<Image />,<Picture />, orgetImage(). -
#15455
babf57fThanks @AhmadYasser1! - AddsfallbackRoutesto theIntegrationResolvedRoutetype, exposing i18n fallback routes to integrations via theastro:routes:resolvedhook for projects usingfallbackType: 'rewrite'.This allows integrations such as the sitemap integration to properly include generated fallback routes in their output.
{ 'astro:routes:resolved': ({ routes }) => { for (const route of routes) { for (const fallback of route.fallbackRoutes) { console.log(fallback.pathname) // e.g. /fr/about/ } } } }
-
#15340
10a1a5aThanks @trueberryless! - Adds support for advanced configuration of SmartyPants in Markdown.You can now pass an options object to
markdown.smartypantsin your Astro configuration to fine-tune how punctuation, dashes, and quotes are transformed.This is helpful for projects that require specific typographic standards, such as "oldschool" dash handling or localized quotation marks.
// astro.config.mjs export default defineConfig({ markdown: { smartypants: { backticks: 'all', dashes: 'oldschool', ellipses: 'unspaced', openingQuotes: { double: '«', single: '‹' }, closingQuotes: { double: '»', single: '›' }, quotes: false, }, }, });
See the
retext-smartypantsoptions for more information.
Patch Changes
-
#16025
a09f319Thanks @koji-1009! - Instructs the client router to skip view transition animations when the browser is already providing its own visual transition, such as a swipe gesture. -
#16055
ccecb8fThanks @Gautam-Bharadwaj! - Fixes an issue whereclient:onlycomponents could have duplicateclient:component-pathattributes added in MDX in rare cases -
#16081
44fc340Thanks @crazylogic03! - Fixes theemitFile() is not supported in serve modewarning that appears duringastro devwhen using integrations that inject before-hydration scripts (e.g.@astrojs/react) -
#16068
31d733bThanks @Karthikeya1500! - Fixes the dev toolbar a11y audit incorrectly classifyingmenuitemradioas a non-interactive ARIA role. -
#16080
e80ac73Thanks @ematipico! - Fixesexperimental.queuedRenderingincorrectly escaping the HTML output of.htmlpage files, causing the page content to render as plain text instead of HTML in the browser. -
#16048
13b9d56Thanks @matthewp! - Fixes a dev server crash (serverIslandNameMap.get is not a function) that occurred when navigating to a page withserver:deferafter first visiting a page without one, when using@astrojs/cloudflare -
#16093
336e086Thanks @Snugug! - Fixes Zod meta not correctly being rendered on top-level schema when converted into JSON Schema -
#16043
d402485Thanks @ematipico! - FixescheckOriginCSRF protection inastro devbehind a TLS-terminating reverse proxy. The dev server now readsX-Forwarded-Proto(gated onsecurity.allowedDomains, matching production behaviour) so the constructed request origin matches thehttps://origin the browser sends. Also ensuressecurity.allowedDomainsandsecurity.checkOriginare respected in dev. -
#16064
ba58e0dThanks @ematipico! - Updates the dependencysvgoto the latest, to fix a security issue. -
#16007
2dcd8d5Thanks @florian-lefebvre! - Fixes a case where fonts files would unecessarily be copied several times during the build -
#16017
b089b90Thanks @felmonon! - Fix theastro syncerror message whengetImage()is called while loading content collections. -
#16014
fa73fbbThanks @matthewp! - Fixes a build error where usingastro:config/clientinside a<script>tag would cause Rollup to fail with "failed to resolve importvirtual:astro:routesfromvirtual:astro:manifest" -
#16054
f74465aThanks @seroperson! - Fixes an issue with the development server, where changes to the middleware weren't picked, and it required a full restart of the server. -
#16033
198d31bThanks @adampage! - Fixes a bug where the the roleimagewas incorrectly reported by audit tool bar. -
#15935
278828cThanks @oliverlynch! - Fixes cached assets failing to revalidate due to redirect check mishandling Not Modified responses. -
#16075
2c1ae85Thanks @florian-lefebvre! - Fixes a case where invalid URLs would be generated in development when using font families with an obliquestyleand angles -
#16062
87fd6a4Thanks @matthewp! - Warns on dev server startup when Vite 8 is detected at the top level of the user's project, and automatically adds a"overrides": { "vite": "^7" }entry topackage.jsonwhen runningastro add cloudflare. This prevents arequire_dist is not a functioncrash caused by a Vite version split between Astro (requires Vite 7) and packages like@tailwindcss/vitethat hoist Vite 8. -
Updated dependencies [
10a1a5a]:- @astrojs/markdown-remark@7.1.0
Patch Changes
-
#15604
3e1ac66Thanks @pierreeurope! - Adds a temporary workaround for a Svelte bug causing empty class attributes in SSR output. -
#16050
89a7250Thanks @seroperson! - Using a Svelte component with generic type parameters now correctly infer props in .astro files
Patch Changes
- Updated dependencies [
10a1a5a]:- @astrojs/markdown-remark@7.1.0
Patch Changes
- #16079
aa26636Thanks @empoulter-uclan! - Fix vercel ISR path rewrite
Patch Changes
-
#16041
56d2bdeThanks @kylemclean! - Fixes unnecessary prerendering of redirect destinationsUnnecessary files are no longer generated by static builds for redirected routes.
Requests are no longer made at build time to external redirect destination URLs, which could cause builds to fail.
-
Updated dependencies []:
- @astrojs/underscore-redirects@1.0.2
Minor Changes
-
#15862
06fba3aThanks @crutchcorn! - Adds support for passing a Babel config to the Preact Vite Plugin:// astro.config.mjs import { defineConfig } from 'astro/config'; import preact from '@astrojs/preact'; export default defineConfig({ integrations: [ preact({ babel: { generatorOpts: { importAttributesKeyword: 'with', }, }, }), ], });
Patch Changes
-
#15378
a8a926eThanks @dmgawel! - Fix React hydration errors when using conditional slot rendering -
#15146
f771f75Thanks @kedarvartak! - Fixes hydration mismatch when usingexperimentalReactChildren -
#14917
769265bThanks @sanjaiyan-dev! - Refactors to improve the performance of rendering static HTML content in React
Minor Changes
-
#15340
10a1a5aThanks @trueberryless! - UpdatescreateMarkdownProcessorto support advanced SmartyPants options.The
smartypantsproperty inAstroMarkdownOptionsnow acceptsSmartypantsoptions, allowing fine-grained control over typography transformations (backticks, dashes, ellipses, and quotes).import { createMarkdownProcessor } from '@astrojs/markdown-remark'; const processor = await createMarkdownProcessor({ smartypants: { backticks: 'all', dashes: 'oldschool', ellipses: 'unspaced', openingQuotes: { double: '«', single: '‹' }, closingQuotes: { double: '»', single: '›' }, quotes: false, }, });
For the up-to-date supported properties, check out the
retext-smartypantsoptions.
Patch Changes
- #15455
babf57fThanks @AhmadYasser1! - Fixes i18n fallback pages missing from the generated sitemap when usingfallbackType: 'rewrite'.
Patch Changes
- Updated dependencies [
10a1a5a]:- @astrojs/markdown-remark@7.1.0
Patch Changes
- #16069
c9a5807Thanks @Princesseuh! - Updates the minimum supported version of VS Code to 1.92.0 (July 2024)
Patch Changes
-
#16002
846f27fThanks @buley! - Fixes file descriptor leaks from read streams that were not destroyed on client disconnect or read errors -
#15941
f41584aThanks @ematipico! - Fixes an infinite loop inresolveClientDir()when the server entry point is bundled with esbuild or similar tools. The function now throws a descriptive error instead of hanging indefinitely when the expected server directory segment is not found in the file path.
Patch Changes
-
#3759
f24ce99Thanks @MilesChou! - Fixes an issue where monolingual sites using a region-specific locale (e.g.,zh-TW) as the default would incorrectly display base language translations (e.g.,zhSimplified Chinese) instead of the region-specific ones (e.g.,zh-TWTraditional Chinese). -
#3768
a4c6c20Thanks @delucis! - Improves performance of sidebar generation for sites with very large sidebars
Patch Changes
- Updated dependencies [
3b8d473]:- @astrojs/underscore-redirects@1.0.2
Patch Changes
- Updated dependencies [
3b8d473]:- @astrojs/underscore-redirects@1.0.2
Patch Changes
-
#15978
6d182feThanks @seroperson! - Fixes a bug where Astro Actions didn't properly support nested object properties, causing problems when users used zod functions such assuperRefineordiscriminatedUnion. -
#16011
e752170Thanks @matthewp! - Fixes a dev server hang on the first request when using the Cloudflare adapter -
#15997
1fddff7Thanks @ematipico! - FixesAstro.rewrite()failing when the target path contains duplicate slashes (e.g.//about). The duplicate slashes are now collapsed before URL parsing, preventing them from being interpreted as a protocol-relative URL.
Patch Changes
- #15979
3b8d473Thanks @alexanderniebuhr! - Fixes an issue where redirects in_redirectsfile where not correctly created with trailing slashes.
Patch Changes
-
#15735
9685e2dThanks @fa-sharp! - Fixes an EventEmitter memory leak when serving static pages from Node.js middleware.When using the middleware handler, requests that were being passed on to Express / Fastify (e.g. static files / pre-rendered pages / etc.) weren't cleaning up socket listeners before calling
next(), causing a memory leak warning. This fix makes sure to run the cleanup before callingnext().
Patch Changes
- #15864
d3c7de9Thanks @florian-lefebvre! - Removes temporary support for Node >=20.19.1 because Stackblitz now uses Node 22 by default
Patch Changes
-
#15943
1a627e2Thanks @alexanderdombroski! - Improves astro file templates to be scoped to.astrofile extensions -
#15927
421e8deThanks @FelmonFekadu! - Fixes completions sometimes not working inside thehrefattribute -
#15602
7832dfeThanks @0xRozier! - Fix syntax highlighting for script and style tags inside expressions (e.g. ternaries and logical operators)
Patch Changes
- #15864
d3c7de9Thanks @florian-lefebvre! - Removes temporary support for Node >=20.19.1 because Stackblitz now uses Node 22 by default
Patch Changes
- #15864
d3c7de9Thanks @florian-lefebvre! - Removes temporary support for Node >=20.19.1 because Stackblitz now uses Node 22 by default
Patch Changes
- #15864
d3c7de9Thanks @florian-lefebvre! - Removes temporary support for Node >=20.19.1 because Stackblitz now uses Node 22 by default
Patch Changes
- Updated dependencies [
d3c7de9]:- @astrojs/prism@4.0.1
Patch Changes
- #15864
d3c7de9Thanks @florian-lefebvre! - Removes temporary support for Node >=20.19.1 because Stackblitz now uses Node 22 by default
Patch Changes
- #15864
d3c7de9Thanks @florian-lefebvre! - Removes temporary support for Node >=20.19.1 because Stackblitz now uses Node 22 by default
Patch Changes
- #15864
d3c7de9Thanks @florian-lefebvre! - Removes temporary support for Node >=20.19.1 because Stackblitz now uses Node 22 by default
Patch Changes
- #15927
421e8deThanks @FelmonFekadu! - Fixes completions sometimes not working inside thehrefattribute
Patch Changes
-
#15864
d3c7de9Thanks @florian-lefebvre! - Removes temporary support for Node >=20.19.1 because Stackblitz now uses Node 22 by default -
Updated dependencies []:
- @astrojs/markdown-remark@7.0.1
Patch Changes
-
#15864
d3c7de9Thanks @florian-lefebvre! - Removes temporary support for Node >=20.19.1 because Stackblitz now uses Node 22 by default -
Updated dependencies [
d3c7de9]:- @astrojs/prism@4.0.1
- @astrojs/markdown-remark@7.0.1
Patch Changes
- #15934
6f8f0bcThanks @ematipico! - Updates the AstropeerDependencies#astroto be6.0.0.
Patch Changes
- #15895
7b4b254Thanks @Princesseuh! - Updates Volar services to 0.0.70. This updates notably mean that the transitive dependency yaml-language-server no longer depends on a vulnerable version of lodash, causing warnings to show when installing the language server.
Patch Changes
- #15934
6f8f0bcThanks @ematipico! - Updates the AstropeerDependencies#astroto be6.0.0.
Patch Changes
- #15934
6f8f0bcThanks @ematipico! - Updates the AstropeerDependencies#astroto be6.0.0.
Patch Changes
- #15895
7b4b254Thanks @Princesseuh! - Updates Volar services to 0.0.70. This updates notably mean that the transitive dependency yaml-language-server no longer depends on a vulnerable version of lodash, causing warnings to show when installing the language server.
Patch Changes
-
#15934
6f8f0bcThanks @ematipico! - Updates the AstropeerDependencies#astroto be6.0.0. -
Updated dependencies []:
- @astrojs/underscore-redirects@1.0.1
Patch Changes
- #15934
6f8f0bcThanks @ematipico! - Updates the AstropeerDependencies#astroto be6.0.0.
Patch Changes
-
#15892
a2f597dThanks @Princesseuh! - Fixes Astro not being able to find astro check sometimes -
Updated dependencies [
7b4b254]:- @astrojs/language-server@2.16.5
Patch Changes
- #15934
6f8f0bcThanks @ematipico! - Updates the AstropeerDependencies#astroto be6.0.0.
Patch Changes
- #15934
6f8f0bcThanks @ematipico! - Updates the AstropeerDependencies#astroto be6.0.0.
Patch Changes
-
#15868
bb2b8f5Thanks @ematipico! - Fixes an issue where the adapter would cause a series of warnings during the build. -
Updated dependencies []:
- @astrojs/underscore-redirects@1.0.1
Patch Changes
- #15868
bb2b8f5Thanks @ematipico! - Fixes an issue where the adapter would cause a series of warnings during the build.
Minor Changes
-
#3644
0d2e7edThanks @HiDeoo! - Adds support for Astro v6, drops support for Astro v5.Upgrade Astro and dependencies
⚠️ BREAKING CHANGE: Astro v5 is no longer supported. Make sure you update Astro and any other official integrations at the same time as updating Starlight:npx @astrojs/upgrade
Community Starlight plugins and Astro integrations may also need to be manually updated to work with Astro v6. If you encounter any issues, please reach out to the plugin or integration author to see if it is a known issue or if an updated version is being worked on.
Update your collections
⚠️ BREAKING CHANGE: Drops support for content collections backwards compatibility.In Astro 5.x, projects could delay upgrading to the new Content Layer API introduced for content collections because of some existing automatic backwards compatibility that was not previously behind a flag. This meant that it was possible to upgrade from Astro 4 to Astro 5 without updating your content collections, even if you had not enabled the
legacy.collectionsflag. Projects would continue to build, and no errors or warnings would be displayed.Astro v6.0 now removes this automatic legacy content collections support, along with the
legacy.collectionsflag.If you experience content collections errors after updating to v6, check your project for any removed legacy features that may need updating to the Content Layer API. See the Starlight v0.30.0 upgrade guide for detailed instructions on upgrading legacy collections to the new Content Layer API.
If you are unable to make any changes to your collections at this time, including Starlight's default
docsandi18ncollections, you can enable thelegacy.collectionsBackwardsCompatflag to upgrade to v6 without updating your collections. This temporary flag preserves some legacy v4 content collections features, and will allow you to keep your collections in their current state until the legacy flag is no longer supported. -
#3704
375edccThanks @florian-lefebvre! - Fixes autocomplete for components exported from@astrojs/starlight/components/*⚠️ Potentially breaking change: This change moves some files used in Starlight’s component internals out of thecomponents/directory. Direct use of these files was not and is not officially supported. If you previously importedTableOfContents/starlight-toc.ts,TableOfContents/TableOfContentsList.astro,Icons.ts, orSidebarPersistState.ts, please review your code when updating. -
#3729
3642625Thanks @delucis! - Improves Starlight’s default body font stack to better support languages such as Chinese, Japanese, and Korean on Windows.
For most users there should be no visible change.If you would prefer to keep the previous font stack, you can add the following custom CSS to your site:
:root { --sl-font-system: ui-sans-serif, system-ui, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji'; }
-
#3598
fff38d5Thanks @HiDeoo! - Makes hover styles consistent in Starlight’s navigation barPreviously, the social icon links and language/theme switchers in Starlight’s navigation bar, dimmed on hover.
After this change, they now increase in contrast on hover instead.
This matches hover behavior elsewhere, for example in the sidebar, table of contents, or search button.⚠️ Potentially breaking change: this is a subtle change to the hover style colors.
If you want to preserve the previous styling, you can add the following custom CSS to your site:starlight-theme-select label, starlight-lang-select label { color: var(--sl-color-gray-1); &:hover { color: var(--sl-color-white); } } .social-icons a:hover { color: var(--sl-color-text-accent); opacity: 0.66; }
Patch Changes
- #15820
e20474bThanks @Princesseuh! - Fixes broken publish
Patch Changes
- #15830
8d3f3aaThanks @Princesseuh! - Pinfast-xml-parserto 5.4.1 in order to fix an upstream bug
Patch Changes
- #15825
2cfe935Thanks @Princesseuh! - Fixes failed publish for 2.16.11.
Patch Changes
- Updated dependencies [
c2cd371]:- @astrojs/internal-helpers@0.7.6
Patch Changes
- #15828
c2cd371Thanks @Princesseuh! - Fixes glob matching of remote patterns matching more paths than intended in select situations
Patch Changes
- Updated dependencies [
c2cd371]:- @astrojs/internal-helpers@0.7.6
Patch Changes
- Updated dependencies [
c2cd371]:- @astrojs/internal-helpers@0.7.6
Patch Changes
- Updated dependencies [
c2cd371]:- @astrojs/internal-helpers@0.7.6
- @astrojs/markdown-remark@6.3.11
Patch Changes
- Updated dependencies []:
- @astrojs/markdown-remark@6.3.11
Major Changes
-
#14427
e131261Thanks @florian-lefebvre! - Increases minimum Node.js version to 22.12.0 - (v6 upgrade guidance) -
#14445
ecb0b98Thanks @florian-lefebvre! - Astro v6.0 upgrades to Vite v7.0 as the development server and production bundler - (v6 upgrade guidance)
Minor Changes
Patch Changes
-
#15125
6feb0d7Thanks @florian-lefebvre! - Improve Sveltechildrenprop type checking -
#15264
11efb05Thanks @florian-lefebvre! - Lower the Node version requirement to allow running on Stackblitz until it supports v22 -
#15581
2851f10Thanks @renovate! - Updatessvelteto v5.51.5
Minor Changes
- #14445
ecb0b98Thanks @florian-lefebvre! - Astro v6.0 upgrades to Vite v7.0 as the development server and production bundler - (v6 upgrade guidance)
Patch Changes
Major Changes
- #14427
e131261Thanks @florian-lefebvre! - Increases minimum Node.js version to 22.12.0 - (v6 upgrade guidance)
Patch Changes
Major Changes
-
#14427
e131261Thanks @florian-lefebvre! - Increases minimum Node.js version to 22.12.0 - (v6 upgrade guidance) -
#14445
ecb0b98Thanks @florian-lefebvre! - Astro v6.0 upgrades to Vite v7.0 as the development server and production bundler - (v6 upgrade guidance)
Minor Changes
Patch Changes
-
#15264
11efb05Thanks @florian-lefebvre! - Lower the Node version requirement to allow running on Stackblitz until it supports v22 -
#15700
4e7f3e8Thanks @ocavue! - Improves how React components are identified when setting theincludeand/orexcludeoptions in projects where multiple JSX frameworks are used together -
Updated dependencies [
4ebc1e3,4e7f3e8,a164c77,cf6ea6b,a18d727,240c317,745e632]:- @astrojs/internal-helpers@0.8.0
Minor Changes
- #14445
ecb0b98Thanks @florian-lefebvre! - Astro v6.0 upgrades to Vite v7.0 as the development server and production bundler - (v6 upgrade guidance)
Patch Changes
Major Changes
-
#14494
727b0a2Thanks @florian-lefebvre! - Updates Markdown heading ID generation - (v6 upgrade guidance) -
#14427
e131261Thanks @florian-lefebvre! - Increases minimum Node.js version to 22.12.0 - (v6 upgrade guidance) -
#14445
ecb0b98Thanks @florian-lefebvre! - Astro v6.0 upgrades to Vite v7.0 as the development server and production bundler - (v6 upgrade guidance)
Patch Changes
-
#15475
36fc0e0Thanks @delucis! - Fixes edge cases where anexport const components = {...}declaration would fail to be detected with theoptimizeoption enabled -
#15264
11efb05Thanks @florian-lefebvre! - Lower the Node version requirement to allow running on Stackblitz until it supports v22 -
Updated dependencies [
bbb5811,cb99214,80f0225,727b0a2,1fa4177,7c55f80,6f19ecc,f94d3c5]:- @astrojs/markdown-remark@7.0.0
Major Changes
-
#14427
e131261Thanks @florian-lefebvre! - Increases minimum Node.js version to 22.12.0 - (v6 upgrade guidance) -
#14445
ecb0b98Thanks @florian-lefebvre! - Astro v6.0 upgrades to Vite v7.0 as the development server and production bundler - (v6 upgrade guidance)
Patch Changes
Minor Changes
-
#15778
4ebc1e3Thanks @ematipico! - Added a new entry point called/request, which exposes utilities to work with theRequesttype:getFirstForwardedValue: retrieves the first value of a multi-value header.isValidIpAddress: checks whether a string contains only characters valid in IPv4/IPv6 addresses.getValidatedIpFromHeader: extracts the first value from a header and validates it as an IP address.getClientIpAddress: retrieves and validates the first IP from thex-forwarded-forheader.
-
#15077
a164c77Thanks @matthewp! - AddsnormalizePathname()utility function for normalizing URL pathnames to match the canonical form used by route generation. -
#15419
a18d727Thanks @ematipico! - Adds a new/clispecifier and the utilityNPM_PACKAGE_NAME_REGEX. -
#15369
240c317Thanks @florian-lefebvre! - BREAKING CHANGERemoves
collapseDuplicateSlashes(),startsWithForwardSlash(),startsWithDotDotSlash(),startsWithDotSlash()andisAbsolutePath()from the/pathexport -
#15771
745e632Thanks @rururux! - Adds the new utilitiesMANY_LEADING_SLASHESandcollapseDuplicateLeadingSlashes.
Patch Changes
Major Changes
-
#14494
727b0a2Thanks @florian-lefebvre! - Updates Markdown heading ID generation - (v6 upgrade guidance) -
#15726
6f19eccThanks @ocavue! - Updates dependencyshikito v4Check Shiki's upgrade guide.
Minor Changes
-
#15277
cb99214Thanks @ematipico! - Fixes an issue where the functioncreateShikiHighlighterwould always create a new Shiki highlighter instance. Now the function returns a cached version of the highlighter based on the Shiki options. This should improve the performance for sites that heavily rely on Shiki and code in their pages. -
#15332
7c55f80Thanks @matthewp! - Exposes thefileURLoption inMarkdownProcessorRenderOptions, allowing callers to specify the file URL for resolving relative image paths.
Patch Changes
-
#15297
80f0225Thanks @rururux! - Fixes a case where code blocks generated by prism would include theis:rawattribute in the final output -
#15676
1fa4177Thanks @rururux! - Fixes an issue where the use of theCodecomponent would result in an unexpected error. -
#15651
f94d3c5Thanks @ocavue! - Reuses cached Shiki highlighter instances across languages. -
Updated dependencies [
bbb5811,4ebc1e3,11efb05,4e7f3e8,a164c77,cf6ea6b,e131261,a18d727,240c317,745e632]:- @astrojs/prism@4.0.0
- @astrojs/internal-helpers@0.8.0
Major Changes
-
#14427
e131261Thanks @florian-lefebvre! - Increases minimum Node.js version to 22.12.0 - (v6 upgrade guidance) -
#14445
ecb0b98Thanks @florian-lefebvre! - Astro v6.0 upgrades to Vite v7.0 as the development server and production bundler - (v6 upgrade guidance)
Patch Changes
-
#15619
bbfa7c8Thanks @rururux! - Fixed an issue where the Preact integration would incorrectly intercept React 19 components, triggering "Invalid hook call" error logs. -
#15383
876b664Thanks @matthewp! - Fixes Preact components failing to render when using the Cloudflare adapter in dev mode. -
#15264
11efb05Thanks @florian-lefebvre! - Lower the Node version requirement to allow running on Stackblitz until it supports v22 -
#15700
4e7f3e8Thanks @ocavue! - Improves how Preact components are identified when setting theincludeand/orexcludeoptions in projects where multiple JSX frameworks are used together -
Updated dependencies [
4ebc1e3,4e7f3e8,a164c77,cf6ea6b,a18d727,240c317,745e632]:- @astrojs/internal-helpers@0.8.0
Minor Changes
-
#14494
727b0a2Thanks @florian-lefebvre! - Updates Markdown heading ID generation - (v6 upgrade guidance) -
#15345
840fbf9Thanks @matthewp! - Uses Astro's newemitClientAssetAPI for image emission in content collections -
#15097
be1b9bfThanks @matthewp! - Updates internal image processing to be compatible with Astro 6. This change is internal-only and does not affect the public API.The integration now uses Astro's new
emitImageMetadata()function instead of the removedemitESMImage()function for processing images referenced in Markdoc content during build time. This ensures continued compatibility with Astro's asset processing pipeline while maintaining the same behavior for users. -
#14427
e131261Thanks @florian-lefebvre! - Increases minimum Node.js version to 22.12.0 - (v6 upgrade guidance) -
#14445
ecb0b98Thanks @florian-lefebvre! - Astro v6.0 upgrades to Vite v7.0 as the development server and production bundler - (v6 upgrade guidance)
Patch Changes
-
#15184
f47c071Thanks @ematipico! - Fixes an issue where the package wasn't correctly published -
#15457
6e8da44Thanks @AhmadYasser1! - Fixes custom attributes on Markdoc's built-in{% table %}tag causing "Invalid attribute" validation errors.In Markdoc,
tableexists as both a tag ({% table %}) and a node (the inner table structure). When users defined custom attributes on eithernodes.tableortags.table, the attributes weren't synced to the counterpart, causing validation to fail on whichever side was missing the declaration.The fix automatically syncs custom attribute declarations between tags and nodes that share the same name, so users can define attributes on either side and have them work correctly.
-
#15264
11efb05Thanks @florian-lefebvre! - Lower the Node version requirement to allow running on Stackblitz until it supports v22 -
#15335
75931c2Thanks @matthewp! - Fixes an issue where spreading a built-in Markdoc node config (e.g.,...Markdoc.nodes.fence) and specifying a customrendercomponent would not work because the built-intransform()function was overriding the custom component. Now,renderwins overtransformwhen both are specified. -
Updated dependencies [
bbb5811,bbb5811,4ebc1e3,cb99214,80f0225,727b0a2,11efb05,4e7f3e8,a164c77,1fa4177,7c55f80,cf6ea6b,e131261,6f19ecc,f94d3c5,a18d727,240c317,745e632]:- @astrojs/markdown-remark@7.0.0
- @astrojs/prism@4.0.0
- @astrojs/internal-helpers@0.8.0
Major Changes
- #14445
ecb0b98Thanks @florian-lefebvre! - Astro v6.0 upgrades to Vite v7.0 as the development server and production bundler - (v6 upgrade guidance)
Minor Changes
- #15425
0317e99Thanks @ocavue! - Updates@vitejs/plugin-vueto v6,@vitejs/plugin-vue-jsxto v5, andvite-plugin-vue-devtoolsto v8. No changes are needed from users.
Patch Changes
-
#15125
6feb0d7Thanks @florian-lefebvre! - Adds support for arbitrary HTML attributes on Vue components -
#15045
31074fcThanks @ematipico! - Fixes an issue where using the Vue integration with the Cloudflare adapter resulted in some runtime errors.
Minor Changes
- #14427
e131261Thanks @florian-lefebvre! - Increases minimum Node.js version to 22.12.0 - (v6 upgrade guidance)
Patch Changes
Patch Changes
-
#15125
6feb0d7Thanks @florian-lefebvre! - Fix "Find All References" and other TypeScript features by ensuring the plugin bundle is correctly included -
#15125
6feb0d7Thanks @florian-lefebvre! - Fixes syntax highlighting sometimes not working when the frontmatter or script tags ended with certain TypeScript constructs -
#15496
eb7cddaThanks @matthewp! - Fix syntax highlighting for lowercase component tags that start with "style" or "script".
Minor Changes
- #15778
4ebc1e3Thanks @ematipico! - Added a new entry point called/request, which exposes utilities to work with theRequesttype:getFirstForwardedValue: retrieves the first value of a multi-value header.isValidIpAddress: checks whether a string contains only characters valid in IPv4/IPv6 addresses.getValidatedIpFromHeader: extracts the first value from a header and validates it as an IP address.getClientIpAddress: retrieves and validates the first IP from thex-forwarded-forheader.
Patch Changes
Last fetched: | Scheduled refresh: Every Saturday
See Customizing GitHub Activity Pages to configure your own
Inspired by releases.antfu.me