You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Storage(uuid=UUID, size=10), # we also support Storage(storage=UUID, size=10)
131
+
],
132
+
)
133
+
)
134
+
```
135
+
136
+
----
137
+
138
+
## [0.3.7] - 4 Aug 2016
139
+
140
+
- support for Server.user_data
141
+
- improve Server.stop_and_destroy
142
+
- automatically populates server data from api unless sync=False param is given
143
+
- wraps stop and destroy operations in an error handling loop that tries the operations several times in case of API errors related to the resource being in "maintenance" state (servers sometimes go to "maintenance" state when destroying several servers in a row)
144
+
145
+
----
146
+
147
+
## [0.3.6] - 18 Jul 2016
148
+
149
+
- remove `future` dependency
150
+
- loosely declare dependencies (`six` and `requests`) with `>=`
151
+
- improve `Server.stop_and_destroy` to be more stable
152
+
- add Circle-CI integration tests (more work needed though)
153
+
- add flake8 and improve code style
154
+
155
+
----
156
+
157
+
## [0.3.5] - 1 Jul 2016
158
+
159
+
Bugfix: allow new Firewall attributes, add comment attribute default
160
+
161
+
The above fix is necessary for upcloud's firewall ansible module to work.
162
+
163
+
----
164
+
165
+
## [0.3.4] - 21 Jun 2016
166
+
167
+
**Support `avoid_host` and `login_user` features of UpCloud's Servers API.**
168
+
169
+
```
170
+
from upcloud_api.server import Server, login_user_block
`manager.timeout = timeout` (although this should probably be avoided)
193
+
194
+
where timeout is an integer (seconds) or `None` (forever) or anything accepted by `requests` library as described [here](http://docs.python-requests.org/en/master/user/advanced/?highlight=timeout#timeouts)
195
+
196
+
----
197
+
198
+
## [0.3.2] - 30 Nov 2015
199
+
200
+
Small update, adds functionality to manage preconfigured servers ("fixed plan", see upcloud.com/pricing/)
201
+
202
+
-`plan` attribute for Server
203
+
-`Server.save()` works even if the instance has not been populated from API
204
+
205
+
----
206
+
207
+
## [0.3.1] - 20 Jul 2015
208
+
209
+
Small update introducing Tags
210
+
211
+
-`Tag` class and `TagManager` mixin for `CloudManager`
212
+
- see `upcloud_api/cloud_manager/tag_mixin.py` and `upcloud_api/tag.py`
213
+
214
+
----
215
+
216
+
## [0.3.0] - 15 Jul 2015
217
+
218
+
Major release introducing python2/3 support and several features for Ansible inventory/modules
219
+
220
+
-**PyPi relase renamed to `upcloud-api`** (`pip install upcloud-api`)
221
+
-**Package renamed to `upcloud_api`** (`import upcloud_api`)
222
+
- versions supported: 2.6, 2.7, 3.3+
223
+
- drop 3.2 support ([future](https://pypi.python.org/pypi/future) does not support it)
224
+
- new convenience functions for Server:
225
+
- server.stop_and_destroy() - wait for server to stop, then destroy it and its storages
226
+
- server.ensure_started() - wait for server to be started
227
+
- server.to_dict() - JSON serialisable dict including storages an IP-addresses
228
+
- password delivery `"none"` by default. (no annoying emails about new servers)
229
+
- some code quality improvements, like using strictly absolute imports within the codebase
230
+
231
+
----
232
+
233
+
## [0.2.0] - 29 Jun 2015
234
+
235
+
Major update with new features related to UpCloud's API v1.2
236
+
237
+
- major change: use UpCloud's API v1.2
238
+
- add FirewallRule management (see [documentation](http://upcloudltd.github.io/upcloud-python-api/Firewall/))
239
+
- add option to add IPv6 addresses (`server.add_IP("IPv6")`)
240
+
- ship files required for running tests with the [PyPI release](https://pypi.python.org/pypi/upcloud-api-python/0.2.0)
241
+
- updates to documentation and README.md
242
+
- live tests against UpCloud's API - these are NOT shipped with PyPI release as they are extremely dangerous. `py.test` will not run these tests and they require extra confirmation / cloud credentials. This version has been tested manually and automatically against the UpCloud v1.2 API.
243
+
244
+
----
245
+
246
+
## [0.1.1] - 23 Jun 2015
247
+
248
+
Move to X.Y.Z versioning and bump version from 0.1(.0) to 0.1.1
249
+
250
+
- minor enchancement: Storage OS param can now take a UUID of a OS template. Useful if using custom OS templates.
251
+
- bugfix: add cloud_manager to Server object during create_server.
252
+
- added MANIFEST.in, tox.in, setup.cfg and removed docs/html from git (built by mkdocs from md sources)
253
+
- sublime project file and some readme.md improvements
254
+
255
+
----
256
+
257
+
## [0.1] - 23 Jun 2015
258
+
259
+
First release, available at https://pypi.python.org/pypi/upcloud-api-python
0 commit comments