1.21.0 (formerly 1.4.0) release

This commit is contained in:
Renan DelValle 2019-03-15 15:15:37 -07:00
parent f7bd7cc20f
commit e16e390afe
No known key found for this signature in database
GPG key ID: C240AD6D6F443EC9
2 changed files with 4 additions and 2 deletions

View file

@ -1,6 +1,8 @@
1.4.0 (unreleased)
1.21.0
* Version numbering change. Future versions will be labled X.Y.Z where X is the major version, Y is the Aurora version the library has been tested against (e.g. 21 -> 0.21.0), and X is the minor revision.
* Moved to Thrift 0.12.0 code generator and go library.
* `aurora.ACTIVE_STATES`, `aurora.SLAVE_ASSIGNED_STATES`, `aurora.LIVE_STATES`, `aurora.TERMINAL_STATES`, `aurora.ACTIVE_JOB_UPDATE_STATES`, `aurora.AWAITNG_PULSE_JOB_UPDATE_STATES` are all now generated as a slices.
* Please use `realis.ActiveStates`, `realis.SlaveAssignedStates`,`realis.LiveStates`, `realis.TerminalStates`, `realis.ActiveJobUpdateStates`, `realis.AwaitingPulseJobUpdateStates` in their places when map representations are needed.
* `GetInstanceIds(key *aurora.JobKey, states map[aurora.ScheduleStatus]bool) (map[int32]bool, error)` has changed signature to ` GetInstanceIds(key *aurora.JobKey, states []aurora.ScheduleStatus) ([]int32, error)`
* Adding support for GPU as resource.

View file

@ -37,7 +37,7 @@ import (
"github.com/pkg/errors"
)
const VERSION = "1.4.0"
const VERSION = "1.21.0"
// TODO(rdelvalle): Move documentation to interface in order to make godoc look better/more accessible
type Realis interface {