Skip to content

Commit 20052a8

Browse files
committed
"runtime" -> "adapter"
1 parent 8dc5596 commit 20052a8

File tree

2 files changed

+15
-15
lines changed

2 files changed

+15
-15
lines changed

pages/netlify/forms.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ To prevent silent failures of form detection or submission, we now trigger an in
7171

7272
This failure is triggered when both of the following conditions are met:
7373

74-
- The runtime has found usage of `netlify` or `data-netlify` form attributes in your React code (which have no effect).
74+
- The adapter has found usage of `netlify` or `data-netlify` form attributes in your React code (which have no effect).
7575
- No static HTML file was found in your `public` directory having form attributes (thus marking that you’ve implemented the approach laid out above).
7676

7777
### Skip the check

pages/netlify/index.mdx

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@ import { Callout } from "nextra/components";
99
width="185"
1010
height="25"
1111
style={{ borderRadius: 0, marginTop: "1rem" }}
12-
alt="Netlify Next.js runtime v5 test status"
12+
alt="Netlify Next.js adapter v5 test status"
1313
/>
1414
</a>
1515

16-
Netlify's Next.js runtime automatically configures Netlify sites with key functionality, including cache control, on-demand revalidation, and image optimization.
16+
Netlify's Next.js adapter automatically configures Netlify sites with key functionality, including cache control, on-demand revalidation, and image optimization.
1717

18-
The runtime provisions serverless and edge functions as appropriate to handle your site’s server-side functionality (such as SSR, ISR and PPR pages, API endpoints, Server Actions, Edge Middleware, etc.), ensuring that functionality works out-of-the-box.
18+
The adapter provisions serverless and edge functions as appropriate to handle your site’s server-side functionality (such as SSR, ISR and PPR pages, API endpoints, Server Actions, Edge Middleware, etc.), ensuring that functionality works out-of-the-box.
1919

2020
We automatically verify compatibility with the latest stable version of Next.js, using the comprehensive end-to-end tests of the framework itself. To access up-to-date test results, use the badge above.
2121

@@ -35,21 +35,21 @@ The easiest way to get started is to deploy our Next.js platform starter templat
3535

3636
- **App Router:** Netlify fully supports the Next.js App Router, which supports more powerful nested layouts and React’s latest features, such as Server Components and Streaming.
3737

38-
- **Automatic fine-grained caching:** Next.js Runtime v5 uses fine-grained caching on Netlify to support the Next.js Full Route Cache and Data Cache. This means that static page responses are automatically cached at the edge and can be revalidated by path or by tag.
38+
- **Automatic fine-grained caching:** thehe adapter uses fine-grained caching on Netlify to support the Next.js Full Route Cache and Data Cache. This means that static page responses are automatically cached at the edge and can be revalidated by path or by tag.
3939

40-
- **On-demand and time-based revalidation:** Both the App Router and Pages Router support on-demand and time-based revalidation, allowing you to revalidate and regenerate content at any time after a deploy.
40+
- **On-demand and time-based revalidation:** both the App Router and Pages Router support on-demand and time-based revalidation, allowing you to revalidate and regenerate content at any time after a deploy.
4141

42-
- **Image optimization:** The `next/image` component uses [Netlify Image CDN](https://docs.netlify.com/image-cdn/overview/) by default to ensure your images are optimized and served in the most efficient format.
42+
- **Image optimization:** the `next/image` component uses [Netlify Image CDN](https://docs.netlify.com/image-cdn/overview/) by default to ensure your images are optimized and served in the most efficient format.
4343

4444
Note that while we also generally support experimental features (for example, Partial Prerendering) from their early stages, such features are not considered stable yet at the framework level.
4545

46-
## Automatic runtime detection
46+
## Automatic framework detection
4747

48-
Netlify automatically detects that you're using Next.js and provisions your site with the most up-to-date runtime.
48+
Netlify automatically detects that you're using Next.js and provisions your site with the most up-to-date adapter.
4949

50-
### Pin a specific runtime version
50+
### Pin a specific adapter version
5151

52-
To pin the Netlify Next.js runtime to a specific version, read [the Netlify docs](https://docs.netlify.com/frameworks/next-js/overview/).
52+
To pin the Netlify Next.js adapter to a specific version, read [the Netlify docs](https://docs.netlify.com/frameworks/next-js/overview/).
5353

5454
### Suggested configuration values
5555

@@ -63,13 +63,13 @@ For manual configuration, check out the [typical build settings](https://docs.ne
6363

6464
## Limitations
6565

66-
Currently, Netlify's Next.js runtime has the following limitations:
66+
Currently, Netlify's Next.js adapter has the following limitations:
6767

6868
- **SSR pages set to the `edge` runtime will run in your [functions region](https://docs.netlify.com/functions/optional-configuration/#region).** If edge-level performance is critical, we advise that you use static pages with edge functions instead. They are rendered at the origin, but are then cached at the edge and can be revalidated on demand.
6969

7070
- **Rewrites in your Next.js configuration can’t point to static files in the `public` directory.** If you create `beforeFiles` rewrites in your `next.config.js`, they can’t point to static files in your site’s `public` directory. You can use middleware rewrites as an alternative.
7171

72-
- **Netlify Forms compatibility:** Using Netlify Forms with the current runtime [requires a workaround](/netlify/forms).
72+
- **Netlify Forms compatibility:** Using Netlify Forms with the current adapter [requires a workaround](/netlify/forms).
7373

7474
### pnpm support
7575

@@ -86,9 +86,9 @@ Learn more about using [pnpm on Netlify](https://docs.netlify.com/configure-buil
8686

8787
## Troubleshooting
8888

89-
The OpenNext docs are specifically about using Netlify's Next.js runtime v5.8 and later. For older versions of the runtime, refer to the [Netlify docs](https://docs.netlify.com/frameworks/next-js/overview/).
89+
The OpenNext docs are specifically about using Netlify's Next.js adapter v5.9 and later. For older versions of the adapter, refer to the [Netlify docs](https://docs.netlify.com/frameworks/next-js/overview/).
9090

91-
If you need help with any version of the runtime, visit [our support page](https://www.netlify.com/support) for various methods of finding answers and getting help.
91+
If you need help with any version of the adapter, visit [our support page](https://www.netlify.com/support) for various methods of finding answers and getting help.
9292

9393
### More resources
9494

0 commit comments

Comments
 (0)