NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Go modules, #2670 by repository stars
Latest stable
v1.10.8
Last release 13 days ago
09 Nov 2026
Release timing varies
gaps range from 8 days to 2 months
Nearly every release is documented
notes for 60 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
7 years old
8051 releases · first in 2020
Drag across the ruler to compare, or tap a release to open it.
<!-- Release notes generated using configuration in .github/release.yml at v1.0.0-preview.25 -->
<!-- Release notes generated using configuration in .github/release.yml at v1.0.0-preview.25 -->
Full Changelog: https://github.com/onflow/cadence/compare/v1.0.0-preview.24...v1.0.0-preview.25
Nothing published for this version
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
<!-- Release notes generated using configuration in .github/release.yml at v1.0.0-preview.24 -->
<!-- Release notes generated using configuration in .github/release.yml at v1.0.0-preview.24 -->
The API of the Go package cadence improved. These changes only impact users of the Go API of Cadence. These changes had no impact on the language itself or programs written in Cadence.
It is no longer possible to access composite fields (cadence.Composite types, like cadence.Struct, cadence.Resource, etc) by index. The Fields field got unexported.
<details> <summary>Details:</summary>
If multiple field values are needed from the composite value,
use cadence.FieldsMappedByName, which returns a map[string]cadence.Value.
For example:
const fooTypeSomeIntFieldName = "someInt"
const fooTypeSomeStringFieldName = "someString"
// decodeFooEvent decodes the Cadence event:
//
// event Foo(someInt: Int, someString: String)
//
// It returns an error if the event does not have the expected fields.
func decodeFooEvent(event cadence.Event) (someInt cadence.Int, someString cadence.String, err error) {
fields := cadence.FieldsMappedByName(event)
var ok bool
someIntField := fields[fooTypeSomeIntFieldName]
someInt, ok = someIntField.(cadence.Int)
if !ok {
return cadence.Int{}, "", fmt.Errorf("wrong field type: expected Int, got %T", someInt)
}
someStringField := fields[fooTypeSomeStringFieldName]
someString, ok = someStringField.(cadence.String)
if !ok {
return cadence.Int{}, "", fmt.Errorf("wrong field type: expected String, got %T", someString)
}
return someInt, someString, nil
}
If only a single field value is needed from the composite,
use cadence.SearchFieldByName. As the name indicates, the function performs a linear search over all fields of the composite. Prefer FieldsMappedByName over repeated calls to SearchFieldByName.
For example:
const fooTypeSomeIntFieldName = "someInt"
// fooEventSomeIntField gets the value of the someInt field of the Cadence event:
//
// event Foo(someInt: Int)
//
// It returns an error if the event does not have the expected field.
func fooEventSomeIntField(event cadence.Event) (cadence.Int, error) {
someIntField := cadence.SearchFieldByName(event, fooTypeSomeIntFieldName)
someInt, ok := someIntField.(cadence.Int)
if !ok {
return cadence.Int{}, fmt.Errorf("wrong field type: expected Int, got %T", someInt)
}
return someInt, nil
}
</details>
cadence.GetFieldByName got renamed to cadence.SearchFieldByName to make it clear that the function performs a linear search
cadence.GetFieldsMappedByName got renamed to cadence.FieldsMappedByName, to better follow common Go style / naming guides, e.g. https://google.github.io/styleguide/go/decisions#getters
The convenience method ToGoValue of cadence.Value, which converts a cadence.Value into a Go value (if possible), got removed. Likewise, the convenience function cadence.NewValue, which constructs a new cadence.Value from the given Go value (if possible), got removed.
<details> <summary>Details:</summary>
ToGoValue of cadence.Struct returned a Go slice, but some developers might assume and want a Go map; and ToGoValue of cadence.Dictionary returned a Go map, but did not account for the case where dictionary keys in Cadence might be types that are invalid in Go maps.ToGoValue is any, developers using the method need to cast to some expected Go type, and hope the returned value is what they expect.ToGoValue, like in https://github.com/onflow/cadence/pull/2531, would have silently broken programs using the function, as the different return value would have no longer matched the developer’s expected type.cadence package, developers can still perform the conversion that the ToGoValue methods performed. A future version of Cadence might re-introduce well-defined and strongly-typed conversion functions, that are also consistent with similar conversion functions in other languages (e.g. JavaScript SDK / FCL).</details>
release/v1.0.0-preview.23 to master by @github-actions in https://github.com/onflow/cadence/pull/3289Full Changelog: https://github.com/onflow/cadence/compare/v1.0.0-preview.23...v1.0.0-preview.24
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
<!-- Release notes generated using configuration in .github/release.yml at v1.0.0-preview.23 -->
<!-- Release notes generated using configuration in .github/release.yml at v1.0.0-preview.23 -->
release/v1.0.0-preview.22 to master by @github-actions in https://github.com/onflow/cadence/pull/3279Full Changelog: https://github.com/onflow/cadence/compare/v1.0.0-preview.22...v1.0.0-preview.23
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
<!-- Release notes generated using configuration in .github/release.yml at v1.0.0-preview.22 -->
<!-- Release notes generated using configuration in .github/release.yml at v1.0.0-preview.22 -->
release/v1.0.0-preview.21 to master by @github-actions in https://github.com/onflow/cadence/pull/3269Full Changelog: https://github.com/onflow/cadence/compare/v1.0.0-preview.21...v1.0.0-preview.22
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
One column per quarter.