Migration guides
One guide per upgrade, newest first. Each has before and after code for every change.
- v3 → v4 — A clean break: a 3.x program does not compile against 4.0. Every old name has a new shape; the guide shows the before and after for each.
- v2.6 → v2.7 — The
messageandallowedFlowsturn parameters, providerclientinjection, the exportedrestoreSession, and the behaviour changes: a 400-message history bound, finalize before persist, soft-failing tools, session load failures that throw. - v2.3 → v2.4 — Concurrency safety: optimistic session locking with
SessionConflictError, a normalizedProviderError, requiredAiProvider.capabilities,unknowngeneric defaults. - v1 → v2 — Route → Flow, one
Instructiontype, oneTooltype, oneDirectivetype, with rename tables and per-adapter schema migrations.