Skip to content

Commit

Permalink
chore: update version
Browse files Browse the repository at this point in the history
  • Loading branch information
florian-lefebvre committed Jul 20, 2024
1 parent e035a87 commit 5fa1688
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 27 deletions.
26 changes: 0 additions & 26 deletions .changeset/twelve-coins-swim.md

This file was deleted.

27 changes: 27 additions & 0 deletions package/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,32 @@
# astro-integration-kit

## 0.15.0

### Minor Changes

- e035a87: Bumps the minimal version of Astro to 4.12

- Removes the `AstroIntegration.ExtraHooks` workaround for extending hooks in favor of the native `Astro.IntegrationHooks` extendable interface:

```diff
-namespace AstroIntegrationKit {
- interface ExtraHooks {
+namespace Astro {
+ interface IntegrationHooks {
'myLib:myHook': (params: { foo: string }) => Promise<void>;
}
}
```

- Removes the `HookParameters` type that combined the native types and the workaround above. The native `HookParameters` should be used now:

```diff
- import type { HookParameters } from 'astro-integration-kit';
+ import type { HookParameters } from 'astro';
```

- Fixes the typing of `defineUtility` to not cause transitive dependency on non-portble Astro types when building libraries with type declarations.

## 0.14.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion package/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "astro-integration-kit",
"version": "0.14.0",
"version": "0.15.0",
"description": "A package that contains utilities to help you build Astro integrations.",
"author": {
"email": "contact@florian-lefebvre.dev",
Expand Down

0 comments on commit 5fa1688

Please sign in to comment.