AstroEco is Releasing…
Display your GitHub releases using astro-loader-github-releases
Patch Changes
-
#15573
d789452Thanks @matthewp! - Clear the route cache on content changes so slug pages reflect updated data during dev. -
#15560
170ed89Thanks @z0mt3c! - Fix X-Forwarded-Proto validation when allowedDomains includes both protocol and hostname fields. The protocol check no longer fails due to hostname mismatch against the hardcoded test URL. -
#15563
e959698Thanks @ematipico! - Fixes an issue where warnings would be logged during the build using one of the official adapters
Patch Changes
-
#15564
522f880Thanks @matthewp! - Add a default body size limit for server actions to prevent oversized requests from exhausting memory. -
#15572
ef851bfThanks @matthewp! - Upgrade astro package supportastro@5.17.3 includes a fix to prevent Action payloads from exhausting memory. @astrojs/node now depends on this version of Astro as a minimum requirement.
Patch Changes
- Updated dependencies [
84d6efd]:- @astrojs/markdown-remark@7.0.0-beta.7
Major Changes
- #15451
84d6efdThanks @ematipico! - Changes how styles applied to code blocks are emitted to support CSP - (v6 upgrade guidance)
Minor Changes
-
#15529
a509941Thanks @florian-lefebvre! - Adds a new build-in font providernpmto access fonts installed as NPM packagesYou can now add web fonts specified in your
package.jsonthrough Astro's type-safe Fonts API. Thenpmfont provider allows you to add fonts either from locally installed packages innode_modulesor from a CDN.Set
fontProviders.npm()as your fonts provider along with the requirednameandcssVariablevalues, and addoptionsas needed:import { defineConfig, fontProviders } from 'astro/config'; export default defineConfig({ experimental: { fonts: [ { name: 'Roboto', provider: fontProviders.npm(), cssVariable: '--font-roboto', }, ], }, });
See the NPM font provider reference documentation for more details.
-
#15548
5b8f573Thanks @florian-lefebvre! - Adds a new optionalembeddedLangsprop to the<Code />component to support languages beyond the primarylangThis allows, for example, highlighting
.vuefiles with a<script setup lang="tsx">block correctly:--- import { Code } from 'astro:components'; const code = ` <script setup lang="tsx"> const Text = ({ text }: { text: string }) => <div>{text}</div>; </script> <template> <Text text="hello world" /> </template>`; --- <Code {code} lang="vue" embeddedLangs={['tsx']} />
See the
<Code />component documentation for more details. -
#15483
7be3308Thanks @florian-lefebvre! - Addsstreamingoption to thecreateApp()function in the Adapter API, mirroring the same functionality available when creating a newAppinstanceAn adapter's
createApp()function now acceptsstreaming(defaults totrue) as an option. HTML streaming breaks a document into chunks to send over the network and render on the page in order. This normally results in visitors seeing your HTML as fast as possible but factors such as network conditions and waiting for data fetches can block page rendering.HTML streaming helps with performance and generally provides a better visitor experience. In most cases, disabling streaming is not recommended.
However, when you need to disable HTML streaming (e.g. your host only supports non-streamed HTML caching at the CDN level), you can opt out of the default behavior by passing
streaming: falsetocreateApp():import { createApp } from 'astro/app/entrypoint'; const app = createApp({ streaming: false });
See more about the
createApp()function in the Adapter API reference.
Patch Changes
-
#15542
9760404Thanks @rururux! - Improves rendering by preservinghidden="until-found"value in attribues -
#15550
58df907Thanks @florian-lefebvre! - Improves the JSDoc annotations for theAstroAdaptertype -
#15507
07f6610Thanks @matthewp! - Avoid bundling SSR renderers when only API endpoints are dynamic -
#15459
a4406b4Thanks @florian-lefebvre! - Fixes a case wherecontext.cspwas logging warnings in development that should be logged in production only -
Updated dependencies [
84d6efd]:- @astrojs/markdown-remark@7.0.0-beta.7
Major Changes
- #15451
84d6efdThanks @ematipico! - Changes how styles applied to code blocks are emitted to support CSP - (v6 upgrade guidance)
Major Changes
- #15451
84d6efdThanks @ematipico! - Changes how styles applied to code blocks are emitted to support CSP - (v6 upgrade guidance)
Patch Changes
- Updated dependencies [
84d6efd]:- @astrojs/markdown-remark@7.0.0-beta.7
Patch Changes
- #15461
9f21b24Thanks @florian-lefebvre! - Updates to new Adapter API introduced in v6
Patch Changes
-
#15461
9f21b24Thanks @florian-lefebvre! - Updates to new Adapter API introduced in v6 -
Updated dependencies []:
- @astrojs/underscore-redirects@1.0.0
Major Changes
-
#15480
e118214Thanks @alexanderniebuhr! - Drops official support for Cloudflare Pages in favor of Cloudflare WorkersThe Astro Cloudflare adapter now only supports deployment to Cloudflare Workers by default in order to comply with Cloudflare's recommendations for new projects. If you are currently deploying to Cloudflare Pages, consider migrating to Workers by following the Cloudflare guide for an optimal experience and full feature support.
Patch Changes
Major Changes
-
#15535
dfe2e22Thanks @florian-lefebvre! - DeprecatesloadManifest()andloadApp()fromastro/app/node(Adapter API) - (v6 upgrade guidance) -
#15461
9f21b24Thanks @florian-lefebvre! - BREAKING CHANGE to the v6 beta Adapter API only: renamesentryTypetoentrypointResolutionand updates possible valuesAstro 6 introduced a way to let adapters have more control over the entrypoint by passing
entryType: 'self'tosetAdapter(). However during beta development, the name was unclear and confusing.entryTypeis now renamed toentrypointResolutionand its possible values are updated:legacy-dynamicbecomesexplicit.selfbecomesauto.
If you are building an adapter with v6 beta and specifying
entryType, update it:setAdapter({ // ... - entryType: 'legacy-dynamic' + entrypointResolution: 'explicit' }) setAdapter({ // ... - entryType: 'self' + entrypointResolution: 'auto' }) -
#15461
9f21b24Thanks @florian-lefebvre! - DeprecatescreateExports()andstart()(Adapter API) - (v6 upgrade guidance) -
#15535
dfe2e22Thanks @florian-lefebvre! - DeprecatesNodeAppfromastro/app/node(Adapter API) - (v6 upgrade guidance) -
#15407
aedbbd8Thanks @ematipico! - Changes how styles of responsive images are emitted - (v6 upgrade guidance)
Minor Changes
-
#15535
dfe2e22Thanks @florian-lefebvre! - Exports newcreateRequest()andwriteResponse()utilities fromastro/app/nodeTo replace the deprecated
NodeApp.createRequest()andNodeApp.writeResponse()methods, theastro/app/nodemodule now exposes newcreateRequest()andwriteResponse()utilities. These can be used to convert a NodeJSIncomingMessageinto a web-standardRequestand stream a web-standardResponseinto a NodeJSServerResponse:import { createApp } from 'astro/app/entrypoint'; import { createRequest, writeResponse } from 'astro/app/node'; import { createServer } from 'node:http'; const app = createApp(); const server = createServer(async (req, res) => { const request = createRequest(req); const response = await app.render(request); await writeResponse(response, res); });
-
#15407
aedbbd8Thanks @ematipico! - Adds support for responsive images whensecurity.cspis enabled, out of the box.Astro's implementation of responsive image styles has been updated to be compatible with a configured Content Security Policy.
Instead of, injecting style elements at runtime, Astro will now generate your styles at build time using a combination of
class=""anddata-*attributes. This means that your processed styles are loaded and hashed out of the box by Astro.If you were previously choosing between Astro's CSP feature and including responsive images on your site, you may now use them together.
Patch Changes
-
#15508
2c6484aThanks @KTibow! - Fixes behavior when shortcuts are used before server is ready -
#15497
a93c81dThanks @matthewp! - Fix dev reloads for content collection Markdown updates under Vite 7. -
#15535
dfe2e22Thanks @florian-lefebvre! - Fixes the types ofcreateApp()exported fromastro/app/entrypoint -
#15491
6c60b05Thanks @matthewp! - Fixes a case where settingvite.server.allowedHosts: truewas turned into an invalid array
Patch Changes
-
#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.
Patch Changes
-
#15460
ee7e53fThanks @florian-lefebvre! - Updates to use the new Adapter API -
#15450
50c9129Thanks @florian-lefebvre! - Fixes a case wherebuild.serverEntrywould not be respected when using the new Adapter API
Patch Changes
-
#15460
ee7e53fThanks @florian-lefebvre! - Updates to use the new Adapter API -
#15450
50c9129Thanks @florian-lefebvre! - Fixes a case wherebuild.serverEntrywould not be respected when using the new Adapter API -
Updated dependencies []:
- @astrojs/underscore-redirects@1.0.0
Patch Changes
-
#15452
e1aa3f3Thanks @matthewp! - Fixes server-side dependencies not being discovered ahead of time during developmentPreviously, imports in
.astrofile frontmatter were not scanned by Vite's dependency optimizer, causing a "new dependencies optimized" message and page reload when the dependency was first encountered. Astro is now able to scan these dependencies ahead of time. -
#15450
50c9129Thanks @florian-lefebvre! - Fixes a case wherebuild.serverEntrywould not be respected when using the new Adapter API -
Updated dependencies []:
- @astrojs/underscore-redirects@1.0.0
Patch Changes
-
#15419
a18d727Thanks @ematipico! - Fixes an issue where--addcould accept any kind of string, leading to different errors. Now--addaccepts only values of valid integrations and adapters. -
#15419
a18d727Thanks @ematipico! - Fixes an issue where theaddcommand could accept any arbitrary value, leading the possible command injections. Nowaddand--addaccepts
values that are only acceptable npmjs.org names.
Major Changes
- #15413
736216bThanks @florian-lefebvre! - Removes the deprecated@astrojs/vercel/serverlessand@astrojs/vercel/staticexports. Use the@astrojs/vercelexport instead
Minor Changes
- #15413
736216bThanks @florian-lefebvre! - Updates the implementation to use the new Adapter API
Patch Changes
Major Changes
-
#15345
840fbf9Thanks @matthewp! - Removes thecloudflareModulesadapter optionThe
cloudflareModulesoption has been removed because it is no longer necessary. Cloudflare natively supports importing.sql,.wasm, and other module types.What should I do?
Remove the
cloudflareModulesoption from your Cloudflare adapter configuration if you were using it:import cloudflare from '@astrojs/cloudflare'; export default defineConfig({ adapter: cloudflare({ - cloudflareModules: true }) });
Minor Changes
-
#15077
a164c77Thanks @matthewp! - Adds support for prerendering pages using the workerd runtime.The Cloudflare adapter now uses the new
setPrerenderer()API to prerender pages via HTTP requests to a local preview server running workerd, instead of using Node.js. This ensures prerendered pages are built using the same runtime that serves them in production.
Patch Changes
-
#15432
e2ad69eThanks @OliverSpeir! - Removes unneccessary warning about sharp from being printed at start of dev server and build -
Updated dependencies [
a164c77,a18d727]:- @astrojs/internal-helpers@0.8.0-beta.1
- @astrojs/underscore-redirects@1.0.0
Minor Changes
- #15413
736216bThanks @florian-lefebvre! - Updates the implementation to use the new Adapter API
Patch Changes
Patch Changes
- Updated dependencies []:
- @astrojs/markdown-remark@7.0.0-beta.6
Major Changes
-
#15400
41eb284Thanks @florian-lefebvre! - Removes theworkerEntryPointoption, which wasn't used anymore. Set themainfield of your wrangler config insteadSee how to migrate
Patch Changes
- Updated dependencies []:
- @astrojs/underscore-redirects@1.0.0
Minor Changes
-
#15258
d339a18Thanks @ematipico! - Stabilizes the adapter featureexperimentalStatiHeaders. If you were using this feature in any of the supported adapters, you'll need to change the name of the flag:export default defineConfig({ adapter: netlify({ - experimentalStaticHeaders: true + staticHeaders: true }) })
Minor Changes
-
#15258
d339a18Thanks @ematipico! - Stabilizes the adapter featureexperimentalStatiHeaders. If you were using this feature in any of the supported adapters, you'll need to change the name of the flag:export default defineConfig({ adapter: netlify({ - experimentalStaticHeaders: true + staticHeaders: true }) })
Minor Changes
-
#15258
d339a18Thanks @ematipico! - Stabilizes the adapter featureexperimentalStatiHeaders. If you were using this feature in any of the supported adapters, you'll need to change the name of the flag:export default defineConfig({ adapter: netlify({ - experimentalStaticHeaders: true + staticHeaders: true }) })
Patch Changes
- Updated dependencies []:
- @astrojs/underscore-redirects@1.0.0
Patch Changes
- Updated dependencies [
80f0225]:- @astrojs/markdown-remark@7.0.0-beta.5
Patch Changes
- Updated dependencies [
80f0225]:- @astrojs/markdown-remark@7.0.0-beta.5
Patch Changes
- Updated dependencies [
240c317]:- @astrojs/internal-helpers@0.8.0-beta.0
Patch Changes
- Updated dependencies [
240c317]:- @astrojs/internal-helpers@0.8.0-beta.0
- @astrojs/underscore-redirects@1.0.0
Minor Changes
-
#15369
240c317Thanks @florian-lefebvre! - BREAKING CHANGERemoves
collapseDuplicateSlashes(),startsWithForwardSlash(),startsWithDotDotSlash(),startsWithDotSlash()andisAbsolutePath()from the/pathexport
Patch Changes
-
#15391
5d996ccThanks @florian-lefebvre! - Fixes types of thehandle()function exported from/handler, that could be incompatible with types generated bywrangler types -
#15386
a0234a3Thanks @OliverSpeir! - Updatesastro add cloudflareto use the latest validcompatibility_datein the wrangler config, if available -
Updated dependencies [
240c317]:- @astrojs/internal-helpers@0.8.0-beta.0
- @astrojs/underscore-redirects@1.0.0
Patch Changes
- Updated dependencies []:
- @astrojs/markdown-remark@7.0.0-beta.4
Patch Changes
-
#15344
9d87f77Thanks @matthewp! - Fixes a hang that could occur when the npm registry is slow or unresponsive by adding a 10 second timeout to the version check -
#15350
d758b68Thanks @matthewp! - Errors when--addand--no-installflags are used together, as--addrequires dependencies to be installed
Patch Changes
- Updated dependencies [
240c317]:- @astrojs/internal-helpers@0.8.0-beta.0
Patch Changes
-
#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 [
240c317]:- @astrojs/internal-helpers@0.8.0-beta.0
- @astrojs/markdown-remark@7.0.0-beta.4
Patch Changes
- #3645
a562096Thanks @mschoeffmann! - Adds icons for Chrome, Edge, Firefox, and Safari
Patch Changes
- #3675
0ba556dThanks @controversial! - Excludes the accessible labels for heading anchor links from Pagefind results
Patch Changes
-
#3534
703fab0Thanks @HiDeoo! - Fixes support for running builds whennpxis unavailable.Previously, Starlight would spawn a process to run the Pagefind search indexing binary using
npx. On platforms wherenpxisn’t available, this could cause issues. Starlight now runs Pagefind using its Node.js API to avoid a separate process. As a side effect, you may notice that logging during builds is now less verbose. -
#3656
a0e6368Thanks @delucis! - Fixes several edge cases in highlighting the current page heading in Starlight’s table of contents -
#3663
00cbf00Thanks @lines-of-codes! - Adds Thai language support -
#3658
ac79329Thanks @delucis! - Avoids adding redundantaria-current="false"attributes to sidebar entries -
#3382
db295c2Thanks @trueberryless! - Fixes an issue where the mobile table of contents is unable to find the first heading when a page has a tall banner.
Patch Changes
- #15264
11efb05Thanks @florian-lefebvre! - Lower the Node version requirement to allow running on Stackblitz until it supports v22
Patch Changes
- #15264
11efb05Thanks @florian-lefebvre! - Lower the Node version requirement to allow running on Stackblitz until it supports v22
Patch Changes
- #15264
11efb05Thanks @florian-lefebvre! - Lower the Node version requirement to allow running on Stackblitz until it supports v22
Patch Changes
- #15264
11efb05Thanks @florian-lefebvre! - Lower the Node version requirement to allow running on Stackblitz until it supports v22
Patch Changes
- #15264
11efb05Thanks @florian-lefebvre! - Lower the Node version requirement to allow running on Stackblitz until it supports v22
Patch Changes
- #15264
11efb05Thanks @florian-lefebvre! - Lower the Node version requirement to allow running on Stackblitz until it supports v22
Patch Changes
- #15264
11efb05Thanks @florian-lefebvre! - Lower the Node version requirement to allow running on Stackblitz until it supports v22
Minor Changes
-
#15069
d14dfc2Thanks @webstackdev! - Adds a--db-app-tokenCLI flag toastro dbcommandsexecute,push,query, andverifyThe new Astro DB CLI flags allow you to provide a remote database app token directly instead of
ASTRO_DB_APP_TOKEN. This ensures that no untrusted code (e.g. CI / CD workflows) has access to the secret that is only needed by theastro dbcommands.The following command can be used to safely push database configuration changes to your project database:
astro db push --db-app-token <token>See the Astro DB integration documentation for more information.
Minor Changes
-
#14471
4296373Thanks @Slackluky! - Adds the ability to split sitemap generation into chunks based on customizable logic. This allows for better management of large sitemaps and improved performance. The newchunksoption in the sitemap configuration allows users to define functions that categorize sitemap items into different chunks. Each chunk is then written to a separate sitemap file.integrations: [ sitemap({ serialize(item) { th return item }, chunks: { // this property will be treated last on the configuration 'blog': (item) => { // will produce a sitemap file with `blog` name (sitemap-blog-0.xml) if (/blog/.test(item.url)) { // filter path that will be included in this specific sitemap file item.changefreq = 'weekly'; item.lastmod = new Date(); item.priority = 0.9; // define specific properties for this filtered path return item; } }, 'glossary': (item) => { if (/glossary/.test(item.url)) { item.changefreq = 'weekly'; item.lastmod = new Date(); item.priority = 0.7; return item; } } // the rest of the path will be stored in `sitemap-pages.0.xml` }, }), ],
Patch Changes
- #15199
d8e64efThanks @ArmandPhilippot! - Fixes the links to Astro Docs so that they match the current docs structure.
Patch Changes
- #15199
d8e64efThanks @ArmandPhilippot! - Fixes the links to Astro Docs so that they match the current docs structure.
Patch Changes
- #3648
292666cThanks @maxchang3! - Prevents unwanted font size adjustments on iOS after orientation changes.
Patch Changes
- #15125
6feb0d7Thanks @florian-lefebvre! - Improve Sveltechildrenprop type checking
Patch Changes
- #15125
6feb0d7Thanks @florian-lefebvre! - Adds support for arbitrary HTML attributes on Vue components
Patch Changes
- #15156
9cc2c71Thanks @Princesseuh! - Fixes TypeScript plugin not working
Patch Changes
- #15131
d40ff7dThanks @Princesseuh! - Fixes extension asking for the wrong version of VS Code
Patch Changes
- #15033
dd06779Thanks @florian-lefebvre! - Updates how routes are retrieved to avoid relying on a deprecated API
Patch Changes
-
#15083
241bb31Thanks @fkatsuhiro! - Fix "Find All References" and other TypeScript features by ensuring the plugin bundle is correctly included -
#15109
e062101Thanks @Princesseuh! - Fixes syntax highlighting sometimes not working when the frontmatter or script tags ended with certain TypeScript constructs
Patch Changes
- #15016
12eb4cdThanks @rahuld109! - Adds support for arbitrary HTML attributes on Vue components
Patch Changes
- #15070
fa9c464Thanks @antonyfaris! - Improve Sveltechildrenprop type checking
Patch Changes
- #3647
9f4efc3Thanks @gerstenbergit! - Adds Greek language support
Last fetched: | Scheduled refresh: Every Saturday
See Customizing GitHub Activity Pages to configure your own
Inspired by releases.antfu.me