Version 0.10.0
SDK Compatibility
| Flow Go SDK v0.6.0 | Flow Go SDK v0.7.0 | Flow Go SDK v0.7.1 | Flow Go SDK v0.8.0 | Flow Go SDK v0.9.0 |
|---|---|---|---|---|
| ❌ | ✅ | ✅ | ✅ | ✅ |
🛠 Improvements
Adjust service key configuration logic
Previously it was difficult to determine how the service key flags were being parsed and applied to the emulator configuration. This release updates the logic to be more explicit.
- If either
service-priv-keyorservice-pub-keyis passed, theservice-sig-algoandservice-hash-algoflags must also be set. - If neither
service-priv-keyorservice-pub-keyis passed, a new key is generated using the algorithms specified byservice-sig-algoandservice-hash-algo.
Remove hardcoded flags from Docker image
Previously the Docker image specified the following CMD entrypoint:
CMD ["emulator", "start", "--init", "--persist"]
This forced the Docker image to always use persistent storage. The --persist flag was removed to allow the user to specify persistence via an environment variable (FLOW_PERSIST=true), and --init was removed because it no longer has any effect now that the emulator is decoupled from the Flow CLI.