Skip to content

Commit 483be76

Browse files
authored
Releasing version V1.6.0
Squashed commit of the following: commit df39d2d8d6b59705a26aa068bf985449893e9f9f Author: Jason Yin <[email protected]> Date: Thu May 31 17:08:31 2018 +0000 Releasing version 1 6 0
1 parent bc848a8 commit 483be76

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+3190
-24
lines changed

CHANGELOG.md

+47-1
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,55 @@ All notable changes to this project will be documented in this file.
44

55
The format is based on [Keep a Changelog](http://keepachangelog.com/)
66

7-
## 1.5.0 - 2018-05-17
7+
## 1.6.0 - 2018-05-31
88
### Added
9+
- Support for the "soft shutdown" instance action in the Compute service
10+
- Support for Auth Token management in the Identity service
911
- Support for backup or clone of multiple volumes at once using volume groups in the Block Storage service
12+
- Support for launching a database system from a backup in the Database service
13+
14+
### Breaking changes
15+
- ``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.
16+
17+
- Before
18+
19+
```golang
20+
// create a LaunchDbSystemRequest
21+
// There were two ways to initialize the LaunchDbSystemRequest struct.
22+
// This breaking change only impact option #2
23+
request := database.LaunchDbSystemRequest{}
24+
25+
// #1. explicity create LaunchDbSystemDetails struct (No impact)
26+
details := database.LaunchDbSystemDetails{}
27+
details.AvailabilityDomain = common.String(validAD())
28+
details.CompartmentId = common.String(getCompartmentID())
29+
// ... other properties
30+
request.LaunchDbSystemDetails = details
31+
32+
// #2. use anonymous fields (Will break)
33+
request.AvailabilityDomain = common.String(validAD())
34+
request.CompartmentId = common.String(getCompartmentID())
35+
// ...
36+
```
37+
38+
- After
39+
40+
```golang
41+
// create a LaunchDbSystemRequest
42+
request := database.LaunchDbSystemRequest{}
43+
details := database.LaunchDbSystemDetails{}
44+
details.AvailabilityDomain = common.String(validAD())
45+
details.CompartmentId = common.String(getCompartmentID())
46+
// ... other properties
47+
48+
// set the details to LaunchDbSystemBase
49+
request.LaunchDbSystemBase = details
50+
// ...
51+
```
52+
53+
## 1.5.0 - 2018-05-17
54+
### Added
55+
- ~~Support for backup or clone of multiple volumes at once using volume groups in the Block Storage service~~
1056
- Support for the ability to optionally specify a compartment filter when listing exports in the File Storage service
1157
- Support for tagging virtual cloud network resources in the Networking service
1258
- Support for specifying the PARAVIRTUALIZED remote volume type when creating a virtual image or launching a new instance in the Compute service

common/version.go

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

core/boot_volume.go

+3
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,9 @@ type BootVolume struct {
4848

4949
// The size of the boot volume in GBs.
5050
SizeInGBs *int `mandatory:"false" json:"sizeInGBs"`
51+
52+
// The OCID of the source volume group.
53+
VolumeGroupId *string `mandatory:"false" json:"volumeGroupId"`
5154
}
5255

5356
func (m BootVolume) String() string {

0 commit comments

Comments
 (0)