Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

[#18] Properly choose defaults for cache maxsize and ttl #19

Merged
merged 4 commits into from
Oct 30, 2019
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Major bump - DefaultCache's constructor interface was changed a bit
  • Loading branch information
UmanShahzad committed Oct 30, 2019
commit 71c08ecb68b93cd160c5c1ab2f6717a3d41c5a1e
17 changes: 17 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,24 @@
# IPInfo Changelog

## 3.0.0

#### Breaking Changes

- [PR #19](https://github.com/ipinfo/python/pull/19)
DefaultCache requires keyword arguments now instead of positional arguments,
in particular `maxsize` and `ttl`.

#### Bug Fix

- [PR #19](https://github.com/ipinfo/python/pull/19)
[Issue #18](https://github.com/ipinfo/python/issues/18)
An issue with the handler not being created if you provide your own custom
`maxsize`/`ttl` values has been fixed.

## 2.1.0

#### General

- Released a batch ops function on the handler called `getBatchDetails` which
accepts a list of IP addresses (or an IP address plus a path to more specific
details, e.g. `8.8.8.8/country`). See documentation on batch operations in the
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
@@ -10,7 +10,7 @@

setup(
name="ipinfo",
version="2.1.0",
version="3.0.0",
description="Official Python library for IPInfo",
long_description=long_description,
url="https://github.com/ipinfo/python",