github withastro/astro @astrojs/db@0.12.0

latest releases: astro@5.0.0-beta.7, @astrojs/svelte@6.0.0-beta.2, create-astro@4.11.0-beta.0...
3 months ago

Minor Changes

  • #11304 2e70741 Thanks @Fryuni! - Removes the AstroDbIntegration type

    Astro integration hooks can now be extended and as such @astrojs/db no longer needs to declare it's own integration type. Using AstroIntegration will have the same type.

    If you were using the AstroDbIntegration type, apply this change to your integration code:

    - import { defineDbIntegration, type AstroDbIntegration } from '@astrojs/db/utils';
    + import { defineDbIntegration } from '@astrojs/db/utils';
    import type { AstroIntegration } from 'astro';
    
    - export default (): AstroDbIntegration => {
    + export default (): AstroIntegration => {
      return defineDbIntegration({
        name: 'your-integration',
        hooks: {},
      });
    }

Patch Changes

  • Updated dependencies []:
    • @astrojs/studio@0.1.1

Don't miss a new astro release

NewReleases is sending notifications on new releases.