Skip to content

Releases: starknet-io/starknet-devnet

v0.4.4

26 Sep 12:12

Choose a tag to compare

This is a backport of the configurable class size limit feature implemented in #862. It is available as the following CLI parameters:

  • --maximum-contract-class-size <BYTES>
  • --maximum-contract-bytecode-size <FELTS>
  • --maximum-sierra-length <FELTS>

The latest version at the time of releasing this version is v0.6.0, but it does not include this feature.

Full Changelog: v0.4.3...v0.4.4

v0.6.0

23 Sep 10:03
b4460c7

Choose a tag to compare

Usage related changes

API changes

  • BREAKING: Remove non-RPC logic by @3alpha in #842
    • After a long period of deprecation of non-RPC API
    • The only remaining non-RPC API is the liveness probe: /is_alive
    • All Devnet-specific functionalities are now only available as JSON-RPC methods (e.g. POST /mint is no longer possible, only a JSON-RPC request with "method": "devnet_mint")
  • Support general JSON-RPC API via websockets by @FabijanC in #844
  • Improve RPC request deserialisation error messaging by @3alpha in #851

Other usage related changes

  • Devnet Docker images reduced in size and using more secure base images by @Abeeujah in #843
  • Fix docs on setting gas prices by @FabijanC in #854

Development related changes

Full Changelog: v0.5.1...v0.6.0

v0.5.1

08 Sep 15:16
e7ae78e

Choose a tag to compare

Usage related changes

  • Use INVOKE as type for deployment transactions via UDC by @FabijanC in #835
  • Subscription improvements by @FabijanC in #838
    • Fix missing properties in starknet_subscriptionNewTransactionReceipts
    • starknet_subscriptionNewTransactionReceipts and starknet_subscriptionNewTransactions no longer sent as notifications for transactions older than subscription itself.

Development related changes

  • Better test state isolation between origin and forked devnet by @Abeeujah in #825
  • Minor subscription refactoring and testing improvement by @FabijanC in #838
  • Remove unused and minimize used JSON artifacts; remove ancient doc entries by @FabijanC in #836
  • Release v0.5.1 by @FabijanC in #840

New Contributors

Full Changelog: v0.5.0...v0.5.1

v0.5.0

21 Aug 14:47
c5f8e9e

Choose a tag to compare

What's Changed since v0.5.0-rc.4

  • Expand websocket API to support JSON-RPC 0.9.0 by @FabijanC in #830
    • Remove starknet_subscribePendingTransactions
    • Add starknet_subscribeNewTransactions, starknet_subscribeNewTransactionReceipts
    • Expand starknet_subscribeEvents
    • Websocket API still not offering general JSON-RPC support, only subscriptions
  • Bugfix: excessive properties in response of starknet_getBlockWithReceipts by @FabijanC in #832
  • Release 0.5.0 by @FabijanC in #833

Full Changelog: v0.5.0-rc.4...v0.5.0

v0.5.0-rc.4

25 Jul 14:59
4798b6d

Choose a tag to compare

v0.5.0-rc.4 Pre-release
Pre-release

All changes are relative to v0.5.0-rc.3.

Usage related changes

  • Remove non-RPC logic from docs in #822
  • Complete adaptation to JSON-RPC 0.9.0-rc.2 in #819 and #821
  • Fix forking (getEvents) in #821

Development related changes

  • Remove non-RPC logic from tests in #822
  • Reduced dependence on starknet-rs in #819
  • Pre-release 0.5.0-rc.4 in #823

Full Changelog: v0.5.0-rc.3...v0.5.0-rc.4

v0.5.0-rc.3

22 Jul 15:00
a985727

Choose a tag to compare

v0.5.0-rc.3 Pre-release
Pre-release

All changes are relative to v0.5.0-rc.2.

What's Changed

  • Breaking: Modify block abortion by @FabijanC in #814
    • On block abortion, the block and its transactions are now removed from Devnet's memory (unlike previous marking as REJECTED).
  • Predeploy UDC 2 by @FabijanC in #816
    • At address: 0x02ceed65a4bd731034c01113685c831b01c15d7d432f71afb1cf1634b53a2125
    • The new UDC serves both deploy_contract and deployContract entrypoints.
    • Keep old UDC for backwards compatibility.

Usage related changes

Full Changelog: v0.5.0-rc.2...v0.5.0-rc.3

v0.5.0-rc.2

18 Jul 16:15
0747e22

Choose a tag to compare

v0.5.0-rc.2 Pre-release
Pre-release

All changes are relative to v0.5.0-rc.1.

Usage related changes

  • Fix invalid transaction nonce error.
  • Expose default Devnet port in Dockerfile by @tabaktoni in #812
    • Improved UX in Docker GUI: prompt for port entry
  • Support simulation of ACCEPTED_ON_L1 by @FabijanC in #810
    • new RPC method: devnet_acceptOnL1
      • Accepts a block ID and marks as ACCEPTED_ON_L1 all of its ancestors not yet having that mark.
      • Returns hashes of marked blocks.
    • Does not actually perform L1 actions.
    • Check the docs for more info.

Development related changes

  • Merged #802
    • The previous two 0.5.0 release candidates were from the branch of this PR
  • Use starknet-rs 0.17.0-rc.1
    • All tests passing
  • Test case: set time when pre-confirmed txs by @FabijanC in #806
  • Replace remaining occurrences of pending with pre-confirmed by @FabijanC in #811
  • Release 0.5.0-rc.2 by @FabijanC in #813

New Contributors

Full Changelog: v0.5.0-rc.1...v0.5.0-rc.2

v0.5.0-rc.1

07 Jul 09:21

Choose a tag to compare

v0.5.0-rc.1 Pre-release
Pre-release
  • This is a pre-release supporting Starknet 0.14 and JSON-RPC API 0.9.0-rc.1

Changes since v0.5.0-rc.0

  • This pre-release is available on crates.io
    • blockifier no longer a git dependency
  • Bugfix in fee estimation
  • Full Changelog: v0.5.0-rc.0...v0.5.0-rc.1

v0.5.0-rc.0

04 Jul 09:51

Choose a tag to compare

v0.5.0-rc.0 Pre-release
Pre-release
  • This is a pre-release intended to support Starknet 0.14 and JSON-RPC API 0.9.0-rc.1
  • A more detailed documentation of changes, both usage- and development-related, is available in #802.
  • As with v0.4.3, this release is not available on crates.io due to git dependencies (blockifier and starknet-api).
  • Stable version (non-rc) to be released when starknet-rs is adapted and complete testing unblocked.
  • Full Changelog: v0.4.3...v0.5.0-rc.0

v0.4.3

26 Jun 12:14
e08301f

Choose a tag to compare

Usage related changes

  • This version does not include a crates.io release.
    • All other modes of Devnet installation/update are available, as described in the docs.
    • Future stable releases (non-rc versions) should again be available on crates.io.
  • Fix total supply in ERC20 by @FabijanC in #797
  • Change STRK and ETH ERC20 implementation by @FabijanC in #799
    • Using the same contract classes as the Sepolia testnet
    • Fix minting
    • This improvement led to slowdown described in #804
      • Should be addressed in the next version
  • Update to Starknet 0.13.6 by @FabijanC in #800
    • JSON-RPC API supported: v0.8.1

Development related changes

  • Fix dead link in foundry.toml by @davidjsonn in #794
  • Release 0.4.3 by @FabijanC in #803
  • Update RELEASE.md and bug report template
  • Temporarily suppress publishing to crates.io due to git dependency (blockifier)

New Contributors

Full Changelog: v0.4.2...v0.4.3