Upgrading
Move a RubyLLM AG-UI application to the next release, one release at a time.
After reading this guide, you will know:
- How to move between versioned releases.
- Where to find changes that need code updates.
Move from 0.3 to 0.4
Update your Gemfile and dependency:
gem 'ruby_llm-ag_ui', '~> 0.4.0'
bundle update ruby_llm-ag_ui
This release keeps JSON 2.x and the 0.3 store revision contract. It needs no additional SQL migration. Drain old workers before replacing their code.
Remove assignments to config.allow_client_history. The unused setting is
removed, including its diagnostic key. The gem never imports client messages
into the host chat; reconcile history in your host application.
config.protocol_version remains "1.0". Assigning any other value now raises
ConfigurationError instead of accepting a setting the emitted events ignore.
Nested request and JSON record values are now read-only. In-place edits raise
FrozenError. Build a new input, or use record transitions and store.save,
instead of mutating ids, snapshots, failure hashes, or interrupt values.
Caller-owned JSON objects remain mutable and do not alias the stored record.
Older Releases
Read the 0.3 upgrading guide for JSON 2.x, worker draining, and the custom-store revision contract.