Skip to content

AstroEco is Releasing…

Example: Displaying GitHub releases using astro-loader-github-releases

lin-stephanie/astro-loaders

Patch Changes

  • Refine handling for linkTextType: 'domain-path' (743512a)
lin-stephanie/astro-loaders
Sub logo

Patch Changes

  • Use UTC methods in date calculations for consistency (0e0ca6f)
lin-stephanie/astro-loaders
Sub logo

Patch Changes

  • Use UTC methods in date calculations for consistency (0e0ca6f)
withastro/astro

Patch Changes

withastro/astro

Patch Changes

withastro/astro

Patch Changes

withastro/astro

Patch Changes

withastro/astro

Patch Changes

withastro/astro

Patch Changes

withastro/astro

Patch Changes

withastro/astro

Patch Changes

withastro/astro

Patch Changes

withastro/astro

Patch Changes

withastro/astro

Patch Changes

withastro/astro

Patch Changes

withastro/astro

Minor Changes

  • #12441 b4fec3c Thanks @ascorbic! - Adds experimental session support

    Sessions are used to store user state between requests for server-rendered pages, such as login status, shopping cart contents, or other user-specific data.

    ---
    export const prerender = false; // Not needed in 'server' mode
    const cart = await Astro.session.get('cart');
    ---
    
    <a href="/checkout">🛒 {cart?.length ?? 0} items</a>

    Sessions are available in on-demand rendered/SSR pages, API endpoints, actions and middleware. To enable session support, you must configure a storage driver.

    If you are using the Node.js adapter, you can use the fs driver to store session data on the filesystem:

    // astro.config.mjs
    {
      adapter: node({ mode: 'standalone' }),
      experimental: {
        session: {
          // Required: the name of the unstorage driver
          driver: "fs",
        },
      },
    }

    If you are deploying to a serverless environment, you can use drivers such as redis, netlify-blobs, vercel-kv, or cloudflare-kv-binding and optionally pass additional configuration options.

    For more information, including using the session API with other adapters and a full list of supported drivers, see the docs for experimental session support. For even more details, and to leave feedback and participate in the development of this feature, the Sessions RFC.

  • #12426 3dc02c5 Thanks @oliverlynch! - Improves asset caching of remote images

    Astro will now store entity tags and the Last-Modified date for cached remote images and use them to revalidate the cache when it goes stale.

  • #12721 c9d5110 Thanks @florian-lefebvre! - Adds a new getActionPath() helper available from astro:actions

    Astro 5.1 introduces a new helper function, getActionPath() to give you more flexibility when calling your action.

    Calling getActionPath() with your action returns its URL path so you can make a fetch() request with custom headers, or use your action with an API such as navigator.sendBeacon(). Then, you can handle the custom-formatted returned data as needed, just as if you had called an action directly.

    This example shows how to call a defined like action passing the Authorization header and the keepalive option:

    <script>
      // src/components/my-component.astro
      import { actions, getActionPath } from 'astro:actions';
    
      await fetch(getActionPath(actions.like), {
        method: 'POST',
        headers: {
          'Content-Type': 'application/json',
          Authorization: 'Bearer YOUR_TOKEN',
        },
        body: JSON.stringify({ id: 'YOUR_ID' }),
        keepalive: true,
      });
    </script>

    This example shows how to call the same like action using the sendBeacon API:

    <script>
      // src/components/my-component.astro
      import { actions, getActionPath } from 'astro:actions';
    
      navigator.sendBeacon(
        getActionPath(actions.like),
        new Blob([JSON.stringify({ id: 'YOUR_ID' })], {
          type: 'application/json',
        }),
      );
    </script>

Patch Changes

  • #12786 e56af4a Thanks @ematipico! - Fixes an issue where Astro i18n didn't properly show the 404 page when using fallback and the option prefixDefaultLocale set to true.

  • #12758 483da89 Thanks @delucis! - Adds types for ?url&inline and ?url&no-inline import queries added in Vite 6

  • #12763 8da2318 Thanks @rbsummers! - Fixed changes to vite configuration made in the astro:build:setup integration hook having no effect when target is "client"

  • #12767 36c1e06 Thanks @ascorbic! - Clears the content layer cache when the Astro config is changed

