This release includes 1 breaking change for platform teams planning a safe upgrade.
✓ No known CVEs patched in this version
Topics
+8 more
Affected surfaces
Summary
AI summaryServer now exits at startup with a clear error when required API keys are missing.
Full changelog
v0.8.9 — Centralized API key validation
Centralize startup validation for required API keys. Server exits with a clear error when keys are missing instead of failing later on tool calls.
Configuration
- env_validation — New module with provider-aware checks: `require_embedding_api_key()`, `require_llm_api_key()`, `require_api_keys_for_server()`. Validates based on `PINRAG_EMBEDDING_PROVIDER` and `PINRAG_LLM_PROVIDER`.
- Startup behavior — All entrypoints (CLI, MCP server, scripts) now exit at startup if required keys are missing. Default config needs both `OPENAI_API_KEY` (embeddings) and `ANTHROPIC_API_KEY` (LLM).
- Docs — README updated to document startup validation and required keys.
Breaking Changes
- Server exits immediately at startup if required API keys (OPENAI_API_KEY for embeddings, ANTHROPIC_API_KEY for LLM) are missing, instead of failing later during tool calls.
Weekly OSS security release digest.
The CVE patches and breaking changes that affected production tools this week. One email, every Sunday.
No spam, unsubscribe anytime.
Share this release
About ndjordjevic/pinrag
RAG for PDFs, YouTube, GitHub repos, Discord exports; index documents and query with citations.
Related context
Beta — feedback welcome: [email protected]