Cairo-lang

Latest version: v0.13.3

Safety actively analyzes 723158 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 6 of 11

0.11.0pre2

**Starknet**:
* Initial support of Cairo1.0 contracts:
* New declare transaction version for declaring Cairo1.0 contracts
* Changes to on-chain data format. Include the Cairo1.0 declared classes and changes to the class hash of a given contract instance. See more information [here](https://github.com/starkware-libs/cairo-lang/blob/v0.11.0-pre/src/starkware/starknet/core/os/state.cairo)
* Support for Poseidon hash (only in Cairo0 contracts)

**Cairo**:
* New builtins:
* Poseidon hash function (efficient, STARK-friendly hash function)
* Keccak hash function (currently, the keccak builtin cannot be used in Starknet)

0.11.0pre

**Starknet**:
* Initial support of Cairo1.0 contracts:
* New declare transaction version for declaring Cairo1.0 contracts
* Only a few syscalls are currently supported.
* Changes to on-chain data format. Include the Cairo1.0 declared classes and changes to the class hash of a given contract instance. See more information [here](https://github.com/starkware-libs/cairo-lang/blob/v0.11.0-pre/src/starkware/starknet/core/os/state.cairo)
* Support for Poseidon hash

**Cairo**:
* New builtins:
* Poseidon hash function (efficient, STARK-friendly hash function)
* Keccak hash function (currently, the keccak builtin cannot be used in Starknet)

0.10.3

**StarkNet**:
* Performance - Separate the state commitment computation from the execution of the transactions
* Add `starknet-class-hash` command to compute the class hash of a compiled StarkNet contract

**Cairo**:
* Autoformatter: Automatically break lines inside expressions

0.10.3pre

**StarkNet**:
* Performance - Separate the state commitment computation from the execution of the transactions
* Add `starknet-class-hash` command to compute the class hash of a compiled StarkNet contract

**Cairo**:
* Autoformatter: Automatically break lines inside expressions

0.10.2

**StarkNet**:
* Sequencing performance improvements
* Builtin ratio changes, which affects builtin costs
* Add `estimate_fee_bulk` API that computes the fee of multiple transactions that will be executed consecutively

0.10.2pre

**StarkNet**:
* Sequencing performance improvements
* Builtin ratio changes, which affects builtin costs
* Add `estimate_fee_bulk` API that computes the fee of multiple transactions that will be executed consecutively

Page 6 of 11

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.