Version: dev

Versions and migration

The format and library version constants, and migrating a document written for an older version of the format.

OperationKindBindingsSummary
can_migratefunctionJulia, TypeScript, Python, Rust, GoWhether migrate would succeed for this version pair — i.e. whether to_version is among supported_migration_targets``(from_version).
migratefunctionJulia, TypeScript, Python, Rust, GoMigrate file from the version it declares to target_version.
reject_expression_templates_pre_v04functionJulia, TypeScript, Python, GoReject expression_templates blocks and apply_expression_template ops in files declaring esm < 0.4.0.
reject_solver_pre_v11functionJulia, TypeScript, Python, Rust, GoReject a top-level solver block in a file declaring esm < 1.1.0.
reject_template_imports_pre_v08functionJulia, TypeScript, Python, Rust, Goexpression_template_imports, top-level expression_templates (template-library files), and metaparameters arrive at esm: 0.8.0; files declaring an earlier version that…
supported_migration_targetsfunctionJulia, TypeScript, Python, Rust, GoThe schema versions source_version can be migrated to.
migration_errorerrorJulia, TypeScript, Python, Rust, GoThrown when migrate is asked for a version pair it does not support — including every pair that crosses the 1.0.0 clean break.
library_versionconstantJulia, TypeScript, Python, Rust, GoThis package’s OWN version, read from its Project.toml — NOT the .esm format version, which is SCHEMA_VERSION.
schema_versionconstantJulia, TypeScript, Python, Rust, GoThe .esm FORMAT version (semver string) this implementation targets — the value written into the esm field of freshly constructed files.

All topics