Releases: onflow/flow-emulator
Version 0.27.1
🐞 Bug Fixes
Embedding Storefront Contract (#102) @sideninja
Version 0.27.0
⬆️ 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
💥 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
🛠 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
🛠 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
💥 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
- Expose storage parameters as flags (#65) @janezpodhostnik
📖 Documentation
v0.22.0
v0.21.0
💥 Breaking Changes
- Upgrade to Cadence v0.18.0, which includes the following breaking changes:
v0.20.3
- Update
flow-goversion tov0.18.0andcadenceversion tov0.17.0(#56) @jordanschalm
v0.20.2
🛠 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
- Update to Cadence v0.16.1 and Flow Go v0.17.4 (#55) @turbolent