Skip to content

Releases: withastro/astro

@astrojs/mdx@4.0.8

30 Jan 11:23
f6b7839
Compare
Choose a tag to compare

Patch Changes

  • Updated dependencies [db252e0]:
    • @astrojs/markdown-remark@6.1.0

@astrojs/markdown-remark@6.1.0

30 Jan 11:23
f6b7839
Compare
Choose a tag to compare

Minor Changes

  • #12850 db252e0 Thanks @colinbate! - Adds support for TOML frontmatter in .md and .mdx files

    Astro 5.2 automatically identifies the format of your Markdown and MDX frontmatter based on the delimiter used. With +++ as a delimiter (instead of the --- YAML code fence), your frontmatter will automatically be recognized and parsed as TOML.

    This is useful for adding existing content files with TOML frontmatter to your project from another framework such as Hugo.

    TOML frontmatter can also be used with content collections, and files with different frontmatter languages can live together in the same project.

    No configuration is required to use TOML frontmatter in your content files. Your delimiter will indicate your chosen frontmatter language:

    +++
    date = 2025-01-30
    title = 'Use TOML frontmatter in Astro!'
    [author]
    name = 'Colin Bate'
    +++
    
    # Support for TOML frontmatter is here!

@astrojs/markdoc@0.12.8

30 Jan 11:23
f6b7839
Compare
Choose a tag to compare

Patch Changes

  • Updated dependencies [5361755, db252e0]:
    • @astrojs/internal-helpers@0.5.0
    • @astrojs/markdown-remark@6.1.0

@astrojs/internal-helpers@0.5.0

30 Jan 11:23
f6b7839
Compare
Choose a tag to compare

Minor Changes

astro@5.1.10

27 Jan 11:48
0879cc2
Compare
Choose a tag to compare

Patch Changes

  • #13058 1a14b53 Thanks @ascorbic! - Fixes broken type declaration

  • #13059 e36837f Thanks @ascorbic! - Fixes a bug that caused tsconfig path aliases to break if there was more than one wildcard pattern

  • #13045 c7f1366 Thanks @mtwilliams-code! - Fixes a bug where the some utility functions of the astro:i18n virtual module would return an incorrect result when trailingSlash is set to never

@astrojs/react@4.2.0

27 Jan 11:48
0879cc2
Compare
Choose a tag to compare

Minor Changes

  • #13036 3c90d8f Thanks @artmsilva! - Adds experimental support for disabling streaming

    This is useful to support libraries that are not compatible with streaming such as some CSS-in-JS libraries. To disable streaming for all React components in your project, set experimentalDisableStreaming: true as a configuration option for @astrojs/react:

    // astro.config.mjs
    import { defineConfig } from 'astro/config';
    import react from '@astrojs/react';
    
    export default defineConfig({
      integrations: [
        react({
    +      experimentalDisableStreaming: true,
        }),
      ],
    });

astro@5.1.9

23 Jan 15:16
821d642
Compare
Choose a tag to compare

Patch Changes

  • #12986 8911bda Thanks @wetheredge! - Updates types and dev toolbar for ARIA 1.2 attributes and roles

  • #12892 8f520f1 Thanks @louisescher! - Adds a more descriptive error when a content collection entry has an invalid ID.

  • #13031 f576519 Thanks @florian-lefebvre! - Updates the server islands encoding logic to only escape the script end tag open delimiter and opening HTML comment syntax

  • #13026 1d272f6 Thanks @ascorbic! - Fixes a regression that prevented the import of Markdown files as raw text or URLs.

@astrojs/alpinejs@0.4.3

23 Jan 15:16
821d642
Compare
Choose a tag to compare

Patch Changes

astro@5.1.8

20 Jan 17:18
0a0b197
Compare
Choose a tag to compare

Patch Changes

  • #12998 9ce0038 Thanks @Kynson! - Fixes the issue that audit incorrectly flag images as above the fold when the scrolling container is not body

  • #12990 2e12f1d Thanks @ascorbic! - Fixes a bug that caused references to be incorrectly reported as invalid

  • #12984 2d259cf Thanks @ascorbic! - Fixes a bug in dev where files would stop being watched if the Astro config file was edited

  • #12984 2d259cf Thanks @ascorbic! - Fixes a bug where the content layer would use an outdated version of the Astro config if it was edited in dev

  • #12982 429aa75 Thanks @bluwy! - Fixes an issue where server islands do not work in projects that use an adapter but only have prerendered pages. If an adapter is added, the server island endpoint will now be added by default.

  • #12995 78fd73a Thanks @florian-lefebvre! - Fixes a case where astro:actions types would not work when using src/actions.ts

  • #13011 cf30880 Thanks @ascorbic! - Upgrades Vite

  • #12733 bbf1d88 Thanks @ascorbic! - Fixes a bug that caused the dev server to return an error if requesting "//"

  • #13001 627aec3 Thanks @ascorbic! - Fixes a bug that caused Astro to attempt to inject environment variables into non-source files, causing performance problems and broken builds

@astrojs/vue@5.0.6

20 Jan 17:18
0a0b197
Compare
Choose a tag to compare

Patch Changes