= Changes

This document describes the relevant changes between releases of the SDK.

== 4.1.0 / Jan 31 2016

Update to model 4.1.29:

* Documentation improvements.

* Add new `lease` attribute to virtual machines and templates.

== 4.1.0.alpha1 / Jan 13 2016

Update to metamodel 1.1.10:

* Fix reading of XML attributes of enum types.
  https://bugzilla.redhat.com/1408839[#1408839]

Update to model 4.1.27:

* Add `execution_host` link to the `Disk` type.

* Add `succeeded` parameter to the operation that end an external job.

* Add `initial_size` attribute to the `Disk` type.

* Added new `v4` value to the `StorageFormat` enum.

* Add `seal` operation to the service that manages templates.

* Add `progress` attribute to the `Disk` and `Step` types.

* Add `allow_partial_import` parameter to the operations that import
  virtual machines and templates.

* Add `ticket` operation to the service that manages the graphics
  console of a virtual machine.

* Added `urandom` to the `RngSource` enumerated type.

* Added `migratable` flag to the `VnicProfile` type.

* Add `gluster_tuned_profile` to the `Cluster` type.

* Add `skip_if_gluster_bricks_up` and `skip_if_gluster_quorum_not_met`
  attributes to the `FencingPolicy` type.

* Add the `ImageTransferDirection` enumerated type and the `direction`
  attribute to the `ImageTransfer` type.

* Replace the generic `GraphicsConsole` and `GraphicsConsoles` with
  specific services for virtual machines, templates and instance
  types.

* Deprecate the `legacy` USB type.

* Add `remoteviewerconnectionfile` action to the `GraphicsConsole`
  service.

* Add `max` attribute to the `MemoryPolicy` type.

* Make `Ip.version` optional.

* Add the `active_slave` link to the `Bonding` type.

* Add DNS configuration support to `Network` and `NetworkAttachment`.

* Add the `uses_scsi_reservation` attribute to the `DiskAttachment`
  type.

* Add the `sparsify` method to `DiskService`.

* Add the `discard_max_size` and `discard_zeroes_data` to the `LogicalUnit`
  type.

* Add `logical_name` attribute to the disk attachment type.

* Add the `upgradecheck` action to the host service.

* Add the `original_template` link to the virtual machine type.

New features:

* Enable compression by default https://bugzilla.redhat.com/1370485[#1370485].

== 4.0.3 / Nov 15 2016

Update to model 4.0.37 and metamodel 1.0.21

Bug fixes:

* Accept 202 code for 'Add' methods.

* Convert 'all_content' parameter to 'All-Content' header

* Add missing `template` and `storage_domain` parameters to the
  operation that imports an image.

* Add the `next_run` parameter to the operation that updates a virtual
  machine.

* Add the `all_content` parameters to the operations that list and
  retrieve virtual machines.

== 4.0.2 / Sep 20 2016

New features:

* Add the `custom_scheduling_policy_properties` attribute to the
  `Cluster` type.

* Add services and types to support transfer of images.

Bug fixes:

* Remove the `add` and `remove` operations of virtual machine
  CDROMs.

* Fix the type of the `usages` attribute of the `Network` type, it
  should be a list of values of the `NetworkUsage` enum, not a list
  of strings.

* Use pooling http client

== 4.0.1 / Sep 5 2016

Bug fixes:

* Update jackson dependencies versions to latest version

* Generate RPM Maven dependencies

* Avoid of reading fault response in case response body is empty

* Don't return null from send method in case of failure

* Fix tag names of action parameters

== 4.0.0 / Aug 29 2016

Bug fixes:

* Add missing required packages to spec files
