# LiteLLM v1.59.6 - Release & Upgrade Intelligence
- **Product:** LiteLLM (https://litellm.ai)
- **Version:** v1.59.6
- **Released:** Jan 24, 2025
- **Impact Score:** 6/10
- **Breaking Changes:** Not verified
- **Canonical Analysis:** https://changelogs.us/litellm/updates/v1.59.6/

## Executive Summary (TL;DR)
LiteLLM v1.59.6 adds `attempted-retries` and `timeout` values to response headers, new Prometheus budget metrics, and guardrail configuration for virtual keys and teams via API and UI. Admin users can also view spend logs without storing messages or responses.

## New Features
- Added `attempted-retries` and `timeout` values to response headers
- Emitted Prometheus metrics `litellm_team_budget_reset_at_metric` and `litellm_api_key_budget_remaining_hours_metric`
- Allowed Admin UI users to view spend logs even when not storing messages or responses
- Allowed setting or editing guardrails on a virtual key via the UI
- Allowed setting guardrails on a team via the API
- Added guardrails to Team Create and Edit pages in the UI

## Improvements
- Refactored Prometheus end-to-end tests
- Added unit tests for team and virtual key budget checks

## Bug Fixes
- Fixed GCS payload truncation so payloads are no longer truncated

## Upgrade Command
```bash
python -m pip install 'litellm==1.59.6'
```
