Skip to content

v1.0.0-beta3 - ECE 2.5.0-ms36

Compare
Choose a tag to compare
@karencfv karencfv released this 24 Apr 03:55
· 332 commits to master since this release
6872cd9

Changelog

Notable changes

Add DecodeFlags to reduce parsing code

Adds a new DecodeFlags function which through reflection and
mapstructure is able to decode a cobra.Command defined flags into a
structure's fields which match the flag's type and mapstructure tag.

Add package with Prefixed error type

Adds a new package under pkg/multierror which is aimed to be used
instead of multierror.Error. The main motivation behind this change is
to enforce a prefix to be used in all of the multierrors which will
provide more context to the error consumers.

Modify transport to handle proxied responses

Modifies the ErrCatchTransport type so that it handles the case when
Content-Type is text/html, the auto-generated client framework won't
be able to handle the proxied responses of that type since they're
contingent on the error response specified by the swagger definition,
thus anything with a Content-Type different than application/json
won't be handled and instead a cryptic error will be returned.

Add change tracker backed by Deployments API

New TrackChange function which uses the deployments
API to track any pending changes of a Deployment. It supports tracking
changes by specifying a DeploymentID or ResourceID and Kind which
is very similar to what the legacy plan tracker did.

Detailed changes

  • e888015 api: generate client/models 2.5.0-ms36 (#97)
  • ca0a676 Fix typo in docs (#96)
  • 4a4eeab build(deps): bump github.com/mitchellh/mapstructure from 1.1.2 to 1.2.2 (#90)
  • 7be185a build(deps): bump github.com/go-openapi/validate from 0.19.7 to 0.19.8 (#94)
  • 7acaaaf build(deps): bump github.com/go-openapi/swag from 0.19.8 to 0.19.9 (#93)
  • 0fb44ca cmdutil: Add DecodeFlags to reduce parsing code (#89)
  • ce9de91 deps: revert multierror to 1.0.0 (#87)
  • 84996de build(deps): bump github.com/hashicorp/go-multierror from 1.0.0 to 1.1.0 (#85)
  • 3896c35 build(deps): bump github.com/go-openapi/runtime from 0.19.14 to 0.19.15 (#84)
  • db3c269 build(deps): bump github.com/spf13/cobra from 0.0.6 to 0.0.7 (#83)
  • c64d182 misc: update codeowners (#82)
  • f139ce5 multierror: Add package with Prefixed error type (#81)
  • 68879af api: Modify transport to handle Proxied responses (#80)
  • 546ac80 build(deps): bump github.com/go-openapi/runtime from 0.19.12 to 0.19.14 (#79)
  • 240add7 plan: Add change tracker backed by Deployments API (#66)