doc/client_api_versions.txt
changeset 1618 04f7471c9e72
parent 1603 84bd53597209
child 1685 51f832187af7
equal deleted inserted replaced
1617:506f15e27611 1618:04f7471c9e72
       
     1 Version 29:
       
     2 Incompatible with clients using versions 0-28:
       
     3     The ImageInterface class has changed as follows:
       
     4         * set_plan_license_status() was added.  This is used to indicate
       
     5           whether licenses for the packages being operated on have been
       
     6           accepted or displayed.  Clients must do this if the related
       
     7           license requires acceptance or display.
       
     8 
       
     9     The LicenseInfo class has changed as follows:
       
    10         * get_text() may now trigger a remote retrieval of the license
       
    11           payload if needed to return the text.
       
    12 
       
    13         * The related package FMRI and license attributes are now
       
    14           properties: fmri, license, must_accept, and must_display.
       
    15 
       
    16     The PlanDescription class has changed as follows:
       
    17         * get_changes() is now a generator function.
       
    18 
       
    19         * get_licenses() was added to allow clients to retrieve the
       
    20           list of licenses related to the plan's operations as well
       
    21           as the current accepted and displayed status of each.
       
    22 
     1 Version 28:
    23 Version 28:
     2 Incompatible with clients using versions 0-27:
    24 Incompatible with clients using versions 0-27:
     3     CatalogRefreshException.message was changed to
    25     CatalogRefreshException.message was changed to
     4     CatalogRefreshException.errmessage to work around a change
    26     CatalogRefreshException.errmessage to work around a change
     5     introduced in python2.5 and removed in python2.6 (Exception.message,
    27     introduced in python2.5 and removed in python2.6 (Exception.message,
     6     if used, triggers a deprecation warning).
    28     if used, triggers a deprecation warning).
     7 
    29 
     8 Version 27:
    30 Version 27:
     9 Compatible with clients using version 25 and 26:
    31 Compatible with clients using versions 25-26:
    10     The get_manifest function has been added to the api to allow clients to
    32     The get_manifest function has been added to the api to allow clients
    11     retrieve the manifest directly.
    33     to retrieve the manifest directly.
    12 
    34 
    13 Version 26:
    35 Version 26:
    14 Compatible with clients using version 25.
    36 Compatible with clients using version 25.
    15     The client API has changed such that an immediate refresh is always
    37     The client API has changed such that an immediate refresh is always
    16     performed when the 'refresh_catalogs' parameter is True for install,
    38     performed when the 'refresh_catalogs' parameter is True for install,