Skip to content

Latest commit

 

History

History
2067 lines (1400 loc) · 50.5 KB

CHANGES.md

File metadata and controls

2067 lines (1400 loc) · 50.5 KB

Changes

This document describes the relevant changes between releases of the OCM API SDK.

0.1.331

  • Update model to v0.0.272
    • adding quota version

0.1.330

  • Update model to v0.0.271
    • Adding version_inquiry endpoint to Managed Services.

0.1.329

  • Update model to v0.0.270
    • adding quota auth to root resource model

0.1.328

  • Update model to v0.0.269
    • Add DeleteProtection resource to Cluster resource.
    • adding quota auth models

0.1.327

  • Update model to v0.0.268
    • Replace OidcConfigId for OidcConfig in STS resource.

0.1.326

  • Update model to v0.0.267
    • Add OidcConfigId to STS resource.
    • Remove OidcPrivateKeySecretArn from STS resource.

0.1.325

  • Update model to v0.0.266
    • Adjust Oidc Configs endpoints.

0.1.324

  • Update model to v0.0.265
    • Rename HypershiftEnabled boolean to HostedControlPlaneEnabled in Version Type model.

0.1.323

  • Update model to v0.0.264
    • Add Hosted Oidc Configs endpoints.

0.1.322

  • Update model to v0.0.263
    • Add HypershiftEnabled boolean to Version Type model.

0.1.321

  • Update model to v0.0.262
    • Add Control Plane Upgrade Scheduler endpoints.

0.1.320

  • Update to model v0.0.261
    • Add commonAnnotations and commonLabels to addons
  • Update to Addon structs and openapi.json for supporting
    • commonAnnotations
    • commonLabels

0.1.319

  • Update to model v0.0.260
    • Add ManagedPolicies field to the STS type model.

0.1.318

  • Update to model v0.0.259
    • Add master and infra instance types to cluster nodes
  • Update to model v0.0.258
    • Export cluster name for mgmt, mgmt_parent, and svc clusters

0.1.317

  • Update to model v0.0.257
    • Add ByoOidc type to Cluster type model
    • Add addon upgrade policy to clusters_mgmt
    • Add Labels and Taints to NodePool type

0.1.316

  • Update to model v0.0.256
    • Add LogType field to Cluster Log type model
    • Fix Addon status type and value constants

0.1.315

  • Update to model v0.0.255
    • Add Version field to node pool

0.1.314

  • Update to model v0.0.254
    • Add PrivateLinkConfiguration type with related endpoints

0.1.313

  • Update to model v0.0.253
    • Update Permission resource attributes
      • Rename ResourceType to Resource

0.1.312

  • Update to metamodel 0.0.57

0.1.311

  • Update to model v0.0.252
    • Update STS resource attributes
      • Remove BoundServiceAccountSigningKey
      • Remove BoundServiceAccountKeyKmsId
      • Rename BoundServiceAccountKeySecretArn to OidcPrivateKeySecretArn

0.1.310

  • Update to model v0.0.251
    • Update NodePool with status attributes
    • Added current_compute attribute in ClusterStatus for hosted clusters.
    • Added missing variable to addon environment variable for addons mgmt

0.1.309

  • Update to model v0.0.250
    • Add Addon Inquiries API to addons_mgmt

0.1.308

  • Update to model v0.0.249
    • Add BoundServiceAccountKeySecretArn attribute to the Sts model.

0.1.307

  • Update to model v0.0.248
    • Add AwsEtcdEncryption type model and reference from AWS.
    • Add Enabled attribute to STS model.

0.1.306

  • Update to model v0.0.247
    • Corrected Metrics type on DeletedSubscription

0.1.305

  • Update to model v0.0.246
    • Add Search to Capabilities resource

0.1.304

  • Update to model v0.0.245
    • Add BoundServiceAccountKeyKmsId attribute to the Sts model.

0.1.303

  • Update to model v0.0.244
    • Add ARN attribute to the AWSSTSPolicy model.

0.1.302

  • Update to model v0.0.243
    • Add BoundServiceAccountSigningKey attribute to the Sts model.
  • Update to model v0.0.242
    • Add AddonNamespace resource model.
    • Add CommonLabels attribute to the Addon model.
    • Add CommonAnnotations attribute to the Addon model.
    • Add MachineType locator on MachineTypes model.

0.1.301

  • Update to model v0.0.241
    • Add DeletedSubscriptions
    • Add AddonCluster
    • Add AddonStatus

0.1.300

  • Update PR check to include go v1.19
  • Update goimports to v0.4.0
  • Update to model v0.0.240
    • Fix AddonConfig on AddonConfigType resource model.

0.1.299

  • Update to model 0.0.239
    • Fixes for NodePoolAutoScaling and AWSNodePool.

0.1.298

  • Update to model 0.0.238
    • NodePool fixes.

0.1.297

  • Update to model 0.0.237
    • Add NodePool resource types.
    • Add NodePools locator to Cluster type.

0.1.296

  • Update to model 0.0.236
    • Add extra fields to label model:
      • Type
      • ManagedBy
      • AccountID
      • SubscriptionID
      • OrganizationID

0.1.295

  • Update to model 0.0.235
    • Add capabilities resource model.

0.1.294

  • Update to model 0.0.233
    • Add SupportsHypershift property to CloudRegion model.

0.1.293

  • Update to model 0.0.232
    • Modify availabilityZone property in CloudProviderData model from string to []string.

0.1.292

  • Update to model 0.0.231
    • Add AvailabilityZone property to CloudProviderData model.
    • Add Public property to Subnetwork model.

0.1.291

  • Update to model 0.0.230
    • Add creation timestamp and modification timestamp to provision shard
    • Add pull secret for addon version
    • Add addon secret props for addon version config
    • Add additional catalog sources for addon version
    • Add addon parameter condition

0.1.290

  • Update to model 0.0.229
    • Add Addon Management models
    • Add GCP Encryption Keys to cluster model
  • Add client for Fleet Management service
  • Add client for Addons Management service

0.1.289

  • Update to model 0.0.228
    • Add hypershift endpoint with its ManagementCluster.
    • Align hypershift case usage.
    • [Hypershift] Expose /manifests
    • Added expiry setting to managed service clusters.
    • Added Manifests to external_configuration.
    • Add marketplace specific enum for clusters mgmt
    • Add Search method to ProvisionShards

0.1.288

  • Windows: Update CA

0.1.287

  • Update to model 0.0.223:
    • Add Version property to CloudProviderData model.
    • Add InfraID property to Cluster model.
    • Drop deprecated DisplayName property from ClusterRegistration model.
    • Add ConsoleUrl and DisplayName properties to ClusterRegistration model and correct documentation.

