Module Service Protocol Changelog

 

MSP Changelog: v1 → v2

MSP v2 is a backward-compatible update designed to significantly reduce developer friction.

The Core Change: output Schema Removed

The mandatory output schema for actions has been removed. This increases flexibility and reduces boilerplate.

Before (v1)

{
  "name": "getUser",
  "input": { "type": "object", "properties": {"id": {"type": "string"}} },
  "output": { 
    "type": "object", 
    "properties": {
      "name": {"type": "string"},
      "email": {"type": "string"} 
    }
  }
}

After (v2)

{
  "name": "getUser",
  "input": { "type": "object", "properties": {"id": {"type": "string"}} }
}

Key Changes

  • REMOVED: The output schema is no longer required for actions.
  • ADDED: csvEndpoints for retrieving bulk data.
  • ADDED: Formal specification for X-SynthGrid-* request headers.
  • UNCHANGED: Full backward compatibility. v1 modules work without any changes.

Developer Actions

  • New Modules: Use protocolVersion: 2 and omit the output field.
  • Existing v1 Modules: No action is required.