Skip to content

Releases: onflow/flow-go-sdk

v0.26.2

13 Jun 23:22
86ca6ec

Choose a tag to compare

What's Changed

Full Changelog: v0.26.1...v0.26.2

v0.26.1

09 Jun 20:47
e6c9cb2

Choose a tag to compare

What's Changed

Full Changelog: v0.26.0...v0.26.1

v0.26.0

08 Jun 00:21
0b299d4

Choose a tag to compare

What's Changed

Update to Cadence v0.24.0 (Secure Cadence).

⚠️ This Cadence release contains breaking changes. For more information, see the Cadence release notes above!

Changelog

New Contributors

Full Changelog: v0.25.0...v0.26.0

Version 0.25.0

19 May 09:14
de1578d

Choose a tag to compare

⭐ 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..

⚠️ Please be careful about the deprecated changes before updating! ⚠️

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

📖 Documentation

Maintenance

  • Add new code owner for the crypto package (#284) @tarakby
  • Add new code owner (#252) @sideninja

Version 0.24.0

25 Nov 18:22
da7c112

Choose a tag to compare

🛠 Improvements

📖 Documentation

🙌 New Contributors

Full Changelog: v0.23.0...v0.24.0

Version 0.23.0

08 Oct 13:38
916cf63

Choose a tag to compare

🛠 Improvements @sideninja

  • Update to Cadence v0.19.1
  • Update to Flow Crypto v0.21.3
  • Updated third party dependencies

Version 0.22.0

20 Sep 12:20

Choose a tag to compare

🛠 Improvements

  • Add example on verifying correctness and completeness of events (#205) @m4ksio

📖 Documentation

🏠 Housekeeping

  • Add non-zero default transaction gas limit (without this some examples will fail when using emulator v0.23.0) (#211) @janezpodhostnik

Version 0.21.0

19 Jul 19:10
f0e283c

Choose a tag to compare

💥 Breaking Changes

  • Remove unused address parameter from cloudkms.Client#SignerForKey method (#196) @sideninja

🛠 Improvements

  • Update to Cadence v0.18 (#197) @turbolent
  • Validate account key weight (#199) @sideninja
  • Add ExecutionReceiptSignatures and ResultApprovalSignatures to BlockSeal (#170) @beaugunderson

🏠 Housekeeping

Version 0.20.0

19 May 22:13

Choose a tag to compare

⭐ Features

Version 0.19.0

05 May 04:42
be48985

Choose a tag to compare

🐞 Bug Fixes

🛠 Improvements

📖 Documentation