astrobot-houston
released this
18 Jul 15:06
·
794 commits
to main
since this release
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/[email protected]