Skip to content

v1.11.0

Choose a tag to compare

@felixgeelhaar felixgeelhaar released this 10 May 18:31
· 31 commits to main since this release
5f54e1a

What's Changed

Fixes

  • schema: always emit properties for object schemas (#79). OpenAI strict tool-calling rejects object schemas that omit the properties key (object schema missing properties. (format)), which broke any tool whose handler input is struct{}. Custom MarshalJSON now forces properties ({} when empty) and writes additionalProperties: false for struct-derived schemas — making generated schemas strict-mode compatible end-to-end. Map-derived schemas stay open. Reported by a downstream consumer running OpenAI gpt-4o through OpenClaw.
  • ci: pin nox version and use curl -fsSL so a stale download URL fails fast instead of feeding HTML to tar (#80).

Internal

  • chore: extract repeated string literals to satisfy goconst; reuse protocol.Method* constants in audit middleware; reflect.Ptrreflect.Pointer (#77). No behaviour change.

New public API

  • schema.Schema.AdditionalProperties any — set per-schema; struct-derived schemas default to false (closed).
  • server.CompletionRefPrompt, server.CompletionRefResource — string constants for CompletionRef.Type values.
  • transport.JSONRPCVersion"2.0", the JSON-RPC version emitted in transport-level notifications.

Full Changelog: v1.10.1...v1.11.0

What's Changed

Full Changelog: v1.10.1...v1.11.0