Packages

@astrojs/preact

6.1.6 · 13 Nov 2026MIT267k / weekRepositoryHomepagenpmAtom feed

Your version

82 stable releases, newest first, by release line. Notes are quoted as the maintainers published them.

  1. 3.x
  2. 3.0.2

    27 Dec 2023
  3. 3.0.1

    5 Oct 2023
    • Add provenance statement when publishing the library from CI

  4. 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 include and exclude config options

      The Preact integration now has new include and exclude config options. Use these if you want to use Preact alongside another JSX framework; include specifies files to be compiled for Preact and exclude does the opposite.

  5. 2.x
  6. 2.2.2

    9 Aug 2023
  7. 2.2.1

    30 May 2023
    • Fix astro-static-slot hydration mismatch error

  8. 2.2.0

    18 May 2023
    • Prevent 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

  9. 2.1.0

    7 Mar 2023
    • Updated compilation settings to disable downlevelling for Node 14

  10. 2.0.3

    13 Feb 2023
    • Prevent hydration mismatches in Preact

  11. 2.0.2

    3 Feb 2023
    • Upgrade babel dependency to fix security vuln

  12. 2.0.1

    30 Jan 2023
    • Update READMEs for consistency

  13. 2.0.0

    24 Jan 2023
    • Breaking

      Remove support for Node 14. Minimum supported Node version is now >=16.12.0

  14. 1.x
  15. 1.2.0

    10 Oct 2022
    • Shared 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} />
  16. 1.1.1

    29 Sep 2022

    Reading the note…

  17. 1.1.0

    7 Sep 2022

    Reading the note…

  18. 1.0.2

    12 Aug 2022

    Reading the note…

  19. 1.0.1

    10 Aug 2022

    Reading the note…

  20. 1.0.0

    9 Aug 2022

    Reading the note…

  21. 0.5.x
  22. 0.5.2

    19 Jul 2022

    Reading the note…

  23. 0.5.1

    14 Jul 2022

    Reading the note…

  24. 0.5.0

    13 Jul 2022

    Reading the note…

  25. 0.4.x
  26. 0.4.1

    12 Jul 2022

    Reading the note…

  27. 0.4.0

    11 Jul 2022

    Reading the note…

  28. 0.3.x
  29. 0.3.2

    9 Jul 2022

    Reading the note…

  30. 0.3.1

    30 Jun 2022

    Reading the note…

  31. 0.3.0

    29 Jun 2022

    Reading the note…

  32. 0.2.x
  33. 0.2.0

    24 Jun 2022

    Reading the note…

  34. 0.1.x
  35. 0.1.3

    31 May 2022

    Reading the note…

  36. 0.1.2

    21 Apr 2022

    Reading the note…

  37. 0.1.1

    11 Apr 2022

    Reading the note…

  38. 0.1.0

    11 Apr 2022

    Reading the note…

  39. 0.0.x
  40. 0.0.2

    25 Mar 2022

    Reading the note…

  41. 0.0.1

    18 Mar 2022

    Reading 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.