Skip to content

Commit

Permalink
docs(config): add compatibilityDate option (#2941)
Browse files Browse the repository at this point in the history
Co-authored-by: Pooya Parsa <[email protected]>
  • Loading branch information
gxres042 and pi0 authored Dec 19, 2024
1 parent c9f99e1 commit cb5b36d
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions docs/3.config/0.index.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,14 @@ Server runtime configuration.

**Note:**: `nitro` namespace is reserved.

### `compatibilityDate`

Deployment providers introduce new features that Nitro presets can leverage, but some of them need to be explicitly opted into.

Set it to latest tested date in `YY-MM-DD` format to leverage latest preset features.

If this configuration is not provided, Nitro will continue using the current (v2.9) behavior for presets and show a warning.

## Features

### `experimental`
Expand Down

0 comments on commit cb5b36d

Please sign in to comment.