Skip to content

Commit 9ff3713

Browse files
committedNov 3, 2024·
docs: update nightly and experimental banners
1 parent 66d955a commit 9ff3713

File tree

7 files changed

+15
-31
lines changed

7 files changed

+15
-31
lines changed
 

‎docs/1.guide/2.routing.md

+2-5
Original file line numberDiff line numberDiff line change
@@ -157,9 +157,6 @@ export default defineEventHandler(event => {
157157

158158
### Environment specific handlers
159159

160-
> [!NOTE]
161-
> This feature is currently available in [nightly channel](https://nitro.build/guide/nightly) only.
162-
163160
You can specify for a route that will only be included in specific builds by adding a `.dev`, `.prod` or `.prerender` suffix to the file name, for example: `routes/test.get.dev.ts` or `routes/test.get.prod.ts`.
164161

165162
> [!TIP]
@@ -210,8 +207,8 @@ Returning anything from a middleware will close the request and should be avoide
210207

211208
You can define route handler meta at build-time using `defineRouteMeta` micro in the event handler files.
212209

213-
> [!NOTE]
214-
> This feature is currently available in [nightly channel](https://nitro.build/guide/nightly) only.
210+
> [!IMPORTANT]
211+
> 🚧 This feature is currently experimental.
215212
216213
```ts [/api/test.ts]
217214
defineRouteMeta({

‎docs/2.deploy/10.runtimes/_winterjs.md

-5
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,6 @@ You can easily build Nitro powered applications to run with [wasmerio/winterjs](
1111
[WinterJS](https://github.com/wasmerio/winterjs) is a JavaScript Service Workers server written in Rust, that uses the SpiderMonkey runtime to execute JavaScript (the same runtime that Firefox uses) ([announcement](https://wasmer.io/posts/announcing-winterjs-service-workers)).
1212

1313

14-
::warning
15-
🌙 WinterJS is currently supported in **nightly release channel**. Read the docs for using [Nightly Release Channel](/guide/getting-started#nightly-release-channel).
16-
::
17-
18-
1914
::warning
2015
🚧 WinterJS runtime is unstable and under heavy development. Follow [nitrojs/nitro#1861](https://github.com/nitrojs/nitro/issues/1861) for status and information.
2116
::

‎docs/2.deploy/20.providers/aws.md

+9-10
Original file line numberDiff line numberDiff line change
@@ -41,17 +41,16 @@ export default defineNuxtConfig({
4141
::
4242

4343

44-
## Streaming support (experimental)
45-
46-
**Preset:** `aws_lambda_streaming`
47-
48-
Nitro supports an experimental preset to generate output format compatible with [AWS Lambda](https://aws.amazon.com/lambda/) with streaming invoke turned on.
44+
## Response streaming
4945

5046
:read-more{title="Introducing AWS Lambda response streaming" to="https://aws.amazon.com/blogs/compute/introducing-aws-lambda-response-streaming/"}
5147

52-
> [!NOTE]
53-
> This preset available via [nightly channel](https://nitro.build/guide/nightly) to try.
54-
55-
> [!IMPORTANT]
56-
> This preset is not production ready and might be renamed! Please don't advice users or document to indirectly use it.
48+
In order to enable response streaming, enable `awsLambda.streaming` flag:
5749

50+
```ts [nitro.config.ts]
51+
export default defineNitroConfig({
52+
awsLambda: {
53+
streaming: true
54+
}
55+
});
56+
```

‎docs/2.deploy/20.providers/genezio.md

+2-3
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,8 @@
66

77
:read-more{title="Genezio" to="https://genezio.com"}
88

9-
> [!NOTE]
10-
> This preset available via [nightly channel](https://nitro.build/guide/nightly) to try.
11-
9+
> [!IMPORTANT]
10+
> 🚧 This preset is currently experimental.
1211
1312
## 1. Project Setup
1413

‎docs/2.deploy/20.providers/vercel.md

-3
Original file line numberDiff line numberDiff line change
@@ -148,9 +148,6 @@ To revalidate a page on demand:
148148

149149
### Fine-grained ISR config via route rules
150150

151-
> [!IMPORTANT]
152-
> Fine-grained ISR config is currently possible by using the [nightly channel](https://nitro.build/guide/nightly).
153-
154151
By default, query paramas are ignored by cache.
155152

156153
You can pass an options object to `isr` route rule to configure caching behavior.

‎docs/2.deploy/20.providers/zerops.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66

77
:read-more{title="zerops.io" to="https://zerops.io"}
88

9-
> [!NOTE]
10-
> This preset available via [nightly channel](https://nitro.build/guide/nightly) to try.
9+
> [!IMPORTANT]
10+
> 🚧 This preset is currently experimental.
1111
1212
Zerops supports deploying both static and server-side rendered apps with a simple configuration file in your project root.
1313

‎docs/3.config/0.index.md

-3
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,6 @@ Enable experimental features.
4242

4343
Enable `/_nitro/scalar`, `/_nitro/swagger` and `/_nitro/openapi.json` endpoints.
4444

45-
> [!IMPORTANT]
46-
> These endpoints are moving to `/_scalar`, `/_swagger` and `/_openapi.json` in [nightly channel](/guide/nightly) and [nitro v3](https://github.com/nitrojs/nitro/pull/2521).
47-
4845
- Default: `false`
4946

5047
You can pass an object on the root level to modify your OpenAPI specification:

0 commit comments

Comments
 (0)