Expand description
Migrations: a document of an older version rewritten into the current version’s shape.
Each step takes a document of one version to the next, working on its JSON before any type
reads it, since the older version’s types are gone. A document is taken through every step from
its own version to VERSION, then read as a document of the current version,
so everything the current reader checks, it still checks (ADR-112).
| from | to | what changes |
|---|---|---|
| 0.1 | 0.2 | attachments, the source file’s other files, is renamed source_files, leaving “attachment” to mean a file carried beside the design in a .hprz; a .ork source’s airframe_not_as_written, which 0.1 didn’t record, is worked out from the configurations, or set to UNKNOWN when they don’t show it |
Constants§
- OLDEST
- The oldest version this reader migrates from.
- UNKNOWN
- The reason a 0.1 document migrates with when none of its configurations shows whether its
.orkairframe was read exactly as written.
Functions§
- migrates_
from - Whether this reader migrates a document of
versionto the current one.