4.41.4 (2024-05-23)
4.41.3 (2023-12-08)
4.41.2 (2023-11-15)
4.41.1 (2023-10-19)
4.41.0 (2023-10-17)
4.40.2 (2023-10-02)
- deps: update dependency @netlify/ipx to ^1.4.4 (#2279) (49e1974)
- deps: update dependency @netlify/ipx to ^1.4.5 (#2311) (d1e5a8e)
- vendor deno dependencies (#2302) (a8d06ab)
4.40.1 (2023-08-21)
- improves support for __NEXT_PRIVATE_PREBUNDLED_REACT (#2236) (4261de7)
- pass packagePath down to rsc edge manifest (#2269) (3517973)
4.40.0 (2023-08-14)
4.39.4 (2023-08-10)
- deps: update dependency @netlify/ipx to ^1.4.3 (#2256) (ffdf101)
- don't ever execute middleware in lambda (#2249) (b9e87d1)
4.39.3 (2023-08-03)
4.39.2 (2023-08-01)
4.39.1 (2023-07-11)
4.39.0 (2023-07-03)
- deps: update dependency pathe to ^0.3.0 (#2199) (87391e1)
- edge cases for custom react module resolution (#2188) (6b527be)
- preserve original path after middleware rewrite (#2177) (9c6ec9f)
4.38.1 (2023-06-22)
- deps: update dependency @netlify/ipx to ^1.4.1 (#2167) (c295bc2)
- optionally chain server functions when selecting react version (#2179) (e63fcf0)
4.38.0 (2023-06-16)
- bundle dynamic API routes correctly with split-api-routes (#2154) (dc7c479)
- ensure next-server patches only run on Netlify (#2117) (6bdaec1)
- ensures compatibility with Next.js 13.4 (support for some features still en-route) (9f85472)
- new ISR cache handling to resolve regression in 13.4 (#2165) (6817cc9)
- strip domain from ipx edge functions path (#2098) (#2099) (c9ab983)
- uses pre-bundled React modules for App Router paths (9f85472)
4.37.4 (2023-05-30)
4.37.3 (2023-05-30)
- remove edge functions beta label (#2133) (7a10491)
- tracing root use
appDir
as fallback (#2136) (64280e5)
4.37.2 (2023-05-22)
- checks when Next.js' implementation of ResponseCookies._headers is undefined now (#2119) (f051e22)
- don't deploy metadata files to CDN (#2104) (ba3a430)
- guard split api routes behaviour by next version (#2125) (a8bb0e3)
- resolve follow-redirects from runtime package, so it's available also in auto-installs (#2124) (49ada27)
4.37.1 (2023-05-17)
- clientContext isn't available in background functions (#2121) (df0f6bc)
- support named & default export for middleware in ntl dev (#2116) (b31f858)
4.37.0 (2023-05-15)
- deps: update dependency @netlify/functions to ^1.5.0 (#2096) (2eba019)
- deps: update dependency @netlify/functions to ^1.6.0 (#2107) (5ee2fce)
- follow-up to split-api revalidate behaviour (#2113) (cce048a)
- support api routes at index of folder (#2101) (cc9ed84)
4.36.1 (2023-05-08)
- add shim for
require('node:buffer')
(#2050) (e007b08) - Legacy fallback env var (#2074) (aad9e5f)
- make large lambda warning message more informative (#2057) (b4cb75b)
- resolve next-server from next app directory and not from plugin (#2059) (38f34c7)
- Respect
pageExtensions
config setting (#2073) (940cbbc) - update next to 13.3.0 & ensure compatibility (#2056) (75ed977)
- workaround netlify-cli not matching prod (#2030) (fd29ea5)
4.36.0 (2023-04-24)
4.35.0 (2023-04-17)
- ensure appDir routes with null dataRoutes are not added to edge manifest for rsc-data (#2044) (2f31acb)
- now data routes for dynamic routes filter even when null when creating the RSC data router (#2041) (5fa1435)
- typo in comment (#2049) (447b7d4)
4.34.0 (2023-04-10)
- deps: update dependency @netlify/ipx to ^1.4.0 (#2031) (03f60bb)
- routes with null data routes can be filtered now (#2018) (7c1673b)
- support setting cookies from MiddlewareResponse (#2027) (a630ab4)
4.33.0 (2023-03-27)
- add generator meta data for framework generated Netlify Functions (#1999) (e5ddcd2)
- refresh hooks api implementation (#1950) (fb93b54)
- data route rewrite for i18n root route (#2002) (4f6cdd9)
- do not escape HTML (#2007) (d4cd121)
- updated redirect data urls (#1928) (1edaacb)
- use
IMAGE_FUNCTION_NAME
constant (#2001) (24eaaab) - use separate watcher script for middleware in dev (#1831) (92e209f)
4.32.2 (2023-03-14)
4.32.1 (2023-03-13)
4.32.0 (2023-03-13)
4.31.0 (2023-03-06)
4.30.4 (2023-02-06)
4.30.3 (2023-01-30)
- added support for "missing" matcher (#1905) (f30e178)
- correctly match params in edge runtime (#1896) (75c0535)
4.30.2 (2023-01-24)
- custom headers for root route when using i18n (#1893) (9be3382)
- handle v1 edge function definition (#1903) (cdcf60e)
4.30.1 (2023-01-23)
- added polyfill for process.env (#1889) (15af7c7)
- correctly handle ISR for appDir pages (#1855) (f2a7cac)
- correctly rewrite default locale ISR homepage to ODB handler (#1867) (14ad486)
- getMaxAge is not used in APIHandlers (#1888) (d0343b8)
- match edge runtime pages with optional trailing slash (#1892) (138b19d)
- transform Regex named capture groups for Golang (#1809) (15790aa)
4.30.0 (2023-01-09)
- deps: update dependency @netlify/functions to ^1.4.0 (#1869) (3960c31)
- deps: update dependency @netlify/ipx to ^1.3.3 (#1868) (d75d0ff)
- merge Middleware and API route response cookies (#1870) (878ddd7)
- serve static files from basePath (#1850) (d4ff894)
4.29.4 (2022-12-19)
- deps: update dependency @netlify/ipx to ^1.3.2 (#1833) (fb4d816)
- support appDir (#1638) (a5b8047)
- use static 404 for non-prerendered dynamic routes without fallback (#1795) (2aa02db)
4.29.3 (2022-12-05)
- assign globals to
self
(#1823) (993766b) - better headers.getAll polyfill (#1801) (84579c1)
- get source file for page in api routes (#1778) (2a3ad3c)
4.29.2 (2022-11-21)
- add longitude, latitude, and timezone to RequestData.geo (#1777) (3f35549)
- resolve all pages using nft (#1780) (267ff0b)
4.29.1 (2022-11-14)
- exclude sourcemaps from bundle (#1772) (4cad33e)
- polyfill headers.getAll (#1766) (b400efb)
- revert publish from subdirectory (#1771) (0554d6a)
4.29.0 (2022-11-11)
4.28.7 (2022-11-11)
4.28.6 (2022-11-07)
4.28.5 (2022-11-07)
4.28.4 (2022-11-02)
4.28.3 (2022-10-27)
4.28.2 (2022-10-26)
4.28.1 (2022-10-25)
4.28.0 (2022-10-25)
4.27.3 (2022-10-19)
4.27.2 (2022-10-19)
4.27.1 (2022-10-18)
4.27.0 (2022-10-17)
4.26.0 (2022-10-17)
- deps: update dependency @netlify/ipx to ^1.3.1 (#1686) (2b419a0)
- prevent Next from defining duplicate global property in edge functions (#1682) (730df6b)
4.25.0 (2022-10-12)
4.24.3 (2022-10-06)
4.24.2 (2022-10-05)
4.24.1 (2022-10-05)
- deps: update dependency @netlify/functions to ^1.3.0 (#1660) (4e7e2ae)
- set undefined ODB 404 TTLs to 60 seconds (#1647) (029b497)
4.24.0 (2022-10-03)
4.23.4 (2022-10-03)
4.23.3 (2022-09-28)
4.23.2 (2022-09-26)
- check NEXT_DISABLE_NETLIFY_EDGE value rather than if truthy (#1603) (5cf8c52)
- deps: update dependency @netlify/esbuild to v0.14.39 (#1623) (3dc7b23)
4.23.1 (2022-09-09)
4.23.0 (2022-09-09)
- correct handling of edge dev utils (#1616) (62c135d)
- deps: update dependency @netlify/ipx to ^1.2.5 (#1615) (362d5dd)
- support non-prerendered dynamic routes with fallback false (#1541) (92a015c)
4.22.0 (2022-09-08)
4.21.3 (2022-09-08)
4.21.2 (2022-09-06)
- clean up edge functions during build (#1588) (ae2c103)
- deps: update dependency @netlify/ipx to ^1.2.4 (#1590) (70d38ca)
- watch for creation of middleware (#1592) (3ae0ee6)
4.21.1 (2022-08-31)
4.21.0 (2022-08-30)
4.20.0 (2022-08-26)
4.19.0 (2022-08-25)
4.18.1 (2022-08-25)
4.18.0 (2022-08-22)
- ✨ change over to next-runtime (#1540) (7ecf41d)
- add edge middleware support to
ntl dev
(#1546) (b208ff4) - default edge middleware to on (#1547) (9578fa9)
- graph: populate graph token for ISR (#1525) (573b913)
- skip run if @netlify/plugin-nextjs installed (#1536) (0b4cf8c)
- support custom response headers on images served via IPX (#1515) (40cb8a9)
- check for middleware manifest before providing to Object.keys (#1559) (f500f51)
- deps: update dependency @netlify/functions to ^1.1.0 (#1526) (8a98d72)
- deps: update dependency @netlify/functions to ^1.2.0 (#1543) (81381eb)
- deps: update dependency @netlify/ipx to ^1.2.1 (#1534) (086a703)
- deps: update dependency @netlify/ipx to ^1.2.2 (#1544) (097e624)
- ensure newly-created middleware works (#1558) (39f3b4b)
- handle missing config base (#1555) (f69d9db)
- use individual next/server deno imports (#1556) (0667662)
4.17.0 (2022-08-17)
- ✨ change over to next-runtime (#1540) (7ecf41d)
- graph: populate graph token for ISR (#1525) (573b913)
- skip run if @netlify/plugin-nextjs installed (#1536) (0b4cf8c)
- support custom response headers on images served via IPX (#1515) (40cb8a9)
- deps: update dependency @netlify/functions to ^1.1.0 (#1526) (8a98d72)
- deps: update dependency @netlify/functions to ^1.2.0 (#1543) (81381eb)
- deps: update dependency @netlify/ipx to ^1.2.1 (#1534) (086a703)
- deps: update dependency @netlify/ipx to ^1.2.2 (#1544) (097e624)
4.16.0 (2022-08-15)
- deps: update dependency @netlify/functions to ^1.1.0 (#1526) (8a98d72)
- deps: update dependency @netlify/ipx to ^1.2.1 (#1534) (086a703)
4.15.0 (2022-08-12)
4.14.2 (2022-08-11)
- allow proxy of /_next/static (#1503) (4efef60)
- deps: update dependency @netlify/ipx to ^1.1.4 (#1512) (44bdb1f)
- deps: update dependency @netlify/ipx to ^1.2.0 (#1516) (b90bf3e)
4.14.1 (2022-08-03)
4.14.0 (2022-08-01)
4.13.1 (2022-07-25)
4.13.0 (2022-07-21)
4.12.2 (2022-07-13)
4.12.1 (2022-07-12)
4.12.0 (2022-07-12)
4.11.2 (2022-07-12)
4.11.1 (2022-06-30)
4.11.0 (2022-06-30)
4.10.1 (2022-06-29)
4.10.0 (2022-06-29)
4.9.3 (2022-06-24)
4.9.2 (2022-06-23)
4.9.1 (2022-06-14)
4.9.0 (2022-06-14)
- deps: update dependency @netlify/ipx to ^1.1.0 (#1377) (9ed5c38)
- run edge middleware on data requests (#1382) (55755df)
4.8.0 (2022-06-06)
4.7.1 (2022-05-25)
- deps: update dependency @netlify/ipx to v1 (#1343) (4ab9ff4)
- don't override user defined NEXTAUTH_URL (#1360) (9010da3)
4.7.0 (2022-05-02)
4.6.0 (2022-04-28)
4.5.0 (2022-04-26)
4.4.4 (2022-04-26)
4.4.3 (2022-04-25)
4.4.2 (2022-04-19)
4.4.1 (2022-04-19)
4.4.0 (2022-04-19)
4.3.2 (2022-04-04)
4.3.1 (2022-03-28)
4.3.0 (2022-03-23)
4.2.8 (2022-03-21)
- add new /trace to HIDDEN_PATHS (#1259) (84345a8)
- chdir to site root (#1265) (8463bbc)
- deps: update dependency @netlify/ipx to ^0.0.10 (#1237) (16e067d)
- use correct publishDir when building from CLI with cwd option (#1264) (e441c97)
4.2.7 (2022-02-18)
- correctly cache when using
next export
(#1223) (a8030ca) - deps: update dependency @netlify/functions to ^0.11.1 (#1217) (e17892b)
- deps: update dependency @netlify/functions to v1 (#1219) (af841cd)
4.2.6 (2022-02-14)
4.2.5 (2022-02-07)
4.2.4 (2022-02-03)
4.2.3 (2022-02-02)
4.2.2 (2022-01-31)
4.2.1 (2022-01-24)
- deps: update dependency @netlify/functions to ^0.11.0 (#1146) (4da630b)
- deps: update dependency core-js to v3.20.3 (#1155) (043ad36)
- provide hostname and port to server (#1149) (02053fd)
4.2.0 (2022-01-17)
4.1.3 (2022-01-13)
4.1.2 (2022-01-11)
- add specific rewrites for all SSR routes (#1105) (6fd7bcc)
- deps: update dependency core-js to v3.20.2 (#1095) (41966ca)
4.1.1 (2021-12-21)
- fix bug that caused ISR pages to sometimes serve first built version (#1051) (62660b2)
- force React to use production env (#1056) (eca0bee)
4.1.0 (2021-12-17)
4.0.0 (2021-12-14)
This is a full rewrite of the Essential Next.js plugin, with a new architecture that gives greater compatibility and stability.
- Full support for incremental static regeneration (ISR).
- Full support for Next.js rewrites, redirects and headers.
- Beta support for Next 12 Middleware
- Faster builds and deploys. Instead of generating one function per route, there are just three functions per site and a much smaller list of rewrites.
- Full support for Netlify's new persistent On-Demand Builders. Return
fallback: "blocking"
fromgetStaticPaths
and your rendering will be deferred until the first page load, then persisted globally. - A new image server for next/image, built on Nuxt's ipx. This is a high-performance, framework-agnostic image server based on sharp. This implementation uses On-Demand Builders to persist transformed images globally. Improved source image caching reduces time-to-first-byte for new transforms.
- Simplified configuration. You no longer need to set any Netlify-specific configuration options. For example, in a
monorepo all you need to do is set
publish
to point to your.next
directory and you can build the site in any way you like. - Removes requirement for the
target
to be set toserverless
, which is deprecated in Next 12. - Bundling now uses Next.js's own node-file-trace, giving more predictable results and smaller uploads.
The publish
directory should point to the site's .next
directory or distDir
if set, rather than out
as in
previous versions of the plugin.
Change the publish
directory to .next
:
[build]
publish = ".next"
If you previously set these values, they're no longer needed and can be removed:
target: "serverless"
in yournext.config.js
distDir
in yournext.config.js
node_bundler = "esbuild"
innetlify.toml
external_node_modules
innetlify.toml
If you currently use redirects or rewrites on your site, see the Rewrites and Redirects guide for information on changes to how they are handled in this version.
If you want to use Next 12's beta Middleware feature, this will mostly work as expected but please read the docs on some caveats and workarounds that are currently needed.
4.0.0-rc.1 (2021-12-07)
- bypass preview for static files (#918) (ecb3cc8)
- work around a bug that caused a full response to be sent for images, even if the etag matched
- deps: update dependency @netlify/ipx to ^0.0.8 (#902) (25f375f)
4.0.0-rc.0 (2021-12-06)
- copy public directory output instead of input when using Nx (#856) (d959f82)
- correct root redirect when trailingSlash = false (#879) (3c6b10b)
4.0.0-beta.13 (2021-12-02)
- correct handling of data route JSON files (#864) (adea889)
- move locale detection to netlify redirects (#861) (964637b)
4.0.0-beta.12 (2021-11-30)
4.0.0-beta.11 (2021-11-24)
4.0.0-beta.10 (2021-11-24)
- replace node-fetch with builtin (#834) (6ff3100)
- correct redirect priority and correctly handle ISR pages assets (#826) (6b61643)
- deps: update dependency @netlify/functions to ^0.10.0 (#830) (3256839)
- don't move files to the CDN if they match redirect/rewrite rules (#832) (9e3dd0e)
4.0.0-beta.9 (2021-11-19)
4.0.0-beta.8 (2021-11-19)
- don't move files to CDN if they match middleware (#812) (615c97a)
- move static pages by default (#816) (12ce69e)
4.0.0-beta.7 (2021-11-17)
- deps: update dependency @netlify/functions to ^0.9.0 (#807) (3deec1d)
- ensure path is encoded (#800) (b0f666e)
- use forced catchall for preview mode (#793) (fd7130f)
4.0.0-beta.6 (2021-11-08)
- handle static file glob on Windows (#778) (1cc222a)
- use glob to select files to move (#768) (faeb703)
4.0.0-beta.5 (2021-11-03)
- add missing middleware runtime file (#762) (83378b4)
- deps: update dependency node-fetch to v2.6.6 (#758) (759915b)
- don't force rewrite in preview mode (#761) (c88a504)
4.0.0-beta.4 (2021-10-27)
- correctly resolve zip path (#744) (68b5662)
- deps: update dependency @netlify/functions to ^0.8.0 (#747) (2c87e30)
- exclude electron by default (#746) (887b90a)
4.0.0-beta.3 (2021-10-26)
- support moving static pages out of function bundle (#728) (3da9c77)
- warn if zip is too large, and log the largest files (#730) (9989c0a)
- disable serverless targets (#739) (01fa113)
- ensure stale-while-revalidate headers are not sent (#737) (ef2da0d)
- typo in readme (#731) (bfc016f)
- use nft for ipx bundle (#725) (0321f68)
- use platform-agnostic paths, and add test to be sure (#736) (d448b11)
4.0.0-beta.2 (2021-10-19)
4.0.0-beta.1 (2021-10-15)
4.0.0-beta.0 (2021-10-15)
A complete rewrite of the Essential Next plugin. See the README for details and migration instructions