@astrojs/preact
6.1.6 · 13 Nov 2026MIT267k / weekRepositoryHomepagenpmAtom feed
82 stable releases, newest first, by release line. Notes are quoted as the maintainers published them.
- 3.x
3.0.2
27 Dec 2023Improves compatability with the Qwik adapter
Updates README
3.0.1
5 Oct 2023Add provenance statement when publishing the library from CI
3.0.0
30 Aug 2023- Breaking
Remove support for Node 16. The lowest supported version by Astro and all integrations is now v18.14.1. As a reminder, Node 16 will be deprecated on the 11th September 2023.
- Breaking
Astro 3.0 Release Candidate
- Breaking
New
includeandexcludeconfig optionsThe Preact integration now has new
includeandexcludeconfig options. Use these if you want to use Preact alongside another JSX framework; include specifies files to be compiled for Preact andexcludedoes the opposite.
Major Changes
- Breaking
Remove support for Node 16. The lowest supported version by Astro and all integrations is now v18.14.1. As a reminder, Node 16 will be deprecated on the 11th September 2023.
- Breaking
Astro 3.0 Release Candidate
- Breaking
New
includeandexcludeconfig optionsThe Preact integration now has new
includeandexcludeconfig options. Use these if you want to use Preact alongside another JSX framework; include specifies files to be compiled for Preact andexcludedoes the opposite.
Patch Changes
Automatically unmount islands when
astro:unmountis fired
- 2.x
2.2.2
9 Aug 2023Support Bun by adjusting how
@babel/plugin-transform-react-jsxis imported.
2.2.1
30 May 2023Fix
astro-static-slothydration mismatch error
2.2.0
18 May 2023Prevent removal of nested slots within islands
This change introduces a new flag that renderers can add called
supportsAstroStaticSlot. What this does is let Astro know that the render is sending<astro-static-slot>as placeholder values for static (non-hydrated) slots which Astro will then remove.This change is completely backwards compatible, but fixes bugs caused by combining ssr-only and client-side framework components like so:
<Component> <div> <Component client:load> <span>Nested</span> </Component> </div> </Component>Specify
"files"field to only publish necessary files
2.1.0
7 Mar 2023Updated compilation settings to disable downlevelling for Node 14
2.0.3
13 Feb 2023Prevent hydration mismatches in Preact
2.0.2
3 Feb 2023Upgrade babel dependency to fix security vuln
2.0.1
30 Jan 2023Update READMEs for consistency
2.0.0
24 Jan 2023- Breaking
Remove support for Node 14. Minimum supported Node version is now >=16.12.0
- 1.x
1.2.0
10 Oct 2022Shared state in Preact components with signals
This makes it possible to share client state between Preact islands via signals.
For example, you can create a signals in an Astro component and then pass it to multiple islands:
--- // Component Imports import Counter from '../components/Counter'; import { signal } from '@preact/signals'; const count = signal(0); --- <Count count={count} /> <Count count={count} />
1.1.1
29 Sep 2022Reading the note…
1.1.0
7 Sep 2022Reading the note…
1.0.2
12 Aug 2022Reading the note…
1.0.1
10 Aug 2022Reading the note…
1.0.0
9 Aug 2022Reading the note…
- 0.5.x
0.5.2
19 Jul 2022Reading the note…
0.5.1
14 Jul 2022Reading the note…
0.5.0
13 Jul 2022Reading the note…
- 0.4.x
0.4.1
12 Jul 2022Reading the note…
0.4.0
11 Jul 2022Reading the note…
- 0.3.x
0.3.2
9 Jul 2022Reading the note…
0.3.1
30 Jun 2022Reading the note…
0.3.0
29 Jun 2022Reading the note…
- 0.2.x
0.2.0
24 Jun 2022Reading the note…
- 0.1.x
0.1.3
31 May 2022Reading the note…
0.1.2
21 Apr 2022Reading the note…
0.1.1
11 Apr 2022Reading the note…
0.1.0
11 Apr 2022Reading the note…
- 0.0.x
0.0.2
25 Mar 2022Reading the note…
0.0.1
18 Mar 2022Reading the note…
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.