Releases: onflow/flow-go-sdk
v0.26.5
🛠 Improvements
- Update to Cadence 5a06fec82b4a by @turbolent in #304
- Add BlockHeight to TransactionResult by @emilic in #308
New Contributors
Full Changelog: v0.26.4...v0.26.5
v0.26.4
🛠 Improvements
- Upgrade cadence to v0.24.6 by @sukantoraymond in #303
- Update call-refresh-doc.yml by @codingone21 in #289
- Cadence encoding workaround by @sideninja in #292
- Fix EventAccountKeyAdded by @seita-uc in #301
- Fix toTransactionResult to include blockID by @seita-uc in #296
- Fix access http post error response by @seita-uc in #299
- Allow Cadence Unstructured Static Types by @sideninja in #305
New Contributors
- @sukantoraymond made their first contribution in #303
- @seita-uc made their first contribution in #301
Full Changelog: v0.26.3...v0.26.4
v0.26.3
What's Changed
- Update to Cadence v0.24.4, allow passing JSON options by @turbolent in #297
Full Changelog: v0.26.2...v0.26.3
v0.26.2
v0.26.1
v0.26.0
What's Changed
Update to Cadence v0.24.0 (Secure Cadence).
Changelog
- Update to Cadence v0.24 (Secure Cadence) by @janezpodhostnik in #278
- Update Cadence changes to memory metering by @dsainati1 in #265
- Add github actions for getting diff & calling refresh by @codingone21 in #288
New Contributors
- @dsainati1 made their first contribution in #265
- @codingone21 made their first contribution in #288
Full Changelog: v0.25.0...v0.26.0
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 EncodeAccountProofMessage
function 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
Maintenance
- Add new code owner for the crypto package (#284) @tarakby
- Add new code owner (#252) @sideninja
Version 0.24.0
🛠 Improvements
- Update to Cadence v0.20.1 (#238) @turbolent
📖 Documentation
- Remove broken links (#235) @sideninja
- Update reference to use
self.guest
correctly (#234) @fee1-dead - Fix documentation title (#229) @sideninja
- Adds missing closing tags (#227) @10thfloor
- Adds missing closing tag (#226) @10thfloor
- Update docs.md (#222) @srinjoyc
- Documentation Updates (#218) @sideninja
- correct Flow emulator link in README (#217) @kerrywei
- fix dead link (#216) @mjudeikis
- Message signing and verification examples (#214) @janezpodhostnik
🙌 New Contributors
Full Changelog: v0.23.0...v0.24.0
Version 0.23.0
🛠 Improvements @sideninja
- Update to Cadence v0.19.1
- Update to Flow Crypto v0.21.3
- Updated third party dependencies
Version 0.22.0
🛠 Improvements
📖 Documentation
- Docs updates (#208) @sideninja
- Update Generating Keys - deadlink (#209) @kimcodeashian
🏠 Housekeeping
- Add non-zero default transaction gas limit (without this some examples will fail when using emulator v0.23.0) (#211) @janezpodhostnik