Skip to content

Releases: onflow/flow-emulator

Version 0.27.1

09 Dec 15:45
576ad5a

Choose a tag to compare

🐞 Bug Fixes

Embedding Storefront Contract (#102) @sideninja

Version 0.27.0

09 Dec 12:23
a3a5118

Choose a tag to compare

⬆️ Install or Upgrade

Follow the Flow CLI installation guide for instructions on how to install or upgrade the CLI.

⭐ Features

Snapshot Management

Implemented by the community FLIP Fest: (#92) @bluesign 🙌
The new snapshot feature exposes a new emulator management HTTP API allowing you to commit a new block on demand and save and restore from a snapshot. Committing a new block is possible by calling endpoint GET /emulator/newBlock whereas saving or restoring from a state is possible with a call to GET /emulator/snapshot/{name} - in case there is no existing state by that name it will create a new one or if there is an existing state it will restore to that moment in the blockchain.

Predeployed Contracts

Implemented by the community FLIP Fest: (#88) @mwufi 🙌
The emulator can be started with even more pre-deployed contracts. Use the --contracts flag and FUSD, NonFungibleToken, ExampleNFT, NFTStorefront will be deployed for you. If there are more contracts you wish to add to this list please feel free to create a PR on the emulator repository.

Dev Wallet Integration

Implemented by the community FLIP Fest: (#90) @bluesign 🙌
The emulator is featuring dev wallet integration. You can easily start dev wallet by starting the emulator with --dev-wallet flag and even specify a port on which the dev wallet will be listening with a --dev-wallet-port flag. This way you have a more complete set of features already integrated in your dev environment.

🛠 Improvements

Test Improvements

Tests were improved and can now run in parallel enabling quicker execution. (#101) @turbolent

Version 0.26.0

26 Nov 09:11
3da55fa

Choose a tag to compare

💥 Breaking Changes

Updated Dependencies

  • Update to Cadence v0.20.1, Flow Go 1ee2fc2dd5d9 (#97) @turbolent
  • Update to Flow Go SDK v0.24.0

Version 0.25.0

09 Nov 19:45
b7cb138

Choose a tag to compare

🛠 Improvements

Debug Failed Signatures
The emulator detects and reports wrong hashing algorithms used during the signing. When a transaction is rejected it outputs the structure of the transaction submitted if using verbose logging. (#79) @sideninja

🐞 Bug Fixes

Fixed Issue With Sequence Numbers
Increments sequence number on transaction failure. The sequence number on the proposal key wasn't increased in case of failed transactions since the view wasn't merged and stored. This PR introduces a test for that case and fixes the problem. (#82) @sideninja

Version 0.24.0

08 Oct 13:55
25e6ae5

Choose a tag to compare

🛠 Improvements

Updated dependencies

(#89) @sideninja
Dependencies were updated:

  • flow go updated to v0.22.9
  • flow sdk update to v0.23.0
  • flow crypto updated to v0.21.3
  • third party dependency updates

JSON log output

(#77) @sideninja
It's now possible to set logging output as JSON by using the --log-format JSON flag.

Get an account at block height

(#75) @sideninja
Implemented API for getting an account at specified block height, you can use it by calling getAccountAtBlockHeight.

Gas Used

(#87) @avcdsld
Gas used is now being reported as a property on the transaction.

Housekeeping

Added code coverage reporting as part of the CI (#76) @sideninja

🐞 Bug Fixes

Revoked key bugfix

(#73) @sideninja
Revoked keys were reported as un-revoked in the emulator response and this has now been fixed.

Version 0.23.0

15 Sep 14:31
eab5a0e

Choose a tag to compare

💥 Breaking Changes

  • Flow Go was updated to version 0.21.3 which now requires the gas limit to be a non-zero value (#78 #80) @janezpodhostnik @sideninja

⭐ Features

📖 Documentation

  • Documentation and readme improvements with all the flags documented (#69 #71) @sideninja

v0.22.0

24 Jun 21:50
3aa70ca

Choose a tag to compare

v0.21.0

17 Jun 16:36

Choose a tag to compare

💥 Breaking Changes

v0.20.3

10 Jun 01:20
d8669b4

Choose a tag to compare

  • Update flow-go version to v0.18.0 and cadence version to v0.17.0 (#56) @jordanschalm

v0.20.2

27 May 19:09

Choose a tag to compare

🛠 Improvements

  • Update to Cadence v0.16.1 and Flow Go v0.17.4 (#55) @turbolent
  • Return error if script fails (#54) @sideninja

🧪 Tests

  • Add tests for infinite loops in scripts and transactions (#50) @turbolent

🐞 Bug Fixes