Skip to content

Commit 91fc4a6

Browse files
committed
prepare changelog for release after async is ready
1 parent 901fcaf commit 91fc4a6

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

CHANGELOG.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,20 @@
11
# IPInfo Changelog
22

3-
## 4.1.0 (WIP)
3+
## 4.1.0
44

55
- Most private functions on all handlers (i.e. those that start with `_`) are
66
now moved to `ipinfo.handler_utils`.
7+
- All constants that existed on handlers (i.e. `REQUEST_TIMEOUT_DEFAULT`) are
8+
now moved to `ipinfo.handler_utils`.
9+
- Both the sync and async handlers have the following improvements:
10+
- `timeout` can be specified as a keyword-arg to getDetails to optionally
11+
override the client-level timeout.
12+
- getBatchDetails now has no limit to the size of the `ip_addresses` input
13+
list. It will chunk the list internally and make requests against the
14+
batch endpoint in a way that doesn't exceed the API's own limits.
15+
- getBatchDetails now accepts the new options `batch_size`,
16+
`timeout_per_batch`, `timeout_total` and `raise_on_fail`. Please see the
17+
documentation for details on what each of these do.
718

819
## 4.0.0
920

0 commit comments

Comments
 (0)