0.1.286

  • Update to model 0.0.220:
    • Add ManagedBy property in RoleBinding type

0.1.285

  • Update to model 0.0.219:
    • Add billing model to addon installations

0.1.284

  • Update to model 0.0.218:
    • Change provision shard to include kube client configurations and server URL.

0.1.283

  • Update to model 0.0.217:
    • Change provision shard to include kube client configurations.
    • Add GCP volume size to flavour API.
    • Add fleet manager related structures and API.

0.1.282

  • Update to model 0.0.215:
    • Add hypershift config to provision shard API.

0.1.281

  • Update to model 0.0.214:
    • Add locator label to Generic Labels resource.

0.1.280

  • Update to model 0.0.213:
    • Add update function to provision shard API.

0.1.279

  • Update to model 0.0.212:
    • Add status to provision shard API.

0.1.278

  • Update to model 0.0.211:
    • Remove DisplayName field from Cluster model.
    • Add API for adding and removing a provision shard.

0.1.277

  • Update to model 0.0.209:
    • Add capabilities field to account type.

0.1.276

  • Update to model 0.0.208:
    • Add delete method to registryCredentials type.

0.1.275

  • Update to model 0.0.207:
    • Add Subnets field to machinePool type.

0.1.274

  • Update to model 0.0.206:
    • Add ExcludeSubscriptionStatuses field to ResourceReview type.
    • Add dry_run flag to ClusterDeleteRequest type.

0.1.273

  • Update to model 0.0.205:
    • Add BillingMarketplaceAccount field to ReservedResource type.

0.1.272

  • Update to model 0.0.204:
    • Remove volume type from flavour
    • Add Network Configuration for Managed Services

0.1.271

  • Update to model 0.0.203:
    • Add MarketplaceAWS, MarketplaceAzure, MarketplaceRHM billing models.

0.1.270

  • Update to model 0.0.202:
    • Add CloudAccount type.
    • Add CloudAccounts field to QuotaCost type.
    • Add BillingMarketplaceAccount field to Subscription type.

0.1.269

  • authentication: Allow client credential grants with basic auth
  • Update to model 0.0.201:
    • Adding groups claim to openID IDP

0.1.268

  • Update to model 0.0.200:
    • Add hypershift.enabled field to the cluster type.

0.1.267

  • Update to model 0.0.199:
    • Fix cred request api model parameters

0.1.266

  • Update to model 0.0.198:
    • Add cred request to api model
    • Add AWSRegionMachineTypes endpoint to api model
  • windows: Update certificates

0.1.265

  • Update to model 0.0.197:
    • Change inflight check type Details field to Interface

0.1.264

  • Update to model 0.0.196:
    • Added Machine Pool Security Group Filters for Machine Pools and Cluster Nodes
    • Drop RoleARN from AddOnInstallation

0.1.263 Apr 19 2022

  • Update to model 0.0.195:
    • Added Import method to the HTPasswd IDP user collection.
    • Added credential request type and updated the addon type to include it

0.1.262 Apr 14 2022

  • Update to model 0.0.194:
    • Added availability zone fields to managed service cluster struct.

0.1.261 Apr 14 2022

  • Update to model 0.0.193:
    • Add limitedSupportReasonCount to cluster status struct.
    • Add inflight check API.

0.1.260 Apr 11 2022

  • Update to model 0.0.191:
    • Fix JSON representation of log severity.

0.1.259 Apr 8 2022

  • Update to model 0.0.190:
    • Fix JSON names of identity provider types.
    • Add enable minor version upgrades flag to upgrade policy.

0.1.258 Apr 5 2022

  • Update to model 0.0.189:
    • Added QuotaRules to ocm-sdk-go
    • Added no_proxy field to the proxy project
    • Added errors resource.
    • Added errors support for status-board.

0.1.257 Apr 1 2022

  • Add web-rca examples.
  • Update to metamodel 0.0.53:
    • Don't consider Status and Error built-in request parameters.
  • Update to metamodel 0.0.54:
    • Remove generation of experimental server code.
  • Update to model 0.0.188:
    • Add Status query param for incidents resource.

0.1.256 Mar 31 2022

  • Update to model 0.0.187:
    • Add new web-rca service.

0.1.255 Mar 30 2022

  • Update to model 0.0.186:
    • Add ManagementCluster to ProvisionShard

0.1.254 Mar 30 2022

  • Update to model 0.0.185:
    • Fixes to Cloud Resources endpoints.

0.1.253 Mar 29 2022

  • Update to model 0.1.184:
    • Adding Cloud Resources endpoints.

0.1.252 Mar 17 2022

  • Update to model 0.1.183:
    • Added field for parameters to be specified for managed services.

0.1.251 Mar 15 2022

  • Update to model 0.1.182:
    • Adding service_mgmt service.

0.1.250 Mar 14 2022

  • Update to model 0.0.181:
    • Add aws sts policy
    • Add ReleaseImage to Version

0.1.249 Mar 9 2022

  • Update to model 0.0.180:
    • Add CloudProvider info to ProvisionShards.

0.1.248 Mar 9 2022

  • Update to model 0.0.179:
    • Fix cluster logs URL, should be cluster_logs instead of cluster_logs_uuid.

0.1.247 Mar 8 2022

  • Update to metamodel 0.0.52:
    • Add support for annotations.
    • Add @json and @http annotations.
    • Add @go annotation.
    • Add original text to names.
    • Add Impersonate method to support the Impersonate-User header.

0.1.246 Mar 7 2022

  • Update to model 0.0.178:
    • Add managed_service field to add-on type.
    • Add credentials_secret field to add-on type.
    • Add region field to provision shard.

0.1.245 Mar 3 2022

  • Update to model 0.0.177:
    • Fix update method of environment endpoint, should be Update instead of Patch.
    • Remove unimplemented POST /api/service_logs/v1/cluster_logs/clusters/{uuid}/cluster_logs method.

0.1.244 Mar 02 2022

  • Update to model 0.0.176
    • adding new endpoint for 'environment'

0.1.243 Mar 02 2022

  • Update to model 0.0.175
    • adding new apis for addon config attribute
    • adding list of requirements to addon parameter options
    • adding name fields to VPCs and Subnetworks
    • rename addon env object

0.1.242 Feb 16 2022

  • Update to model 0.0.174
    • adding rhit_account_id to Account class

0.1.241 Feb 11 2022

  • Update to model 0.0.173:
    • addons: Support attributes necessary for STS.
    • Add ProductIds param to Status Resource.
    • Add Role bindings to Subscription.

0.1.240 Feb 4 2022

  • Update to model 0.0.172:
    • Remove deprecated SKUs endpoint.
    • Remove deprecated quota summary resource and type.
    • Add QuotaVersion to ClusterAuth.
    • Allow adding/removing operator roles.

