Skip to content

Releases: onflow/flow-go-sdk

Version 0.16.1

10 Mar 00:10
Compare
Choose a tag to compare

🛠 Improvements

Version 0.16.0

01 Mar 21:42
Compare
Choose a tag to compare

🛠 Improvements

🐞 Bug Fixes

Version 0.15.0

22 Feb 22:12
Compare
Choose a tag to compare

⭐ Features

🛠 Improvements

📖 Documentation

v0.14.3

03 Feb 00:21
Compare
Choose a tag to compare

🛠 Improvements

📝 Documentation & Maintenance

v0.14.1

03 Feb 00:19
Compare
Choose a tag to compare

⭐ Features

🛠 Improvements

📝 Documentation & Maintenance

🐛 Bug Fixes

  • Fix the decoding of Flow type IDs by importing Cadence's type ID decoder (#136) @turbolent

v0.12.3

12 Jan 21:49
Compare
Choose a tag to compare

🛠 Improvements

v0.14.0

08 Jan 22:05
Compare
Choose a tag to compare

🛠 Improvements

🐛 Bug Fixes

Version 0.13.1

12 Dec 00:13
Compare
Choose a tag to compare
Emulator v0.10.0 (CLI v0.9.0) Emulator v0.12.0 (CLI v0.11.0) Devnet 17 Mainnet 3

🛠 Improvements

📝 Documentation & Maintenance

Version 0.12.2

30 Nov 06:00
Compare
Choose a tag to compare

Network Compatibility

Emulator v0.10.0 (CLI v0.9.0) Emulator v0.12.0 (CLI v0.11.0) Testnet Mainnet

💥 Breaking Changes

Multiple contracts per account (#106)

By @janezpodhostnik

The Flow protocol now supports multiple contracts per account. This SDK has been updated with additional functionality to create and manage multiple contracts on the same account.

  • The flow.Account struct now contains a Contracts field that maps contractName => contractSource (map[string][]byte). Code is preserved for backwards compatibility.
  • The templates.CreateAccount function has changed to accept a list of contracts rather than a single code parameter. This list allows multiple contracts to be deployed upon account creation.
  • templates.UpdateAccountContract function replaces templates.UpdateAccountCode. This function updates a single contract by name.
  • The templates.AddAccountContract function was added, allowing a contract to be deployed to an existing account.

Reduce transaction template size

By @janezpodhostnik

Byte array values ([UInt8]) used in Cadence templates (CreateAccount, UpdateAccountContract, AddAccountContract) are now typed as String and passed as hexadecimal strings. This was done to reduce the size of the accompanying transaction argument values; hexadecimal strings are much more compact in JSON-CDC than array literals.

This is a breaking change because it alters the deterministic template formats, on which some applications may depend.

⭐ Enhancements

  • Example and documentation cleanup (#108, #109) @qq976739120

Version 0.11.0

30 Nov 05:33
Compare
Choose a tag to compare

Network Compatibility

Emulator v0.10.0 (CLI v0.9.0) Emulator v0.12.0 (CLI v0.11) Testnet Mainnet

💥 Breaking Changes

⭐ Enhancements