Skip to content

Commit 1b087a5

Browse files
author
Turo
authored
Merge pull request #107 from UpCloudLtd/chore/add-history-changelog
chore(changelog): add old releases to changelog
2 parents c77bc81 + 07f5c22 commit 1b087a5

File tree

2 files changed

+230
-1
lines changed

2 files changed

+230
-1
lines changed

CHANGELOG.md

Lines changed: 229 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# Changelog
2+
23
All notable changes to this project will be documented in this file.
34

45
Changelog was added with version 2.0.0.
@@ -14,11 +15,13 @@ Python 2 is no longer supported. This is a maintenance release without
1415
that many added features. It was mostly done to make future development easier.
1516

1617
### Added
18+
1719
- Storage upload accepts filenames in strings and PathLike or BinaryIO variables.
1820
- Code style is now guarded by Black, flake8, isort etc.
1921
- Improved documentation and its examples, especially regarding server creation and storage uploads.
2022

2123
### Changed
24+
2225
- Huge amount of fixups in project tests, style and imports by [akx](https://github.com/akx). Thank you! :heart:
2326
- Zone default from storage creation has been removed, making zone a required variable with `create_storage()`.
2427
- Passwords for server user are not created by default if SSH keys are provided.
@@ -27,4 +30,230 @@ that many added features. It was mostly done to make future development easier.
2730
- Moved to fully using setup.cfg instead of requirements.txt.
2831

2932
### Removed
33+
3034
- Python 2 support.
35+
36+
----
37+
38+
## [1.0.1] - 11 Feb 2021
39+
40+
### Fixed
41+
42+
- long description for PyPi
43+
44+
----
45+
46+
## [1.0.0] - 11 Feb 2021
47+
48+
### Added
49+
50+
- Features: Object Storage, Network, router, hosts
51+
- user-agent to follow usage trend
52+
- Storage methods clone #6 , templatize, import, favorite and backup #5
53+
- tests
54+
55+
### Changed
56+
57+
- Breaking: Update to UpCloud API 1.3
58+
- Breaking: Update supported Python versions
59+
- Python 2.7 and Python >3.6
60+
- Breaking: Update dependencies
61+
- Move from travis to github actions
62+
63+
### Fixed
64+
65+
- Fetch Zones and templates from API
66+
- Refactoring
67+
- Update Readme
68+
69+
----
70+
71+
## [0.4.6] - 28 Aug 2020
72+
73+
- Support for new templates: CentOS 8.0 and Ubuntu 20.04
74+
- Removed obsolete templates
75+
- Added US-NYC1 zone constant
76+
77+
----
78+
79+
## [0.4.5] - 3 Dec 2019
80+
81+
Template updates.
82+
83+
----
84+
85+
## [0.4.3] - 3 Dec 2018
86+
87+
- Python 3.3 deprecated
88+
- Zone San Jose added
89+
- Template Ubuntu 18.04 added
90+
91+
----
92+
93+
## [0.4.2] - 22 Feb 2018
94+
95+
- Added missing zones and missing templates.
96+
- Also removed old template windows 2008, which is not supported any more.
97+
98+
----
99+
100+
## [0.4.1] - 2 Feb 2018
101+
102+
- CI fixes
103+
- Small bug fix
104+
105+
----
106+
107+
## [0.4.0] - 1 Feb 2018
108+
109+
...
110+
111+
----
112+
113+
## [0.3.9] - 16 Nov 2016
114+
115+
Note: 0.3.8 was never released at pip / github releases.
116+
117+
- numerous improvements from the 0.4.0 branch #29
118+
- support for creating a server from template
119+
120+
<https://www.upcloud.com/api/8-servers/#creating-from-a-template>
121+
122+
``` python
123+
manager.create_server(
124+
Server(
125+
core_number=2,
126+
memory_amount=1024,
127+
hostname='my.example.com',
128+
zone=ZONE.Frankfurt,
129+
storage_devices=[
130+
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
171+
172+
Server.avoid_host = <host_id>
173+
Server.login_user = login_user_block(username : String, ssh_keys : List[String], create_password : Bool)
174+
```
175+
176+
Note: username is optional (defaults to `root` in API)
177+
178+
**Improve `Server.get_public_ip(self, addr_family='IPv4', strict=False`)**
179+
180+
<https://github.com/UpCloudLtd/upcloud-python-api/commit/ec16d0ce05b605c8e6e44e1ed57e309020797fa4>
181+
182+
----
183+
184+
## [0.3.3] - 8 Feb 2016
185+
186+
Allow setting timeout via
187+
188+
`manager = upcloud_api.CloudManager('username', 'password', timeout)`
189+
190+
or
191+
192+
`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

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ python setup.py install
3737

3838
## Changelog
3939

40-
- Changelog is available [in its own file](CHANGELOG.md), starting from version 2.0.0.
40+
- Changelog is available [in its own file](CHANGELOG.md)
4141

4242
## Usage
4343

0 commit comments

Comments
 (0)