Skip to content
This repository was archived by the owner on Sep 29, 2020. It is now read-only.

v1.11.0

Pre-release
Pre-release
Compare
Choose a tag to compare
@sungo sungo released this 09 Apr 16:41
· 92 commits to master since this release
f82d723

Stable Release v1.11

This release of Conch Shell requires Conch API >=2.26, the current staging
version.

This is the first version of the Conch Shell that enforces the API versions that
it is able to talk to. For instance, this release only supports API version 2.26
and up. It will not function if the profile contains a url for a server version
less than that.

In a bit of future proofing, the shell will not attempt an upgrade to a version
with a different major number. For instance, upon the eventual release of Conch
Shell v3.0, this version of the shell and its descendants will not ask to
upgrade nor present the changelog.

Also, conch update changelog will show all changelogs between the current
version and the latest, allowing the user to be better informed of the changes.

Breaking Changes

  • If the user is root, update self will not function unless the --force
    flag is provided
  • Due to an API change, the workspace :id rooms command no longer exists
  • Due to an API change, --alias is required for global rooms create (This
    was also included in 1.10.3)

Major Breaking Change

Due to an API change, the JSON output of device :id get and device :id location have changed.

NOTE: Because this is an API change, anyone using api get /device/:id is
affected also.

The previous DeviceLocation datastructure looked like:

{
  "datacenter": {
    "id": uuid,
    "name": ...,
    "vendor_name": ...,
  },
  "rack": {
    "id": uuid,
    "name": ...,
    "role": ...",
    "unit": ...,
    "size": ...,
    "datacenter": ...,
    "slots": ...,
    "serial_number": ...,
    "asset_tag": ...,
  },
  "target_hardware_product": {
    "id": uuid,
    "name": ...,
    "alias": ...,
  },
}

The structure now looks like:

{
  "datacenter": {
    "id": uuid,
    # "name" # REMOVED
    "vendor": string, # NEW
    "vendor_name": string,
    "region": string, # NEW
    "location": string, # NEW
    "created": time, # NEW,
    "updated": time, # NEW,
  },
  "room": { # NEW
    "id": uuid,
    "az": string,
    "alias": string,
    "vendor_name": string,
    "datacenter": uuid,
    "created": time,
    "updated": time,
  },
  "rack": {
    "id": uuid,
    "created": time, # NEW
    "updated": time, # NEW
    "datacenter_room_id": uuid, # NEW
    "name": string,
    "role_id": uuid, # NEW - replaces "role"
    "serial_number": string,
    "asset_tag": string,
  },
  "target_hardware_product": {
    "id": uuid,
    "name": string,
    "alias": string,
    "vendor": string, # NEW
  },
  "rack_unit_start": int, # NEW - replaces rack.unit
}

Misc Changes

  • some minor build changes were made to further the goal of reproducible builds