0.1.239 Feb 3 2022

  • Update to metamodel 0.0.51:
    • Check for io.EOF before trying to parse response body.

0.1.238 Jan 28 2022

  • Update to model 0.0.170:
    • Add ServiceInfo type to status board service.

0.1.237 Jan 25 2022

  • Update to metamodel 0.0.50:
    • Fix format of date query parameters so that it is RFC3339.

0.1.236 Jan 25 2022

  • Update to model v0.0.169
    • Version gate type: Add warning message field

0.1.235 Jan 11 2022

  • Install metamodel with go install
  • Update to model v0.0.168
    • Fix description of various API attributes
    • OVN: Add network type selection
    • adding field to hold validation error message

0.1.234 Jan 4 2022

  • Update to version 4 of JWT library.

    Note that this is a backwards compatibility breaking change because the jwt.Token type is used as parameter in the authentication.ContextWithToken and authentication.TokenFromContext methods. If you are using those methods then you will have to change your code to import github.com/jwt-go/jwt/v4 instead of github.com/jwt-go/jwt.

  • Update to Ginkgo 2.

    This change affects only the tests, but if you are using Ginkgo in your project and you are still using version 1 then you may find issues when running the ginkgo command because both versions of the library will be included in your tests binaries and both will try to use the flag package to create conflicting command line flags. If that is the case the best approach is to update your project go use version 2 as well.

0.1.233 Dec 28 2021

  • Update to model 0.0.167:
    • Change field name in version gate agreement link to version gate.

0.1.232 Dec 26 2021

  • Update to model 0.0.166:
    • Change version gate agreement URL.

0.1.231 Dec 22 2021

  • Update to model 0.0.165:
    • Move version gates to be top level resource.
    • Add version raw id prefix to version gates.
  • Update version of JSON iterator.
  • Update SQL drivers.
  • Don't use github.com/ghodss/yaml
  • Require Go 1.16

0.1.230 Dec 21 2021

  • Update to model 0.0.163:
    • Add support for deleting version gate.

0.1.229 Dec 21 2021

  • Update to model 0.0.162:
    • Add support for adding version gate.

0.1.228 Dec 20 2021

  • Update to metamodel 0.0.46:

    • Remove unused imports.
    • Check result of Flush method.
    • Cancel poll context.
    • Avoid some ineffectual assignments.
    • Explicitly use jsoniter package selector.
  • Update to model 0.0.161:

    • Support for version gate agreements.

0.1.227 Dec 20 2021

  • Update to model 0.0.160:
    • Change version gates URL.

0.1.226 Dec 20 2021

  • Update to model 0.0.159:
    • Support for version gates.

0.1.225 Dec 19 2021

  • MatchJQ should require at least one result
  • Update to model 0.0.158:
    • Adding subnetworks to vpc inquiry
    • Add statuses path to service model, add some comments.
    • [SDB-2509] Update OSL API schema to be compatible with ocm-sdk-go

0.1.224 Dec 10 2021

  • Support pull-secret access token as a valid token.

  • Update to model 0.0.156:

    • Add updates method to status board product resource.
    • Fix status get method of status board.

0.1.223 Dec 9 2021

  • Update to model 0.0.155:
    • Add status_board service.

0.1.222 Dec 3 2021

This version doesn't contain changes to the functionality, only to the development and build workflows:

  • Rename master branch to main.

    To adapt your local repository to the new branch name run the following commands:

    git branch -m master main
    git fetch origin
    git branch -u origin/main main
    git remote set-head origin -a
  • Automatically add changes from CHANGES.md to release descriptions.

0.1.221 Dec 1 2021

  • Modify func (c *Connection) Close() to return nil in case the connection is already closed.

0.1.220 Nov 25 2021

  • Added utilities to test with jq expressions and JSON patches.

0.1.219 Nov 22 2021

  • Update to model 0.0.153:
    • Enable FIPS mode

0.1.218 Nov 22 2021

  • Update to metamodel 0.0.44:
    • Check for loops in locator paths.
    • Add Empty method to builders.

0.1.217 Nov 18 2021

  • Update to model 0.0.152
    • Update type resource to clusterResources
    • Revert "Add Name field to LDAP identity provider"
    • Remove addon install mode singleNamespace
    • Add addon install mode ownNamespace
    • Add channel to addon version class

0.1.216 Nov 15 2021

  • Update to metamodel 0.0.43:
    • Add status attribute to errors.

0.1.215 Nov 7 2021

  • Update to model 0.0.151:
    • Add Name field to LDAP identity provider

0.1.214 Oct 27 2021

  • Update to model 0.0.150:
    • Fix addon installation version (addon_version vs version)
    • Remove no_proxy attribute from SDK
    • Add body to the external tracking event

0.1.213 Oct 26 2021

  • Update to model 0.0.42
    • Accept iterator as parameter in helpers.NewIterator
  • Retry when REFUSED_STREAM

0.1.212 Oct 12 2021

  • Fix typo in HTTP internal server error message
  • Copy data package from CLI
  • Add support for digging inside maps
  • Replace expired CA certs for windows
  • Update model to 0.0.149
    • Add Addon Versions

0.1.211 Oct 05 2021

  • Update to model 0.0.148:
    • Revert archived clusters endpoint.

0.1.210 Sep 27 2021

  • Update to model 0.0.147:
    • Add missing connection to clusters collection in the service_logs service.

0.1.209 Sep 21 2021

  • Avoid hard-coded private keys
  • Bump API model to v0.0.146
    • Add Status to AddOnRequirement

0.1.208 Sep 13 2021

  • Add Archived cluster endpoint
  • Add cluster waiting state

0.1.207 Sep 13 2021

  • Add cluster-wide proxy

0.1.206 Sep 9 2021

  • Update model to v0.0.143:
    • Add Add() method to Limited Support Reasons resource

0.1.205 Sep 9 2021

  • Update model to v0.0.142:
    • Add Limited Support Reason API

0.1.204 Aug 25 2021

  • Change level of token retry messages to DEBUG.

0.1.203 Aug 23 2021

  • Retry requests with body
  • Update to metamodel 0.0.39
    • Add Details to Errors

0.1.202 Aug 18 2021

  • Update model to v0.0.141:
    • Add support for EndOfLifeTimestamp in version

0.1.201 Aug 17 2021

  • Retry when server sends go away before settings.
  • Reject impersonation.

0.1.200 Aug 11 2021

  • Update model to v0.0.140:
    • Add check_optional_terms to TermsReview and SelfTermsReview
    • Add reduceClusterList to ResourceReview and SelfResourceReview

0.1.199 Aug 10 2021

