Skip to content

Commit a66f1d4

Browse files
committed
update version and add changelog
1 parent 433e739 commit a66f1d4

File tree

4 files changed

+11
-3
lines changed

4 files changed

+11
-3
lines changed

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# IPInfo Changelog
22

3+
## 4.0.0
4+
5+
#### Breaking Changes
6+
7+
- [PR #32](https://github.com/ipinfo/python/pull/32)
8+
All EOL Python versions are no longer supported; currently, Python 3.6 or greater is now **required**.
9+
An asynchronous handler is available from `getHandlerAsync` which returns an `AsyncHandler` which uses **aiohttp**.
10+
311
## 3.0.0
412

513
#### Breaking Changes

ipinfo/handler.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ def _requestDetails(self, ip_address=None):
134134
def _get_headers(self):
135135
"""Built headers for request to IPinfo API."""
136136
headers = {
137-
"user-agent": "IPinfoClient/Python{version}/3.0.0".format(
137+
"user-agent": "IPinfoClient/Python{version}/4.0.0".format(
138138
version=sys.version_info[0]
139139
),
140140
"accept": "application/json",

ipinfo/handler_async.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ def _ensure_aiohttp_ready(self):
172172
def _get_headers(self):
173173
"""Built headers for request to IPinfo API."""
174174
headers = {
175-
"user-agent": "IPinfoClient/Python{version}/3.0.0".format(
175+
"user-agent": "IPinfoClient/Python{version}/4.0.0".format(
176176
version=sys.version_info[0]
177177
),
178178
"accept": "application/json",

setup.py

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

1111
setup(
1212
name="ipinfo",
13-
version="3.0.0",
13+
version="4.0.0",
1414
description="Official Python library for IPInfo",
1515
long_description=long_description,
1616
url="https://github.com/ipinfo/python",

0 commit comments

Comments
 (0)