summaryrefslogtreecommitdiff
path: root/packages/db/CHANGELOG.md
diff options
context:
space:
mode:
Diffstat (limited to 'packages/db/CHANGELOG.md')
-rw-r--r--packages/db/CHANGELOG.md29
1 files changed, 29 insertions, 0 deletions
diff --git a/packages/db/CHANGELOG.md b/packages/db/CHANGELOG.md
index 926d28ce4..eb7978ead 100644
--- a/packages/db/CHANGELOG.md
+++ b/packages/db/CHANGELOG.md
@@ -1,5 +1,34 @@
# @astrojs/db
+## 0.12.0
+
+### Minor Changes
+
+- [#11304](https://github.com/withastro/astro/pull/11304) [`2e70741`](https://github.com/withastro/astro/commit/2e70741362afc1e7d03c8b2a9d8edb8466dfe9c3) Thanks [@Fryuni](https://github.com/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:
+
+ ```diff
+ - 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
+
## 0.11.7
### Patch Changes