Skip to content

Commit 916291b

Browse files
committed
docs: expand changelog for async reliability
1 parent 32105f2 commit 916291b

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

CHANGELOG.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,28 @@ ScalVer offers the best of both worlds:
2626

2727
For more information about ScalVer, visit [scalver.org](https://scalver.org).
2828

29+
### Async Reliability
30+
31+
- Replaced manual event loop creation with `utils.run_async`, letting synchronous APIs safely reuse running loops in notebooks and web frameworks.
32+
- Added Jupyter-aware fallbacks (`nest_asyncio`) and clearer guidance when sync methods are invoked from async contexts.
33+
- Published `utils.maybe_await` to normalize sync/async callables across helpers.
34+
35+
### Input Validation Guardrails
36+
37+
- Introduced `onellm.validators` to enforce safe ranges for temperature, token limits, penalties, stop sequences, and related parameters.
38+
- Added provider-aware model validation so invalid OpenAI, Anthropic, Mistral, and other model names fail fast with actionable messages.
39+
40+
### Secure File Handling & Streaming
41+
42+
- Hardened `File.upload`/`File.aupload` by sanitizing filenames, enforcing extension and MIME allowlists, and streaming-safe size limits for files, bytes, and file-like objects.
43+
- Propagated validated filenames through every provider while closing directory traversal, TOCTOU, and race-condition gaps surfaced in review.
44+
- Stabilized Amazon Bedrock streaming with aligned async usage, higher timeouts, and queue handling fixes.
45+
46+
### Testing & Security Evidence
47+
48+
- Added dedicated unit and integration coverage for async helper behavior, file validation, and provider upload regressions.
49+
- Captured proactive security scan results and remediation reports documenting the hardening work.
50+
2951
## 0.1.4 - Vercel AI Gateway & 2025 Model Updates
3052

3153
**Status**: Development Status :: 5 - Production/Stable

0 commit comments

Comments
 (0)