Releases: oracle/oci-go-sdk
Releases · oracle/oci-go-sdk
2.3.0
Added
- Support for fault domain in the Identity Service
- Support for Autonomous Data Warehouse and Autonomous Transaction Processing in the Database service
- Support for resizing an offline volume in the Block Storage service
- Nil interface when polymorphic json response object is null
2.2.0
2.1.0
2.1.0 - 2018-07-26
Added
- Support for the OCI Search service
- Support for specifying a backup policy when creating a boot volume in the Block Storage service
Fixed
- OCI error is missing opc-request-id value Github Issue 120
- Include raw http response when service error occurred
2.0.0
2.0.0 - 2018-07-12
Added
- Support for tagging Load Balancers in the Load Balancing service
- Support for export options in the File Storage service
- Support for retrieving compartment name and user name as part of events in the Audit service
Fixed
- CreateKubeconfig function should not close http reponse body Github Issue 116
Breaking changes
-
Datatype changed from *int to *int64 for several request/response structs. Here is sample code that shows how to update your code to incorporate this change.
- Before
// Update the impacted properties from common.Int to common.Int64. // Here is the updates for CreateBootVolumeDetails details := core.CreateBootVolumeDetails{ SizeInGBs: common.Int(10), }
- After
details := core.CreateBootVolumeDetails{ SizeInGBs: common.Int64(10), }
-
Impacted packages and structs
- core
- BootVolume.(SizeInGBs, SizeInMBs)
- BootVolumeBackup.(SizeInGBs, UniqueSizeInGBs)
- CreateBootVolumeDetails.SizeInGBs
- CreateVolumeDetails.(SizeInGBs, SizeInMBs)
- Image.SizeInMBs
- InstanceSourceViaImageDetails.BootVolumeSizeInGBs
- Volume.(SizeInGBs, SizeInMBs)
- VolumeBackup.(SizeInGBs, SizeInMBs, UniqueSizeInGBs, UniqueSizeInMbs)
- VolumeGroup.(SizeInMBs, SizeInGBs)
- VolumeGroupBackup.(SizeInMBs, SizeInGBs, UniqueSizeInMbs, UniqueSizeInGbs)
- dns
- GetDomainRecordsRequest.Limit
- GetRRSetRequest.Limit
- GetZoneRecordsRequest.Limit
- ListZonesRequest.Limit
- Zone.Serial
- ZoneSummary.Serial
- filestorage
- ExportSet.(MaxFsStatBytes, MaxFsStatFiles)
- FileSystem.MeteredBytes
- FileSystemSummary.MeteredBytes
- UpdateExportSetDetails.(MaxFsStatBytes, MaxFsStatFiles)
- identity
- ApiKey.InactiveStatus
- AuthToken.InactiveStatus
- Compartment.InactiveStatus
- CustomerSecretKey.InactiveStatus
- CustomerSecretKeySummary.InactiveStatus
- DynamicGroup.InactiveStatus
- Group.InactiveStatus
- IdentityProvider.InactiveStatus
- IdpGroupMapping.InactiveStatus
- Policy.InactiveStatus
- Saml2IdentityProvider.InactiveStatus
- SmtpCredential.InactiveStatus
- SmtpCredentialSummary.InactiveStatus
- SwiftPassword.InactiveStatus
- UiPassword.InactiveStatus
- User.InactiveStatus
- UserGroupMembership.InactiveStatus
- loadbalancer
- ConnectionConfiguration.IdleTimeout
- ListLoadBalancerHealthsRequest.Limit
- ListLoadBalancersRequest.Limit
- ListPoliciesRequest
- ListProtocolsRequest.Limit
- ListShapesRequest.Limit
- ListWorkRequestsRequest.Limit
- objectstorage
- GetObjectResponse.ContentLength
- HeadObjectResponse.ContentLength
- MultipartUploadPartSummary.Size
- ObjectSummary.Size
- PutObjectRequest.ContentLength
- UploadPartRequest.ContentLength
- core
1.8.0
1.7.0
1.6.0
Added
- Support for the "soft shutdown" instance action in the Compute service
- Support for Auth Token management in the Identity service
- Support for backup or clone of multiple volumes at once using volume groups in the Block Storage service
- Support for launching a database system from a backup in the Database service
Breaking changes
-
LaunchDbSystemDetails
is renamed toLaunchDbSystemBase
and the type changed from struct to interface inLaunchDbSystemRequest
. Here is sample code that shows how to update your code to incorporate this change.- Before
// create a LaunchDbSystemRequest // There were two ways to initialize the LaunchDbSystemRequest struct. // This breaking change only impact option #2 request := database.LaunchDbSystemRequest{} // #1. explicity create LaunchDbSystemDetails struct (No impact) details := database.LaunchDbSystemDetails{} details.AvailabilityDomain = common.String(validAD()) details.CompartmentId = common.String(getCompartmentID()) // ... other properties request.LaunchDbSystemDetails = details // #2. use anonymous fields (Will break) request.AvailabilityDomain = common.String(validAD()) request.CompartmentId = common.String(getCompartmentID()) // ...
- After
// create a LaunchDbSystemRequest request := database.LaunchDbSystemRequest{} details := database.LaunchDbSystemDetails{} details.AvailabilityDomain = common.String(validAD()) details.CompartmentId = common.String(getCompartmentID()) // ... other properties // set the details to LaunchDbSystemBase request.LaunchDbSystemBase = details // ...
1.5.0
Added
Support for backup or clone of multiple volumes at once using volume groups in the Block Storage service(This will be in next release)- Support for the ability to optionally specify a compartment filter when listing exports in the File Storage service
- Support for tagging virtual cloud network resources in the Networking service
- Support for specifying the PARAVIRTUALIZED remote volume type when creating a virtual image or launching a new instance in the Compute service
- Support for tilde in private key path in configuration files
1.4.0
Added
- Support for
event_name
in Audit Service - Support for multiple
hostnames
for loadbalancer listener in LoadBalance service - Support for auto-generating opc-request-id for all operations
- Add opc-request-id property for all requests except for Object Storage which use opc-client-request-id
1.3.0
Added
- Support for retry on OCI service APIs. Example can be found on Github
- Support for tagging DbSystem and Database resources in the Database Service
- Support for filtering by DbSystemId in ListDbVersions operation in Database Service
Fixed
- Fixed a request signing bug for PatchZoneRecords API
- Fixed a bug in DebugLn