Skip to content

Commit 437fdcc

Browse files
committed
Updated package v4.20
1 parent b8e4bdc commit 437fdcc

File tree

5 files changed

+354
-171
lines changed

5 files changed

+354
-171
lines changed

CHANGELOG.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,33 @@
22

33
All notable changes to LocalLab will be documented in this file.
44

5+
## 0.4.20 - 2025-03-12
6+
7+
### Fixed
8+
9+
- Enhanced server compatibility with different versions of uvicorn
10+
- Improved lifespan initialization with comprehensive fallback mechanisms
11+
- Fixed server startup issues with newer versions of uvicorn (0.34.0+)
12+
- Added robust error handling for lifespan initialization
13+
- Implemented multiple initialization strategies for different uvicorn versions
14+
- Improved logging during server startup to better diagnose initialization issues
15+
- Enhanced server stability with proper error recovery during startup
16+
- Fixed "Using NoopLifespan" warning by properly initializing lifespan components
17+
- Ensured compatibility with both older and newer versions of uvicorn
18+
- Improved server reliability in various Python environments
19+
20+
## 0.4.19 - 2025-03-11
21+
22+
### Fixed
23+
24+
- Fixed critical issue with SimpleTCPServer not properly handling API requests
25+
- Implemented proper ASGI server in SimpleTCPServer for handling API requests
26+
- Added support for uvicorn's H11Protocol for better request handling
27+
- Improved fallback server implementation with proper HTTP request parsing
28+
- Enhanced API documentation to show correct URLs based on environment
29+
- Fixed API examples to show local URL or ngrok URL based on configuration
30+
- Ensured server works correctly in both local and Google Colab environments
31+
532
## 0.4.18 - 2025-03-11
633

734
### Fixed

locallab/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
LocalLab - A lightweight AI inference server for running LLMs locally
33
"""
44

5-
__version__ = "0.4.18"
5+
__version__ = "0.4.20"
66

77
# Only import what's necessary initially, lazy-load the rest
88
from .logger import get_logger

0 commit comments

Comments
 (0)