Skip to content

Releases: oracle/oci-cli

2.4.15

26 Jan 01:48
67b1062
Compare
Choose a tag to compare

Added

  • Support for using the ObjectReadWithoutList public access type when creating and updating buckets
  • Support for managing dynamic groups (oci iam dynamic-group)
  • Support for instance principal auth (using --auth instance_principal option)

2.4.14

12 Jan 05:34
668fb0a
Compare
Choose a tag to compare

Added

  • Support for tagging
  • Support for bringing your own custom image for emulation mode virtual machines in Compute Service (--launch-mode parameter on create image)
  • Support for returning unquoted strings when the result of a JMESPath --query is a single string value (using --raw-output option)
  • Support for launching an instance from an image or boot volume using the --image-id or --source-boot-volume-id parameters (these are alternatives to specifying --source-details)
  • Support for boot volume attachment operations (oci compute boot-volume-attachment)
  • Support wait for state on detach operations (e.g. oci compute volume-attachment detach --wait-for-state)

Changed

  • Upgraded cryptography dependency to 2.1.3
    • Changed dependency on pyOpenSSL <= 17.4.0 as the minimum cryptography version for pyOpenSSL 17.5.0 is 2.1.4
  • Upgraded six dependency to 1.11.0
  • Ugraded requests dependency to 2.18.4

2.4.13

11 Dec 22:45
fc8a85e
Compare
Choose a tag to compare

Added

  • Support for Load Balancing Service operations ('oci lb')

  • Support for user managed boot volumes: 'oci bv boot-volume', 'oci compute instance launch --source-details', 'oci compute instance terminate --preserve-boot-volume'

  • Operations which create, update or delete resources with a lifecycle-state now support a --wait-for-state option which allows you to perform the action and then wait until the resource reaches a given state

  • Support for specifying --profile option through OCI_CLI_PROFILE environment variable

Changed

  • When listing audit events ('oci audit event list'), audit events can now have a 'response-payload' attribute which contains metadata of interest. For example, the OCID of a resource

2.4.12

28 Nov 00:21
a3599d6
Compare
Choose a tag to compare

Added

  • Support option for using second physical NIC on X7 Bare Metal instances (--nic-index option on 'oci compute instance attach-vnic')
  • Support for Local Peering Gateway operations ('oci network local-peering-gateway')
  • Support for specifying a default for the --profile option in the oci_cli_rc file
  • Support create database from backup (oci db database create-from-backup)
  • Support for getting archived object restore status ('oci os object restore-status') more details in sample (https://github.com/oracle/oci-cli/scripts/restore_archived_object.sh)

Changed

  • Help displayed via the --help/-h/-? option is now formatted like man pages found on Unix (or Unix-like) systems. To switch back to the previous way of displaying help, add use_click_help = True to the OCI_CLI_SETTINGS section of your oci_cli_rc file

2.4.11

02 Nov 23:00
4cb1b74
Compare
Choose a tag to compare

Added

  • 'oci setup oci-cli-rc' command to generate an oci_cli_rc file with default aliases and pre-defined queries
  • Support for defining named JMESPath queries and command / parameter aliases in oci_cli_rc file
  • 'oci setup repair-file-permissions' command to set appropriate file permissions on key / config files. Warnings are emitted if permissions are too open on these files.
  • Support for --all parameter for 'list' operations to return all items in a list without manual pagination
  • Support for audit operations: 'oci audit'
  • Support for archive storage tier, object rename and namespace metadata in Object Storage
  • Support for fast clones of volumes in Block Storage service
  • Support for backup and restore in Database service
  • Support for sorting and filtering in list APIs in Core Services
  • Support for multipart download for 'oci os object get' and 'oci os object bulk-get'

Deprecated

  • The top level parameter --defaults-file has been renamed to --oci-cli-rc and the default location for the file has moved from ~/.oci/cli-defaults to ~/.oci/oci_cli_rc.

2.4.10

13 Oct 00:12
Compare
Choose a tag to compare

Added

  • Support for new Database service operations: VM DBs, Bring Your Own License, and Data Guard.
  • Support for autocomplete on Windows (PowerShell only)
  • Support for defaults file to specify default values for CLI parameters (#20)
  • Support for parallelization in bulk object storage commands: bulk upload / download / delete).
  • Support for including / excluding files in bulk upload / download / delete based on file patterns.
  • Support for enabling / disabling VNIC source/destination checks (#15)
  • Support for adding and updating display names for captured instance serial console data.
  • Display public key fingerprint in output of 'oci setup config' (#18)

Fixed

  • Allow piping input through STDIN for 'oci os object put' (#21)
  • Use full path when writing 'key_file' in 'oci setup config' (#19)
  • Added missing files and instructions to allow running tests

Deprecated

  • oci bv volume create --size-in-mbs parameter is now deprecated in favor of the new --size-in-gbs parameter

2.4.9

14 Sep 00:28
Compare
Choose a tag to compare

Fixed

  • On Windows, fall back to old default config location (%USERPROFILE%.oraclebmc\config) if new default location doesn't exist (%USERPROFILE%.oci\config).

Added

  • Support for CustomerSecretKey operations (oci iam customer-secret-key create / delete / list / update).

2.4.8

11 Sep 22:04
Compare
Choose a tag to compare

Deprecated

  • The default configuration file location has been changed from ~/.oraclebmc/config to ~/.oci/config. The old location still works if the file at the new location does not exist.

Added

  • Support for the Database service

  • Object Storage bulk operations (oci os object bulk-upload / bulk-download / bulk-delete)

  • Support for compartment renaming

  • Scripts to simplify install process

  • Complex input can now be provided as a file instead of having to escape JSON input at the command line. The path to the file can be provided using the file:// prefix, for example --my-complex-param file://, and the following paths are supported

    • Relative paths from the same directory, such as file://my-input.json and file://relative/path/to/input.json
    • Absolute paths on Linux, macOS or Unix, such as file:///absolute/path/to/input.json
    • Full file paths on Windows, such as file://C:\path\to\input.json
    • Using file path expansions, for example '~/', './', and '../' is supported. On Windows, the '~/' expression expands to your user directory, stored in the %USERPROFILE% environment variable
    • Using environment variables in paths is also supported

Changed

  • The default configuration file location is now ~/.oci/config

2.4.7

23 Aug 01:14
Compare
Choose a tag to compare

Fixed

  • Upgraded pyOpenSSL dependency to 17.0.0

2.4.6

11 Aug 00:27
Compare
Choose a tag to compare

Added

  • Subcommands to 'bmcs compute image import / export' to allow specifying
    source / destination in multiple formats.
  • Secondary IP operations ('bmcs network private-ip', 'bmcs network vnic
    assign/unassign-private-ip').
  • '-h' alias for global '--help' option (#6)

Fixed

  • 'bmcs os object put' accepts input from stdin (#7)
  • 'bmcs compute image export' successfully exports image (#4)

Changed

  • Upgraded cryptography dependency to 1.8.2 (#5)
  • Deprecated --image-source-details param of 'bmcs compute image create' in
    favor of subcommands (see Added section).