Skip to content

Commit 4d6be23

Browse files
committed
chore: release v0.1.2 - fix critical migration issue
## Release v0.1.2 This release fixes a critical database migration bug that could prevent successful deployments. ### Highlights • Fixed litellm_key_alias backfill migration to skip inactive keys • Prevents circuit breaker failures during migration • Ensures reliable database migrations in production ### What's Changed #### Bug Fixes • Fixed: Database migration now skips inactive API keys to prevent 404 errors from LiteLLM • Fixed: Circuit breaker no longer opens during backfill operations due to inactive keys ### Technical Details - 2 commits since last release - 1 file changed (backend/src/lib/database-migrations.ts) - Contributors: Guillaume Moutier ### Upgrade Notes No special upgrade steps required. This is a backward-compatible bug fix. --- See CHANGELOG.md for complete details. --- Signed-off-by: Guillaume Moutier <[email protected]> Co-authored-by: Claude
1 parent cf28203 commit 4d6be23

File tree

4 files changed

+23
-3
lines changed

4 files changed

+23
-3
lines changed

CHANGELOG.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,26 @@ All notable changes to this project are documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [0.1.2] - 2025-10-17
9+
10+
This patch release fixes a critical database migration issue that could prevent successful deployments.
11+
12+
### Fixed
13+
14+
- **Database Migration Resilience**: Fixed `litellm_key_alias` backfill migration to skip inactive API keys
15+
- Migration now filters for `is_active = true` to avoid processing inactive/revoked keys
16+
- Prevents 404 errors from LiteLLM when trying to fetch details for deleted keys
17+
- Eliminates circuit breaker opening after 5 consecutive failures
18+
- Ensures active keys are successfully processed during backfill operations
19+
- Added explanatory comment about skipping inactive keys
20+
21+
### Contributors
22+
23+
- Guillaume Moutier
24+
- Co-authored-by: Claude (AI pair programming assistant)
25+
26+
---
27+
828
## [0.1.1] - 2025-10-17
929

1030
This patch release improves test reliability, server startup performance, and handles edge cases in database migrations.

deployment/openshift/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ The deployment uses a **template-based configuration system**:
3232
```
3333

3434
2. **Edit `user-values.env`** and customize the following **required values**:
35-
- `LITEMAAS_VERSION` - LiteMaaS version to deploy (e.g., `0.1.0`)
35+
- `LITEMAAS_VERSION` - LiteMaaS version to deploy (e.g., `0.1.2`)
3636
- `CLUSTER_DOMAIN_NAME` - Your OpenShift cluster domain (e.g., `apps.cluster.example.com`)
3737
- `NAMESPACE` - Namespace/project name (e.g., `litemaas`)
3838
- `PG_ADMIN_PASSWORD` - Secure PostgreSQL password (generate with `openssl rand -base64 32`)

deployment/openshift/user-values.env.example

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
LITEMAAS_VERSION=0.1.0
1+
LITEMAAS_VERSION=0.1.2
22
CLUSTER_DOMAIN_NAME=your-cluster-domain
33
NAMESPACE=your-namespace
44
PG_ADMIN_PASSWORD=change-me-pg-password

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "litemaas",
3-
"version": "0.1.1",
3+
"version": "0.1.2",
44
"description": "LiteLLM User Application - Model subscription and management platform",
55
"private": true,
66
"workspaces": [

0 commit comments

Comments
 (0)