open-consul/vendor/github.com/linode/linodego/CHANGELOG.md
Mike Morris 1fe6da2ad6
Bump go-discover to support EC2 Metadata Service v2 (#6865)
Refs https://github.com/hashicorp/go-discover/pull/128

* deps: add replace directive for gocheck

Transitive dep, source at https://launchpad.net/gocheck indicates
project moved. This also avoids a dependency on bzr when fetching
modules. Refs https://github.com/hashicorp/consul/pull/6818

* deps: make update-vendor

* test: update retry-join expected names from go-discover
2019-12-04 11:59:16 -05:00

6.8 KiB

Change Log

Unreleased

Fixes

Features

<a name-"v0.7.1">

v0.7.1 (2018-02-05)

Features

<a name-"v0.7.0">

v0.7.0 (2018-12-03)

Features

  • add Tags field in: NodeBalancer, Domain, Volume
  • add UpdateIPAddress (for setting RDNS)

Fixes

  • invalid URL for /v4/networking/ enpoints (IPv6 Ranges and Pools) has been correcrted

<a name-"v0.6.2">

v0.6.2 (2018-10-26)

Fixes

  • add missing Account fields: address_1, address_2, phone

<a name-"v0.6.1">

v0.6.1 (2018-10-26)

Features

  • Adds support for fetching and updating basic Profile information

<a name-"v0.6.0">

v0.6.0 (2018-10-25)

Fixes

  • Fixes Image date handling
  • Fixes broken example code in README
  • Fixes WaitForEventFinished when encountering events without entity
  • Fixes ResizeInstanceDisk which was executing CloneInstanceDisk
  • Fixes go-resty import path to gopkg.in version for future go module support

Features

  • Adds support for user account operations

  • Adds support for profile tokens

  • Adds support for Tags

  • Adds PasswordResetInstanceDisk

  • Adds DiskStatus constants

  • Adds WaitForInstanceDiskStatus

  • Adds SetPollDelay for configuring poll duration

    • Reduced polling time to millisecond granularity
    • Change polling default to 3s to avoid 429 conditions
    • Use poll delay in waitfor functions

v0.5.1 (2018-09-10)

Fixes

  • Domain.Status was not imported from API responses correctly

v0.5.0 (2018-09-09)

Breaking Changes

  • List functions return slice of thing instead of slice of pointer to thing

Feature

  • add SSHKeys methods to client (also affects InstanceCreate, InstanceDiskCreate)
  • add RebuildNodeBalancerConfig (and CreateNodeBalancerConfig with Nodes)

Fixes

  • Event.TimeRemaining wouldn't parse all possible API value
  • Tests no longer rely on known/special instance and volume ids

0.4.0 (2018-08-27)

Breaking Changes

Replaces bool, error results with error results, for:

  • instance_snapshots.go: EnableInstanceBackups
  • instance_snapshots.go: CancelInstanceBackups
  • instance_snapshots.go: RestoreInstanceBackup
  • instances.go: BootInstance
  • instances.go: RebootInstance
  • instances.go: MutateInstance
  • instances.go: RescueInstance
  • instances.go: ResizeInstance
  • instances.go: ShutdownInstance
  • volumes.go: DetachVolume
  • volumes.go: ResizeVolume

Docs

  • reword text about breaking changes until first tag

Feat

  • added MigrateInstance and InstanceResizing from 4.0.1-4.0.3 API Changelog
  • added gometalinter to travis builds
  • added missing function and type comments as reported by linting tools
  • supply json values for all fields, useful for mocking responses using linodego types
  • use context channels in WaitFor* functions
  • add LinodeTypeClass type (enum)
  • add TicketStatus type (enum)
  • update template thing and add a test template

Fix

  • TransferQuota was TransferQuote (and not parsed from the api correctly)
  • stackscripts udf was not parsed correctly
  • add InstanceCreateOptions.PrivateIP
  • check the WaitFor timeout before sleeping to avoid extra sleep
  • various linting warnings and unhandled err results as reported by linting tools
  • fix GetStackscript 404 handling

0.3.0 (2018-08-15)

Breaking Changes

  • WaitForVolumeLinodeID return fetch volume for consistency with out WaitFors
  • Moved linodego from chiefy to github.com/linode. Thanks @chiefy!

v0.2.0 (2018-08-11)

Breaking Changes

  • WaitFor* should be client methods use client.WaitFor... rather than linodego.WaitFor(..., client, ...)

  • remove ListInstanceSnapshots (does not exist in the API) this never worked, so shouldn't cause a problem

  • Changes UpdateOptions and CreateOptions and similar Options parameters to values instead of pointers these were never optional and the function never updated any values in the Options structures

  • fixed various optional/zero Update and Create options some values are now pointers, and vice-versa

    • Changes InstanceUpdateOptions to use pointers for optional fields Backups and Alerts
    • Changes InstanceClone's Disks and Configs to ints instead of strings
  • using new enum string aliased types where appropriate InstanceSnapshotStatus, DiskFilesystem, NodeMode

Feature

  • add RescueInstance and RescueInstanceOptions
  • add CreateImage, UpdateImage, DeleteImage
  • add EnableInstanceBackups, CancelInstanceBackups, RestoreInstanceBackup
  • add WatchdogEnabled to InstanceUpdateOptions

Fix

  • return Volume from AttachVolume instead of bool
  • add more boilerplate to template.go
  • nodebalancers and domain records had no pagination support
  • NodeBalancer transfer stats are not int

Tests

  • add fixtures and tests for NodeBalancerNodes
  • fix nodebalancer tests to handle changes due to random labels
  • add tests for nodebalancers and nodebalancer configs
  • added tests for Backups flow
  • TestListInstanceBackups fixture is hand tweaked because repeated polled events appear to get the tests stuck

Deps

  • update all dependencies to latest

v0.1.1 (2018-07-30)

Adds more Domain handling

Fixed

  • go-resty doesnt pass errors when content-type is not set
  • Domain, DomainRecords, tests and fixtures

Added

  • add CreateDomainRecord, UpdateDomainRecord, and DeleteDomainRecord

v0.1.0 (2018-07-23)

Deals with NewClient and context for all http requests

Breaking Changes

  • changed NewClient(token, *http.RoundTripper) to NewClient(*http.Client)
  • changed all Client Get, List, Create, Update, Delete, and Wait calls to take context as the first parameter

Fixed

  • fixed docs should now show Examples for more functions

Added

  • added Client.SetBaseURL(url string)

v0.0.1 (2018-07-20)

Changed

  • Initial tagged release