Changes in this release are mainly intended to simplify packaging of the SDK in Fedora, see issue #421 for details.

  • Use golang-jwt/jwt instead of dgrijalva/jwt-go.

    The dgrijalva/jwt-go library is no longer maintained and golang-jwt/jwt is a community maintained fork. See dgrijalva/jwt-go#462 for detailts.

    Parts of the public interface of the SDK use this library, so this is a backwards compatibility breaking change. Projects using the SDK will need to switch to the new library, specially if they are using the context.ContextWithToken or context.TokenFromContext functions. The change should only require changing the import paths, as the fork is fully compatible with the original library.

    A simple way to do the required changes is the following command:

    $ find . -name '*.go' | xargs sed -i 's|dgrijalva/jwt-go|golang-jwt/jwt|'

    This also addresses CVE-2020-2610, but that vulnerability doesn't currently affect the SDK because the authentication handler doesn't use the aud claim.

  • Use microcosm-cc/bluemonday instead of grokify/html-strip-tags-go for HTML sanitizing.

  • Use json-iterator/go instead of c0b/go-ordered-json to ensure ordered JSON in debug output.

0.1.198 Aug 03 2021

  • Update model to v0.0.139:
    • Add kms key arn to aws ccs cluster encryption

0.1.197 Jul 22 2021

  • Update model to v0.0.138:
    • Add addon inquiries endpoints get and list

0.1.196 Jul 20 2021

  • Update model to v0.0.137:
    • Add Cluster Resource Type
    • Remove Cluster Deployment GET

0.1.195 Jul 19 2021

  • Update model to v0.0.136:
    • Added Spot Market Options to MachinePool

0.1.194 Jul 6 2021

  • Update to version 0.0.38 of the metamodel in order to fix a conflict between github.com/golang/glog and github.com/istio/glog that prevents building packages that use the SDK.

0.1.193 Jul 6 2021

  • Update the version number in the version.go file.

0.1.192 Jul 6 2021

  • Fix initialization of metrics registerer.
  • Update model to v0.0.135:
    • Add user name to service log LogEntry.

0.1.191 Jul 5 2021

  • Add leadership flag.

0.1.190 Jun 23 2021

  • Don't use refresh token if have client credentials.

0.1.189 Jun 23 2021

  • Don't require refresh token for client credentials grant.

0.1.188 Jun 23 2021

  • Update model to v0.0.134
    • Added InternalOnly flag to SubscriptionNotify

0.1.187 Jun 16 2021

  • Update model to v0.0.133
    • Added capabilities support to Organization

0.1.186 Jun 11 2021

  • Update model to v0.0.132
    • Added Disable workload monitoring
    • add authorizations feature review and self feature review models.
    • add locators for feature review and self feature review
    • Add ccs_only flag for cloud regions

0.1.185 Jun 10 2021

  • Add All and Any functions to the logging package.

0.1.184 Jun 1 2021

  • Update ocm-api-model to v0.0.129
    • Add cloud provider inquiries to api-model
    • sts: Add support role ARN

0.1.183 May 31 2021

  • Update model to v0.0.128
    • Remove the Dashboards resource.
    • Add CCSOnly, GenericName fields to machine type.
    • Add AcceleratedComputing value to MachineTypeCategory enum.

0.1.182 May 25 2021

  • Update model to v0.0.126
    • Add ClusterConfigurationMode type under ClusterStatus
    • sts: Change custom roles to instance roles

0.1.181 May 25 2021

  • Add support for cookie authentication.

0.1.180 May 25 2021

  • Remove AccessToken authentication.

0.1.179 May 20 2021

  • Allow building with Go 1.13.

0.1.178 May 18 2021

  • Update model to v0.0.125
    • Added Custom IAM roles For STS

0.1.177 May 13 2021

  • Update of parameters to JobQueue#Push

0.1.176 May 12 2021

  • Added Arguments to JobQueue#Pop

0.1.175 May 6 2021

  • Update Logger interface to include a Fatal log level.
    • Fatal level will call os.Exit(1) after writing the message.
    • Fatal level is always active.

IMPORTANT: This version breaks backwards compatibility in the Logger interface, as all implementations now require a Fatal method to be implemented.

0.1.174 Apr 14 2021

  • Miscellaneous fixes to JobQueue service.
  • Bump ocm-api-model to v0.0.121

0.1.173 May 03 2021

  • Bump ocm-api-model to v0.0.119
    • STS: Support attributes to allow STS clusters

0.1.172 May 03 2021

  • Bump ocm-api-model to v0.0.118

0.1.171 Apr 14 2021

  • Add JobQueue service.

0.1.170 Apr 14 2021

  • Add Tolerance parameter to authentication handler.

0.1.169 Apr 13 2021

  • Bump ocm-api-model to v0.0.115
    • Add event_code and site_code to TermsReviewRequest type
    • Add new SelfTermsReviewRequest type

0.1.168 Apr 6 2021

  • Bump ocm-api-model to v0.0.114
    • related-resources: Add resource type and cloud provider
    • event: Track ad-hoc authenticated events

0.1.167 Apr 6 2021

  • Move token logic to separate transport wrapper.
  • Use defaults from authentication package.
  • Update to model 0.0.113:
    • Add RelatedResources struct to QuotaCost.

0.1.166 Mar 30 2021

  • Move client selection logic to separate type
  • Update ocm-api-model to v0.0.112
    • Add Options to AddOnParameter type.
    • aws: Support PrivateLink for fully-private clusters

0.1.165 Mar 22 2021

  • Fix wrong TLS server name (issue 356).

0.1.164 Mar 17 2021

  • Change default user agent to OCM-SDK.
  • Update to model 0.0.111:
    • Add subscription metrics.
    • Add deprovision and force parameters to delete cluster method.
    • Ensure all subscription fields are available.

0.1.163 Mar 5 2021

  • Enable compression.
  • Remove logger from metrics transport wrapper.
  • Reorder execution of tests.
  • Add metrics handler wrapper.
  • Add h2c support.
  • Enable HTTP/2.

0.1.162 Feb 22 2021

  • Update to model 0.0.110:
    • organization: Add quota_cost endpoint resources

0.1.161 Feb 22 2021

  • Update to model 0.0.109:
    • Remove deprecated 'upgrade_channel_group' field.
  • Run tests in parallel.
  • Add documentation of upgrade policy states.

0.1.160 Feb 17 2021

  • Improve testing of metrics.
  • Update to model 0.0.108:
    • Add billing_model attribute to the ReservedResource type.
    • Add cluster_billing_model attribute to the Subscriptioin type.

0.1.159 Feb 15 2021

  • Add metrics package
  • Update API model to v0.0.107:
    • add addon sub operator type

