Upgrading from 1.0¶
1.1 reads and verifies journals written by 1.0, but changes some behaviour on purpose:
resume()of an unknown run raisesUnknownRun; reusing a run id with another flow raisesFlowMismatch, or with different inputsRunExists. If you renamed a flow function, pass@flow(name="old_name").- Flows are strict: replay that no longer matches the journal stops with
ReplayDivergencebefore running anything new. Usectx.patched(), orstrict=Falseto restore 1.0 behaviour. - With keys configured,
load()refuses unsigned entries. If you added keys to an existing unsigned journal, passrequire_signed=Falseuntil those runs are gone. Journal.append()requires a run's first entry to bestart;delete()removes the whole continue-as-new chain and raisesRunLockedwhile the run executes.- Unregistered Enums now raise instead of coming back as plain values: register them.
- The secret filter is narrower (
session_id,token_budgetetc. are allowed now). - Upgrade every worker that shares a journal at once: 1.0 can't read entries written by 1.1.