From cb5b36d64313ed7d8f6e842dacd849ac6f006c01 Mon Sep 17 00:00:00 2001 From: Restent Ou Date: Fri, 20 Dec 2024 05:48:59 +0800 Subject: [PATCH] docs(config): add `compatibilityDate` option (#2941) Co-authored-by: Pooya Parsa --- docs/3.config/0.index.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docs/3.config/0.index.md b/docs/3.config/0.index.md index 544ba33141..929f772ab7 100644 --- a/docs/3.config/0.index.md +++ b/docs/3.config/0.index.md @@ -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`