Releases: linode/linodego
Releases · linode/linodego
v2.0.0
linodego v2
linodego v2 is the next major version of the Go client for the Linode API. This release removes long-standing compatibility shims, adopts a Go major-version module path, and modernizes the client internals by replacing the Resty-based transport layer with a net/http implementation.
Full migration guide: https://github.com/linode/linodego/blob/main/docs/linode_v2_migration_guide.md
Highlights
- Go module import path updated to /v2
- NewClient now returns (Client, error)
- Client internals migrated from Resty to net/http
- Older preview/temporary V2 compatibility APIs consolidated back into the original non-V2 names
- Firewall APIs cleaned up with endpoint-specific rule models
- Object Storage APIs standardized around regions instead of clusters
- Bucket access APIs now use the newer access shape directly
- Region capability constants are now strongly typed
- Many request/update APIs now use typed options structs
- Legacy aliases and compatibility types removed
Breaking changes at a glance
- Update imports to:
- github.com/linode/linodego/v2
- github.com/linode/linodego/v2/k8s
- Handle errors from NewClient
- Replace removed deprecated APIs and aliases
- Replace removed preview/temporary V2 compatibility APIs with the original non-V2 names
- Update firewall code to the new endpoint-specific rule types
- Update Object Storage code to region-based APIs
- Update any code that depended on Resty request/response hooks
- Expect some request/response type cleanup, including stronger typing and less pointer-heavy models
Other Changes
🚀 New Features
- Support NodeBalancer lke_cluster field by @jbilskiAkam in #933
- add locks field to various resources by @zliang-akamai in #942
- Updating Go sdk to include group_by at dashboard level by @mawasthy-lgtm in #979
🧪 Testing Improvements
- Upgrade test image linode/alpine3.19 to new version and regenerate fixture files by @psnoch-akamai in #952
⚙️ Repo/CI Improvements
- Add
AGENTS.mdby @zliang-akamai in #981
📖 Documentation
- add migration guide for linodego v2 by @zliang-akamai in #984
📦 Dependency Updates
- build(deps): bump actions/dependency-review-action from 4 to 5 by @dependabot[bot] in #962
- build(deps): bump golang.org/x/net from 0.54.0 to 0.55.0 by @dependabot[bot] in #977
- build(deps): bump k8s.io/client-go from 0.29.4 to 0.35.5 by @dependabot[bot] in #965
New Contributors
- @jbilskiAkam made their first contribution in #933
- @mawasthy-lgtm made their first contribution in #979
Full Changelog: v1.69.1...v2.0.0
v1.69.1
What's Changed
💡 Improvements
📦 Dependency Updates
- build(deps): bump golang.org/x/net from 0.53.0 to 0.54.0 by @dependabot[bot] in #960
Full Changelog: v1.69.0...v1.69.1
v1.69.0
What's Changed
📋 New Project
- Add support for Expand Create Linodes Options and Password-less Linodes by @ezilber-akamai in #956
🚀 New Features
- Add OBJ global quota and usage by @zliang-akamai in #899
- Integration tests for IAM volumes io_ready by @mawilk90 in #934
📖 Documentation
- Remove notes about interface availability from account settings and instance definitions by @zliang-akamai in #935
📦 Dependency Updates
- build(deps): bump gopkg.in/ini.v1 from 1.67.1 to 1.67.2 (with linter alert fixes) by @dependabot[bot] in #948
Full Changelog: v1.68.0...v1.69.0
v1.68.0
What's Changed
🚀 New Features
💡 Improvements
📦 Dependency Updates
- build(deps): bump golang.org/x/net from 0.52.0 to 0.53.0 by @dependabot[bot] in #930
- build(deps): bump actions/github-script from 8 to 9 by @dependabot[bot] in #932
New Contributors
Full Changelog: v1.67.0...v1.68.0
v1.67.0
What's Changed
⚠️ Breaking Change
- Update FirewallID to use single pointer in LinodeInterfaceCreateOptions by @zliang-akamai in #921
- Fix firewall device for linode interfaces and add entities field to firewall by @zliang-akamai in #901
🐛 Bug Fixes
- Redact sensitive data from logging by @dawiddzhafarov in #906
🚀 New Features
- Add firewall rules version and fingerprint support by @zliang-akamai in #903
- Added
DiskEncryptionfield for LKE Node Pool creation by @ezilber-akamai in #917
💡 Improvements
⚙️ Repo/CI Improvements
- Remove preview section of PR template by @zliang-akamai in #882
- Added PR title checking to lint workflow and new clean up release notes workflow by @ezilber-akamai in #913
- Add @linode/dx-sdets to CODEOWNERS by @lgarber-akamai in #920
📖 Documentation
- Cleanup LA notices for block storage encryption by @zliang-akamai in #902
📦 Dependency Updates
- build(deps): bump golang.org/x/oauth2 from 0.35.0 to 0.36.0 by @dependabot[bot] in #909
- build(deps): bump slackapi/slack-github-action from 2.1.1 to 3.0.1 by @dependabot[bot] in #916
- build(deps): bump actions/github-script from 7 to 8 by @dependabot[bot] in #918
- build(deps): bump golang.org/x/net from 0.51.0 to 0.52.0 by @dependabot[bot] in #911
Full Changelog: v1.66.0...v1.67.0
v1.66.0
What's Changed
⚠️ Breaking Change
- Correct GetRegionAvailability response type by @glennpratt in #897
🚀 New Features
- Add
nodebalancersfield to VPC Subnet structs by @mgwoj in #885 - Support regions/vpc-availability endpoints by @dawiddzhafarov in #880
- Add NodeBalancer deletion-protection locks support by @zliang-akamai in #881
💡 Improvements
- Ensure parity for region capability consts by @dawiddzhafarov in #886
- Drop support for ScaleGrid Databases by @ezilber-akamai in #894
- Changes Alert Channel changes as per latest API v4 changes by @srbhaakamai in #890
- Deprecate
xenfrom SDKs and Tools by @mgwoj in #896
🧪 Testing Improvements
- Pin test year and month for TestInstance_GetMonthlyTransfer by @zliang-akamai in #883
⚙️ Repo/CI Improvements
- Fixed issues flagged by gosec by @ezilber-akamai in #893
- Exclude gosec G117 for golangci-lint > 2.9 by @glennpratt in #898
📖 Documentation
- Removed
v4betanotices from Maintenance Policy by @ezilber-akamai in #889
📦 Dependency Updates
- build(deps): bump github.com/go-resty/resty/v2 from 2.17.1 to 2.17.2 by @dependabot[bot] in #895
- build(deps): bump crazy-max/ghaction-github-labeler from 5.3.0 to 6.0.0 by @dependabot[bot] in #904
- build(deps): bump golang.org/x/net from 0.49.0 to 0.51.0 by @dependabot[bot] in #900
- build(deps): bump golang.org/x/oauth2 from 0.34.0 to 0.35.0 by @dependabot[bot] in #887
New Contributors
- @mgwoj made their first contribution in #885
- @dawiddzhafarov made their first contribution in #886
- @glennpratt made their first contribution in #898
Full Changelog: v1.65.0...v1.66.0
v1.65.0
What's Changed
💡 Improvements
- Various fixes in ACLP Alerts implementation by @yec-akamai in #878
✔️ Testing Improvements
- Add integration tests for for IAM role-permissions and entities by @vshanthe in #872
- Add additional integration tests for resource locking by @psnoch-akamai in #870
📦 Dependency Updates
- build(deps): bump gopkg.in/ini.v1 from 1.66.6 to 1.67.1 by @dependabot[bot] in #875
- build(deps): bump golang.org/x/text from 0.32.0 to 0.33.0 by @dependabot[bot] in #876
- build(deps): bump github.com/google/go-querystring from 1.1.0 to 1.2.0 by @dependabot[bot] in #874
- build(deps): bump golang.org/x/net from 0.48.0 to 0.49.0 by @dependabot[bot] in #877
Full Changelog: v1.64.0...v1.65.0
v1.64.0
What's Changed
🐛 Bug Fixes
- Fix Multiple ACLP Alerting Issues by @zliang-akamai in #873
🚀 New Features
- ACLP Alerting go SDK by @srbhaakamai in #824
💡 Improvements
⚙️ Repo/CI Improvements
- Re-enable passed linters by @zliang-akamai in #871
New Contributors
- @srbhaakamai made their first contribution in #824
Full Changelog: v1.63.0...v1.64.0
v1.63.0
What's Changed
📋 New Project
- Firewall RuleSets & PrefixLists by @lgarber-akamai in #863
- Add support for Block Storage Volume Limit Increase by @lgarber-akamai in #865
- Identity and Access Management by @jriddle-linode in #866
⚠️ Breaking Change
🚀 New Features
- Add vpc dualstack capability by @tchinmai7 in #842
📦 Dependency Updates
- build(deps): bump github.com/go-resty/resty/v2 from 2.17.0 to 2.17.1 by @dependabot[bot] in #862
New Contributors
Full Changelog: v1.62.0...v1.63.0
v1.62.0
What's Changed
⚠️ Breaking Change
- Update database host fields from "secondary" to "standby" by @zliang-akamai in #855
🚀 New Features
- Add firewall_id field to NodePool by @rammanoj in #840
- Add support for resource locks by @zliang-akamai in #852
📦 Dependency Updates
- build(deps): bump golang.org/x/oauth2 from 0.32.0 to 0.33.0 by @dependabot[bot] in #846
- build(deps): bump golangci/golangci-lint-action from 8 to 9 by @dependabot[bot] in #847
- build(deps): bump golang.org/x/text from 0.30.0 to 0.31.0 by @dependabot[bot] in #850
- build(deps): bump actions/checkout from 5 to 6 by @dependabot[bot] in #854
- build(deps): bump golang.org/x/net from 0.46.0 to 0.48.0 by @dependabot[bot] in #851, #860
- build(deps): bump github.com/go-resty/resty/v2 from 2.16.5 to 2.17.0 by @dependabot[bot] in #853
- build(deps): bump golang.org/x/oauth2 from 0.33.0 to 0.34.0 by @dependabot[bot] in #858
Full Changelog: v1.61.0...v1.62.0