v4.0.0

SagerNet/sing-boxv4.0.0Jul 9, 2025by ravitemer

AI Summary

Migrates marketplace infrastructure to a new MCP Registry system, resulting in significant changes to data structures and API responses.

Key Highlights

  • Migrated from Cline marketplace API to MCP Registry system.
  • New server schema using `id` instead of `mcpId`.
  • Cache system overhaul with reduced TTL (1 hour) and new structure.
  • Server details now include `readmeContent` fetched directly from GitHub.

Breaking Changes

  • Marketplace API response now returns `servers` instead of `items`.
  • Server objects use new schema with `id` instead of `mcpId`.
  • Field names changed: `githubStars` → `stars`, `createdAt` → `lastCommit`.

New Features

  • Enhanced Test Coverage for new registry system
  • Network error handling and fallback mechanisms

Full Release Notes


### Breaking Changes

- **Marketplace Migration**: Migrated from Cline marketplace API to MCP Registry system
  - Marketplace API response now returns `servers` instead of `items`
  - Server objects use new schema with `id` instead of `mcpId`
  - Field names changed: `githubStars` → `stars`, `createdAt` → `lastCommit`
  - New registry endpoint: `https://ravitemer.github.io/mcp-registry/registry.json`
  - Server details now include `readmeContent` fetched directly from GitHub repositories

### Changed

- **Cache System Overhaul**: Restructured cache format for better performance
  - Cache TTL reduced from 24 hours to 1 hour for more frequent updates
  - New cache structure: `{ registry, lastFetchedAt, serverDocumentation }`
  - Better error handling and fallback mechanisms for network failures

### Added
- **Enhanced Test Coverage**: Comprehensive test suite for new registry system
  - Tests for new data structures and API responses
  - Network error handling and fallback testing
  - Documentation fetching and caching tests