Repository navigation
v0.5.1 corrects what v0.5.0 says about itself. Deprecated names keep working through 0.5.x and now say they are removed in v0.6.0, the book pages that described the removed Python VM now describe the Rust VM, and a new guide covers migrating from 0.4 to 0.5. No API, bytecode, VM behaviour or CLI flag changes.
Highlights
- Migrating from 0.4 to 0.5 lists each breaking change in 0.5.0 as old to new: the Python VM and its types, the typed
xqffimodel API,xqcpdomains, the solver classes, registry and metadata, customSolversubclasses, and the verifier and step-metering changes. - The Running page now describes
xquad.vm.VM:XqmxSamplerefuses an out-of-domain value,run()raisesTypeErrorfor an unsupported calldata element, and an out-of-domainSETLINEorADDLINEfaults withSampleOutOfDomain. - The Running page and the
xqffiREADME name the faults the model types raise:InvalidAllocationandIndexOutOfBounds, where they saidValueErrorandIndexError. The energy page namesXqmxModel.energy.
Behaviour changes
- Deprecation warnings that named v0.5.0, the
mode=warning, and the stderr line of the old CLI commands now say v0.6.0. A test that matches the old text needs updating.
Deprecations
Nothing is newly deprecated. Each of these still works, and each is removed in v0.6.0:
- The flat Quip names on
xqsaandxquad.sa: use the same names onxqsa.quiporxquad.sa.quip. - The
xqsa.quip_codec,quip_signing,quip_metadata,quip_faucetandquip_networksmodules: usexqsa.quip.codec,.signing,.metadata,.faucetand.networks. xquad asm,dism,runandverify: usexquad vm asm,dis,runandcheck.QuipUnconfirmedErrorand theunconfirmedorder state: replaced byQuipSubmitIncompleteErrorandsending.xqsa.quip.signing.SIGNED_EXTENSIONS: the order comes from the runtime metadata.SolverQuip.quote,status,queryandmode=, and the other entries in the book's Deprecated APIs table, which names the replacement where one exists.
Packages
| Registry | Packages |
|---|---|
| crates.io | xqvm · xqasm |
| PyPI | xquad · xqsa · xqcp · xqffi |
pip install xquad==0.5.1Documentation: developers.quip.network/docs/xquad
Full changelog (4 changes)
Documentation
- book: Add the migration guide from 0.4 to 0.5
- Describe the one-VM tree and name v0.6.0 for deprecations
Fixed
- xquad: Say the old top-level commands are removed in v0.6.0
- xqsa: Say the deprecated Quip names are removed in v0.6.0
Full diff: v0.5.0...v0.5.1