This is an automated email from the ASF dual-hosted git repository. tomaz pushed a commit to branch trunk in repository https://gitbox.apache.org/repos/asf/libcloud.git
commit 01c7e61de89144205a2dcc1db31239bb527b725c Author: Tomaz Muraus <to...@tomaz.me> AuthorDate: Wed Sep 20 19:57:20 2023 +0200 Improve upgrade notes entry. --- docs/upgrade_notes.rst | 21 ++++++++++++++++++--- 1 file changed, 18 insertions(+), 3 deletions(-) diff --git a/docs/upgrade_notes.rst b/docs/upgrade_notes.rst index d97cdaca2..27c9c3e0e 100644 --- a/docs/upgrade_notes.rst +++ b/docs/upgrade_notes.rst @@ -7,9 +7,24 @@ preserve the old behavior when this is possible. Libcloud 3.8.0 -------------- -- [LINODE API v4] Order of arguments to create_node() was changed. The order of the - arguments for name and size were not consistent with the rest of the codebase. - This is possibly a breaking change for anyone using a previous version. + +* [LINODE API v4] Order of arguments to create_node() was changed. The order of the + arguments for name and size were not consistent with the rest of the codebase + and with the standard Libcloud API. + + This is possibly a breaking change for anyone using a previous version. + + New method signature: + + .. sourcecode:: python + + def create_node(self, location, name, size, image, ...) + + Old method signature: + + .. sourcecode:: python + + def create_node(self, location, size=None, image=None, name=None, ...) Libcloud 3.7.0 --------------