withastro/starlight

Patch Changes

  • #2717 c5fcbb3 Thanks @delucis! - Fixes a list item spacing issue where line break elements (<br>) could receive a margin, breaking layout in Firefox

  • #2724 02d7ac6 Thanks @dionysuzx! - Adds social link support for Farcaster

  • #2635 ec4b851 Thanks @HiDeoo! - Fixes an issue where the language picker in multilingual sites could display the wrong language when navigating between pages with the browser back/forward buttons.

  • #2726 e54ebd5 Thanks @techfg! - Adds icon for phone

withastro/astro

Patch Changes

withastro/astro

Patch Changes

withastro/astro

Patch Changes

withastro/astro

Patch Changes

withastro/starlight

Patch Changes

  • #2702 02d16f3 Thanks @HiDeoo! - Fixes an issue with autogenerated sidebars when using Starlight with Astro's new Content Layer API with directories containing spaces or special characters.

  • #2704 fd16470 Thanks @delucis! - Fixes display of focus indicator around site title

withastro/astro

Patch Changes

withastro/starlight

Patch Changes

  • #2688 5c6996c Thanks @HiDeoo! - Fixes an issue with autogenerated sidebars when using Starlight with Astro's new Content Layer API where group names would be sluggified.
withastro/starlight

Minor Changes

  • #2612 8d5a4e8 Thanks @HiDeoo! - Adds support for Astro v5, drops support for Astro v4.

    Upgrade Astro and dependencies

    ⚠️ BREAKING CHANGE: Astro v4 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 v5. 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: Starlight's internal content collections, which organize, validate, and render your content, have been updated to use Astro's new Content Layer API and require configuration changes in your project.

    1. Move the content config file. This file no longer lives within the src/content/config.ts folder and should now exist at src/content.config.ts.

    2. Edit the collection definition(s). To update the docs collection, a loader is now required:

       // src/content.config.ts
       import { defineCollection } from "astro:content";
      +import { docsLoader } from "@astrojs/starlight/loaders";
       import { docsSchema } from "@astrojs/starlight/schema";
      
       export const collections = {
      -  docs: defineCollection({ schema: docsSchema() }),
      +  docs: defineCollection({ loader: docsLoader(), schema: docsSchema() }),
       };

      If you are using the i18n collection to provide translations for additional languages you support or override our default labels, you will need to update the collection definition in a similar way and remove the collection type which is no longer available:

       // src/content.config.ts
       import { defineCollection } from "astro:content";
      +import { docsLoader, i18nLoader } from "@astrojs/starlight/loaders";
       import { docsSchema, i18nSchema } from "@astrojs/starlight/schema";
      
       export const collections = {
      -  docs: defineCollection({ schema: docsSchema() }),
      +  docs: defineCollection({ loader: docsLoader(), schema: docsSchema() }),
      -  i18n: defineCollection({ type: 'data', schema: i18nSchema() }),
      +  i18n: defineCollection({ loader: i18nLoader(), schema: i18nSchema() }),
       };
    3. Update other collections. To update any other collections you may have, follow the “Updating existing collections” section in the Astro 5 upgrade guide.

    If you are unable to make any changes to your collections at this time, including Starlight's default docs and i18n collections, you can enable the legacy.collections flag to upgrade to v5 without updating your collections. This legacy flag exists to provide temporary backwards compatibility, and will allow you to keep your collections in their current state until the legacy flag is no longer supported.

Patch Changes

withastro/starlight

Major Changes

  • #2612 8d5a4e8 Thanks @HiDeoo! - ⚠️ BREAKING CHANGE: The minimum supported version of Starlight is now 0.30.0

    Please use the @astrojs/upgrade command to upgrade your project:

    npx @astrojs/upgrade

Patch Changes

  • #2664 62ff007 Thanks @HiDeoo! - Publishes provenance containing verifiable data to link a package back to its source repository and the specific build instructions used to publish it.
withastro/starlight

Minor Changes

  • #2612 8d5a4e8 Thanks @HiDeoo! - ⚠️ BREAKING CHANGE: The minimum supported version of Starlight is now 0.30.0

    Please use the @astrojs/upgrade command to upgrade your project:

    npx @astrojs/upgrade

