@vercel/fs-detectors@6.11.0
Breaking Changes📦 vercel-cliView on GitHub →
⚠ 2 breaking✨ 4 features🐛 3 fixes🔧 5 symbols
Summary
This release migrates service auto-detection to the V2 format and significantly refines container detection logic, removing support for implicit OCI image reference entrypoints.
⚠️ Breaking Changes
- The prebuilt OCI image reference entrypoint has been removed. An `entrypoint` must now explicitly name a Dockerfile or Containerfile; otherwise, the service will error.
- If `runtime: "container"` is specified without an `entrypoint`, it will now only auto-detect the blessed Dockerfile names (`Dockerfile`, `Containerfile`, `Dockerfile.vercel`, or `Containerfile.vercel`) in the service root. Specifying a suffixed name like `Dockerfile.prod` will no longer be inferred as a container entrypoint.
Migration Steps
- If you were relying on the prebuilt OCI image reference entrypoint when using `runtime: "container"`, you must now explicitly set an `entrypoint` pointing to a recognized Dockerfile name.
- If you were using suffixed Dockerfile names (e.g., `Dockerfile.prod`) as entrypoints without explicitly setting `entrypoint`, you must now explicitly configure the entrypoint.
✨ New Features
- Service auto-detection has been migrated to the V2 format.
- Layout auto-detect now resolves via the V2 resolver, generating top-level service-targeted rewrites and per-service path transform routes.
- CLI build and dev server now merge auto-detected rewrites into the route table.
- The `container` framework preset is no longer experimental; projects using `Dockerfile.vercel` or `Containerfile.vercel` markers are now detected as containers without requiring `VERCEL_USE_EXPERIMENTAL_FRAMEWORKS`.
🐛 Bug Fixes
- Refined container detection logic for `services` and `experimentalServicesV2`.
- Container detection now correctly prioritizes `.vercel` suffixed Dockerfiles/Containerfiles over plain ones when auto-detecting the entrypoint.
- Ensured `@vercel/container` honors the configured Dockerfile entrypoint instead of defaulting to `Dockerfile` or misinterpreting it as a prebuilt image reference.