From 385d97ef38fd7b976ea24653a2b4514dee62ffb8 Mon Sep 17 00:00:00 2001 From: Louis Taylor Date: Mon, 8 Dec 2014 17:04:43 +0000 Subject: [PATCH] Add release notes for 0.15.0 This adds release notes for the folowing commits: $ git log --oneline --no-merges 0.14.2..HEAD 9a4d858 Support Pagination for namespace list 3989cd2 Support schema types with non-str value 9829d7b Don't require version to create Client instance 8e02b2a Allow --file in image-create with v2 Image API d5a0e65 Add useful error on invalid --os-image-api-version 49f38a4 Add release notes for 0.14.0 - 0.14.2 5080d10 Send `identity_headers` through the wire d0851c3 Remove readonly options from v2 shell commands 4194a55 Add --property-filter option to v2 image-list ef0abdc Fix py34 failure for glance client 8c159a2 Don't set X-Auth-Token key in http session header if no token provided b83a672 Refactor method of constructing dicts in some tests 751e064 Adds tty password entry for glanceclient 597da8a '--public' ignored on image create cbbfbc9 Fix to ensure endpoint_type is used by _get_endpoint() 12a3a82 Add bash completion to glance client Change-Id: I24fbba80831c311b42d1abb08487cc29c8b5b162 --- doc/source/index.rst | 52 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) diff --git a/doc/source/index.rst b/doc/source/index.rst index 32c6dddd..06f4e0b4 100644 --- a/doc/source/index.rst +++ b/doc/source/index.rst @@ -37,6 +37,58 @@ See also :doc:`/man/glance`. Release Notes ============= +0.15.0 +------ + +* Stop requiring a version to create a Client instance. The ``version`` argument is + now a keyword. If no ``version`` is specified and a versioned endpoint is + supplied, glanceclient will use the endpoint's version. If the endpoint is + unversioned and a value for ``version`` is not supplied, glanceclient falls + back to v1. This change is backwards-compatible. Examples:: + + >>> glanceclient.Client(version=1, endpoint='http://localhost:9292') # returns a v1 client + >>> glanceclient.Client(endpoint='http://localhost:9292/v2') # returns a v2 client + >>> glanceclient.Client(endpoint='http://localhost:9292') # returns a v1 client + >>> glanceclient.Client(2, 'http://localhost:9292/v2') # old behavior is preserved + +* Add bash completion to glance client. The new bash completion files are stored in ``tools/glance.bash_completion`` +* Add tty password entry. This prompts for a password if neither ``--os-password`` nor ``OS_PASSWORD`` have been set +* Add the ``--property-filter`` option from the v1 client to v2 image-list. This allows you to do something similar to:: + + $ glance --os-image-api-version 2 image-list --property-filter os_distro=NixOS + +* 1324067_: Allow --file flag in v2 image-create. This selects a local disk image to upload during the creation of the image +* 1395841_: Output a useful error on an invalid ``--os-image-api-version`` argument +* 1394965_: Add ``identity_headers`` back into the request headers +* 1350802_: Remove read only options from v2 shell commands. The options omitted are + + - ``created_at`` + - ``updated_at`` + - ``file`` + - ``checksum`` + - ``virtual_size`` + - ``size`` + - ``status`` + - ``schema`` + - ``direct_url`` + +* 1381295_: Stop setting X-Auth-Token key in http session header if there is no token provided +* 1378844_: Fix ``--public`` being ignored on image-create +* 1367782_: Fix to ensure ``endpoint_type`` is used by ``_get_endpoint()`` +* 1381816_: Support Pagination for namespace list +* 1401032_: Add support for enum types in the schema that accept ``None`` + +.. _1324067: https://bugs.launchpad.net/python-glanceclient/+bug/1324067 +.. _1395841: https://bugs.launchpad.net/python-glanceclient/+bug/1395841 +.. _1394965: https://bugs.launchpad.net/python-glanceclient/+bug/1394965 +.. _1350802: https://bugs.launchpad.net/python-glanceclient/+bug/1350802 +.. _1381295: https://bugs.launchpad.net/python-glanceclient/+bug/1381295 +.. _1378844: https://bugs.launchpad.net/python-glanceclient/+bug/1378844 +.. _1367782: https://bugs.launchpad.net/python-glanceclient/+bug/1367782 +.. _1381816: https://bugs.launchpad.net/python-glanceclient/+bug/1381816 +.. _1401032: https://bugs.launchpad.net/python-glanceclient/+bug/1401032 + + 0.14.2 ------