You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+22Lines changed: 22 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -26,6 +26,28 @@ ScalVer offers the best of both worlds:
26
26
27
27
For more information about ScalVer, visit [scalver.org](https://scalver.org).
28
28
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
+
29
51
## 0.1.4 - Vercel AI Gateway & 2025 Model Updates
30
52
31
53
**Status**: Development Status :: 5 - Production/Stable
0 commit comments