All notable changes to this project are documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
4.0.0 - 2024-06-14
- Require Python 3.8+.
- Add new functions for retrieving Autonomous System data:
batch_lookup_asns
,lookup_asn
,origin_lookup_asn
. - Add new functions for user-agent header value parsing:
batch_parse_user_agents
,parse_user_agent
. - API key is passed as header value and no longer as query parameter.
- Client library method are now wrapped in a new ApiResponse object that includes a mean to retrieve metadata about credits and throttling in addition to data.
- Introduce data model for responses to enable field value access using dot notation and ensure code autocompletion functionality.
- Rename all function and variable names to adhere to snake_case convention.
- Replace the function named
lookup
by 3 new functions:batch_lookup_ips
,lookup_ip
andorigin_lookup_ip
. - Rename IpregistryConfig option
apiUrl
tobaseUrl
. - Rename UserAgent utility class to _UserAgents.
3.2.0 - 2021-11-09
- Dependencies are now managed with Poetry.
- Fix setup.py import assumes deps already installed (#37).
3.1.0 - 2021-10-26
- Dependencies update
3.0.0 - 2021-04-09
- Drop Python 2 support.
- Rename DefaultCache to InMemoryCache.
2.0.1 - 2020-09-25
- Fix packaging with version 2.0.0 deployed on pypi.
2.0.0 - 2020-07-05
- Disable caching by default since people are often confused by this default setting. You can enable caching by following what is explained in the README.
- Increase maximum timeout to 15s from 3s.
1.1.0 - 2019-10-27
- Decrease the default cache period to 10min from 24h. This is to better handle use cases that require fresh security data. Indeed, such data is updated multiple times each hour. You can still configure the cache period to a higher value: https://github.com/ipregistry/ipregistry-python#caching
1.0.0 - 2019-07-28
- First public release.