v1.2.0 - Remote User Header & SDK Improvements
Highlights
This release adds support for authenticated OOREP sessions via the X-Remote-User header and fixes a critical bug where the maxResults SDK config was being ignored.
Breaking Changes
- Class Renamed:
OOREPSDKClient→OOREPClient- Update imports accordingly - Config Property Renamed:
client→httpClientinOOREPSDKConfigfor custom HTTP client injection - Method Renamed:
getClient()→getHttpClient()on SDK client for accessing underlying HTTP client - Interface Renamed:
IOOREPSDKClient→IOOREPClient
Added
OOREP_MCP_REMOTE_USERenvironment variable to sendX-Remote-Userheader (numeric member ID) on all upstream requestsremoteUserSDK config option for programmatic X-Remote-User header configurationmaxResultsSDK config option to set default maximum results for searches (default: 100, max: 500)
Fixed
- maxResults Config: SDK config
maxResultsis now correctly applied (was being ignored due to Zod schema defaults) - Documentation: Updated test count and coverage badges in README
Changed
- Test Coverage: Increased from 93% to 95% with 1100+ tests
Installation
# MCP Server
npx oorep-mcp
# SDK
npm install oorep-mcpFull Changelog
See CHANGELOG.md for complete details.