---
id: 20260418-T0-07
title: "Vercel保留活动分支的部署，不再删除最新预览部署"
title_en: "Vercel Preserves Active Branch Deployments Under Retention Policies"
url: https://ai.daily.yangsir.net/daily/20260418-T0-07
issue_date: 2026-04-18
publish_date: 2026-04-17T07:00:00.000Z
category: release
source_name: "Vercel Blog"
source_url: https://vercel.com/changelog/deployment-retention-policies-now-preserve-active-branch-deployments
---

# Vercel保留活动分支的部署，不再删除最新预览部署

Vercel更新部署保留策略，现在会保留有未合并PR的活动分支的最新预览部署。此前，这些分支如果超过配置的保留时间窗口，部署会被删除。这意味着用户可以安全地设置更短的保留时间，而不用担心意外丢失正在使用的预览版本。更新后，开发者可以更灵活地管理部署资源，同时确保分支测试环境的持续可用。

## English Version

**Vercel Preserves Active Branch Deployments Under Retention Policies**

Vercel updated its retention policies to preserve the latest preview deployments for branches with open or unmerged pull requests. Previously, deployments could be removed if they exceeded the configured retention window, even for active branches. This change allows developers to safely use shorter retention periods without risking the loss of in-use preview environments, offering more flexibility in managing deployment resources.

---

**来源**：[Vercel Blog](https://vercel.com/changelog/deployment-retention-policies-now-preserve-active-branch-deployments)

**详情页**：https://ai.daily.yangsir.net/daily/20260418-T0-07

---

*智语观潮 · Daily — https://ai.daily.yangsir.net/llms.txt*