Release #1225
This release focuses on deployment reliability, CLI responsiveness, and edge routing optimizations. We've overhauled the preview environment system, reduced cold-start latency by 40%, and introduced granular rollback controls. All changes are backward compatible except for the deprecation noted below.
✨ New Features
- Added
--rollback-to-commitflag to instantly revert deployments without triggering full rebuilds. - Introducing
edge-rules.yamlsupport for custom geolocation-based routing and header manipulation. - Preview environments now support concurrent branch builds with isolated resource pools.
- New
git insightsCLI command for real-time deployment analytics and error rate tracking.
⚡ Improvements
- Reduced CLI command startup time by 60% through binary optimization and lazy module loading.
- Edge cache invalidation now propagates in <500ms across all 300+ global nodes.
- Improved TypeScript type definitions for the
@git/corepackage. Breaking changes to types have been minimized. - Deployment logs now include structured JSON formatting for easier pipeline integration.
🐛 Bug Fixes
- Fixed race condition causing duplicate webhook deliveries on rapid successive pushes.
- Resolved memory leak in the background sync worker for large monorepo configurations.
- Corrected timezone parsing in scheduled deployment cron expressions (previously defaulted to UTC+0).
- Patched CSS injection vulnerability in the preview environment proxy layer.
⚠️ Deprecations
git config set experimental.cache=trueis now deprecated. Caching is enabled by default. Usecache: falsein your.gitrcto opt out.- API v1 endpoints will sunset on Dec 31, 2025. Please migrate to v2 using the migration guide.
Update CLI
$ npm install -g @git/cli@1.22.5
$ git upgrade --check-integrity
$ git upgrade --check-integrity