From 5fa16882d1d06f072a5b7787784e55d79a39eeb7 Mon Sep 17 00:00:00 2001 From: Florian Lefebvre Date: Sat, 20 Jul 2024 09:07:53 +0200 Subject: [PATCH] chore: update version --- .changeset/twelve-coins-swim.md | 26 -------------------------- package/CHANGELOG.md | 27 +++++++++++++++++++++++++++ package/package.json | 2 +- 3 files changed, 28 insertions(+), 27 deletions(-) delete mode 100644 .changeset/twelve-coins-swim.md diff --git a/.changeset/twelve-coins-swim.md b/.changeset/twelve-coins-swim.md deleted file mode 100644 index 712d1907..00000000 --- a/.changeset/twelve-coins-swim.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -"astro-integration-kit": minor ---- - -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; - } - } - ``` - -- 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. diff --git a/package/CHANGELOG.md b/package/CHANGELOG.md index 98d8a415..bd1a8cb1 100644 --- a/package/CHANGELOG.md +++ b/package/CHANGELOG.md @@ -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; + } + } + ``` + + - 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 diff --git a/package/package.json b/package/package.json index b2a15c05..32ca7081 100644 --- a/package/package.json +++ b/package/package.json @@ -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",