0.1.158 Feb 12 2021

  • Downgrade from Go 1.15 to Go 1.14. This has been requested by users of the SDK that can't upgrade to Go 1.15 because it isn't available in RHEL 8 and because of the issues that Go 1.15 introduces related to the obsolete CN attribute of X.509 certificates. The only negative effect of this downgrade is that timeouts or deadlines set for requests sent using TLS over Unix sockets will be ignored.

0.1.157 Feb 8 2021

  • Accept Empty Reader as non-nil req body
  • Missplaced return after warning from send
  • Add trusted CA certificates for Windows
  • Update metamodel to v0.0.36:
    • Use Go 1.15
    • Add documentedSupport and namedSupport
    • Add typedSupport
    • Make reporter streams configurable
    • Add presence bitmap
  • Update model to v0.0.106:
    • Add billing_model field to cluster type
    • subscriptions: Add label locator

0.1.156 Feb 4 2021

  • Update to model 0.0.105:
    • Add cluster hibernation support
  • Declare go 1.15 in go.mod
  • connection: Skip loading SystemCertPool on Windows

0.1.155 Jan 27 2021

  • Update to model 0.0.104:
    • Add addon requirement type.

0.1.154 Jan 26 2021

  • Update to model 0.0.103:
    • Remove cluster_admin_enabled attribute from cluster type.
    • Add missing subscription, cluster authorization and plan attributes.

0.1.153 Jan 21 2021

  • Add support for customizing the error responses of the authentication handler.
  • Add support for connecting to the server using Unix sockets.

0.1.152 Dec 17 2020

  • Update model to v0.0.102
    • add default value to add-on parameter type
    • Add upgrade channel group for a cluster

0.1.151 Dec 2 2020

  • Move logging code to logging package
  • Rename Metrics to MetricsSubsystem
  • Add method to read metrics subsystem
  • Load metrics subsystem configuration from file
  • Load string if it doesn't look like a file
  • Load os.Stdin in dump configuration example
  • Reject URLs without scheme or host name
  • Add redirection tests
  • update model to 0.0.101

0.1.150 Nov 25 2020

  • update model to 0.0.100

0.1.149 Nov 24 2020

  • Fix issue in the method that returns the URL of a connection: it was returning an empty string when no alternative URLs were configured.

0.1.148 Nov 23 2020

  • Rename !shell configuration tag to !script.
  • Add !yaml configuration tag.

0.1.147 Nov 19 2020

  • Add support for alternative URLs.
  • Add support for loading trusted CA files.
  • Add suppott for loading configuration from YAML file.

0.1.146 Nov 17 2020

  • Add EvaluateTemplate function for tests
  • Don't crash in debug mode deserializing an empty response
  • Update model to v0.0.99
    • Add deletion add-on installation endpoint
    • Add Update method to addon installation resource
  • Update metamodel tp v0.0.35
    • Update to version 4.8 of Antlr
    • Wrap errors

0.1.145 Nov 10 2020

  • Update model to v0.0.98

0.1.144 Nov 2 2020

  • Update model to v0.0.96
    • Add Enabled to AddOnParameter type.

0.1.143 Oct 27 2020

  • Update api-model to v0.0.95
    • Add SubnetIDs field to AWS type.

0.1.142 Oct 26 2020

  • Allow disabling keep alive connections in the SDK connection transport
  • Update api-model to v0.0.94
    • version: Rename field from MOA to ROSA
    • [AMS] Add IncludeRedHatAssociates to SubscriptionNotify

0.1.141 Oct 21 2020

  • Update api-model to v0.0.92
    • Add RawID field to Version type

0.1.140 Oct 14 2020

  • Update api-model to v0.0.91
    • Remove redudant fields
    • flavours: Remove infra and compute nodes
    • Add AddOnParameter modal type Update AddOn to include list of AddOnParameters
    • Add AddOnInstallationParameter modal type Update AddOnInstallation to include list of AddOnInstallationParameters

0.1.139 Oct 11 2020

  • Update api-model to v0.0.90
    • Add machine pools locator
    • Add compute node labels
  • Interpret HTML entities in logged summary of error response
  • Use new limits for content summary

0.1.138 Oct 5 2020

  • Update api-model to v0.0.88
    • Add missing machine pools resource

0.1.137 Oct 5 2020

  • Update api-model to v0.0.87
    • Add missing machine pool resource

0.1.136 Oct 5 2020

  • Update metamodel to v0.0.34
    • Support numeric initialisms
  • Update api-model to v0.0.86
    • Added New Error Message implementation
    • idp: Add HTPasswd provider
    • Uptdating SDK with GCP credentials

0.1.135 Oct 5 2020

  • Update API model to v0.0.85
    • Add upgrade policy state

0.1.133 Sep 30 2020

  • increase the limit/size of content summary
  • Update metamodel to v0.0.33
    • json: Support NoContent on POST responses

0.1.132 Sep 24 2020

  • Update model to v0.0.83
    • add external resources to add on type model
    • SDA-2952 - Add "hidden" option to AddOn

0.1.131 Sep 23 2020

  • Support http proxy

0.1.130 Sep 21 2020

Update model to v0.0.82

  • Added Install Error Details From Provisioner

0.1.129 Sep 21 2020

Request a token valid for longer than 1 min

0.1.128 Sep 14 2020

Go mod tidy

0.1.127 Sep 14 2020

Update to model v0.0.81

  • Add key to label_type
  • Remove ID from upgrade label

Also included as part of model v0.0.80

  • Add upgrade policy type and resource
  • Add terms review and self terms review
  • Add dashboards summary

0.1.126 Sep 7 2020

Update to model v0.0.79

  • Add 'available_upgrades' list to version type
  • Add CCS type and Attribute to Cluster type

0.1.125 Sep 4 2020

Update to model v0.0.78

  • Added New DNS_READY
  • version: Add moa_enabled flag

0.1.124 Aug 28 2020

  • Set token expiry function public
  • Allow auth header of type AccessToken

0.1.123 Aug 23 2020

  • Remove get tokens on first attempt log entry
  • Update to metamodel v0.0.32
  • Update to model v0.0.77
    • Add ChannelGroup attribute to version
    • Add avaialble AWS regions method

0.1.122 Aug 18 2020

  • Better logging and metrics when retrying SSO
  • Assume expiration is 0 when missing in the token

0.1.121 Aug 18 2020

  • BROKEN: DO NOT USE

0.1.120 Aug 13 2020

  • Update to model v0.0.76
    • Add missing link to provision shard

0.1.119 Aug 10 2020

  • Add support for retry getting access token in case of http 5xx

0.1.118 Aug 7 2020

  • Update to model v0.0.75
    • Added support_case resource
    • Added token_authorization to root_resource

0.1.117 Aug 5 2020

  • Update to model v0.0.73
    • [CS] Add hive_config to the provision shard
    • [CS] Improving cluster logs endpoint
    • [AMS] Added token authorization endpoint

