Skip to content

Releases: oracle/oci-go-sdk

2.3.0

23 Aug 17:05
8ed41ce
Compare
Choose a tag to compare

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

09 Aug 20:21
c4639e5
Compare
Choose a tag to compare

2.2.0

Added

  • Support for fault domains in the Compute service
  • A sample showing how to use Search service from the SDK is available on Github

2.1.0

26 Jul 22:47
b98b8fe
Compare
Choose a tag to compare

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

12 Jul 20:29
2323753
Compare
Choose a tag to compare

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

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

1.8.0

28 Jun 21:15
a2ded71
Compare
Choose a tag to compare

1.8.0 - 2018-06-28

Added

  • Support for service gateway management in the Networking service
  • Support for backup and clone of boot volumes in the Block Storage service

1.7.0

14 Jun 19:57
7855708
Compare
Choose a tag to compare

1.7.0 - 2018-06-14

Added

  • Support for the Container Engine service. A sample showing how to use this service from the SDK is available here

Fixed

  • Empty string was send to backend service for optional enum if it's not set

1.6.0

31 May 19:05
483be76
Compare
Choose a tag to compare

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 to LaunchDbSystemBase and the type changed from struct to interface in LaunchDbSystemRequest. 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

17 May 20:03
bc848a8
Compare
Choose a tag to compare

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

03 May 20:50
da23606
Compare
Choose a tag to compare

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

19 Apr 20:30
526bc2b
Compare
Choose a tag to compare

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