Packages

@astrojs/netlify

8.2.14 · 13 Nov 2026MIT71.2k / weekRepositoryHomepagenpmAtom feed

Upgrading @astrojs/netlify From 2.1.0 to 2.6.0

13 releases in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 2.1.0Clears its 2 advisories8.1.2Latest8.2.14
  1. 2.1.0yours
  2. 2 releases
  3. 2.1.3security
  4. 9 releases
  5. 2.6.0target
0
changes to make
0
advisories fixed
6
new
10
fixes

Security

  • Updated Undici to 5.20.0. This fixes a security issue and handling of cookies in certain cases in dev

    2.1.3

Release by release

  1. 2.6.0

    11 Aug 20231 new
    • New

      If you are using Netlify's On-demand Builders, you can now specify how long your pages should remain cached. By default, all pages will be rendered on first visit and reused on every subsequent visit until a redeploy. To set a custom revalidation time, call the runtime.setBuildersTtl() local in either your frontmatter or middleware.

  2. 2.5.2

    1 Aug 20232 fixes
    • Fixed

      Fix README GitHub search link

    • Fixed

      Improve 404 behavior for serverless and edge

  3. 2.5.1

    27 Jul 20231 fix
    • Fixed

      Prevent building .html file redirects in hybrid mode

  4. 2.5.0

    19 Jul 20231 new
    • New

      When a project uses the new build.excludeMiddleware Astro config option, the @astrojs/netlify/functions adapter will bundle your middleware to run in a Netlify Edge Function.

  5. 2.4.0

    13 Jul 20231 new
    • New

      The Netlify adapter builds to a single function by default. Astro 2.7 added support for splitting your build into separate entry points per page. If you use this configuration, the Netlify adapter will generate a separate function for each page. This can help reduce the size of each function so they are only bundling code used on that page.

  6. 2.3.0

    6 Jun 20231 new · 1 fix
    • New

      Support for experimental redirects

    • Fixed

      Unflags support for output: 'hybrid' mode, which enables pre-rendering by default. The additional experimental.hybridOutput flag can be safely removed from your configuration.

  7. 2.2.3

    18 May 20231 new · 1 fix
    • New

      Enable experimental support for hybrid SSR with pre-rendering enabled by default

    • Fixed

      Specify "files" field to only publish necessary files

  8. 2.2.2

    10 Apr 20231 fix
    • Fixed

      No edge functions deployed to netlify

13 internal lines (docs, tests, tooling) left out.

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.