Skip to content

Commit a2c8098

Browse files
authored
Merge pull request #118 from packethost/release-1.44.0
Release 1.44.0
2 parents 8cdc676 + 9fb23d9 commit a2c8098

File tree

5 files changed

+26
-8
lines changed

5 files changed

+26
-8
lines changed

CHANGELOG.md

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,26 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/).
55
This project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
66

7-
## [1.44.0] - Unreleased
7+
## [1.45.0] - Unreleased
88
### Added
99
### Changed
1010
### Fixed
1111

12+
## [1.44.0] - 2021-05-20
13+
### Added
14+
- User-Agent header added to client requests #113
15+
- `Metro` class added (https://feedback.equinixmetal.com/changelog/new-metros-feature-live) #110
16+
- Adds `metro` property to `DeviceBatch`, `Device`, `IPAddress`, `VLan` #110
17+
- Adds `metro` to `create_device`, `reserve_ip_address`, `create_vlan`, `create_connection` #110
18+
- Adds `list_metros`, `validate_metro_capacity` to `Manager` #110
19+
- Adds `CODE_OF_CONDUCT.md`, `SUPPORT.md`, `OWNERS.md` #102, #101, #100
20+
- Adds package metadata for `author`, `author_email`, `copyright` #114
21+
### Changed
22+
- `facility` is now optional in `create_device`, `reserve_ip_address`, `create_vlan`, `create_connection` #110
23+
- CI is using GH Actions instead of Drone #115
24+
### Fixed
25+
- Handles when IPAddress Facility is null in API responses #117
26+
1227
## [1.43.1] - 2020-09-04
1328
### Fixed
1429
- ResponseError fixed for Python2.7 compatibility

packet/Device.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,10 @@ def __init__(self, data, manager):
2222
self.bonding_mode = data.get("bonding_mode")
2323
self.created_at = data.get("created_at")
2424
self.updated_at = data.get("updated_at")
25-
self.ipxe_script_url = data.get("ipxe_script_url", None)
25+
self.ipxe_script_url = data.get("ipxe_script_url")
2626
self.always_pxe = data.get("always_pxe", False)
2727
self.storage = data.get("storage")
28-
self.customdata = data.get("customdata", None)
28+
self.customdata = data.get("customdata")
2929
self.operating_system = OperatingSystem(data["operating_system"])
3030
self.facility = data.get("facility")
3131
self.metro = data.get("metro")

packet/Vlan.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ def __init__(self, data, manager):
1818
self.facility_code = data.get("facility_code")
1919
self.metro_code = data.get("metro_code")
2020
self.created_at = data.get("created_at")
21-
facility = data.get("facility", None)
21+
facility = data.get("facility")
2222
self.facility = Facility(facility) if facility else None
23-
metro = data.get("metro", None)
23+
metro = data.get("metro")
2424
self.metro = Metro(metro) if metro else None
2525

2626
try:

packet/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
"""library to interact with the Packet API"""
55

6-
__version__ = "1.43.1"
6+
__version__ = "1.44.0"
77
__author__ = "Equinix Metal Engineers"
88
__author_email__ = "[email protected]"
99
__license__ = "LGPL v3"

setup.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,14 +34,14 @@ def get_version(rel_path):
3434
setup(
3535
name="packet-python",
3636
version=get_version("packet/__init__.py"),
37-
description="Packet API client",
37+
description="Equinix Metal (Packet) API client",
3838
long_description=long_description,
3939
long_description_content_type="text/markdown",
4040
url="https://github.com/packethost/packet-python",
4141
author="Equinix Metal Developers",
4242
author_email="[email protected]",
4343
license="LGPL v3",
44-
keywords="packet api client",
44+
keywords="equinix metal packet api client infrastructure",
4545
packages=["packet"],
4646
install_requires="requests",
4747
setup_requires=["pytest-runner"],
@@ -50,6 +50,7 @@ def get_version(rel_path):
5050
"Development Status :: 5 - Production/Stable",
5151
"Intended Audience :: Developers",
5252
"Intended Audience :: Information Technology",
53+
"Topic :: Software Development :: Libraries",
5354
"License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)",
5455
"Programming Language :: Python :: 2",
5556
"Programming Language :: Python :: 2.7",
@@ -58,5 +59,7 @@ def get_version(rel_path):
5859
"Programming Language :: Python :: 3.5",
5960
"Programming Language :: Python :: 3.6",
6061
"Programming Language :: Python :: 3.7",
62+
"Programming Language :: Python :: 3.8",
63+
"Programming Language :: Python :: 3.9",
6164
],
6265
)

0 commit comments

Comments
 (0)