Patch Changes

  • #2664 62ff007 Thanks @HiDeoo! - Publishes provenance containing verifiable data to link a package back to its source repository and the specific build instructions used to publish it.
withastro/starlight

Minor Changes

  • #2612 8d5a4e8 Thanks @HiDeoo! - ⚠️ BREAKING CHANGE: The minimum supported version of Starlight is now 0.30.0

    Please use the @astrojs/upgrade command to upgrade your project:

    npx @astrojs/upgrade

Patch Changes

  • #2664 62ff007 Thanks @HiDeoo! - Publishes provenance containing verifiable data to link a package back to its source repository and the specific build instructions used to publish it.
lin-stephanie/astro-loaders

Patch Changes

  • Refine logger output and update docs (f3c237d)
lin-stephanie/astro-loaders
Sub logo

Minor Changes (38cf8fc)

  • In userCommit mode, add repoOwner field and renamed repoName to repoNameWithOwner (the original repoName only represented the repository name).
  • In repoList mode, add versionNum and repoOwner fields.
  • In repoList mode, when configured with entryReturnType: 'byRelease', support returning the <Content /> component via render(entry) to render the published content.
  • Errors no longer force the entire Astro project to terminate.
  • No longer calls store.clear() internally.
lin-stephanie/astro-loaders
Sub logo

Minor Changes (25f92a8)

  • Add monthsBack option to specify the recent months for loading pull requests
  • Support returning the <Content /> component via render(entry) to render the PR content
  • Errors no longer force the entire Astro project to terminate
  • No longer calls store.clear() internally
withastro/starlight

Patch Changes

  • #2642 12750ae Thanks @dragomano! - Updates Russian UI translations

  • #2656 4d543be Thanks @HiDeoo! - Improves error message when an invalid configuration or no configuration is provided to the Starlight integration.

  • #2645 cf12beb Thanks @techfg! - Fixes support for favicon URLs that contain a search query and/or hash

  • #2650 38db4ec Thanks @raviqqe! - Moves @types/js-yaml package to non-dev dependencies

  • #2633 5adb720 Thanks @HiDeoo! - Fixes a VoiceOver issue with Safari where the content of a <script> element could be read before the sidebar content.

  • #2663 34755f9 Thanks @astrobot-houston! - Adds a new seti:vite icon for Vite configuration files in the <FileTree> component

lin-stephanie/astro-loaders

Patch Changes

  • Add data type validation for JSON-stored tweets and update docs. (dde3e92)
lin-stephanie/astro-loaders

Minor Changes

  • Support for persisting the loaded tweets to a JSON file at a custom path, see details (c0c6f6c)
withastro/astro

Patch Changes

  • #12706 f6c4214 Thanks @ascorbic! - Fixes a bug that caused registry URLs that specify a port to be incorrectly detected as offline.
withastro/astro

Minor Changes

withastro/astro

Patch Changes

withastro/astro

Patch Changes

  • #12694 495f46b Thanks @ematipico! - Fixes a bug where the experimental feature experimental.svg was incorrectly used when generating ESM images
lin-stephanie/astro-loaders

Minor Changes

  • Add newlineHandling option to specify \n processing in text_html generation (2542879)
withastro/astro

Patch Changes

withastro/astro

Patch Changes

  • #12646 f13417b Thanks @bluwy! - Avoids parsing frontmatter that are not at the top of a file

  • #12570 87231b1 Thanks @GrimLink! - Removes trailing new line in code blocks to prevent generating a trailing empty <span /> tag

  • #12664 a71e9b9 Thanks @bluwy! - Fixes frontmatter parsing if file is encoded in UTF8 with BOM

withastro/astro

Patch Changes

lin-stephanie/astro-loaders
Sub logo

Patch Changes

  • Update peerDependencies to support Astro 4.14.0+ and 5.x (c9a0772)
lin-stephanie/astro-loaders
Sub logo

Patch Changes

  • Update peerDependencies to support Astro 4.14.0+ and 5.x (c9a0772)
lin-stephanie/astro-loaders
Sub logo

