# 🚀 CodeBuddy Code v2.37.1 Release

## 🔧 Improvements

### Authentication API Enhancement

Added `unstable_v2_logout()` API to support clearing cached authentication tokens, allowing you to easily switch users or environments. Additionally, `authenticate()` now automatically detects existing valid authentication, avoiding redundant logins and improving user experience.

### Checkpoint Hook

Added experimental `unstable_Checkpoint` Hook that triggers automatically after file modifications. This Hook provides file snapshots and change statistics, facilitating file change history tracking and automated auditing, offering more powerful support for code quality management.

### Session API Hooks Support

V2 Session API now supports configuring Hooks, enabling interception and control of tool execution within sessions. This allows you to customize session behavior more flexibly and achieve finer-grained execution control.