0.1.116 Aug 3 2020

  • Added support for http PUT method
  • Update to model v0.0.73
    • Add capability_review endpoint
    • Add support_cases endpoint

0.1.115 Jul 30 2020

  • Update to metamodel v0.0.31

    • Adding List type to checkUpdate validator
  • Update to model v0.0.72

    • Fix comment
    • Expose if a region supports multi AZ
    • Add Update Identity Provider
    • removing 'deprovision' suffix from logs endpoint
    • add post method to subscription resource
    • Add labels field to external configuration type
    • Implement Batch Patch Ingresses API endpoint

0.1.114 Jul 21 2020

  • Update to model v0.0.71
    • Add API for getting cluster's provision shard
    • Add API for getting provision shards

0.1.113 Jul 14 2020

  • Update to model v0.0.70
    • Add API for custerdeployment labels
    • add organization_id to cluster_registration
    • label: Fix erroneous file extensions
    • MachineType: Expose instance size enum

0.1.112 Jul 5 2020

  • Update to model v0.0.69
    • Added top level sku_rules endpoint to AMS
    • Change the feature toggle API to be /feature_toggles/id/query using POST with org id as context

0.1.111 Jul 1 2020

  • Update to model v0.0.67
    • [AMS] Added SkuCount to ResourceQuota type

0.1.110 Jun 30 2020

  • Update to model v0.0.66
    • Change feature toggle query to be POST with payload containing organization ID

0.1.109 Jun 29 2020

  • Update to model v0.0.65
    • Added Uninstall Log
    • Added syncset API
    • Update to metamodel v0.0.30

0.1.108 Jun 21 2020

  • Update to model v0.0.64
    • Added Notify to root_resource in AMS

0.1.107 Jun 18 2020

  • Update to model v0.0.63
    • cluster: Remove support for expiration_timestamp
    • Added top-level Notify endpoint to AMS

0.1.106 Jun 9 2020

  • Update to metamodel v0.0.29:

    • pr_check: Lock in dependency versions for test pipeline
    • Fix setter for Poll request params
  • Update to model v0.0.62:

    • Add subscription notify endpoint
  • Update to model v0.0.61:

    • accounts_mgmt: Add 'fields' parameter to all list-requests
    • accounts_mgmt: Support for Labels resources
  • Update to model v0.0.60:

    • Add parameters 'offset' and 'tail' to log resource

0.1.105 May 21 2020

  • Update to model 0.0.59:
    • Add feature_toggle endpoint and api model

0.1.104 May 15 2020

  • Update to model v0.0.58
    • AddOns: Add docs_link attribute
    • Update to metamodel v0.0.28

0.1.102 May 15 2020

  • Update to model v0.0.57:

    • AddOnInstallations: Remove DELETE operation
    • Added Label to Account
  • Update to metamodel v0.0.28:

    • OpenAPI: Fix expected response

0.1.101 May 5 2020

  • Update to model 0.0.56
    • Add Labels to Organization

0.1.100 Apr 23 2020

  • Update to model 0.0.55
    • Add enabled field to region
    • Adding metrics.nodes to api model
    • Adding cluster ingresses endpoint
    • ClusterNodes: Add ComputeMachineType
    • Network: Added HostPrefix

0.1.99 Apr 7 2020

  • Update to model 0.0.54

    • Add HealthState field to Cluster type
    • Refactor alerts and operator conditions to contain only 'CriticalAlerts' and 'OperatorsConditionFailing'
    • Adding computeNodesSockets to cluster metrics
    • Fix pull secret deletion path
    • Remove unsupported cluster state
    • Add machine type category
  • Update to metamodel 0.0.27

    • Update file header year to 2020

0.1.98 Apr 6 2020

  • Update to model 0.0.53
    • Add pull secret deletion
    • Products: Add product attribute to cluster object
    • Products: Support for top-level cluster types
    • Add ClusterOperatorsConditions type
    • Add ClusterAlertsFiring type and field in ClusterMetrics

0.1.97 Mar 26 2020

  • Update to model 0.0.52
    • Add Subscription Model changes.

0.1.96 Mar 24 2020

  • Update to model 0.0.50
    • Add Ingress type
    • Add sockets to cluster_metrics_type

0.1.95 Mar 22 2020

  • Update to model 0.0.48:
    • Fix OpenID attributes.
    • Add Cluster API listening method.

0.1.94 Mar 19 2020

  • Update to model 0.0.47:
    • Add ClusterAdminEnabled flag.
    • Add PullSecrets endpoint.
    • Fix LDAPIdentityProvider attribute name.

0.1.93 Mar 18 2020

  • Update to model 0.0.46:
    • Add missing fields for add-on installation
    • Add operator name to add-ons

0.1.92 Mar 11 2020

  • Update to model 0.0.45:
    • Add Organizations field to GitHub IDP

0.1.91 Mar 5 2020

  • Update to model 0.0.42:
    • Add client_secret attribute to GitHub identity provider.

0.1.90 Mar 2 2020

  • Request new tokens when the OpenID server returns error code invalid_grant during the refresh token grant.

  • Check that responses from the OpenID server contain application/json in the Content-Type header, and improve the error messages generated in that case so that they contain a summary of the content.

  • Honor cookies sent by the OpenID and API servers.

0.1.89 Feb 26 2020

  • Update to metamodel 0.0.26.

    The more relevant change in the new version of the metamodel is the new operation_id attribute added to error objects and error messages. An error object like this:

    {
      "kind": "Error",
      "id": "401",
      "href": "/api/clusters_mgmt/v1/errors/401",
      "code": "CLUSTERS-MGMT-401",
      "reason": "My reason",
      "operation_id": "456"
    }

    Will result in the following error string (in one single line):

    identifier is '401', code is 'CLUSTERS-MGMT-401' and
    operation identifier is '456': My reason
    

    This addresses issue 150.

0.1.88 Feb 20 2020

  • Remove service and version parameters from the builder of the authentication handler. This is a backwards compatibility breaking change that requires changes in the code that creates the authentication handler. For example, if the current code is like this:

    handler, err := authentication.NewHandler().
            Logger(logger).
            Service("clusters_mgmt").
            Version("v1").
            Public("...").
            KeysFile("...").
            KeysURL("...").
            ACLFile("...").
            Next(next).
            Build()
    if err != nil {
            ...
    }

    It will need to be changed to this:

    handler, err := authentication.NewHandler().
           Logger(logger).
           Public("...").
           KeysFile("...").
           KeysURL("...").
           ACLFile("...").
           Next(next).
           Build()
    if err != nil {
           ...
    }

    Note that the only change required is removing the calls to the Service and Version methods of the builder. The handler will now extract those values from the request URL.

    This is specially important for programs that use the same authentication handler for multiple services.

  • Update to metamodel 0.0.25:

    • Run the gofmt command only once for all generated files instead of running it once per each generated file.
    • Avoid generating code with constructs that would then be simplified by the -s flag of the gofmt command.

