Astro: @astrojs/[email protected] Release

Release date:
August 8, 2025
Previous version:
@astrojs/[email protected] (released August 5, 2025)
Magnitude:
709 Diff Delta
Contributors:
2 total committers
Data confidence:
Commits:

Top Contributors in @astrojs/[email protected]

ematipico
alexanderniebuhr

Directory Browser for @astrojs/[email protected]

We haven't yet finished calculating and confirming the files and directories changed in this release. Please check back soon.

Release Notes Published

Minor Changes

  • #14190 438adab Thanks @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';
    };