v1.11.0
What's Changed
Fixes
- schema: always emit
propertiesfor object schemas (#79). OpenAI strict tool-calling rejects object schemas that omit thepropertieskey (object schema missing properties. (format)), which broke any tool whose handler input isstruct{}. CustomMarshalJSONnow forcesproperties({}when empty) and writesadditionalProperties: falsefor 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
noxversion and usecurl -fsSLso a stale download URL fails fast instead of feeding HTML totar(#80).
Internal
- chore: extract repeated string literals to satisfy
goconst; reuseprotocol.Method*constants in audit middleware;reflect.Ptr→reflect.Pointer(#77). No behaviour change.
New public API
schema.Schema.AdditionalProperties any— set per-schema; struct-derived schemas default tofalse(closed).server.CompletionRefPrompt,server.CompletionRefResource— string constants forCompletionRef.Typevalues.transport.JSONRPCVersion—"2.0", the JSON-RPC version emitted in transport-level notifications.
Full Changelog: v1.10.1...v1.11.0
What's Changed
- deps(website): bump astro v5 → v6.3.1 by @felixgeelhaar in #76
- chore: extract repeated string literals to satisfy goconst by @felixgeelhaar in #77
- fix(schema): always emit properties for object schemas (OpenAI strict mode) by @felixgeelhaar in #79
- fix(ci): pin nox version and fail fast on download error by @felixgeelhaar in #80
Full Changelog: v1.10.1...v1.11.0