0.1.87 Feb 14 2020

  • Preserver order of attributes of JSON documents sent to the log when debug mode is enabled.
  • Update to metamodel 0.0.24:
    • Add Content-Type to responses sent by the generated server code.
    • Don't require developer to explicitly remove the /api when using the server code.
    • Remove redundant quotes from error responses sent by the generated server code.

0.1.86 Feb 13 2020

  • Update to model 0.0.41:
    • Add target_namespace and install_mode attributes to AddOn type.
    • Add state attribute to AWSInfrastructureAccessRole type.

0.1.85 Feb 12 2020

  • Update to metamodel 0.0.23:
    • Fix missing OpenAPI paths due to incorrect use of append.

0.1.84 Feb 5 2020

  • Add method to update flavour.

0.1.83 Feb 3 2020

  • Check content type of HTTP responses and return an error if it isn't JSON.
  • Update to model 0.0.39:
    • Add types and resources for cluster operator metrics.
    • Add deleting and removed states to AWS infrastructure access role grant status.

0.1.82 Jan 23 2020

  • Update to model 0.0.38:
    • Add search and order parameters to the method that lists registry credentials.
    • Add labels parameter to the method that lists subscriptions.
    • Add types and resources for management of AWS infrastructure access roles.

0.1.81 Jan 16 2020

  • Add ability to intercept request and response using a transport middleware of type http.RoundTripper.

0.1.80 Jan 13 2020

  • Add body details in case of error from token provider.

0.1.79 Jan 9 2020

  • Update to metamodel 0.0.22:
    • Fix generation of OpenAPI paths so that all the characters are lower case.

0.1.78 Jan 8 2020

  • Fix URL prefix for the logs service.
  • Update to metamodel 0.0.21:
    • Use JSON iterator instead of the default JSON Go package.

0.1.77 Jan 8 2020

  • Don't require Go 1.13.
  • Update to model 0.0.37:
    • Add new service_logs service.
    • Add types and resources for machine types.

0.1.76 Jan 3 2020

  • Update to model 0.0.36:
    • Add types and resources for AWS infrastructure access roles.
    • Add GCP flavour and change AWS flavour to contain also the instance type.

0.1.75 Jan 1 2020

  • Update to model 0.0.35:
    • Add CurrentAccess support.

0.1.74 Dec 31 2019

  • Update to model 0.0.33:
    • Add the CreatedAt and UpdatedAt attributes to the Subscription type.

0.1.73 Dec 24 2019

  • Update to model 0.0.32:
    • Replace AddOns with AddOnInstallations.

0.1.72 Dec 19 2019

  • Update to model 0.0.31:
    • Add ban_code attribute to Account type.

0.1.71 Dec 19 2019

  • Authentication handler sends 401 instead of 511.
  • Authentication handler sends the WWW-Authenticate response header.
  • Authentication handler doesn't send authentication failures to the log.

0.1.70 Dec 18 2019

  • Update to metamodel 0.0.20:

    • Fix conversion of errors to JSON so that the kind attribute is generated correctly.
  • Add authentication handler.

0.1.69 Dec 17 2019

  • Update to model 0.0.30:
    • Add support for ClusterUUID field.

0.1.68 Dec 12 2019

  • Update to metamodel 0.0.19:
    • Don't fail on wrong kind.

0.1.67 Dec 12 2019

  • Don't check kinds of add-ons installations.

0.1.66 Dec 12 2019

  • Update to model 0.0.29:
    • Allow subscription identifier on role binding.

0.1.65 Dec 10 2019

  • Update to model 0.0.28:
    • Add AddOnInstallation type.

0.1.64 Dec 4 2019

  • Update to model 0.0.27:
    • Add resource_name and resource_cost attributes to the add-on type.

0.1.63 Dec 2 2019

  • Update to model 0.0.26:
    • Remove obsolete aws and version fields from the Flavour type.
    • Add instance type fields to the Flavour type.
    • Add AWSVolume and AWSFlavour types.
    • Add attributes required for BYOC.
    • Fix direction of Body parameters of updates.

0.1.62 Nov 28 2019

  • Update to model 0.0.25:
    • Allow patching role binding.

0.1.61 Nov 25 2019

  • Update to metamodel 0.0.18:
    • Add stage URL and securitySchemes to the generated OpenAPI specifications.

0.1.60 Nov 23 2019

  • Update to model 0.0.24:

    • Fix directions of paging parameters.
    • Fix direction of Body parameter of Update.
    • Add default values to paging parameters.
    • Update to metamodel 0.0.17.
  • Update to metamodel 0.0.17:

    • Add semantic checks.
    • Add support for default values.
    • Check default values of paging parameters.

0.1.59 Nov 20 2019

  • Update to model 0.0.23:
    • Add infra nodes to FlavourNodes.
    • Refactor flavour nodes.

0.1.58 Nov 19 2019

  • Update to metamodel 0.0.16:
    • Add simple conversion from AsciiDoc to Markdown.

0.1.57 Nov 19 2019

  • Update to metamodel 0.0.15:
    • Add support for the version metadata resource.

0.1.56 Nov 19 2019

  • Update to model 0.0.22:
    • Add socket_total_by_node_roles_os metric query.

0.1.55 Nov 17 2019

  • Update to model 0.0.21:
    • Added add-on resources and types.
    • Added subscription reserved resources collection.

0.1.54 Nov 17 2019

  • Drop support for developers.redhat.com.

  • Update to metamodel 0.0.14:

    • Add Poll method to clients that have a Get method.

0.1.53 Nov 14 2019

  • Update to model 0.0.20:

    • Query resource quota from root and delete by identifier.
  • Update to metamodel 0.0.13:

    • Fix imports of helpers and errors packages.

0.1.52 Nov 8 2019

  • Update to model 0.0.19:
    • Added identifiers to role binding type.

0.1.51 Nov 7 2019

  • Update to model 0.0.18:
    • Added support to search role bindings and resource quota.

0.1.50 Nov 4 2019

  • Update to metamodel 0.0.12:
    • Add OpenAPI specification generator.

0.1.49 Oct 28 2019

  • Update to model 0.0.17:
    • Added Disconnected, DisplayName and ExternalClusterID attributes to the cluster authorization request type.

0.1.48 Oct 27 2019

  • Update to model 0.0.16:

    • Added ResourceReview resource to the authorizations service.
  • Update to metamodel 0.0.11:

    • Improve parsing of initialisms.
    • Fix the method not allowed code.
    • Send not found when server returns nil target.
    • Generate service and version servers.
    • Don't generate files with execution permission.