Patch Changes

  • Handle missing GitHub token error (0ddb6b5)
withastro/astro

Patch Changes

  • #12576 19b3ac0 Thanks @apatel369! - Fixes an issue where running upgrade in a directory without astro installed shows a false success message
withastro/astro

Patch Changes

  • #12644 5b9b618 Thanks @kunyan! - Sends the standard RSS content type response header, with UTF-8 charset
lin-stephanie/astro-loaders
Sub logo

Minor Changes

  • Add monthsBack option in 'repoList' mode to specify the recent months for loading releases (752ee0e)
lin-stephanie/astro-loaders
Sub logo

Patch Changes

  • Handle missing GitHub token error & Optimize logging (de1a6cc)
withastro/astro

Patch Changes

withastro/astro

Patch Changes

withastro/astro

Patch Changes

withastro/astro

Patch Changes

withastro/astro

Patch Changes

withastro/astro

Patch Changes

withastro/astro

Major Changes

  • #11861 3ab3b4e Thanks @bluwy! - Cleans up Astro-specfic metadata attached to vfile.data in Remark and Rehype plugins. Previously, the metadata was attached in different locations with inconsistent names. The metadata is now renamed as below:

    • vfile.data.__astroHeadings -> vfile.data.astro.headings
    • vfile.data.imagePaths -> vfile.data.astro.imagePaths

    The types of imagePaths has also been updated from Set<string> to string[]. The vfile.data.astro.frontmatter metadata is left unchanged.

    While we don't consider these APIs public, they can be accessed by Remark and Rehype plugins that want to re-use Astro's metadata. If you are using these APIs, make sure to access them in the new locations.

  • #12008 5608338 Thanks @Princesseuh! - Welcome to the Astro 5 beta! This release has no changes from the latest alpha of this package, but it does bring us one step closer to the final, stable release.

    Starting from this release, no breaking changes will be introduced unless absolutely necessary.

    To learn how to upgrade, check out the Astro v5.0 upgrade guide in our beta docs site.

  • #11825 560ef15 Thanks @bluwy! - Updates return object of createShikiHighlighter as codeToHast and codeToHtml to allow generating either the hast or html string directly

  • #11661 83a2a64 Thanks @bluwy! - Renames the following CSS variables theme color token names to better align with the Shiki v1 defaults:

    • --astro-code-color-text => --astro-code-foreground
    • --astro-code-color-background => --astro-code-background

    You can perform a global find and replace in your project to migrate to the new token names.

  • #11861 3ab3b4e Thanks @bluwy! - Removes InvalidAstroDataError, safelyGetAstroData, and setVfileFrontmatter APIs in favour of isFrontmatterValid

Patch Changes

withastro/astro

Minor Changes

Patch Changes

  • #12577 b139390 Thanks @apatel369! - Fixes an issue where @astrojs/upgrade announces integration updates for already up to date packages
withastro/astro

Minor Changes

withastro/astro

Minor Changes

withastro/astro

Patch Changes

withastro/astro

Major Changes

Minor Changes

Patch Changes

withastro/astro

Patch Changes

  • #12559 1dc8f5e Thanks @delucis! - Fixes usage of fileURLToPath() to anticipate the changed signature of this method in Node 22.1.0
withastro/astro

Major Changes

Minor Changes

Patch Changes

withastro/astro

Major Changes

  • #12231 90ae100 Thanks @bluwy! - Handles the breaking change in Astro where content pages (including .mdx pages located within src/pages/) no longer respond with charset=utf-8 in the Content-Type header.

    For MDX pages without layouts, @astrojs/mdx will automatically add the <meta charset="utf-8"> tag to the page by default. This reduces the boilerplate needed to write with non-ASCII characters. If your MDX pages have a layout, the layout component should include the <meta charset="utf-8"> tag.

    If you require charset=utf-8 to render your page correctly, make sure that your layout components have the <meta charset="utf-8"> tag added.

  • #12008 5608338 Thanks @Princesseuh! - Welcome to the Astro 5 beta! This release has no changes from the latest alpha of this package, but it does bring us one step closer to the final, stable release.

    Starting from this release, no breaking changes will be introduced unless absolutely necessary.

    To learn how to upgrade, check out the Astro v5.0 upgrade guide in our beta docs site.

