Skip to content

v1.2.0 - Remote User Header & SDK Improvements

Choose a tag to compare

@Dhi13man Dhi13man released this 13 Dec 07:35
· 26 commits to master since this release
eb96a36

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: OOREPSDKClientOOREPClient - Update imports accordingly
  • Config Property Renamed: clienthttpClient in OOREPSDKConfig for custom HTTP client injection
  • Method Renamed: getClient()getHttpClient() on SDK client for accessing underlying HTTP client
  • Interface Renamed: IOOREPSDKClientIOOREPClient

Added

  • OOREP_MCP_REMOTE_USER environment variable to send X-Remote-User header (numeric member ID) on all upstream requests
  • remoteUser SDK config option for programmatic X-Remote-User header configuration
  • maxResults SDK config option to set default maximum results for searches (default: 100, max: 500)

Fixed

  • maxResults Config: SDK config maxResults is 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-mcp

Full Changelog

See CHANGELOG.md for complete details.