github.com/openshift-online/ocm-sdk-go@v0.1.473/CHANGES.md (about) 1 # Changes 2 3 This document describes the relevant changes between releases of the OCM API 4 SDK. 5 6 ## 0.1.473 7 - Update model to version 0.0.426: 8 - Restructure OS disk attributes for ARO-HCP NodePool 9 - Add `AzureNodePoolOsDisk` type and related resources 10 - Consolidate Azure node pool OS disk configuration into structured approach 11 12 ## 0.1.472 13 - Add script to simplify model update process 14 - Add git hook to validate pushed tag matches the Version constant 15 - Add version bump script and update the version file 16 - Update ocm-api-metamodel to v0.0.422 17 - Update API model with Azure node pool OS disk types and endpoints 18 19 ## 0.1.471 20 - Reorganize CONTRIBUTING.md file and remove unnecessary instructions 21 - Update release process documentation for ocm-api-model 22 - Add optional commit SHA argument to update-model script 23 - Update model with latest changes 24 25 ## 0.1.470 26 - Update model to version 0.0.422: 27 - Add AWS backup configuration support with `AWSBackupConfig` type 28 - Add Azure encryption enhancements including `AzureEtcdDataEncryption`, `AzureKmsEncryption`, and `AzureKmsKey` types 29 - Add new access transparency service with access protection and request types 30 - Add `ClientComponent` type for ARO-HCP 31 - Add development workflow improvements 32 - Prepare infrastructure for Azure node pool enhancements 33 34 ## 0.1.469 35 - Update model to add arohcp ManagedIdentitiesRequirements types and endpoints 36 37 ## 0.1.468 38 - update golangci to v2 39 - add macgregor, cristianoveiga to owners/approvers 40 - leadership flag enhancement: precheck handler added 41 - move JSON structs (serialization) to ocm-api-model 42 43 ## 0.1.467 44 - Update model version v0.0.419 45 - Add `LogType` to `NotificationDetailsRequest` 46 47 ## 0.1.466 48 - Update model version v0.0.418 49 - Add arohcp Version types and endpoints 50 - Add missing not-yet-generated changes for node pool encryption 51 52 ## 0.1.465 53 - Update model version v0.0.417 54 - Add `RhRegionID` field to `Subscription` and `ClusterAuthorizationRequest` type 55 56 ## 0.1.464 57 - Update model version to v0.0.416 58 - Added annotation to Node Pool State 59 60 ## 0.1.463 61 - Updated model version to v0.0.415 62 - Added `ClusterCapabilities` type 63 - Added `Capabilities` field to `Cluster` type 64 65 ## 0.1.462 66 - Updated model version to v0.0.414 67 - Added node pool endpoint resources for aro_hcp 68 - Added node pool state model in clusters_mgmt 69 - Added node pool status resources for aro_hcp 70 - Updated meta model version to v0.0.67 71 - Added async methods 72 73 ## 0.1.461 74 - Updated model version to v0.0.413 75 - Add the new inflight check endpoints 76 - Updated meta model version to v0.0.66 77 78 ## 0.1.460 79 - Updated model version to v0.0.412 80 - Added `ClusterCondition` field to `VersionGate` type 81 82 ## 0.1.459 83 - Update model version to v0.0.411 84 - Update json values for SDN to OVN Cluster Migration configuration properties 85 86 ## 0.1.458 87 - Update metamodel version to v0.0.65 88 - Enhance 'ref' mechanism 89 - Update model versiont to v0.0.410 90 - Add ClusterStatus to aro_hcp 91 92 ## 0.1.457 93 - Fix leadership/flag not respecting initial context supplied 94 95 ## 0.1.456 96 - Update model version to v0.0.409 97 - Update cluster migration state to match API object 98 99 ## 0.1.455 100 - Update model version to v0.0.408 101 - Update cluster migration type constant 102 103 ## 0.1.454 104 - Update model version to v0.0.407 105 - Add ClusterMigration resources 106 107 ## 0.1.453 108 - Update model version to v0.0.406 109 - Expose the GCP Shielded VM secure boot setting at the machine pool level 110 111 ## 0.1.452 112 - Update model version v0.0.405 113 - Update metamodel version v0.0.64 114 - Add ARO HCP v1alpha1 root resource 115 116 ## 0.1.451 117 - Update model version v0.0.404 118 - Add WifConfig patch endpoint 119 120 ## 0.1.450 121 - Update model version v0.0.403 122 - Add `NodesOutboundConnectivity` in azure_type.model to the `Azure` model 123 - Add `AzureNodesOutboundConnectivity` model 124 125 ## 0.1.449 126 Update model version v0.0.402 127 - Add WifConfig status endpoint 128 - Add `WifConfigStatus` model 129 130 ## 0.1.448 131 - Update model version v0.0.401 132 - Include support for HCP shared vpc fields in `Cluster` and `DNS` models. 133 134 ## 0.1.447 135 - Update model version v0.0.400 136 - Update ocm-sdk-go examples for Addons 137 - Update `Parameters` attribute in addon_installation_type.model to the List of `AddonInstallationParameter` type. 138 - Update `Parameters` attribute in addon_type.model to the List of `AddonParameter` type. 139 140 ## 0.1.446 141 - Update model version v0.0.399 142 - Improve Clusters Azure API type documentation 143 - Add Azure Operators Authentication related types 144 - Add `AzureOperatorsAuthentication` type to `Azure` type 145 146 ## 0.1.445 147 - Update model version v0.0.398 148 - Add updates for GCP Private Service Connect feature 149 150 ## 0.1.444 151 - Update model version v0.0.397 152 - Add `FlapDetection` field to `status_board.statuses` model 153 154 ## 0.1.443 155 - Update model version v0.0.396 156 - Add `FlapDetection` field to `status_board.status_updates` model 157 158 ## 0.1.442 159 - Update model version v0.0.395 160 - Add `ASWShard` struct 161 - Add `WifEnabled` field to `Version` model 162 163 ## 0.1.441 164 - Update model version v0.0.394 165 - Add `WifTemplates` field to `WifConfig` model 166 167 ## 0.1.440 168 - Update model version v0.0.393 169 - Include missing field to hypershift model 170 - Include new fields to manifest model 171 - Remove v2alpha1 resources 172 173 ## 0.1.439 174 - Update model version v0.0.392 175 - Add `vm` WIF access type 176 - Add `support` field to WifConfig resource 177 178 ## 0.1.438 179 - Update model version v0.0.391 180 - Add `RegistryConfig` attribute to `Cluster` model 181 - Add `RegistryAllowlist` resource and endpoints 182 183 ## 0.1.437 184 - Update model version v0.0.390 185 - Add `RolePrefix` field to `WifGcp` model 186 187 ## 0.1.436 188 - Update model version v0.0.389 189 - Add state struct to node pool 190 - Add limited support reason override 191 192 ## 0.1.435 193 - Add 'OidcThumbprint' type model to v1 and v2alpha1 194 - Add 'OidcThumbprintInput' type model to v1 and v2alpha1 195 - Add 'OidcThumbprint' resource model to v1 and v2alpha1 196 197 ## 0.1.434 198 - Update model version v0.0.386 199 - Add `RootVolume` attribute to `AWSNodePool` model 200 - Update model version v0.0.387 201 - Add `ProjectNumber` field to `WifConfig` model 202 203 ## 0.1.433 204 - Update model version v0.0.384 205 - Add clusters_mgmt API model for v2alpha1 206 - Update model version v0.0.385 207 - Update WIF endpoint path 208 - Remove WIF templates endpoints 209 210 ## 0.1.432 211 - Update model version v0.0.383 212 - Add `Kind` and `Id` field to GCP `Authentication` structure 213 214 ## 0.1.431 215 - Update model version v0.0.382 216 - Add `Authentication` field to GCP model 217 218 ## 0.1.430 219 - Added WIF endpoints and resources 220 221 ## 0.1.429 222 - Update model version v0.0.380 223 - Add `Architecture` attribute to `MachineType` model 224 - Add `ReleaseImages` attribute to `Version` model 225 226 ## 0.1.428 227 - Update model version v0.0.379 228 - Add `Ec2MetadataHttpTokens` to `AWSNodePool` resource 229 230 ## 0.1.427 231 - Update model version v0.0.378 232 - Add `MultiArchEnabled` attribute to `Cluster` model 233 234 ## 0.1.426 235 - Update for Windows support including systemcertpool 236 237 ## 0.1.425 238 - Update Windows certificates 239 240 ## 0.1.424 241 - Update model version v0.0.377 242 - Change type of the `OSDiskSizeGibibytes` attribute in the `AzureNodePool` resource from String to Integer. 243 244 ## 0.1.423 245 - Update model version v0.0.376 246 - Add `AzureNodePool` to `NodePool` type 247 248 ## 0.1.422 249 - Update model version v0.0.375 250 - Add `ManagementUpgrade` parameters to the `NodePool` model to support additional upgrade configuration. 251 - Support server name inference for regionalized OCM redirects 252 - Add `AdditionalAllowedPrincipals` to `AWS` type to support additional allowed principal ARNs to be added to the hosted control plane's VPC Endpoint Service. 253 254 ## 0.1.421 255 - Update model version v0.0.374 256 - Add `CreationTimestamp` and `LastUpdateTimestamp` to `RolePolicyBinding` type 257 - Add `access_transparency` service 258 259 ## 0.1.420 260 - Update model version v0.0.373 261 - Add `subnet_resource_id` to `Azure` resource 262 - Add `network_security_group_resource_id to `Azure` resource 263 264 ## 0.1.419 265 - Update model version v0.0.372 266 - Exposed the `/api/clusters_mgmt/v1/clusters/{id}/kubelet_configs` endpoint 267 - Added `name` field to `KubeletConfig` 268 - Added `kubelet_configs` field to `NodePool` 269 270 ## 0.1.418 271 - Update model version v0.0.371 272 - Add Tags to the AWSMachinePool model to support custom AWS tags for day 2 creation of machine pools 273 274 ## 0.1.417 275 - Add RolePolicyBindings to the AWS resource model to support STS Arbitrary Policies feature. 276 277 ## 0.1.416 278 - Update windows api.openshift certs 279 280 ## 0.1.415 281 - Update model version v0.0.369 282 - Update metamodel version to 0.0.60 283 - [OCM-6294] add /load_balancer_quota_values endpoint 284 - [OCM-7027] feat: document pagination and ordering support for break glass 285 - [OCM-7144] Add /storage_quota_values endpoint 286 - Add Azure resource to Cluster resource. 287 - Fix spacing in description of Azure's ManagedResourceGroupName 288 289 ## 0.1.414 290 - Update metamodel version v0.0.60 291 292 ## 0.1.413 293 - Update model version v0.0.366 294 - Fix Default Capabilities. 295 296 ## 0.1.412 297 - Update model version v0.0.365 298 - [OCM-6763] Add default capability resource to SDK. 299 300 ## 0.1.411 301 - Upgrade pgx version and other dependencies 302 303 ## 0.1.410 304 - Update model version v0.0.364 305 - Add `BreakGlassCredentials` to the `Cluster` resource model. 306 307 ## 0.1.409 308 - Update model version v0.0.363 309 - Add `NodeDrainGracePeriod` to the `NodePool` model. 310 - Update model version v0.0.362 311 - Changed `UserName` attribute for TokenClaimMappings to `Username`. 312 313 ## 0.1.408 314 - Update model version v0.0.361 315 - Add `Scope` attribute to `ReservedResource`. 316 - Add `Scope` attribute to `ClusterAuthorizationRequest`. 317 318 ## 0.1.407 319 - Update model version v0.0.360 320 - Add `ComponentRoutes` attribute to `Ingress` 321 322 ## 0.1.406 323 - Migrate Keychain `securestore` usage to non-CGO libraries 324 325 ## 0.1.405 326 - Update model version v0.0.359 327 - Add `ExternalAuthConfig` resource to `Cluster` model. 328 - Add `DomainPrefix` to `Cluster` model. 329 330 ## 0.1.404 331 - Update model version v0.0.357 332 - Add `ExternalAuth` to `ExternalAuthConfig` model 333 334 ## 0.1.403 335 - Update model version v0.0.356 336 - Reverting change to remove provision shard from cluster 337 338 ## 0.1.402 339 - Update model version v0.0.355 340 - Removed undefined api calls from the model 341 - Add support to `securestore` that allows the caller to define a keyring target 342 - Additional `securestore` Error Standardization 343 - Add error handling to `securestore` for denied Keychain access due to permissions 344 345 ## 0.1.401 346 - Update model version v0.0.353 347 - Added support for `PackageImage` for `clusters_mgmt` 348 349 ## 0.1.400 350 - Update model version v0.0.352 351 - Remove `StatusBoard` `fullname` search parameter. 352 - Deprecate `Notify` resource. 353 354 ## 0.1.399 355 - Additional error handling for `securestore` 356 357 ## 0.1.398 358 - Add regions support from ocm shards 359 - Don't error when response is 204 and no content-type 360 361 ## 0.1.397 362 - Add `NewUnauthenticatedConnectionBuilder` function to allow creating a 363 `Connection` without client side authentication 364 365 ## 0.1.396 366 - Remove redundant fields from /notify_details 367 - Add `ExternalAuthConfig` to `Cluster` model. 368 369 ## 0.1.395 370 - Add `SubnetOutposts` and `AvailabilityZoneTypes` to `aws_node_pool_type` and `aws_machine_pool_type` resources. 371 372 ## 0.1.394 373 - Added Device Code flow to `authentication` 374 - Update model version v0.0.347 375 - Add `HostedControlPlaneDefault` boolean to `Version` Type model. 376 377 ## 0.1.393 378 - Add authentication using OAuth2 and PCKE 379 - Add secure token storage 380 381 ## 0.1.392 382 - Update model version v0.0.346 383 - Modify notify_details response 384 385 ## 0.1.391 386 - Update model version v0.0.345 387 - Add `validate_credentials` resource to `AwsInquiries` 388 - Update model version v0.0.344 389 - Add the /notify_details endpoint to the SDK 390 391 ## 0.1.390 392 - Update model version v0.0.343 393 - Add `Platform`to `subnet_network_verification_type` resource 394 395 ## 0.1.389 396 - Update model version v0.0.342 397 - Add `Search` and `Order` methods to List `/api/clusters_mgmt/v1/clusters/{id}/node_pools` 398 399 ## 0.1.388 400 - Update model version v0.0.341 401 - Add DELETE /api/addons_mgmt/v1/clusters/{id}/addons endpoint 402 403 ## 0.1.387 404 - Update model version v0.0.340 405 - Add get `Platform` to `network_verification_type` resource 406 407 ## 0.1.386 408 - Update model version to v0.0.339 409 - Add `MachineTypes` to `GCPInquiriesClient` endpoints 410 411 ## 0.1.385 412 - Update model version to v0.0.338 413 - Add `ProductTechnologyPreviews` and `ProductMinimalVersions` endpoints 414 415 ## 0.1.384 416 - Updated client for `KubeletConfig` to align `post` and `update` function signatures 417 418 ## 0.1.383 419 - Update model version to v0.0.336 420 - Added `security` field to Cluster Service GCP field 421 422 ## 0.1.382 423 - Update model version to v0.0.335 424 - Add `doc_references` field in `LogEntry` 425 - Add tags to subnet network verification resource 426 427 - Update model version to v0.0.334 428 - Add Search method to status_board status_updates model 429 430 ## 0.1.381 431 - Update model version to v0.0.333 432 - Add `/api/clusters_mgmt/v1/clusters/{id}/kubelet_config` endpoint 433 - Add `KubeletConfig` struct 434 - Update `Cluster` struct to be able to optionally embed the `KubeletConfig` struct 435 436 ## 0.1.380 437 - Update model version v0.0.332 438 - Add `AdditionalInfraSecurityGroupIds` to `AWS` type 439 - Add `AdditionalControlPlaneSecurityGroupIds` to `AWS` type 440 - Update model version v0.0.331 441 - Add `Search` method to `status_board` `products_resource`, `applications_resource`, and `services_resource models` 442 443 ## 0.1.379 444 - Require Go 1.21 445 446 ## 0.1.378 447 - Update model version v0.0.330 448 - Add `Update` method to `HypershiftConfig` resource 449 450 ## 0.1.377 451 - Update model version v0.0.329 452 - Add get `ClusterId` to `network_verification_type` resource 453 454 ## 0.1.376 455 - Update model version v0.0.328 456 - Add get `VPC` to `Cluster` resource 457 458 ## 0.1.375 459 - Update model version v0.0.327 460 - Add `BestEffort` to method `Delete` in `Cluster` 461 462 ## 0.1.374 463 - Update model version v0.0.326 464 - Add `BackplaneURL` to `Environment` type 465 466 ## 0.1.373 467 - Update model version to v0.0.325 468 - Add `OrganizationId` to `FeatureReviewRequest` type 469 470 ## 0.1.372 471 - Update model version to v0.0.324 472 - Add `CreatedAt` to `LogEntry` type 473 - Add `CreatedBy` to `LogEntry` type 474 475 ## 0.1.371 476 - Update model version to v0.0.323 477 - Add `GCPMarketplaceEnabled` to `version` type 478 479 ## 0.1.370 480 - Update model version to v0.0.322 481 - Add AdditionalComputeSecurityGroupIds to AWS type 482 - Add AdditionalSecurityGroupIds to AWS Machine Pool type 483 - Add AwsSecurityGroups to VPC type 484 485 ## 0.1.369 486 - Update model version to v0.0.321 487 - Exposes `/api/clusters_mgmt/v1/aws_inquiries/sts_account_roles` in the SDK 488 489 ## 0.1.368 490 - Update model version v0.0.318 491 - Add `ImageOverrides` to `Version` type 492 493 ## 0.1.367 494 - Windows: Update SSO CA 495 - Update model version v0.0.315 496 - Add DisplayName and Description properties to `BillingModelItem` 497 498 ## 0.1.366 499 - Update model version v0.0.314 500 - Add new resources and a type for `BillingModelItem` 501 502 ## 0.1.365 503 - Update model version v0.0.312 504 - Added support for `AddonInstallations` endpoints for `addons_mgmt`. 505 - Updated APIs for `AddonStatus`, `AddonStatusCondition`, `AddonSubOperator` and `AddonVersion`. 506 507 ## 0.1.364 508 - Update model version v0.0.311 509 - Add a new resource to OSL clusters/cluster_log 510 511 ## 0.1.363 512 - Modify SelfAccessReview to return IsOCMInternal field 513 514 ## 0.1.362 515 - Redact aws access and secret access keys from debug logs 516 517 ## 0.1.361 518 - Update model version v0.0.309 519 - Modify access review response to include `is_ocm_internal` field. 520 - Add the remainder of cluster-autoscaler parameters. 521 522 ## 0.1.360 523 - Update model version v0.0.307 524 - Move `PrivateHostedZoneID` and `PrivateHostedZoneRoleARN` to `aws_type` resource 525 526 ## 0.1.359 527 - Update model version v0.0.306 528 - Fix upgrade related constants JSON output to align with existing values 529 - Update model version v0.0.305 530 - Add `PrivateHostedZoneID` and `PrivateHostedZoneRoleARN` to `cluster_type` resource 531 532 ## 0.1.358 533 - Update model version v0.0.304 534 - Add upgrade related constants also for `NodePoolUpgradePolicy`. 535 - Change DNS domain field names. 536 537 ## 0.1.357 538 - Update model version v0.0.303 539 - Add upgrade related constants. 540 - Update model version v0.0.302 541 - Add property `MarketplaceGCP` to `billing_model_type` in `clusters_mgmt` and `accounts_mgmt` 542 - Document `GovCloud`, `KMSLocationID` and `KMSLocationName` fields to `CloudRegion` 543 - Document `fetchRegions=true` to `cloud_providers` 544 545 ## 0.1.356 546 - Update model version v0.0.301 547 - Update name for `ClusterStsSupportRole` resource and type to `StsSupportJumpRole` 548 549 ## 0.1.355 550 - Update model version v0.0.300 551 - Add `UserDefined` in dns domain resource 552 553 ## 0.1.354 554 - Update model version v0.0.299 555 - OCM-209 | feat: Add cluster autoscaler API resources 556 - OCM-209 | feat: Add autoscaler locator in cluster resource 557 558 ## 0.1.353 559 - Prevent connection leak in retry wrapper 560 561 ## 0.1.352 562 - Update model version v0.0.297 563 - Add managed ingress attributes 564 - Fix `fetchLabels` and `fetchAccounts` url parameter names 565 - Add `ClusterStsSupportRole` resource and type 566 567 ## 0.1.351 568 - Update model version v0.0.296 569 - Add json annotation to `DeleteAssociatedResources` parameter in account resource 570 571 ## 0.1.350 572 - Update model version v0.0.294 573 - Add `DeleteAssociatedResources` locator to account resource 574 - Update model version v0.0.295 575 - Update `ReservedAt` to `ReservedAtTimestamp` in dns domain type 576 - Update metamodel version 0.0.59: 577 - Honor`@http` annotation for query parameters 578 579 ## 0.1.349 580 - Update model to version v0.0.293 581 - Add label list to OSDFM cluster request payloads 582 - Replace references to labels in OSDFM cluster structs with the labels themselves 583 - Fix typos in OSDFM cluster Label struct fields 584 - Add HashedPassword field to clusters_mgmt to provide encrypted value 585 - Add cluster autoscaler structs 586 587 ## 0.1.348 588 - Update model version v0.0.291 589 - Add Reason to access review responses 590 - Enable users to provide both hashed and plain-text passwords 591 - API model for network verification 592 593 ## 0.1.347 594 - Update model version v0.0.290 595 - Rename `MachineTypeRootVolume` to `RootVolume` 596 - Put `RootVolume` in `ClusterNodes` 597 - add contracts to cloud accounts (#765) 598 599 ## 0.1.346 600 - Update model version v0.0.289 601 - Add Load balancer type to Ingress model 602 - remove unused API endpoints 603 604 ## 0.1.345 605 - Update model version v0.0.288 606 - Add `DNSDomains` resource to the `root_resource`. 607 - Complete OSD FM api for SDK usage. 608 609 ## 0.1.344 610 - Update model version v0.0.287 611 - Add Htpasswd to Cluster 612 613 ## 0.1.343 614 - Update model version v0.0.286 615 - Add MachineTypeRootVolume to MachinePool 616 617 ## 0.1.342 618 - Update model version v0.0.285 619 - Changed DNS Domain from Class to a Struct. 620 - Change dns domain type to class and remove ID. 621 622 ## 0.1.341 623 - Update model version v0.0.282 624 - Changing parameter name from HttpTokensState to Ec2MetadataHttpTokens 625 626 ## 0.1.340 627 - Update model version v0.0.281 628 - Add `RootVolume` of type `MachineTypeRootVolume` to `MachineType` type. 629 630 ## 0.1.339 631 - Update model version v0.0.280 632 - Add `HttpTokensState` to `AWS` resource. 633 634 ## 0.1.338 635 - Windows: Update API CA 636 637 ## 0.1.337 638 - Windows: Update SSO CA 639 640 ## 0.1.336 641 - Update model version v0.0.279 642 - Add `AuditLog` to `AWS` resource. 643 - Add `RoleArn` attribute to the `AuditLog` model. 644 645 ## 0.1.335 646 - Update model version v0.0.278 647 - Add InflightChecks locator to cluster resource 648 - Add BillingAccountID to AWS model 649 650 ## 0.1.334 651 - Update model version v0.0.276 652 - Add delete method to `Account` resource. 653 - Add `tuning_configs` endpoints. 654 - Add `tuning_configs` field to Node Pools. 655 656 ## 0.1.333 657 - Update model version v0.0.275 658 - Add pending delete cluster API. 659 - Update model version v0.0.274 660 - Add `Subnets` property to the CloudProviderData model. 661 662 ## 0.1.332 663 - Update model version v0.0.273 664 - update metamodel version 0.0.57 665 - remove circular dependencies from clusters mgmt 666 667 ## 0.1.331 668 - Update model to v0.0.272 669 - adding quota version 670 671 ## 0.1.330 672 - Update model to v0.0.271 673 - Adding `version_inquiry` endpoint to Managed Services. 674 675 ## 0.1.329 676 - Update model to v0.0.270 677 - adding quota auth to root resource model 678 679 ## 0.1.328 680 - Update model to v0.0.269 681 - Add `DeleteProtection` resource to `Cluster` resource. 682 - adding quota auth models 683 684 ## 0.1.327 685 - Update model to v0.0.268 686 - Replace `OidcConfigId` for `OidcConfig` in `STS` resource. 687 688 ## 0.1.326 689 - Update model to v0.0.267 690 - Add `OidcConfigId` to `STS` resource. 691 - Remove `OidcPrivateKeySecretArn` from `STS` resource. 692 693 ## 0.1.325 694 - Update model to v0.0.266 695 - Adjust `Oidc Configs` endpoints. 696 697 ## 0.1.324 698 - Update model to v0.0.265 699 - Rename `HypershiftEnabled` boolean to `HostedControlPlaneEnabled` in `Version` Type model. 700 701 ## 0.1.323 702 - Update model to v0.0.264 703 - Add `Hosted Oidc Configs` endpoints. 704 705 ## 0.1.322 706 - Update model to v0.0.263 707 - Add `HypershiftEnabled` boolean to `Version` Type model. 708 709 ## 0.1.321 710 - Update model to v0.0.262 711 - Add `Control Plane Upgrade Scheduler` endpoints. 712 713 ## 0.1.320 714 - Update to model v0.0.261 715 - Add `commonAnnotations` and `commonLabels` to addons 716 - Update to Addon structs and openapi.json for supporting 717 - `commonAnnotations` 718 - `commonLabels` 719 720 ## 0.1.319 721 - Update to model v0.0.260 722 - Add `ManagedPolicies` field to the `STS` type model. 723 724 ## 0.1.318 725 - Update to model v0.0.259 726 - Add master and infra instance types to cluster nodes 727 - Update to model v0.0.258 728 - Export cluster name for mgmt, mgmt_parent, and svc clusters 729 730 ## 0.1.317 731 - Update to model v0.0.257 732 - Add `ByoOidc` type to Cluster type model 733 - Add addon upgrade policy to clusters_mgmt 734 - Add `Labels` and `Taints` to NodePool type 735 736 ## 0.1.316 737 - Update to model v0.0.256 738 - Add `LogType` field to Cluster Log type model 739 - Fix Addon status type and value constants 740 741 ## 0.1.315 742 - Update to model v0.0.255 743 - Add `Version` field to node pool 744 745 ## 0.1.314 746 - Update to model v0.0.254 747 - Add `PrivateLinkConfiguration` type with related endpoints 748 749 ## 0.1.313 750 - Update to model v0.0.253 751 - Update Permission resource attributes 752 * Rename ResourceType to Resource 753 754 ## 0.1.312 755 - Update to metamodel 0.0.57 756 757 ## 0.1.311 758 - Update to model v0.0.252 759 - Update `STS` resource attributes 760 * Remove `BoundServiceAccountSigningKey` 761 * Remove `BoundServiceAccountKeyKmsId` 762 * Rename `BoundServiceAccountKeySecretArn` to `OidcPrivateKeySecretArn` 763 764 ## 0.1.310 765 - Update to model v0.0.251 766 - Update `NodePool` with status attributes 767 - Added `current_compute` attribute in `ClusterStatus` for hosted clusters. 768 - Added missing variable to `addon environment variable` for addons mgmt 769 770 ## 0.1.309 771 - Update to model v0.0.250 772 - Add `Addon Inquiries API` to `addons_mgmt` 773 774 ## 0.1.308 775 - Update to model v0.0.249 776 - Add `BoundServiceAccountKeySecretArn` attribute to the `Sts` model. 777 778 ## 0.1.307 779 - Update to model v0.0.248 780 - Add `AwsEtcdEncryption` type model and reference from `AWS`. 781 - Add `Enabled` attribute to `STS` model. 782 783 ## 0.1.306 784 - Update to model v0.0.247 785 - Corrected `Metrics` type on `DeletedSubscription` 786 787 ## 0.1.305 788 - Update to model v0.0.246 789 - Add Search to `Capabilities` resource 790 791 ## 0.1.304 792 - Update to model v0.0.245 793 - Add `BoundServiceAccountKeyKmsId` attribute to the `Sts` model. 794 795 ## 0.1.303 796 - Update to model v0.0.244 797 - Add `ARN` attribute to the `AWSSTSPolicy` model. 798 799 ## 0.1.302 800 - Update to model v0.0.243 801 - Add `BoundServiceAccountSigningKey` attribute to the `Sts` model. 802 - Update to model v0.0.242 803 - Add `AddonNamespace` resource model. 804 - Add `CommonLabels` attribute to the `Addon` model. 805 - Add `CommonAnnotations` attribute to the `Addon` model. 806 - Add `MachineType` locator on `MachineTypes` model. 807 808 ## 0.1.301 809 - Update to model v0.0.241 810 - Add `DeletedSubscriptions` 811 - Add `AddonCluster` 812 - Add `AddonStatus` 813 814 ## 0.1.300 815 - Update PR check to include go v1.19 816 - Update goimports to v0.4.0 817 - Update to model v0.0.240 818 - Fix `AddonConfig` on `AddonConfigType` resource model. 819 820 ## 0.1.299 821 - Update to model 0.0.239 822 - Fixes for `NodePoolAutoScaling` and `AWSNodePool`. 823 824 ## 0.1.298 825 - Update to model 0.0.238 826 - `NodePool` fixes. 827 828 ## 0.1.297 829 - Update to model 0.0.237 830 - Add `NodePool` resource types. 831 - Add `NodePools` locator to `Cluster` type. 832 833 ## 0.1.296 834 - Update to model 0.0.236 835 - Add extra fields to label model: 836 - Type 837 - ManagedBy 838 - AccountID 839 - SubscriptionID 840 - OrganizationID 841 842 ## 0.1.295 843 - Update to model 0.0.235 844 - Add `capabilities` resource model. 845 846 ## 0.1.294 847 - Update to model 0.0.233 848 - Add SupportsHypershift property to CloudRegion model. 849 850 ## 0.1.293 851 - Update to model 0.0.232 852 - Modify `availabilityZone` property in CloudProviderData model from `string` to `[]string`. 853 854 ## 0.1.292 855 - Update to model 0.0.231 856 - Add `AvailabilityZone` property to CloudProviderData model. 857 - Add `Public` property to Subnetwork model. 858 859 ## 0.1.291 860 - Update to model 0.0.230 861 - Add creation timestamp and modification timestamp to provision shard 862 - Add pull secret for addon version 863 - Add addon secret props for addon version config 864 - Add additional catalog sources for addon version 865 - Add addon parameter condition 866 867 ## 0.1.290 868 - Update to model 0.0.229 869 - Add Addon Management models 870 - Add GCP Encryption Keys to cluster model 871 - Add client for Fleet Management service 872 - Add client for Addons Management service 873 874 ## 0.1.289 875 - Update to model 0.0.228 876 - Add hypershift endpoint with its ManagementCluster. 877 - Align hypershift case usage. 878 - [Hypershift] Expose /manifests 879 - Added expiry setting to managed service clusters. 880 - Added Manifests to external_configuration. 881 - Add marketplace specific enum for clusters mgmt 882 - Add Search method to ProvisionShards 883 884 ## 0.1.288 885 - Windows: Update CA 886 887 ## 0.1.287 888 - Update to model 0.0.223: 889 - Add Version property to CloudProviderData model. 890 - Add InfraID property to Cluster model. 891 - Drop deprecated DisplayName property from ClusterRegistration model. 892 - Add ConsoleUrl and DisplayName properties to ClusterRegistration model and correct documentation. 893 894 ## 0.1.286 895 - Update to model 0.0.220: 896 - Add `ManagedBy` property in RoleBinding type 897 898 ## 0.1.285 899 - Update to model 0.0.219: 900 - Add billing model to addon installations 901 902 ## 0.1.284 903 - Update to model 0.0.218: 904 - Change provision shard to include kube client configurations and server URL. 905 906 ## 0.1.283 907 - Update to model 0.0.217: 908 - Change provision shard to include kube client configurations. 909 - Add GCP volume size to flavour API. 910 - Add fleet manager related structures and API. 911 912 ## 0.1.282 913 - Update to model 0.0.215: 914 - Add hypershift config to provision shard API. 915 916 ## 0.1.281 917 - Update to model 0.0.214: 918 - Add locator `label` to Generic Labels resource. 919 920 ## 0.1.280 921 - Update to model 0.0.213: 922 - Add update function to provision shard API. 923 924 ## 0.1.279 925 - Update to model 0.0.212: 926 - Add status to provision shard API. 927 928 ## 0.1.278 929 - Update to model 0.0.211: 930 - Remove `DisplayName` field from Cluster model. 931 - Add API for adding and removing a provision shard. 932 933 ## 0.1.277 934 - Update to model 0.0.209: 935 - Add `capabilities` field to account type. 936 937 ## 0.1.276 938 - Update to model 0.0.208: 939 - Add `delete` method to registryCredentials type. 940 941 ## 0.1.275 942 - Update to model 0.0.207: 943 - Add `Subnets` field to machinePool type. 944 945 ## 0.1.274 946 - Update to model 0.0.206: 947 - Add `ExcludeSubscriptionStatuses` field to ResourceReview type. 948 - Add `dry_run` flag to ClusterDeleteRequest type. 949 950 ## 0.1.273 951 - Update to model 0.0.205: 952 - Add `BillingMarketplaceAccount` field to ReservedResource type. 953 954 ## 0.1.272 955 - Update to model 0.0.204: 956 - Remove volume type from flavour 957 - Add Network Configuration for Managed Services 958 959 ## 0.1.271 960 - Update to model 0.0.203: 961 - Add `MarketplaceAWS`, `MarketplaceAzure`, `MarketplaceRHM` billing models. 962 963 ## 0.1.270 964 - Update to model 0.0.202: 965 - Add `CloudAccount` type. 966 - Add `CloudAccounts` field to QuotaCost type. 967 - Add `BillingMarketplaceAccount` field to Subscription type. 968 969 ## 0.1.269 970 971 - authentication: Allow client credential grants with basic auth 972 - Update to model 0.0.201: 973 - Adding groups claim to openID IDP 974 975 ## 0.1.268 976 977 - Update to model 0.0.200: 978 - Add `hypershift.enabled` field to the cluster type. 979 980 ## 0.1.267 981 - Update to model 0.0.199: 982 - Fix cred request api model parameters 983 984 ## 0.1.266 985 - Update to model 0.0.198: 986 - Add cred request to api model 987 - Add AWSRegionMachineTypes endpoint to api model 988 - windows: Update certificates 989 990 991 ## 0.1.265 992 - Update to model 0.0.197: 993 - Change inflight check type Details field to Interface 994 995 996 ## 0.1.264 997 - Update to model 0.0.196: 998 - Added Machine Pool Security Group Filters for Machine Pools and Cluster Nodes 999 - Drop RoleARN from AddOnInstallation 1000 1001 ## 0.1.263 Apr 19 2022 1002 1003 - Update to model 0.0.195: 1004 - Added Import method to the HTPasswd IDP user collection. 1005 - Added credential request type and updated the addon type to include it 1006 1007 ## 0.1.262 Apr 14 2022 1008 1009 - Update to model 0.0.194: 1010 - Added availability zone fields to managed service cluster struct. 1011 1012 ## 0.1.261 Apr 14 2022 1013 1014 - Update to model 0.0.193: 1015 - Add limitedSupportReasonCount to cluster status struct. 1016 - Add inflight check API. 1017 1018 ## 0.1.260 Apr 11 2022 1019 1020 - Update to model 0.0.191: 1021 - Fix JSON representation of log severity. 1022 1023 ## 0.1.259 Apr 8 2022 1024 1025 - Update to model 0.0.190: 1026 - Fix JSON names of identity provider types. 1027 - Add enable minor version upgrades flag to upgrade policy. 1028 1029 ## 0.1.258 Apr 5 2022 1030 1031 - Update to model 0.0.189: 1032 - Added QuotaRules to ocm-sdk-go 1033 - Added no_proxy field to the proxy project 1034 - Added errors resource. 1035 - Added errors support for status-board. 1036 1037 ## 0.1.257 Apr 1 2022 1038 1039 - Add `web-rca` examples. 1040 - Update to metamodel 0.0.53: 1041 - Don't consider `Status` and `Error` built-in request parameters. 1042 - Update to metamodel 0.0.54: 1043 - Remove generation of experimental server code. 1044 - Update to model 0.0.188: 1045 - Add Status query param for incidents resource. 1046 1047 ## 0.1.256 Mar 31 2022 1048 1049 - Update to model 0.0.187: 1050 - Add new `web-rca` service. 1051 1052 ## 0.1.255 Mar 30 2022 1053 1054 - Update to model 0.0.186: 1055 - Add ManagementCluster to ProvisionShard 1056 1057 1058 ## 0.1.254 Mar 30 2022 1059 1060 - Update to model 0.0.185: 1061 - Fixes to Cloud Resources endpoints. 1062 1063 ## 0.1.253 Mar 29 2022 1064 1065 - Update to model 0.1.184: 1066 - Adding Cloud Resources endpoints. 1067 1068 ## 0.1.252 Mar 17 2022 1069 1070 - Update to model 0.1.183: 1071 - Added field for parameters to be specified for managed services. 1072 1073 ## 0.1.251 Mar 15 2022 1074 1075 - Update to model 0.1.182: 1076 - Adding `service_mgmt` service. 1077 1078 ## 0.1.250 Mar 14 2022 1079 1080 - Update to model 0.0.181: 1081 - Add aws sts policy 1082 - Add ReleaseImage to Version 1083 1084 ## 0.1.249 Mar 9 2022 1085 1086 - Update to model 0.0.180: 1087 - Add CloudProvider info to ProvisionShards. 1088 1089 ## 0.1.248 Mar 9 2022 1090 1091 - Update to model 0.0.179: 1092 - Fix cluster logs URL, should be `cluster_logs` instead of `cluster_logs_uuid`. 1093 1094 ## 0.1.247 Mar 8 2022 1095 1096 - Update to metamodel 0.0.52: 1097 - Add support for annotations. 1098 - Add `@json` and `@http` annotations. 1099 - Add `@go` annotation. 1100 - Add original text to names. 1101 - Add `Impersonate` method to support the `Impersonate-User` header. 1102 1103 ## 0.1.246 Mar 7 2022 1104 1105 - Update to model 0.0.178: 1106 - Add `managed_service` field to add-on type. 1107 - Add `credentials_secret` field to add-on type. 1108 - Add `region` field to provision shard. 1109 1110 ## 0.1.245 Mar 3 2022 1111 1112 - Update to model 0.0.177: 1113 - Fix update method of environment endpoint, should be `Update` instead of 1114 `Patch`. 1115 - Remove unimplemented `POST /api/service_logs/v1/cluster_logs/clusters/{uuid}/cluster_logs` 1116 method. 1117 1118 ## 0.1.244 Mar 02 2022 1119 - Update to model 0.0.176 1120 - adding new endpoint for 'environment' 1121 1122 ## 0.1.243 Mar 02 2022 1123 - Update to model 0.0.175 1124 - adding new apis for addon config attribute 1125 - adding list of requirements to addon parameter options 1126 - adding name fields to VPCs and Subnetworks 1127 - rename addon env object 1128 1129 ## 0.1.242 Feb 16 2022 1130 1131 - Update to model 0.0.174 1132 - adding rhit_account_id to Account class 1133 1134 ## 0.1.241 Feb 11 2022 1135 1136 - Update to model 0.0.173: 1137 - addons: Support attributes necessary for STS. 1138 - Add ProductIds param to Status Resource. 1139 - Add Role bindings to Subscription. 1140 1141 ## 0.1.240 Feb 4 2022 1142 1143 - Update to model 0.0.172: 1144 - Remove deprecated `SKUs` endpoint. 1145 - Remove deprecated quota summary resource and type. 1146 - Add QuotaVersion to ClusterAuth. 1147 - Allow adding/removing operator roles. 1148 1149 ## 0.1.239 Feb 3 2022 1150 1151 - Update to metamodel 0.0.51: 1152 - Check for `io.EOF` before trying to parse response body. 1153 1154 ## 0.1.238 Jan 28 2022 1155 1156 - Update to model 0.0.170: 1157 - Add `ServiceInfo` type to status board service. 1158 1159 ## 0.1.237 Jan 25 2022 1160 1161 - Update to metamodel 0.0.50: 1162 - Fix format of date query parameters so that it is RFC3339. 1163 1164 ## 0.1.236 Jan 25 2022 1165 - Update to model v0.0.169 1166 - Version gate type: Add warning message field 1167 1168 ## 0.1.235 Jan 11 2022 1169 1170 - Install metamodel with `go install` 1171 - Update to model v0.0.168 1172 - Fix description of various API attributes 1173 - OVN: Add network type selection 1174 - adding field to hold validation error message 1175 1176 ## 0.1.234 Jan 4 2022 1177 1178 - Update to version 4 of JWT library. 1179 1180 Note that this is a backwards compatibility breaking change because the 1181 `jwt.Token` type is used as parameter in the `authentication.ContextWithToken` 1182 and `authentication.TokenFromContext` methods. If you are using those methods 1183 then you will have to change your code to import `github.com/jwt-go/jwt/v4` 1184 instead of `github.com/jwt-go/jwt`. 1185 1186 - Update to Ginkgo 2. 1187 1188 This change affects only the tests, but if you are using _Ginkgo_ in your 1189 project and you are still using version 1 then you may find issues when 1190 running the `ginkgo` command because both versions of the library will be 1191 included in your tests binaries and both will try to use the `flag` package to 1192 create conflicting command line flags. If that is the case the best approach 1193 is to update your project go use version 2 as well. 1194 1195 ## 0.1.233 Dec 28 2021 1196 1197 - Update to model 0.0.167: 1198 - Change field name in version gate agreement link to version gate. 1199 1200 ## 0.1.232 Dec 26 2021 1201 1202 - Update to model 0.0.166: 1203 - Change version gate agreement URL. 1204 1205 ## 0.1.231 Dec 22 2021 1206 1207 - Update to model 0.0.165: 1208 - Move version gates to be top level resource. 1209 - Add version raw id prefix to version gates. 1210 - Update version of JSON iterator. 1211 - Update SQL drivers. 1212 - Don't use github.com/ghodss/yaml 1213 - Require Go 1.16 1214 1215 ## 0.1.230 Dec 21 2021 1216 1217 - Update to model 0.0.163: 1218 - Add support for deleting version gate. 1219 1220 ## 0.1.229 Dec 21 2021 1221 1222 - Update to model 0.0.162: 1223 - Add support for adding version gate. 1224 1225 ## 0.1.228 Dec 20 2021 1226 1227 - Update to metamodel 0.0.46: 1228 - Remove unused imports. 1229 - Check result of `Flush` method. 1230 - Cancel poll context. 1231 - Avoid some ineffectual assignments. 1232 - Explicitly use `jsoniter` package selector. 1233 1234 - Update to model 0.0.161: 1235 - Support for version gate agreements. 1236 1237 ## 0.1.227 Dec 20 2021 1238 1239 - Update to model 0.0.160: 1240 - Change version gates URL. 1241 1242 ## 0.1.226 Dec 20 2021 1243 1244 - Update to model 0.0.159: 1245 - Support for version gates. 1246 1247 ## 0.1.225 Dec 19 2021 1248 1249 - MatchJQ should require at least one result 1250 - Update to model 0.0.158: 1251 - Adding subnetworks to vpc inquiry 1252 - Add statuses path to service model, add some comments. 1253 - [SDB-2509] Update OSL API schema to be compatible with ocm-sdk-go 1254 1255 ## 0.1.224 Dec 10 2021 1256 1257 - Support pull-secret access token as a valid token. 1258 1259 - Update to model 0.0.156: 1260 - Add `updates` method to status board product resource. 1261 - Fix status get method of status board. 1262 1263 ## 0.1.223 Dec 9 2021 1264 1265 - Update to model 0.0.155: 1266 - Add `status_board` service. 1267 1268 ## 0.1.222 Dec 3 2021 1269 1270 This version doesn't contain changes to the functionality, only to the 1271 development and build workflows: 1272 1273 - Rename `master` branch to `main`. 1274 1275 To adapt your local repository to the new branch name run the following 1276 commands: 1277 1278 ```shell 1279 git branch -m master main 1280 git fetch origin 1281 git branch -u origin/main main 1282 git remote set-head origin -a 1283 ``` 1284 1285 - Automatically add changes from `CHANGES.md` to release descriptions. 1286 1287 ## 0.1.221 Dec 1 2021 1288 1289 - Modify `func (c *Connection) Close()` to return nil in case the connection is already closed. 1290 1291 ## 0.1.220 Nov 25 2021 1292 1293 - Added utilities to test with `jq` expressions and JSON patches. 1294 1295 ## 0.1.219 Nov 22 2021 1296 1297 - Update to model 0.0.153: 1298 - Enable FIPS mode 1299 1300 ## 0.1.218 Nov 22 2021 1301 1302 - Update to metamodel 0.0.44: 1303 - Check for loops in locator paths. 1304 - Add `Empty` method to builders. 1305 1306 ## 0.1.217 Nov 18 2021 1307 1308 - Update to model 0.0.152 1309 - Update type `resource` to `clusterResources` 1310 - Revert "Add Name field to LDAP identity provider" 1311 - Remove addon install mode `singleNamespace` 1312 - Add addon install mode `ownNamespace` 1313 - Add channel to addon version class 1314 1315 ## 0.1.216 Nov 15 2021 1316 1317 - Update to metamodel 0.0.43: 1318 - Add `status` attribute to errors. 1319 1320 ## 0.1.215 Nov 7 2021 1321 - Update to model 0.0.151: 1322 - Add Name field to LDAP identity provider 1323 1324 ## 0.1.214 Oct 27 2021 1325 - Update to model 0.0.150: 1326 - Fix addon installation version (addon_version vs version) 1327 - Remove no_proxy attribute from SDK 1328 - Add body to the external tracking event 1329 1330 ## 0.1.213 Oct 26 2021 1331 1332 - Update to model 0.0.42 1333 - Accept iterator as parameter in `helpers.NewIterator` 1334 - Retry when `REFUSED_STREAM` 1335 1336 ## 0.1.212 Oct 12 2021 1337 1338 - Fix typo in HTTP internal server error message 1339 - Copy data package from CLI 1340 - Add support for digging inside maps 1341 - Replace expired CA certs for windows 1342 - Update model to 0.0.149 1343 - Add Addon Versions 1344 1345 ## 0.1.211 Oct 05 2021 1346 1347 - Update to model 0.0.148: 1348 - Revert archived clusters endpoint. 1349 1350 ## 0.1.210 Sep 27 2021 1351 1352 - Update to model 0.0.147: 1353 - Add missing connection to clusters collection in the `service_logs` service. 1354 1355 ## 0.1.209 Sep 21 2021 1356 1357 - Avoid hard-coded private keys 1358 - Bump API model to v0.0.146 1359 - Add Status to AddOnRequirement 1360 1361 ## 0.1.208 Sep 13 2021 1362 1363 - Add Archived cluster endpoint 1364 - Add cluster waiting state 1365 1366 ## 0.1.207 Sep 13 2021 1367 1368 - Add cluster-wide proxy 1369 1370 ## 0.1.206 Sep 9 2021 1371 1372 - Update model to v0.0.143: 1373 - Add Add() method to Limited Support Reasons resource 1374 1375 ## 0.1.205 Sep 9 2021 1376 1377 - Update model to v0.0.142: 1378 - Add Limited Support Reason API 1379 1380 ## 0.1.204 Aug 25 2021 1381 1382 - Change level of token retry messages to `DEBUG`. 1383 1384 ## 0.1.203 Aug 23 2021 1385 1386 - Retry requests with body 1387 - Update to metamodel 0.0.39 1388 - Add Details to Errors 1389 1390 ## 0.1.202 Aug 18 2021 1391 1392 - Update model to v0.0.141: 1393 - Add support for EndOfLifeTimestamp in version 1394 1395 ## 0.1.201 Aug 17 2021 1396 1397 - Retry when server sends go away before settings. 1398 - Reject impersonation. 1399 1400 ## 0.1.200 Aug 11 2021 1401 1402 - Update model to v0.0.140: 1403 - Add check_optional_terms to TermsReview and SelfTermsReview 1404 - Add reduceClusterList to ResourceReview and SelfResourceReview 1405 1406 ## 0.1.199 Aug 10 2021 1407 1408 Changes in this release are mainly intended to simplify packaging of the SDK in 1409 Fedora, see [issue #421](https://github.com/openshift-online/ocm-sdk-go/issues/421) 1410 for details. 1411 1412 - Use `golang-jwt/jwt` instead of `dgrijalva/jwt-go`. 1413 1414 The `dgrijalva/jwt-go` library is no longer maintained and `golang-jwt/jwt` is 1415 a community maintained fork. See https://github.com/dgrijalva/jwt-go/issues/462 1416 for detailts. 1417 1418 Parts of the public interface of the SDK use this library, so this is a 1419 backwards compatibility breaking change. Projects using the SDK will need to 1420 switch to the new library, specially if they are using the 1421 `context.ContextWithToken` or `context.TokenFromContext` functions. The change 1422 should only require changing the import paths, as the fork is fully compatible 1423 with the original library. 1424 1425 A simple way to do the required changes is the following command: 1426 1427 ```shell 1428 $ find . -name '*.go' | xargs sed -i 's|dgrijalva/jwt-go|golang-jwt/jwt|' 1429 ``` 1430 1431 This also addresses 1432 [CVE-2020-2610](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-26160[CVE-2020-26160), 1433 but that vulnerability doesn't currently affect the SDK because the 1434 authentication handler doesn't use the `aud` claim. 1435 1436 - Use [microcosm-cc/bluemonday](https://github.com/microcosm-cc/bluemonday) 1437 instead of [grokify/html-strip-tags-go](https://github.com/grokify/html-strip-tags-go) 1438 for HTML sanitizing. 1439 1440 - Use [json-iterator/go](https://github.com/json-iterator/go) instead of 1441 [c0b/go-ordered-json](https://gitlab.com/c0b/go-ordered-json) to ensure ordered 1442 JSON in debug output. 1443 1444 ## 0.1.198 Aug 03 2021 1445 1446 - Update model to v0.0.139: 1447 - Add kms key arn to aws ccs cluster encryption 1448 1449 ## 0.1.197 Jul 22 2021 1450 1451 - Update model to v0.0.138: 1452 - Add addon inquiries endpoints get and list 1453 1454 ## 0.1.196 Jul 20 2021 1455 1456 - Update model to v0.0.137: 1457 - Add Cluster Resource Type 1458 - Remove Cluster Deployment GET 1459 1460 ## 0.1.195 Jul 19 2021 1461 1462 - Update model to v0.0.136: 1463 - Added Spot Market Options to MachinePool 1464 1465 ## 0.1.194 Jul 6 2021 1466 1467 - Update to version 0.0.38 of the metamodel in order to fix a conflict between 1468 `github.com/golang/glog` and `github.com/istio/glog` that prevents building 1469 packages that use the SDK. 1470 1471 ## 0.1.193 Jul 6 2021 1472 1473 - Update the version number in the `version.go` file. 1474 1475 ## 0.1.192 Jul 6 2021 1476 1477 - Fix initialization of metrics registerer. 1478 - Update model to v0.0.135: 1479 - Add user name to service log `LogEntry`. 1480 1481 ## 0.1.191 Jul 5 2021 1482 1483 - Add leadership flag. 1484 1485 ## 0.1.190 Jun 23 2021 1486 1487 - Don't use refresh token if have client credentials. 1488 1489 ## 0.1.189 Jun 23 2021 1490 1491 - Don't require refresh token for client credentials grant. 1492 1493 ## 0.1.188 Jun 23 2021 1494 1495 - Update model to v0.0.134 1496 - Added InternalOnly flag to SubscriptionNotify 1497 1498 ## 0.1.187 Jun 16 2021 1499 1500 - Update model to v0.0.133 1501 - Added capabilities support to Organization 1502 1503 ## 0.1.186 Jun 11 2021 1504 1505 - Update model to v0.0.132 1506 - Added Disable workload monitoring 1507 - add authorizations feature review and self feature review models. 1508 - add locators for feature review and self feature review 1509 - Add ccs_only flag for cloud regions 1510 1511 ## 0.1.185 Jun 10 2021 1512 1513 - Add `All` and `Any` functions to the logging package. 1514 1515 ## 0.1.184 Jun 1 2021 1516 1517 - Update ocm-api-model to v0.0.129 1518 - Add cloud provider inquiries to api-model 1519 - sts: Add support role ARN 1520 1521 ## 0.1.183 May 31 2021 1522 1523 - Update model to v0.0.128 1524 - Remove the Dashboards resource. 1525 - Add CCSOnly, GenericName fields to machine type. 1526 - Add AcceleratedComputing value to MachineTypeCategory enum. 1527 1528 ## 0.1.182 May 25 2021 1529 1530 - Update model to v0.0.126 1531 - Add ClusterConfigurationMode type under ClusterStatus 1532 - sts: Change custom roles to instance roles 1533 1534 ## 0.1.181 May 25 2021 1535 1536 - Add support for cookie authentication. 1537 1538 ## 0.1.180 May 25 2021 1539 1540 - Remove `AccessToken` authentication. 1541 1542 ## 0.1.179 May 20 2021 1543 1544 - Allow building with Go 1.13. 1545 1546 ## 0.1.178 May 18 2021 1547 1548 - Update model to v0.0.125 1549 - Added Custom IAM roles For STS 1550 1551 ## 0.1.177 May 13 2021 1552 1553 - Update of parameters to JobQueue#Push 1554 1555 ## 0.1.176 May 12 2021 1556 1557 - Added Arguments to JobQueue#Pop 1558 1559 ## 0.1.175 May 6 2021 1560 1561 - Update `Logger` interface to include a `Fatal` log level. 1562 - Fatal level will call `os.Exit(1)` after writing the message. 1563 - Fatal level is always active. 1564 1565 IMPORTANT: This version breaks backwards compatibility in the `Logger` 1566 interface, as all implementations now require a `Fatal` method to be implemented. 1567 1568 ## 0.1.174 Apr 14 2021 1569 1570 - Miscellaneous fixes to JobQueue service. 1571 - Bump ocm-api-model to v0.0.121 1572 1573 ## 0.1.173 May 03 2021 1574 1575 - Bump ocm-api-model to v0.0.119 1576 - STS: Support attributes to allow STS clusters 1577 1578 ## 0.1.172 May 03 2021 1579 1580 - Bump ocm-api-model to v0.0.118 1581 1582 ## 0.1.171 Apr 14 2021 1583 1584 - Add JobQueue service. 1585 1586 ## 0.1.170 Apr 14 2021 1587 1588 - Add `Tolerance` parameter to authentication handler. 1589 1590 ## 0.1.169 Apr 13 2021 1591 1592 - Bump ocm-api-model to v0.0.115 1593 - Add event_code and site_code to TermsReviewRequest type 1594 - Add new SelfTermsReviewRequest type 1595 1596 ## 0.1.168 Apr 6 2021 1597 1598 - Bump ocm-api-model to v0.0.114 1599 - related-resources: Add resource type and cloud provider 1600 - event: Track ad-hoc authenticated events 1601 1602 ## 0.1.167 Apr 6 2021 1603 1604 - Move token logic to separate transport wrapper. 1605 - Use defaults from authentication package. 1606 - Update to model 0.0.113: 1607 - Add RelatedResources struct to QuotaCost. 1608 1609 ## 0.1.166 Mar 30 2021 1610 1611 - Move client selection logic to separate type 1612 - Update ocm-api-model to v0.0.112 1613 - Add Options to AddOnParameter type. 1614 - aws: Support PrivateLink for fully-private clusters 1615 1616 ## 0.1.165 Mar 22 2021 1617 1618 - Fix wrong TLS server name (issue 1619 [356](https://github.com/openshift-online/ocm-sdk-go/issues/356)). 1620 1621 ## 0.1.164 Mar 17 2021 1622 1623 - Change default user agent to `OCM-SDK`. 1624 - Update to model 0.0.111: 1625 - Add subscription metrics. 1626 - Add `deprovision` and `force` parameters to delete cluster method. 1627 - Ensure all subscription fields are available. 1628 1629 ## 0.1.163 Mar 5 2021 1630 1631 - Enable compression. 1632 - Remove logger from metrics transport wrapper. 1633 - Reorder execution of tests. 1634 - Add metrics handler wrapper. 1635 - Add `h2c` support. 1636 - Enable HTTP/2. 1637 1638 ## 0.1.162 Feb 22 2021 1639 1640 - Update to model 0.0.110: 1641 - organization: Add quota_cost endpoint resources 1642 1643 ## 0.1.161 Feb 22 2021 1644 1645 - Update to model 0.0.109: 1646 - Remove deprecated 'upgrade_channel_group' field. 1647 - Run tests in parallel. 1648 - Add documentation of upgrade policy states. 1649 1650 ## 0.1.160 Feb 17 2021 1651 1652 - Improve testing of metrics. 1653 - Update to model 0.0.108: 1654 - Add `billing_model` attribute to the `ReservedResource` type. 1655 - Add `cluster_billing_model` attribute to the `Subscriptioin` type. 1656 1657 ## 0.1.159 Feb 15 2021 1658 1659 - Add metrics package 1660 - Update API model to v0.0.107: 1661 - add addon sub operator type 1662 1663 ## 0.1.158 Feb 12 2021 1664 1665 - Downgrade from Go 1.15 to Go 1.14. This has been requested by users of the SDK 1666 that can't upgrade to Go 1.15 because it isn't available in RHEL 8 and because 1667 of the issues that Go 1.15 introduces related to the obsolete `CN` attribute 1668 of X.509 certificates. The only negative effect of this downgrade is that 1669 timeouts or deadlines set for requests sent using TLS over Unix sockets 1670 will be ignored. 1671 1672 ## 0.1.157 Feb 8 2021 1673 1674 - Accept Empty Reader as non-nil req body 1675 - Missplaced return after warning from send 1676 - Add trusted CA certificates for Windows 1677 - Update metamodel to v0.0.36: 1678 - Use Go 1.15 1679 - Add `documentedSupport` and `namedSupport` 1680 - Add `typedSupport` 1681 - Make reporter streams configurable 1682 - Add presence bitmap 1683 - Update model to v0.0.106: 1684 - Add billing_model field to cluster type 1685 - subscriptions: Add label locator 1686 1687 ## 0.1.156 Feb 4 2021 1688 1689 - Update to model 0.0.105: 1690 - Add cluster hibernation support 1691 - Declare go 1.15 in go.mod 1692 - connection: Skip loading SystemCertPool on Windows 1693 1694 ## 0.1.155 Jan 27 2021 1695 1696 - Update to model 0.0.104: 1697 - Add addon requirement type. 1698 1699 ## 0.1.154 Jan 26 2021 1700 1701 - Update to model 0.0.103: 1702 - Remove `cluster_admin_enabled` attribute from cluster type. 1703 - Add missing subscription, cluster authorization and plan attributes. 1704 1705 ## 0.1.153 Jan 21 2021 1706 1707 - Add support for customizing the error responses of the authentication handler. 1708 - Add support for connecting to the server using Unix sockets. 1709 1710 ## 0.1.152 Dec 17 2020 1711 1712 - Update model to v0.0.102 1713 - add default value to add-on parameter type 1714 - Add upgrade channel group for a cluster 1715 1716 ## 0.1.151 Dec 2 2020 1717 1718 - Move logging code to `logging` package 1719 - Rename `Metrics` to `MetricsSubsystem` 1720 - Add method to read metrics subsystem 1721 - Load metrics subsystem configuration from file 1722 - Load string if it doesn't look like a file 1723 - Load `os.Stdin` in dump configuration example 1724 - Reject URLs without scheme or host name 1725 - Add redirection tests 1726 - update model to 0.0.101 1727 1728 ## 0.1.150 Nov 25 2020 1729 1730 - update model to 0.0.100 1731 1732 ## 0.1.149 Nov 24 2020 1733 1734 - Fix issue in the method that returns the URL of a connection: it was returning 1735 an empty string when no alternative URLs were configured. 1736 1737 ## 0.1.148 Nov 23 2020 1738 1739 - Rename `!shell` configuration tag to `!script`. 1740 - Add `!yaml` configuration tag. 1741 1742 ## 0.1.147 Nov 19 2020 1743 1744 - Add support for alternative URLs. 1745 - Add support for loading trusted CA files. 1746 - Add suppott for loading configuration from YAML file. 1747 1748 ## 0.1.146 Nov 17 2020 1749 1750 - Add `EvaluateTemplate` function for tests 1751 - Don't crash in debug mode deserializing an empty response 1752 - Update model to v0.0.99 1753 - Add deletion add-on installation endpoint 1754 - Add Update method to addon installation resource 1755 - Update metamodel tp v0.0.35 1756 - Update to version 4.8 of Antlr 1757 - Wrap errors 1758 1759 ## 0.1.145 Nov 10 2020 1760 1761 - Update model to v0.0.98 1762 1763 ## 0.1.144 Nov 2 2020 1764 1765 - Update model to v0.0.96 1766 - Add Enabled to AddOnParameter type. 1767 1768 ## 0.1.143 Oct 27 2020 1769 1770 - Update api-model to v0.0.95 1771 - Add SubnetIDs field to AWS type. 1772 1773 ## 0.1.142 Oct 26 2020 1774 1775 - Allow disabling keep alive connections in the SDK connection transport 1776 - Update api-model to v0.0.94 1777 - version: Rename field from MOA to ROSA 1778 - [AMS] Add IncludeRedHatAssociates to SubscriptionNotify 1779 1780 ## 0.1.141 Oct 21 2020 1781 1782 - Update api-model to v0.0.92 1783 - Add RawID field to Version type 1784 1785 ## 0.1.140 Oct 14 2020 1786 1787 - Update api-model to v0.0.91 1788 - Remove redudant fields 1789 - flavours: Remove infra and compute nodes 1790 - Add AddOnParameter modal type Update AddOn to include list of AddOnParameters 1791 - Add AddOnInstallationParameter modal type Update AddOnInstallation to include list of AddOnInstallationParameters 1792 1793 ## 0.1.139 Oct 11 2020 1794 1795 - Update api-model to v0.0.90 1796 - Add machine pools locator 1797 - Add compute node labels 1798 - Interpret HTML entities in logged summary of error response 1799 - Use new limits for content summary 1800 1801 ## 0.1.138 Oct 5 2020 1802 1803 - Update api-model to v0.0.88 1804 - Add missing machine pools resource 1805 1806 ## 0.1.137 Oct 5 2020 1807 1808 - Update api-model to v0.0.87 1809 - Add missing machine pool resource 1810 1811 ## 0.1.136 Oct 5 2020 1812 1813 - Update metamodel to v0.0.34 1814 - Support numeric initialisms 1815 - Update api-model to v0.0.86 1816 - Added New Error Message implementation 1817 - idp: Add HTPasswd provider 1818 - Uptdating SDK with GCP credentials 1819 1820 ## 0.1.135 Oct 5 2020 1821 1822 - Update API model to v0.0.85 1823 - Add upgrade policy state 1824 1825 ## 0.1.133 Sep 30 2020 1826 1827 - increase the limit/size of content summary 1828 - Update metamodel to v0.0.33 1829 - json: Support NoContent on POST responses 1830 1831 ## 0.1.132 Sep 24 2020 1832 1833 - Update model to v0.0.83 1834 - add external resources to add on type model 1835 - SDA-2952 - Add "hidden" option to AddOn 1836 1837 ## 0.1.131 Sep 23 2020 1838 1839 - Support http proxy 1840 1841 ## 0.1.130 Sep 21 2020 1842 1843 Update model to v0.0.82 1844 - Added Install Error Details From Provisioner 1845 1846 ## 0.1.129 Sep 21 2020 1847 1848 Request a token valid for longer than 1 min 1849 1850 ## 0.1.128 Sep 14 2020 1851 1852 Go mod tidy 1853 1854 ## 0.1.127 Sep 14 2020 1855 1856 Update to model v0.0.81 1857 - Add key to label_type 1858 - Remove ID from upgrade label 1859 1860 Also included as part of model v0.0.80 1861 - Add upgrade policy type and resource 1862 - Add terms review and self terms review 1863 - Add dashboards summary 1864 1865 ## 0.1.126 Sep 7 2020 1866 1867 Update to model v0.0.79 1868 - Add 'available_upgrades' list to version type 1869 - Add CCS type and Attribute to Cluster type 1870 1871 ## 0.1.125 Sep 4 2020 1872 1873 Update to model v0.0.78 1874 - Added New DNS_READY 1875 - version: Add moa_enabled flag 1876 1877 ## 0.1.124 Aug 28 2020 1878 1879 - Set token expiry function public 1880 - Allow auth header of type AccessToken 1881 1882 ## 0.1.123 Aug 23 2020 1883 1884 - Remove get tokens on first attempt log entry 1885 - Update to metamodel v0.0.32 1886 - Update to model v0.0.77 1887 - Add ChannelGroup attribute to version 1888 - Add avaialble AWS regions method 1889 1890 ## 0.1.122 Aug 18 2020 1891 1892 - Better logging and metrics when retrying SSO 1893 - Assume expiration is 0 when missing in the token 1894 1895 ## 0.1.121 Aug 18 2020 1896 1897 - BROKEN: DO NOT USE 1898 1899 ## 0.1.120 Aug 13 2020 1900 1901 - Update to model v0.0.76 1902 - Add missing link to provision shard 1903 1904 ## 0.1.119 Aug 10 2020 1905 1906 - Add support for retry getting access token in case of http 5xx 1907 1908 ## 0.1.118 Aug 7 2020 1909 1910 - Update to model v0.0.75 1911 - Added support_case resource 1912 - Added token_authorization to root_resource 1913 1914 ## 0.1.117 Aug 5 2020 1915 1916 - Update to model v0.0.73 1917 - [CS] Add hive_config to the provision shard 1918 - [CS] Improving cluster logs endpoint 1919 - [AMS] Added token authorization endpoint 1920 1921 ## 0.1.116 Aug 3 2020 1922 1923 - Added support for http PUT method 1924 - Update to model v0.0.73 1925 - Add capability_review endpoint 1926 - Add support_cases endpoint 1927 1928 ## 0.1.115 Jul 30 2020 1929 1930 - Update to metamodel v0.0.31 1931 - Adding List type to checkUpdate validator 1932 1933 - Update to model v0.0.72 1934 - Fix comment 1935 - Expose if a region supports multi AZ 1936 - Add Update Identity Provider 1937 - removing 'deprovision' suffix from logs endpoint 1938 - add post method to subscription resource 1939 - Add labels field to external configuration type 1940 - Implement Batch Patch Ingresses API endpoint 1941 1942 ## 0.1.114 Jul 21 2020 1943 1944 - Update to model v0.0.71 1945 - Add API for getting cluster's provision shard 1946 - Add API for getting provision shards 1947 1948 ## 0.1.113 Jul 14 2020 1949 1950 - Update to model v0.0.70 1951 - Add API for custerdeployment labels 1952 - add organization_id to cluster_registration 1953 - label: Fix erroneous file extensions 1954 - MachineType: Expose instance size enum 1955 1956 ## 0.1.112 Jul 5 2020 1957 1958 - Update to model v0.0.69 1959 - Added top level sku_rules endpoint to AMS 1960 - Change the feature toggle API to be /feature_toggles/id/query using POST with org id as context 1961 1962 ## 0.1.111 Jul 1 2020 1963 1964 - Update to model v0.0.67 1965 - [AMS] Added SkuCount to ResourceQuota type 1966 1967 ## 0.1.110 Jun 30 2020 1968 1969 - Update to model v0.0.66 1970 - Change feature toggle query to be POST with payload containing organization ID 1971 1972 ## 0.1.109 Jun 29 2020 1973 1974 - Update to model v0.0.65 1975 - Added Uninstall Log 1976 - Added syncset API 1977 - Update to metamodel v0.0.30 1978 1979 ## 0.1.108 Jun 21 2020 1980 1981 - Update to model v0.0.64 1982 - Added Notify to root_resource in AMS 1983 1984 ## 0.1.107 Jun 18 2020 1985 1986 - Update to model v0.0.63 1987 - cluster: Remove support for expiration_timestamp 1988 - Added top-level Notify endpoint to AMS 1989 1990 ## 0.1.106 Jun 9 2020 1991 1992 - Update to metamodel v0.0.29: 1993 - pr_check: Lock in dependency versions for test pipeline 1994 - Fix setter for Poll request params 1995 1996 - Update to model v0.0.62: 1997 - Add subscription notify endpoint 1998 1999 - Update to model v0.0.61: 2000 - accounts_mgmt: Add 'fields' parameter to all list-requests 2001 - accounts_mgmt: Support for Labels resources 2002 2003 - Update to model v0.0.60: 2004 - Add parameters 'offset' and 'tail' to log resource 2005 2006 ## 0.1.105 May 21 2020 2007 2008 - Update to model 0.0.59: 2009 - Add feature_toggle endpoint and api model 2010 2011 ## 0.1.104 May 15 2020 2012 2013 - Update to model v0.0.58 2014 - AddOns: Add docs_link attribute 2015 - Update to metamodel v0.0.28 2016 2017 ## 0.1.102 May 15 2020 2018 2019 - Update to model v0.0.57: 2020 - AddOnInstallations: Remove DELETE operation 2021 - Added Label to Account 2022 2023 - Update to metamodel v0.0.28: 2024 - OpenAPI: Fix expected response 2025 2026 ## 0.1.101 May 5 2020 2027 2028 - Update to model 0.0.56 2029 - Add Labels to Organization 2030 2031 ## 0.1.100 Apr 23 2020 2032 2033 - Update to model 0.0.55 2034 - Add enabled field to region 2035 - Adding metrics.nodes to api model 2036 - Adding cluster ingresses endpoint 2037 - ClusterNodes: Add ComputeMachineType 2038 - Network: Added HostPrefix 2039 2040 ## 0.1.99 Apr 7 2020 2041 2042 - Update to model 0.0.54 2043 - Add HealthState field to Cluster type 2044 - Refactor alerts and operator conditions to contain only 'CriticalAlerts' and 'OperatorsConditionFailing' 2045 - Adding computeNodesSockets to cluster metrics 2046 - Fix pull secret deletion path 2047 - Remove unsupported cluster state 2048 - Add machine type category 2049 2050 - Update to metamodel 0.0.27 2051 - Update file header year to 2020 2052 2053 ## 0.1.98 Apr 6 2020 2054 2055 - Update to model 0.0.53 2056 - Add pull secret deletion 2057 - Products: Add product attribute to cluster object 2058 - Products: Support for top-level cluster types 2059 - Add ClusterOperatorsConditions type 2060 - Add ClusterAlertsFiring type and field in ClusterMetrics 2061 2062 ## 0.1.97 Mar 26 2020 2063 2064 - Update to model 0.0.52 2065 - Add Subscription Model changes. 2066 2067 ## 0.1.96 Mar 24 2020 2068 2069 - Update to model 0.0.50 2070 - Add Ingress type 2071 - Add sockets to cluster_metrics_type 2072 2073 ## 0.1.95 Mar 22 2020 2074 2075 - Update to model 0.0.48: 2076 - Fix `OpenID` attributes. 2077 - Add Cluster API listening method. 2078 2079 ## 0.1.94 Mar 19 2020 2080 2081 - Update to model 0.0.47: 2082 - Add ClusterAdminEnabled flag. 2083 - Add PullSecrets endpoint. 2084 - Fix `LDAPIdentityProvider` attribute name. 2085 2086 2087 ## 0.1.93 Mar 18 2020 2088 2089 - Update to model 0.0.46: 2090 - Add missing fields for add-on installation 2091 - Add operator name to add-ons 2092 2093 ## 0.1.92 Mar 11 2020 2094 2095 - Update to model 0.0.45: 2096 - Add Organizations field to GitHub IDP 2097 2098 ## 0.1.91 Mar 5 2020 2099 2100 - Update to model 0.0.42: 2101 - Add `client_secret` attribute to _GitHub_ identity provider. 2102 2103 ## 0.1.90 Mar 2 2020 2104 2105 - Request new tokens when the _OpenID_ server returns error code `invalid_grant` 2106 during the refresh token grant. 2107 2108 - Check that responses from the _OpenID_ server contain `application/json` in 2109 the `Content-Type` header, and improve the error messages generated in that 2110 case so that they contain a summary of the content. 2111 2112 - Honor cookies sent by the _OpenID_ and API servers. 2113 2114 ## 0.1.89 Feb 26 2020 2115 2116 - Update to metamodel 0.0.26. 2117 2118 The more relevant change in the new version of the metamodel is the new 2119 `operation_id` attribute added to error objects and error messages. An error 2120 object like this: 2121 2122 ```json 2123 { 2124 "kind": "Error", 2125 "id": "401", 2126 "href": "/api/clusters_mgmt/v1/errors/401", 2127 "code": "CLUSTERS-MGMT-401", 2128 "reason": "My reason", 2129 "operation_id": "456" 2130 } 2131 ``` 2132 2133 Will result in the following error string (in one single line): 2134 2135 ``` 2136 identifier is '401', code is 'CLUSTERS-MGMT-401' and 2137 operation identifier is '456': My reason 2138 ``` 2139 2140 This addresses issue [150](https://github.com/openshift-online/ocm-sdk-go/issues/150). 2141 2142 ## 0.1.88 Feb 20 2020 2143 2144 - Remove _service_ and _version_ parameters from the builder of the 2145 authentication handler. This is a backwards compatibility breaking change 2146 that requires changes in the code that creates the authentication handler. For 2147 example, if the current code is like this: 2148 2149 ```go 2150 handler, err := authentication.NewHandler(). 2151 Logger(logger). 2152 Service("clusters_mgmt"). 2153 Version("v1"). 2154 Public("..."). 2155 KeysFile("..."). 2156 KeysURL("..."). 2157 ACLFile("..."). 2158 Next(next). 2159 Build() 2160 if err != nil { 2161 ... 2162 } 2163 ``` 2164 2165 It will need to be changed to this: 2166 2167 ```go 2168 handler, err := authentication.NewHandler(). 2169 Logger(logger). 2170 Public("..."). 2171 KeysFile("..."). 2172 KeysURL("..."). 2173 ACLFile("..."). 2174 Next(next). 2175 Build() 2176 if err != nil { 2177 ... 2178 } 2179 ``` 2180 2181 Note that the only change required is removing the calls to the `Service` and 2182 `Version` methods of the builder. The handler will now extract those values 2183 from the request URL. 2184 2185 This is specially important for programs that use the same authentication 2186 handler for multiple services. 2187 2188 - Update to metamodel 0.0.25: 2189 - Run the `gofmt` command only once for all generated files instead of running 2190 it once per each generated file. 2191 - Avoid generating code with constructs that would then be simplified by the 2192 `-s` flag of the `gofmt` command. 2193 2194 ## 0.1.87 Feb 14 2020 2195 2196 - Preserver order of attributes of JSON documents sent to the log when debug 2197 mode is enabled. 2198 - Update to metamodel 0.0.24: 2199 - Add `Content-Type` to responses sent by the generated server code. 2200 - Don't require developer to explicitly remove the `/api` when using the 2201 server code. 2202 - Remove redundant quotes from error responses sent by the generated 2203 server code. 2204 2205 ## 0.1.86 Feb 13 2020 2206 2207 - Update to model 0.0.41: 2208 - Add `target_namespace` and `install_mode` attributes to `AddOn` type. 2209 - Add `state` attribute to `AWSInfrastructureAccessRole` type. 2210 2211 ## 0.1.85 Feb 12 2020 2212 2213 - Update to metamodel 0.0.23: 2214 - Fix missing _OpenAPI_ paths due to incorrect use of `append`. 2215 2216 ## 0.1.84 Feb 5 2020 2217 2218 - Add method to update flavour. 2219 2220 ## 0.1.83 Feb 3 2020 2221 2222 - Check content type of HTTP responses and return an error if it isn't JSON. 2223 - Update to model 0.0.39: 2224 - Add types and resources for cluster operator metrics. 2225 - Add `deleting` and `removed` states to AWS infrastructure access role grant 2226 status. 2227 2228 ## 0.1.82 Jan 23 2020 2229 2230 - Update to model 0.0.38: 2231 - Add `search` and `order` parameters to the method that lists registry 2232 credentials. 2233 - Add `labels` parameter to the method that lists subscriptions. 2234 - Add types and resources for management of AWS infrastructure access roles. 2235 2236 ## 0.1.81 Jan 16 2020 2237 2238 - Add ability to intercept request and response using a transport middleware 2239 of type `http.RoundTripper`. 2240 2241 ## 0.1.80 Jan 13 2020 2242 2243 - Add body details in case of error from token provider. 2244 2245 ## 0.1.79 Jan 9 2020 2246 2247 - Update to metamodel 0.0.22: 2248 - Fix generation of _OpenAPI_ paths so that all the characters are lower case. 2249 2250 ## 0.1.78 Jan 8 2020 2251 2252 - Fix URL prefix for the logs service. 2253 - Update to metamodel 0.0.21: 2254 - Use JSON iterator instead of the default JSON Go package. 2255 2256 ## 0.1.77 Jan 8 2020 2257 2258 - Don't require Go 1.13. 2259 - Update to model 0.0.37: 2260 - Add new `service_logs` service. 2261 - Add types and resources for machine types. 2262 2263 ## 0.1.76 Jan 3 2020 2264 2265 - Update to model 0.0.36: 2266 - Add types and resources for AWS infrastructure access roles. 2267 - Add GCP flavour and change AWS flavour to contain also the instance type. 2268 2269 ## 0.1.75 Jan 1 2020 2270 2271 - Update to model 0.0.35: 2272 - Add `CurrentAccess` support. 2273 2274 ## 0.1.74 Dec 31 2019 2275 2276 - Update to model 0.0.33: 2277 - Add the `CreatedAt` and `UpdatedAt` attributes to the `Subscription` type. 2278 2279 ## 0.1.73 Dec 24 2019 2280 2281 - Update to model 0.0.32: 2282 - Replace `AddOns` with `AddOnInstallations`. 2283 2284 ## 0.1.72 Dec 19 2019 2285 2286 - Update to model 0.0.31: 2287 - Add `ban_code` attribute to `Account` type. 2288 2289 ## 0.1.71 Dec 19 2019 2290 2291 - Authentication handler sends 401 instead of 511. 2292 - Authentication handler sends the `WWW-Authenticate` response header. 2293 - Authentication handler doesn't send authentication failures to the log. 2294 2295 ## 0.1.70 Dec 18 2019 2296 2297 - Update to metamodel 0.0.20: 2298 - Fix conversion of errors to JSON so that the `kind` attribute is generated 2299 correctly. 2300 2301 - Add authentication handler. 2302 2303 ## 0.1.69 Dec 17 2019 2304 2305 - Update to model 0.0.30: 2306 - Add support for `ClusterUUID` field. 2307 2308 ## 0.1.68 Dec 12 2019 2309 2310 - Update to metamodel 0.0.19: 2311 - Don't fail on wrong kind. 2312 2313 ## 0.1.67 Dec 12 2019 2314 2315 - Don't check kinds of add-ons installations. 2316 2317 ## 0.1.66 Dec 12 2019 2318 2319 - Update to model 0.0.29: 2320 - Allow subscription identifier on role binding. 2321 2322 ## 0.1.65 Dec 10 2019 2323 2324 - Update to model 0.0.28: 2325 - Add `AddOnInstallation` type. 2326 2327 ## 0.1.64 Dec 4 2019 2328 2329 - Update to model 0.0.27: 2330 - Add `resource_name` and `resource_cost` attributes to the add-on type. 2331 2332 ## 0.1.63 Dec 2 2019 2333 2334 - Update to model 0.0.26: 2335 - Remove obsolete `aws` and `version` fields from the `Flavour` type. 2336 - Add instance type fields to the `Flavour` type. 2337 - Add `AWSVolume` and `AWSFlavour` types. 2338 - Add attributes required for _BYOC_. 2339 - Fix direction of `Body` parameters of updates. 2340 2341 ## 0.1.62 Nov 28 2019 2342 2343 - Update to model 0.0.25: 2344 - Allow patching role binding. 2345 2346 ## 0.1.61 Nov 25 2019 2347 2348 - Update to metamodel 0.0.18: 2349 - Add stage URL and `securitySchemes` to the generated _OpenAPI_ 2350 specifications. 2351 2352 ## 0.1.60 Nov 23 2019 2353 2354 - Update to model 0.0.24: 2355 - Fix directions of paging parameters. 2356 - Fix direction of `Body` parameter of `Update`. 2357 - Add default values to paging parameters. 2358 - Update to metamodel 0.0.17. 2359 2360 - Update to metamodel 0.0.17: 2361 - Add semantic checks. 2362 - Add support for default values. 2363 - Check default values of paging parameters. 2364 2365 ## 0.1.59 Nov 20 2019 2366 2367 - Update to model 0.0.23: 2368 - Add infra nodes to `FlavourNodes`. 2369 - Refactor flavour nodes. 2370 2371 ## 0.1.58 Nov 19 2019 2372 2373 - Update to metamodel 0.0.16: 2374 - Add simple conversion from AsciiDoc to Markdown. 2375 2376 ## 0.1.57 Nov 19 2019 2377 2378 - Update to metamodel 0.0.15: 2379 - Add support for the version metadata resource. 2380 2381 ## 0.1.56 Nov 19 2019 2382 2383 - Update to model 0.0.22: 2384 - Add `socket_total_by_node_roles_os` metric query. 2385 2386 ## 0.1.55 Nov 17 2019 2387 2388 - Update to model 0.0.21: 2389 - Added add-on resources and types. 2390 - Added subscription reserved resources collection. 2391 2392 ## 0.1.54 Nov 17 2019 2393 2394 - Drop support for _developers.redhat.com_. 2395 2396 - Update to metamodel 0.0.14: 2397 - Add `Poll` method to clients that have a `Get` method. 2398 2399 ## 0.1.53 Nov 14 2019 2400 2401 - Update to model 0.0.20: 2402 - Query resource quota from root and delete by identifier. 2403 2404 - Update to metamodel 0.0.13: 2405 - Fix imports of `helpers` and `errors` packages. 2406 2407 ## 0.1.52 Nov 8 2019 2408 2409 - Update to model 0.0.19: 2410 - Added identifiers to role binding type. 2411 2412 ## 0.1.51 Nov 7 2019 2413 2414 - Update to model 0.0.18: 2415 - Added support to search role bindings and resource quota. 2416 2417 ## 0.1.50 Nov 4 2019 2418 2419 - Update to metamodel 0.0.12: 2420 - Add _OpenAPI_ specification generator. 2421 2422 ## 0.1.49 Oct 28 2019 2423 2424 - Update to model 0.0.17: 2425 - Added `Disconnected`, `DisplayName` and `ExternalClusterID` attributes to the 2426 cluster authorization request type. 2427 2428 ## 0.1.48 Oct 27 2019 2429 2430 - Update to model 0.0.16: 2431 - Added `ResourceReview` resource to the authorizations service. 2432 2433 - Update to metamodel 0.0.11: 2434 - Improve parsing of initialisms. 2435 - Fix the method not allowed code. 2436 - Send not found when server returns `nil` target. 2437 - Generate service and version servers. 2438 - Don't generate files with execution permission. 2439 2440 ## 0.1.47 Oct 25 2019 2441 2442 - Update to metamodel 0.0.10: 2443 - Make HTTP adapters stateless. 2444 2445 ## 0.1.46 Oct 24 2019 2446 2447 - Update to model 0.0.15: 2448 - Added `search` parameter to the accounts `List` method. 2449 2450 ## 0.1.45 Oct 24 2019 2451 2452 - Update to model 0.0.14: 2453 - Added `SKU` type. 2454 - Improved organizations. 2455 - Improved roles. 2456 2457 ## 0.1.44 Oct 15 2019 2458 2459 - Upate to model 0.0.13: 2460 - Added `AccessTokenAuth` type. 2461 - Added `auths` attribute to `AccessToken` type. 2462 2463 - Update to metamodel 0.0.9: 2464 - Generate shorter adapter names. 2465 - Use constants from the `http` package. 2466 - Shorter _read_ and _write_ names. 2467 - Rename `SetStatusCode` to `Status`. 2468 - Improve naming of variables. 2469 - Set default status. 2470 - Move errors and helpers generators to separate files. 2471 2472 ## 0.1.43 Oct 10 2019 2473 2474 - Update to model 0.0.12: 2475 - Add `access_review` resource. 2476 2477 ## 0.1.41 Oct 10 2019 2478 2479 - Update to model 0.0.11: 2480 - Add `export_control_review` resource. 2481 2482 ## 0.1.40 Oct 7 2019 2483 2484 - Update to model 0.0.10: 2485 - Add `cpu_total_by_node_roles_os` metric query. 2486 2487 ## 0.1.39 Oct 7 2019 2488 2489 - Update to model 0.0.9: 2490 - Add `type` attribute to the `ResourceQuota` type. 2491 - Add `config_managed` attribute to the `RoleBinding` type. 2492 2493 ## 0.1.38 Sep 17 2019 2494 2495 - Update to model 0.0.8: 2496 - Update methods don't return body. 2497 2498 ## 0.1.37 Sep 16 2019 2499 2500 - Update to model 0.0.7: 2501 - Add `search` parameter to the `List` method of the subscriptions resource. 2502 2503 ## 0.1.36 Sep 16 2019 2504 2505 - Update to model 0.0.6: 2506 - Remove the `creator` attribute of the `Cluster` type. 2507 2508 - Update to metamodel 0.0.7: 2509 - Add `Copy` method to builders. 2510 2511 ## 0.1.35 Sep 12 2019 2512 2513 - Update to model 0.0.5: 2514 - Add `order` parameter to the methods to list accounts and subscriptions. 2515 2516 ## 0.1.34 Sep 11 2019 2517 2518 - Use access token that is about to expire if there is no other mechanism to 2519 obtain a new one. 2520 2521 - Update to model 0.0.3: 2522 - Add `order` parameter to the collections that suport it. 2523 - Add cloud providers collection. 2524 2525 ## 0.1.33 Sep 10 2019 2526 2527 - Update to model 0.0.2: 2528 - Add `DisplayName` attribute to `Subscription` type. 2529 2530 - Update to metamodel 0.0.5: 2531 - Fix generation of field names for query parameters. 2532 - Remove `query` and `path` fields from request objects. 2533 - Remove unused imports. 2534 2535 ## 0.1.32 Sep 03 2019 2536 2537 - Makefile generates code using the ocm-api-metamodel v0.0.4. 2538 2539 - Generated servers parse request query parameters. 2540 2541 ## 0.1.31 Aug 28 2019 2542 2543 - Generated servers enforce no trailing slashes as well send `Content-Type` header. 2544 2545 ## 0.1.30 Aug 27 2019 2546 2547 - Renamed package to `github.com/openshift-online/ocm-sdk-go`. 2548 2549 ## 0.1.29 Aug 26 2019 2550 2551 - Generated servers can handle routes with and without trailing slashes. 2552 2553 - Clone metamodel for code generation 2554 2555 - Clone model for code generation 2556 2557 - Rename main package 2558 2559 ## 0.1.28 Aug 22 2019 2560 2561 - Add Context parameter to Server methods. 2562 2563 ## 0.1.27 Aug 22 2019 2564 2565 - Add generated servers. 2566 2567 - Changes ClusterRegistration response type from long to string . 2568 2569 ## 0.1.26 Aug 13 2019 2570 2571 - Add support for the `compute_nodes_cpu` and `compute_nodes_memory` metrics. 2572 2573 ## 0.1.25 Aug 11 2019 2574 2575 - Add support for quota summary. 2576 2577 - Fix the data type of the cluster registration expiration date. 2578 2579 ## 0.1.24 Jun 28 2019 2580 2581 - Automatically select the deprecated _OpenID_ server when authenticating with 2582 user name and password. 2583 2584 ## 0.1.23 Jun 27 2019 2585 2586 - Don't show cluster admin credentials in the debug log. 2587 2588 ## 0.1.22 Jun 27 2019 2589 2590 - Don't send warnings about toke issuer when no tokens are used. 2591 2592 - Fix the names of the methods used to set the V values of the `glog` logger. 2593 2594 ## 0.1.21 Jun 26 2019 2595 2596 - Added methods to get connection attributes like token URL, client identifier, 2597 etc. 2598 2599 ## 0.1.20 Jun 26 2019 2600 2601 - Switch from `developers.redhat.com` to `sso.redhat.com`. 2602 2603 ## 0.1.19 Jun 25 2019 2604 2605 - Added `GetMethod` and `GetPath` methods to HTTP requests. 2606 2607 - Added `Header` method to HTTP responses. 2608 2609 ## 0.1.18 Jun 21 2019 2610 2611 - Added support for the `expiration_timestamp` attribute of the `Cluster` type. 2612 2613 ## 0.1.17 Jun 20 2019 2614 2615 - Added support for the `name` attribute of the `Dashboard` type. 2616 2617 - Added to lists a new `Get` method to get elements by index. 2618 2619 ## 0.1.16 Jun 19 2019 2620 2621 - Added to response types getter methods that return the value of the parameter 2622 and a boolean flag that indicates if there is actually a value. 2623 2624 ## 0.1.15 Jun 19 2019 2625 2626 - Add support for the `versions` collection. 2627 2628 ## 0.1.14 Jun 4 2019 2629 2630 - Redact sensitive fields in debug logs. 2631 2632 - Don't crash when there is no response. 2633 2634 ## 0.1.13 May 22 2019 2635 2636 - Added support for building objects with attributes that are lists of structs. 2637 2638 ## 0.1.12 May 20 2019 2639 2640 - Added support for deleting subscriptions. 2641 2642 - Added Prometheus metrics. 2643 2644 ## 0.1.11 May 15 2019 2645 2646 - Increase token slack to one minute. 2647 2648 ## 0.1.10 May 8 2019 2649 2650 - Improved support for contexts, adding the `BuildContext`, `TokensContext` and 2651 `SendContext` methods. 2652 2653 IMPORTANT: This version breaks backwards compatibility in the `Logger` 2654 interface, as all the methods require now a first `ctx` parameter. 2655 2656 ## 0.1.9 May 3 2019 2657 2658 - Added cluster credentials resource. 2659 2660 ## 0.1.8 May 2 2019 2661 2662 - Moved basic cluster metrics to the `metrics` attribute. 2663 2664 - Added `Empty` method to lists and struct typess. 2665 2666 ## 0.1.7 May 1 2019 2667 2668 - Always close connections used to request access tokens. 2669 2670 ## 0.1.6 Apr 23 2019 2671 2672 - Add typed interface. 2673 2674 ## 0.1.5 Apr 17 2019 2675 2676 - Changed package path to `github.com/openshift-online/uhc-sdk-go`. 2677 2678 ## 0.1.4 Apr 3 2019 2679 2680 - Don't panic when no refresh token is provided. 2681 2682 ## 0.1.3 Mar 27 2019 2683 2684 - Don't close body in round tripper. 2685 2686 ## 0.1.2 Mar 23 2019 2687 2688 - Add support for offline access tokens. 2689 2690 ## 0.1.1 Jan 25 2019 2691 2692 - Change the `glog` logger so that it uses `--v=0` for errors, warnings and 2693 information messages and `--v=1` for debug messages. 2694 2695 ## 0.1.0 Jan 24 2019 2696 2697 - Renamed the project from `api-client` to `uhc-sdk`. 2698 2699 - Moved the command line tool to a new `uhc-cli` project. 2700 2701 ## 0.0.13 Jan 24 2019 2702 2703 - Add `context` and `timeout` parameters to all requests. 2704 2705 - Scrub password from debug log. 2706 2707 ## 0.0.12 Dec 19 2018 2708 2709 - Add `TrustedCAs` parameter to the connection builder. 2710 2711 ## 0.0.11 Dec 17 2018 2712 2713 - Check that `T` is passed to the testing logger. 2714 2715 ## 0.0.10 Nov 27 2018 2716 2717 - Implement terminal check correctly for _macOS_. 2718 2719 ## 0.0.9 Nov 22 2018 2720 2721 - Don't include the testing logger in the binary. 2722 2723 - Added support for printing refresh tokens. 2724 2725 - Added support for setting the _OpenID_ scopes. 2726 2727 - Added a new `StdLogger` that sends log messages to the standard output and 2728 error streams.