Minor Changes

  • #12539 827093e Thanks @bluwy! - Drops node 21 support

  • #11741 6617491 Thanks @bluwy! - Updates adapter server entrypoint to use @astrojs/mdx/server.js

    This is an internal change. Handling JSX in your .mdx files has been moved from Astro internals and is now the responsibility of this integration. You should not notice a change in your project, and no update to your code is required.

Patch Changes

withastro/astro

Major Changes

Minor Changes

  • #12539 827093e Thanks @bluwy! - Drops node 21 support

  • #12510 14feaf3 Thanks @bholmesdev! - Changes the generated URL query param from _astroAction to _action when submitting a form using Actions. This avoids leaking the framework name into the URL bar, which may be considered a security issue.

withastro/astro

Major Changes

Minor Changes

Patch Changes

withastro/astro

Major Changes

Minor Changes

withastro/astro

Minor Changes

Patch Changes

withastro/astro

Minor Changes

  • #12539 827093e Thanks @bluwy! - Drops node 21 support

  • #12083 9263e96 Thanks @Princesseuh! - Reworks the experience of creating a new Astro project using the create astro CLI command.

    • Updates the list of templates to include Starlight and combines the "minimal" and "basics" templates into a new, refreshed "Basics" template to serve as the single, minimal Astro project starter.
    • Removes the TypeScript question. Astro is TypeScript-only, so this question was often misleading. The "Strict" preset is now the default, but it can still be changed manually in tsconfig.json.
    • astro check is no longer automatically added to the build script.
    • Added a new --add flag to install additional integrations after creating a project. For example, pnpm create astro --add react will create a new Astro project and install the React integration.
withastro/astro

Minor Changes

withastro/astro

Major Changes

Minor Changes

withastro/astro

Patch Changes

  • Updated dependencies [827093e]:
    • @astrojs/prism@3.2.0-beta.0
withastro/astro

Minor Changes

withastro/astro

Minor Changes

withastro/astro

Minor Changes

withastro/astro

Major Changes

Minor Changes

withastro/astro

Major Changes

Minor Changes

withastro/astro

Major Changes

Minor Changes

Patch Changes

withastro/astro

Minor Changes

Patch Changes

  • Updated dependencies []:
    • @astrojs/markdown-remark@6.0.0-beta.3
withastro/astro

Major Changes

Minor Changes

withastro/astro

Minor Changes

lin-stephanie/astro-loaders
Sub logo

Major Changes

  • Supports loading GitHub pull reuqests from a given GitHub search string (deb6408)
withastro/astro

Patch Changes

  • #12481 8a46e80 Thanks @marbrex! - Resolve vite peer dependency problem for strict package managers like Yarn in PnP mode.
withastro/astro

Patch Changes

  • #12481 8a46e80 Thanks @marbrex! - Resolve vite peer dependency problem for strict package managers like Yarn in PnP mode.
withastro/astro

Patch Changes

  • #12481 8a46e80 Thanks @marbrex! - Resolve vite peer dependency problem for strict package managers like Yarn in PnP mode.
withastro/astro

Patch Changes

  • #12481 8a46e80 Thanks @marbrex! - Resolve vite peer dependency problem for strict package managers like Yarn in PnP mode.
withastro/astro

Patch Changes

  • #12481 8a46e80 Thanks @marbrex! - Resolve vite peer dependency problem for strict package managers like Yarn in PnP mode.
withastro/starlight

Minor Changes

  • #2589 d4cf8cc Thanks @delucis! - Adds support for some more of the DocSearch component’s configuration options
withastro/astro

Minor Changes

  • #12083 9263e96 Thanks @Princesseuh! - Reworks the experience of creating a new Astro project using the create astro CLI command.

    • Updates the list of templates to include Starlight and combines the "minimal" and "basics" templates into a new, refreshed "Basics" template to serve as the single, minimal Astro project starter.
    • Removes the TypeScript question. Astro is TypeScript-only, so this question was often misleading. The "Strict" preset is now the default, but it can still be changed manually in tsconfig.json.
    • astro check is no longer automatically added to the build script.
    • Added a new --add flag to install additional integrations after creating a project. For example, pnpm create astro --add react will create a new Astro project and install the React integration.
