Releases: onflow/flow-go-sdk
Releases · onflow/flow-go-sdk
Version 0.16.1
Version 0.16.0
🛠 Improvements
- Strip
0x
prefix inflow.HexToAddress
(#156) @bjartek - Run CI for PRs (#159) @turbolent
- Refresh signer index (#161) @Kay-Zee
🐞 Bug Fixes
- Fix incorrect transaction signature ordering (#162) @psiemens
- Fix HexToString (#158) @turbolent
Version 0.15.0
⭐ Features
- Added seals to
BlockPayload
(#147) @beaugunderson - Added client method for getting latest protocol state snapshot (#144) @jordanschalm
- Added template to remove contract from an account (#152) @bjartek
🛠 Improvements
- Updated to Cadence v0.13.0 (#155) @turbolent (Cadence v0.13.0 Release Notes)
- Deleted internal crypto package (#118) @tarakby
📖 Documentation
- Added FLOW token transfer example (#146) @psiemens
- Updated examples to work with transaction fees (#139) @janezpodhostnik
- Split SDK examples into separate documents (#142) @10thfloor
- Fixed outdated information in
docs/creating-accounts.mdx
(#145) @yihau
v0.14.3
🛠 Improvements
- Update to Cadence v0.12.6 (#143) @turbolent
📝 Documentation & Maintenance
- Synchronize labels from YAML file (#137) @psiemens
- Add docs folder. (#140) @10thfloor
v0.14.1
⭐ Features
🛠 Improvements
📝 Documentation & Maintenance
- Storage fees and account minimum balance example (#135) @janezpodhostnik
🐛 Bug Fixes
- Fix the decoding of Flow type IDs by importing Cadence's type ID decoder (#136) @turbolent
v0.12.3
🛠 Improvements
- Update to Cadence v0.10.5 (#132) @turbolent
v0.14.0
🛠 Improvements
- Update to Cadence v0.12.1 (#131) @turbolent
(also, see the release notes for Cadence v0.12)
🐛 Bug Fixes
Version 0.13.1
Emulator v0.10.0 (CLI v0.9.0) | Emulator v0.12.0 (CLI v0.11.0) | Devnet 17 | Mainnet 3 |
---|---|---|---|
❌ | ✅ | ✅ | ✅ |
🛠 Improvements
crypto/cloudkms
: Add options parameter to KMS client constructor (#114) @10thfloorclient
: Add call options parameter to all Access API gRPC client functions (#126) @psiemens- Update to Cadence v0.11.2 (#122) @turbolent
📝 Documentation & Maintenance
Version 0.12.2
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)
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 aContracts
field that mapscontractName => 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 singlecode
parameter. This list allows multiple contracts to be deployed upon account creation. templates.UpdateAccountContract
function replacestemplates.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
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
Version 0.11.0
Network Compatibility
Emulator v0.10.0 (CLI v0.9.0) | Emulator v0.12.0 (CLI v0.11) | Testnet | Mainnet |
---|---|---|---|
✅ | ❌ | ❌ | ✅ |
💥 Breaking Changes
⭐ Enhancements
- Add
crypto/cloudkms
for Google Cloud KMS transaction signing support (#96, #105) @psiemens @Kay-Zee - Add block timestamp field to
client.BlockEvents
response returned byGetEventsInHeightRange
(#100) @janezpodhostnik - Add
Revoked
flag toflow.AccountKey
(#101) @psiemens - Add
crypto.DecodePublicKeyPEM
function (#96) @psiemens