cairo-vm breaking changes
cairo-vm 4.0.0 (November 26, 2026) is its newest release with breaking changes, 20 of them. The first: Removed cairo_vm::hint_processor::cairo_1_hint_processor. Every breaking API change we have recorded in cairo-vm on crates.io: 20 breaking changes in 1 version. Below, its one version with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 4.0.0, released November 26, 2026. Source repository
Packages on crates.io run on Rust. Rust end of life dates.
cairo-vm 4.0.0 breaking changes
- Removed
cairo_vm::hint_processor::cairo_1_hint_processor
cairo_vm::hint_processor::cairo_1_hint_processor was removed in cairo-vm 4.0.0 crates.io - Removed
cairo_vm::types::program::HintsCollection::get_hint_range_for_pc
cairo_vm::types::program::HintsCollection::get_hint_range_for_pc was removed in cairo-vm 4.0.0 crates.io - Removed
cairo_vm::vm::errors::runner_errors::RunnerError::DynamicLayoutLogDilutedUnitsPerStepOverflow
cairo_vm::vm::errors::runner_errors::RunnerError::DynamicLayoutLogDilutedUnitsPerStepOverflow was removed in cairo-vm 4.0.0 crates.io - Removed
cairo_vm::vm::errors::runner_errors::RunnerError::MissingDynamicLayoutParams
cairo_vm::vm::errors::runner_errors::RunnerError::MissingDynamicLayoutParams was removed in cairo-vm 4.0.0 crates.io - Removed
cairo_vm::vm::runners::cairo_runner::CairoRunner::new_v2
cairo_vm::vm::runners::cairo_runner::CairoRunner::new_v2 was removed in cairo-vm 4.0.0 crates.io - Renamed
cairo_vm::cairo_run::CairoRunConfig
Use cairo_vm::cairo_run::Cairo0RunConfig instead. crates.io - Signature changed
cairo_vm::cairo_run::cairo_run
Was fn cairo_run(program_content: &[u8], cairo_run_config: &CairoRunConfig, hint_processor: &mut dyn HintProcessor) -> Result<CairoRunner, CairoRunError>; now fn cairo_run(program_content: &[u8], cairo_run_config: &Cairo0RunConfig... crates.io - Signature changed
cairo_vm::cairo_run::cairo_run_fuzzed_program
Was fn cairo_run_fuzzed_program(program: Program, cairo_run_config: &CairoRunConfig, hint_processor: &mut dyn HintProcessor, steps_limit: usize) -> Result<CairoRunner, CairoRunError>; now fn cairo_run_fuzzed_program(program: Program... crates.io - Signature changed
cairo_vm::cairo_run::cairo_run_pie
Was fn cairo_run_pie(pie: &CairoPie, cairo_run_config: &CairoRunConfig, hint_processor: &mut dyn HintProcessor) -> Result<CairoRunner, CairoRunError>; now fn cairo_run_pie(pie: &CairoPie, cairo_run_config: &Cairo0RunConfig, hint_processor... crates.io - Signature changed
cairo_vm::cairo_run::cairo_run_program
Was fn cairo_run_program(program: &Program, cairo_run_config: &CairoRunConfig, hint_processor: &mut dyn HintProcessor) -> Result<CairoRunner, CairoRunError>; now fn cairo_run_program(program: &Program, cairo_run_config: &Cairo0RunConfig... crates.io - Signature changed
cairo_vm::cairo_run::cairo_run_program_with_initial_scope
Was fn cairo_run_program_with_initial_scope(program: &Program, cairo_run_config: &CairoRunConfig, hint_processor: &mut dyn HintProcessor, exec_scopes: ExecutionScopes) -> Result<CairoRunner, CairoRunError>; now fn... crates.io - Signature changed
cairo_vm::types::program::HintRange
Was type HintRange = (usize, NonZeroUsize); now type HintRange = Option<(usize, NonZeroUsize)>. crates.io - Signature changed
cairo_vm::types::program::HintsCollection::hints_ranges
Was hints_ranges: HashMap<Relocatable, HintRange>; now hints_ranges: Vec<HintRange>. crates.io - Signature changed
cairo_vm::vm::runners::cairo_runner::CairoRunner::get_extended_execution_resources
Was fn get_extended_execution_resources(&self) -> &HashMap<ExtendedExecutionResourceType, u32>; now fn get_extended_execution_resources(&self) -> &HashMap<ExtendedExecutionResourceType, usize>. crates.io - Signature changed
cairo_vm::vm::runners::cairo_runner::CairoRunner::new
Was fn new(program: &Program, layout: LayoutName, dynamic_layout_params: Option<CairoLayoutParams>, proof_mode: bool, trace_enabled: bool, disable_trace_padding: bool) -> Result<CairoRunner, RunnerError>; now fn new(program: &Program... crates.io - Signature changed
cairo_vm::vm::runners::cairo_runner::CairoRunner::run_from_entrypoint
Was fn run_from_entrypoint(&mut self, entrypoint: usize, args: &[&CairoArg], verify_secure: bool, program_segment_size: Option<usize>, hint_processor: &mut dyn HintProcessor) -> Result<(), CairoRunError>; now fn run_from_entrypoint(&mut... crates.io - Signature changed
cairo_vm::vm::vm_core::VirtualMachine::add_relocation_rule
Was fn add_relocation_rule(&mut self, src_ptr: Relocatable, #[cfg(not(feature = "extensive_hints"))] dst_ptr: Relocatable, #[cfg(feature = "extensive_hints")] dst_ptr: MaybeRelocatable) -> Result<(), MemoryError>; now fn... crates.io - Signature changed
cairo_vm::vm::vm_core::VirtualMachine::new
Was fn new(trace_enabled: bool, disable_trace_padding: bool) -> VirtualMachine; now fn new(config: &VirtualMachineConfig) -> VirtualMachine. crates.io - Signature changed
cairo_vm::vm::vm_core::VirtualMachine::step
Was fn step(&mut self, hint_processor: &mut dyn HintProcessor, exec_scopes: &mut ExecutionScopes, #[cfg(feature = "extensive_hints")] hint_datas: &mut Vec<Box<dyn Any>>, #[cfg(not(feature = "extensive_hints"))] hint_datas: &[Box<dyn Any>]... crates.io - Signature changed
cairo_vm::vm::vm_core::VirtualMachine::step_hint
Was fn step_hint(&mut self, hint_processor: &mut dyn HintProcessor, exec_scopes: &mut ExecutionScopes, hint_datas: &[Box<dyn Any>]) -> Result<(), VirtualMachineError> fn step_hint(&mut self, hint_processor: &mut dyn HintProcessor... crates.io
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.