lin-stephanie/astro-antfustyle-theme

   🚀 Features

  • nav: Add mergeOnMobile option to merge navigation and social links on mobile  -  by @lin-stephanie (9e7cd)
  • search: Full-screen search panel with backdrop for viewport < 1128px  -  by @lin-stephanie (f8831)

   🐞 Bug Fixes

    View changes on GitHub
lin-stephanie/astro-antfustyle-theme

   🐞 Bug Fixes

    View changes on GitHub
withastro/astro

Patch Changes

  • #11435 f32a7a8 Thanks @haivuw! - Fixes a bug where astro:db:seed couldn't access to the environment variable ASTRO_DATABASE_FILE

  • Updated dependencies []:

    • @astrojs/studio@0.1.1
withastro/astro

Patch Changes

withastro/astro

Patch Changes

withastro/astro

Minor Changes

  • #12154 9988dd6 Thanks @bluwy! - Improves default template download speed by downloading from a branch containing the template only

  • #12186 49c4f64 Thanks @Terfno! - Ensures new line at the end of the generated package.json and tsconfig.json files

withastro/astro

Minor Changes

  • #12039 710a1a1 Thanks @ematipico! - Adds a markdown.shikiConfig.langAlias option that allows aliasing a non-supported code language to a known language. This is useful when the language of your code samples is not a built-in Shiki language, but you want your Markdown source to contain an accurate language while also displaying syntax highlighting.

    The following example configures Shiki to highlight cjs code blocks using the javascript syntax highlighter:

    import { defineConfig } from 'astro/config';
    
    export default defineConfig({
      markdown: {
        shikiConfig: {
          langAlias: {
            cjs: 'javascript',
          },
        },
      },
    });

    Then in your Markdown, you can use the alias as the language for a code block for syntax highlighting:

    ```cjs
    'use strict';
    
    function commonJs() {
      return 'I am a commonjs file';
    }
    ```
withastro/astro

Patch Changes

  • #12161 8e500f2 Thanks @delucis! - Adds keywords to package.json to improve categorization in the Astro integrations catalog
withastro/astro

Patch Changes

  • #12143 2385d58 Thanks @bluwy! - Uses @bluwy/giget-core instead of giget for smaller installation size when downloading the CLI
withastro/astro

Patch Changes

lin-stephanie/astro-antfustyle-theme

   🚀 Features

   🐞 Bug Fixes

  • responsive: Adjust 'rose' background, navbar icon spacing & logo position  -  by @lin-stephanie (70764)
    View changes on GitHub
withastro/astro

Patch Changes

withastro/astro

Patch Changes

  • #12118 f47b347 Thanks @Namchee! - Removes the strip-ansi dependency in favor of the native Node API

  • #12089 6e06e6e Thanks @Fryuni! - Fixes initial schema push for local file and in-memory libSQL DB

  • #12089 6e06e6e Thanks @Fryuni! - Fixes relative local libSQL db URL

  • Updated dependencies []:

    • @astrojs/studio@0.1.1
lin-stephanie/astro-antfustyle-theme

   🚀 Features

   🐞 Bug Fixes

  • a11y:
  • bg:
    • Prevent premature p5 access & support bgType set to false to disable background  -  by @lin-stephanie (2b0d8)
  • directive:
    • Correct inaccurate GITHUB_REPO_REGEXP regex matching & add .prettierignore  -  by @lin-stephanie (c7ffe)
  • nav:
  • search:
  • view:
    • Prevent text overflow on /projects at 1024px width & rename custom option (UI.groupItemCols to UI.maxGroupColumns)  -  by @lin-stephanie (b78fa)
    • Resolve responsive issues in footer and other view adjustments  -  by @lin-stephanie (f1716)
    View changes on GitHub
withastro/astro

Minor Changes

withastro/astro

Patch Changes

withastro/astro

Patch Changes

withastro/astro

Patch Changes


Last fetched:  |  Scheduled refresh: Every Saturday

See Customizing GitHub Activity Pages to configure your own

Inspired by releases.antfu.me