@astrojs/db@0.12.0
版本发布时间: 2024-07-18 23:06:56
withastro/astro最新发布版本:astro@5.0.0-beta.2(2024-09-24 17:12:05)
Minor Changes
-
#11304
2e70741
Thanks @Fryuni! - Removes theAstroDbIntegration
typeAstro integration hooks can now be extended and as such
@astrojs/db
no longer needs to declare it's own integration type. UsingAstroIntegration
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