Version 0.25.0
⭐ Features
HTTP API Implementation
The HTTP API implementation gives you the power to choose between gRPC and HTTP communication methods, and because they both implement the same Client interface the switch is seamless. Please be mindful of the deprecation of the client package, although you can still use deprecated APIs they will be removed in the future. We have prepared a migration guide which you can find here..
Usage of the new client:
// common client interface
var flowClient client.Client
// initialize an http emulator client
flowClient, err := http.NewDefaultEmulatorClient(false)
// initialize a gPRC emulator client
flowClient, err = grpc.NewDefaultEmulatorClient()Direct usage of the client exposes more APIs that are only available for that specific client:
// initialize http specific client
httpClient, err := http.NewHTTPClient(http.EMULATOR_URL)
// initialize grpc specific client
grpcClient, err := grpc.NewGRPCClient(
grpc.EMULATOR_URL,
grpcOpts.WithTransportCredentials(insecure.NewCredentials()),
)Add updated account proof encoding function
The new EncodeAccountProofMessagefunction creates a new account proof message for singing. The encoded message returned does not include the user domain tag. (#264) @bfbachmann
🛠 Improvements
- Fix CloudKMS signer is not threadsafe (#261) @judezhu
- Export CloudKMS functions and add method for accessing KeyManagementClient (#242) @nanuuki
- Remove block signatures (#268) @sideninja
- Extract Cadence templates (#255) @sideninja
- General crypto updates (#266) @tarakby
- Code coverage GitHub Action (#269) @sideninja
- Fix adding account key (#277) @sideninja
- Add block ID in transaction result (#275) @rrrkren
- Implement signature field on Block struct (#251) @HarleyAppleChoi
- Add account proof helpers (#244) @bfbachmann
🐞 Bug Fixes
- Bugfix: bug in example script (#243) @sideninja
- Fix storage used example (#248) @janezpodhostnik
📖 Documentation
- Update broken link (#263) @sideninja
- Don't include year range in licence (#259) @sideninja
- Update index.mdx (#241) @10thfloor
- Correct key weight document (#239) @kerrywei