0.1.47 Oct 25 2019

  • Update to metamodel 0.0.10:
    • Make HTTP adapters stateless.

0.1.46 Oct 24 2019

  • Update to model 0.0.15:
    • Added search parameter to the accounts List method.

0.1.45 Oct 24 2019

  • Update to model 0.0.14:
    • Added SKU type.
    • Improved organizations.
    • Improved roles.

0.1.44 Oct 15 2019

  • Upate to model 0.0.13:

    • Added AccessTokenAuth type.
    • Added auths attribute to AccessToken type.
  • Update to metamodel 0.0.9:

    • Generate shorter adapter names.
    • Use constants from the http package.
    • Shorter read and write names.
    • Rename SetStatusCode to Status.
    • Improve naming of variables.
    • Set default status.
    • Move errors and helpers generators to separate files.

0.1.43 Oct 10 2019

  • Update to model 0.0.12:
    • Add access_review resource.

0.1.41 Oct 10 2019

  • Update to model 0.0.11:
    • Add export_control_review resource.

0.1.40 Oct 7 2019

  • Update to model 0.0.10:
    • Add cpu_total_by_node_roles_os metric query.

0.1.39 Oct 7 2019

  • Update to model 0.0.9:
    • Add type attribute to the ResourceQuota type.
    • Add config_managed attribute to the RoleBinding type.

0.1.38 Sep 17 2019

  • Update to model 0.0.8:
    • Update methods don't return body.

0.1.37 Sep 16 2019

  • Update to model 0.0.7:
    • Add search parameter to the List method of the subscriptions resource.

0.1.36 Sep 16 2019

  • Update to model 0.0.6:

    • Remove the creator attribute of the Cluster type.
  • Update to metamodel 0.0.7:

    • Add Copy method to builders.

0.1.35 Sep 12 2019

  • Update to model 0.0.5:
    • Add order parameter to the methods to list accounts and subscriptions.

0.1.34 Sep 11 2019

  • Use access token that is about to expire if there is no other mechanism to obtain a new one.

  • Update to model 0.0.3:

    • Add order parameter to the collections that suport it.
    • Add cloud providers collection.

0.1.33 Sep 10 2019

  • Update to model 0.0.2:

    • Add DisplayName attribute to Subscription type.
  • Update to metamodel 0.0.5:

    • Fix generation of field names for query parameters.
    • Remove query and path fields from request objects.
    • Remove unused imports.

0.1.32 Sep 03 2019

  • Makefile generates code using the ocm-api-metamodel v0.0.4.

  • Generated servers parse request query parameters.

0.1.31 Aug 28 2019

  • Generated servers enforce no trailing slashes as well send Content-Type header.

0.1.30 Aug 27 2019

  • Renamed package to github.com/openshift-online/ocm-sdk-go.

0.1.29 Aug 26 2019

  • Generated servers can handle routes with and without trailing slashes.

  • Clone metamodel for code generation

  • Clone model for code generation

  • Rename main package

0.1.28 Aug 22 2019

  • Add Context parameter to Server methods.

0.1.27 Aug 22 2019

  • Add generated servers.

  • Changes ClusterRegistration response type from long to string .

0.1.26 Aug 13 2019

  • Add support for the compute_nodes_cpu and compute_nodes_memory metrics.

0.1.25 Aug 11 2019

  • Add support for quota summary.

  • Fix the data type of the cluster registration expiration date.

0.1.24 Jun 28 2019

  • Automatically select the deprecated OpenID server when authenticating with user name and password.

0.1.23 Jun 27 2019

  • Don't show cluster admin credentials in the debug log.

0.1.22 Jun 27 2019

  • Don't send warnings about toke issuer when no tokens are used.

  • Fix the names of the methods used to set the V values of the glog logger.

0.1.21 Jun 26 2019

  • Added methods to get connection attributes like token URL, client identifier, etc.

0.1.20 Jun 26 2019

  • Switch from developers.redhat.com to sso.redhat.com.

0.1.19 Jun 25 2019

  • Added GetMethod and GetPath methods to HTTP requests.

  • Added Header method to HTTP responses.

0.1.18 Jun 21 2019

  • Added support for the expiration_timestamp attribute of the Cluster type.

0.1.17 Jun 20 2019

  • Added support for the name attribute of the Dashboard type.

  • Added to lists a new Get method to get elements by index.

0.1.16 Jun 19 2019

  • Added to response types getter methods that return the value of the parameter and a boolean flag that indicates if there is actually a value.

0.1.15 Jun 19 2019

  • Add support for the versions collection.

0.1.14 Jun 4 2019

  • Redact sensitive fields in debug logs.

  • Don't crash when there is no response.

0.1.13 May 22 2019

  • Added support for building objects with attributes that are lists of structs.

0.1.12 May 20 2019

  • Added support for deleting subscriptions.

  • Added Prometheus metrics.

0.1.11 May 15 2019

  • Increase token slack to one minute.

0.1.10 May 8 2019

  • Improved support for contexts, adding the BuildContext, TokensContext and SendContext methods.

IMPORTANT: This version breaks backwards compatibility in the Logger interface, as all the methods require now a first ctx parameter.

0.1.9 May 3 2019

  • Added cluster credentials resource.

0.1.8 May 2 2019

  • Moved basic cluster metrics to the metrics attribute.

  • Added Empty method to lists and struct typess.

0.1.7 May 1 2019

  • Always close connections used to request access tokens.

0.1.6 Apr 23 2019

  • Add typed interface.

0.1.5 Apr 17 2019

  • Changed package path to github.com/openshift-online/uhc-sdk-go.

0.1.4 Apr 3 2019

  • Don't panic when no refresh token is provided.

0.1.3 Mar 27 2019

  • Don't close body in round tripper.

0.1.2 Mar 23 2019

  • Add support for offline access tokens.

0.1.1 Jan 25 2019

  • Change the glog logger so that it uses --v=0 for errors, warnings and information messages and --v=1 for debug messages.

0.1.0 Jan 24 2019

  • Renamed the project from api-client to uhc-sdk.

  • Moved the command line tool to a new uhc-cli project.

0.0.13 Jan 24 2019

  • Add context and timeout parameters to all requests.

  • Scrub password from debug log.

0.0.12 Dec 19 2018

  • Add TrustedCAs parameter to the connection builder.

0.0.11 Dec 17 2018

  • Check that T is passed to the testing logger.

0.0.10 Nov 27 2018

  • Implement terminal check correctly for macOS.

0.0.9 Nov 22 2018

  • Don't include the testing logger in the binary.

  • Added support for printing refresh tokens.

  • Added support for setting the OpenID scopes.

  • Added a new StdLogger that sends log messages to the standard output and error streams.