astro

The web framework for content-driven websites. ⭐️ Star to support our work!

OTHER License

Downloads
8.9M
Stars
43K
Committers
807

Bot releases are visible (Hide)

astro - @astrojs/[email protected]

Published by astrobot-houston 7 months ago

astro - @astrojs/[email protected]

Published by astrobot-houston 7 months ago

Patch Changes

astro - @astrojs/[email protected]

Published by astrobot-houston 7 months ago

Patch Changes

astro - [email protected]

Published by astrobot-houston 7 months ago

Patch Changes

astro - @astrojs/[email protected]

Published by astrobot-houston 7 months ago

Minor Changes

astro - @astrojs/[email protected]

Published by astrobot-houston 7 months ago

Minor Changes

  • #10513 a573cc199a00d35410197ba4117c97764a984dc0 Thanks @tk04! - The isr.exclude configuration can now include routes with dynamic and spread parameters.
    export default defineConfig({
        adapter: vercel({
            isr: {
                exclude: [
                    "/blog/[title]"
                    "/api/[...slug]",
                ]
            }
        })
    })
    
astro - @astrojs/[email protected]

Published by astrobot-houston 7 months ago

Patch Changes

astro - @astrojs/[email protected]

Published by astrobot-houston 7 months ago

Patch Changes

  • #10589 ed1031ba29af9a8a89ab386d772a228ba1414b4d Thanks @column.text(),! - Update the table indexes configuration to allow generated index names. The indexes object syntax is now deprecated in favor of an array.

    Migration

    You can update your indexes configuration object to an array like so:

    import { defineDb, defineTable, column } from 'astro:db';
    
    const Comment = defineTable({
      columns: {
        postId: column.number(),
    
        body: column.text(),
      },
    - indexes: {
    -   postIdIdx: { on: 'postId' },
    -   authorPostIdIdx: { on: ['author, postId'], unique: true },
    - },
    + indexes: [
    +   { on: 'postId' /* 'name' is optional */ },
    +   { on: ['author, postId'], unique: true },
    + ]
    })
    

    This example will generate indexes with the names Comment_postId_idx and Comment_author_postId_idx, respectively. You can specify a name manually by adding the name attribute to a given object. This name will be global, so ensure index names do not conflict between tables.

astro - [email protected]

Published by astrobot-houston 7 months ago

Patch Changes

astro - @astrojs/[email protected]

Published by astrobot-houston 7 months ago

Patch Changes

astro - @astrojs/[email protected]

Published by astrobot-houston 7 months ago

Patch Changes

astro - [email protected]

Published by astrobot-houston 7 months ago

Patch Changes

astro - @astrojs/[email protected]

Published by astrobot-houston 7 months ago

Patch Changes

astro - @astrojs/[email protected]

Published by astrobot-houston 7 months ago

Patch Changes

astro - @astrojs/[email protected]

Published by astrobot-houston 7 months ago

Patch Changes

astro - @astrojs/[email protected]

Published by astrobot-houston 7 months ago

Patch Changes

astro - [email protected]

Published by astrobot-houston 7 months ago

Patch Changes

astro - @astrojs/[email protected]

Published by astrobot-houston 7 months ago

Patch Changes

astro - @astrojs/[email protected]

Published by astrobot-houston 7 months ago

Patch Changes

astro - @astrojs/[email protected]

Published by astrobot-houston 7 months ago

Patch Changes

Package Rankings
Top 0.43% on Npmjs.org
Top 8.17% on Proxy.golang.org
Badges
Extracted from project README
CI License npm version astro version create-astro version @astrojs/react version @astrojs/preact version @astrojs/solid version @astrojs/svelte version @astrojs/vue version @astrojs/lit version @astrojs/node version @astrojs/vercel version @astrojs/cloudflare version @astrojs/partytown version @astrojs/sitemap version @astrojs/tailwind version @astrojs/alpinejs version @astrojs/mdx version @astrojs/db version @astrojs/rss version @astrojs/netlify version CII Best Practices Astro's sponsors.