# SGLang v0.2.13 - Release & Upgrade Intelligence
- **Product:** SGLang (https://sgl-project.ai)
- **Version:** v0.2.13
- **Released:** Sep 19, 2024
- **Impact Score:** 8/10
- **Breaking Changes:** Not verified
- **Canonical Analysis:** https://changelogs.us/sglang/updates/v0.2.13/

## Executive Summary (TL;DR)
SGLang v0.2.13 introduces support for window attention in Gemma-2, enables chunked-prefill by default, and adds an OpenAI-compatible embedding API. These updates significantly enhance model compatibility and inference performance for large-scale deployments.

## New Features
- Window attention support for Gemma-2
- Support for e5-mistral embedding model
- Comprehensive OpenAI-compatible embedding API
- New sampling penalties (frequency, presence, repetition, min_new_tokens)
- Support for jinja chat template files

## Improvements
- Chunked-prefill enabled by default
- 2x end-to-end performance improvement for Deepseek v2 via accelerated MLA (Multi-head Latent Attention)
- Integrated FlashInfer kernels for rmsnorm and silu operations
- Comprehensive CI testing suite including accuracy, MoE, and high-pressure E2E tests

## Bug Fixes
- Fixed chunked-prefill logic and CUDA graph compatibility issues
- Resolved bug in `get_new_prefill_batch` and jump forward final state path
- Addressed issues with regex in vision API and parallel sampling prompt length

## Upgrade Command
```bash
python -m pip install 'sglang==0.2.13'
```
