Releases: onflow/flow-go-sdk
v0.41.0
What's Changed
🛠 Improvements
- Update to Cadence v0.39.1 by @turbolent in #398
Other Changes
- Update CODEOWNERS by @nvdtf in #387
- replace docs with links by @nialexsan in #388
New Contributors
- @nvdtf made their first contribution in #387
- @nialexsan made their first contribution in #388
Full Changelog: v0.40.0...v0.41.0
v0.40.0
v0.39.0
What's Changed
🛠 Improvements
- Dependabot for updating dependencies by @sideninja in #339
Other Changes
- Auto update to onflow/cadence v0.38.0 by @SupunS in #367
- Bump github.com/aws/aws-sdk-go-v2/config from 1.18.10 to 1.18.19 by @dependabot in #366
- Bump google.golang.org/protobuf from 1.28.1 to 1.30.0 by @dependabot in #365
- Bump github.com/stretchr/testify from 1.8.1 to 1.8.2 by @dependabot in #364
- Bump google.golang.org/api from 0.70.0 to 0.114.0 by @dependabot in #363
- Bump actions/setup-go from 1 to 4 by @dependabot in #361
- Bump actions/checkout from 2 to 3 by @dependabot in #360
- Bump codecov/codecov-action from 1 to 3 by @dependabot in #359
Full Changelog: v0.38.0...v0.39.0
v0.38.0
🛠 Improvements
- Added status to block type @bluesign in #357
- Bump github.com/ethereum/go-ethereum from 1.9.13 to 1.10.22 by @dependabot in #351
📖 Documentation
- Update error-codes.mdx by @bthaile in #356
- Update CODEOWNERS by @justinbarry in #358
New Contributors
Full Changelog: v0.37.0...v0.38.0
v0.37.0
What's Changed
- Update to Cadence v0.37.0 by @turbolent in #355
Other Changes
- Add workflow to add issues to devex project by @justinbarry in #354
New Contributors
- @justinbarry made their first contribution in #354
Full Changelog: v0.36.0...v0.37.0
v0.36.0
💥 Breaking Changes
Update Crypto version
The Flow Go-SDK crypto package is based on the github.com/onflow/flow-go/crypto package. In particular, ECDSA key generation (the keys supported by Flow accounts) is a wrapper around the flow-go/crypto key generation. The underlying package used to implement a very simple deterministic key generation for ECDSA that maps any input seed to a private key using a simple modular reduction.
This requires the seed to not only have enough entropy, but to also have its entropy uniformly distributed across all the bits. This is true for a seed that is sampled using a secure RNG. To be safer with low-quality input seeds, the Flow-Go-SDK/crypto used to hash the input seeds to guarantee uniform distribution before invoking flow-go/crypto.
The flow-go/crypto package recently updated its key generation process to a more robust one that requires less constraints from the input seed (onflow/flow-go#3788). The entropy is now extracted from the input seed and then expanded into the required data thanks to a Key derivation Function (KDF). This change means that the flow-go-sdk/crypto no longer needs to implement the safety hashing and can simply invoke the more secure generation from flow-go/crypto. Although the key generation process is still deterministic, the new process maps seeds to different private keys than it used to in the previous version.
If you would like to preserve the private keys you used to find with the previous SDK version, it is always possible to use the method Encode
on your private keys. This is an alternative way to storing the seeds. Encode
is already implemented in the previous versions and returns a serialization of the private key. Calling DecodePrivateKey
on the serialization gets you back to the original key, regardless of the SDK version used.
Remember that dealing with seeds or private keys of sensitive assets requires using a safe environment like a secure hardware. flow-go-sdk is a pure software implementation that should not be used for sensitive keys.
Full Changelog: v0.35.0...v0.36.0
v0.35.0
What's Changed
- Auto update to onflow/cadence v0.36.0 by @dsainati1 in #352
Full Changelog: v0.34.0...v0.35.0
v0.34.0
What's Changed
⭐ Features
- Add AWS KMS support by @yenteh-genies in #340
🛠 Improvements
- Update Cadence to v0.35.0 by @turbolent in #348
📖 Documentation
- Add error codes doc and flow-docs json file by @bthaile in #344
- Update error-codes.mdx by @bthaile in #349
- Update error-codes.mdx by @bthaile in #350
New Contributors
- @yenteh-genies made their first contribution in #340
Full Changelog: v0.33.0...v0.34.0
v0.33.0
What's Changed
🛠 Improvements
- Create and fund account by @sideninja in #346
Other Changes
- Bump golang.org/x/net from 0.1.0 to 0.7.0 by @dependabot in #345
New Contributors
- @dependabot made their first contribution in #345
Full Changelog: v0.32.0...v0.33.0
v0.32.0
What's Changed
📖 Documentation
- Fix wrong import by @omatvejev in #342
Other Changes
New Contributors
- @omatvejev made their first contribution in #342
Full Changelog: v0.31.3...v0.32.0