github oracle/oci-go-sdk v11.0.0
11.0.0

latest releases: v65.101.0, v65.100.1, v65.100.0...
5 years ago

Added

  • Support for required tags in the Identity service

  • Support for work requests on tagging operations in the Identity service

  • Support for enumerated tag values in the Identity service

  • Support for moving dynamic routing gateway resources across compartments in the Networking service

  • Support for migrating zones from Dyn managed DNS to OCI in the DNS service

  • Support for fast provisioning for virtual machine databases in the Database service

Breaking changes

  • The fieldCreateZoneDetails is no longer an anonymous field and the type changed from struct to interface in struct CreateZoneRequest. Here is sample code that shows how to update your code to incorporate this change.

    • Before
    // There were two ways to initialize the CreateZoneRequest struct.
    
    // This breaking change only impact option #2
    
    request := dns.CreateZoneRequest{}
    
    
    
    // #1. Instantiate CreateZoneDetails directly: no impact
    
    details := dns.CreateZoneDetails{}
    
    details.Name = common.String('some name')
    
    // ... other properties
    
    // Set it to the request class
    
    request.CreateZoneDetails = details
    
    
    
    // #2. Instantiate CreateZoneDetails through anonymous fields: will break
    
    request.Name = common.String('some name')
    
    // ... other properties
    • After
    // #2 no longer supported. Create CreateZoneDetails directly
    
    details := dns.CreateZoneDetails{}
    
    details.Name = common.String('some name')
    
    // ... other properties
    
    
    
    request := dns.CreateZoneRequest{
    
        CreateZoneDetails: details
    
    }
    
    // ...

Don't miss a new oci-go-sdk release

NewReleases is sending notifications on new releases.