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

## Executive Summary (TL;DR)
LiteLLM v1.59.5 introduces Deepseek r1 support, adds `deepseek/deepseek-reasoner` to the model cost map, and enhances Langfuse logging with better tag handling. The release includes performance improvements, dependency updates, and bug fixes without any documented breaking changes.

## New Features
- Deepseek r1 support via new provider integration
- Added `provider_specific_header` parameter for custom authentication headers
- Added `deepseek/deepseek-reasoner` to model cost map

## Improvements
- Langfuse integration refactored to remove `prepare_metadata` and leverage Python SDK's native non-JSON serializable object handling
- E2E testing added for Langfuse logging with tags
- Proxy fallback handling tested with custom fallback messages
- Docker image updated with latest changes

## Bug Fixes
- Fixed custom logger callback timing in utils.py to execute on success event
- Bumped undici dependency from 6.21.0 to 6.21.1 for security/stability

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