Releases: ipregistry/ipregistry-javascript
Releases · ipregistry/ipregistry-javascript
6.0.0
5.0.2
Added
- Add missing fields
sizeandstatusto type AutonomousSystemPrefix.
5.0.1
Fixed
- Fix a packaging issue.
v5.0.0
Added
- New
IpregistryClient#batchLookupAsnsmethod. - New
IpregistryClient#lookupAsnmethod. - New
IpregistryClient#originLookupAsnmethod. - New
IpregistryConfigBuilder.withEuBaseUrlmethod. Once configured, requests will be handled by nodes deployed in the European Union only. - New
IpregistryRequestHandler#batchLookupAsnsmethod. - New
IpregistryRequestHandler#lookupAsnmethod. - New
IpregistryRequestHandler#originLookupAsnmethod.
Changed
- Rename
IpregistryClient#batchLookuptoIpregistryClient#batchLookupIps. - Rename
IpregistryClient#lookuptoIpregistryClient#lookupIp. - Rename
IpregistryClient#originLookuptoIpregistryClient#originLookupIp. - Rename
IpregistryClient#parsetoIpregistryClient#parseUserAgents. - Rename
IpregistryConfigBuilder.withApiUrltoIpregistryConfigBuilder.withBaseUrl. - Rename
IpregistryRequestHandler#batchLookuptoIpregistryRequestHandler#batchLookupIps. - Rename
IpregistryRequestHandler#lookuptoIpregistryRequestHandler#lookupIp. - Rename
IpregistryRequestHandler#originLookuptoIpregistryRequestHandler#originLookupIp. - Rename
IpregistryRequestHandler#parsetoIpregistryRequestHandler#parseUserAgents. - Rename utility class
UserAgenttoUserAgents. - Replace Axios by ky to bring support to Cloudflare Workers in addition to browser and NodeJS environments.
- Require NodeJS 18+.
Fixed
- Fixed origin requests returning wrong information when caching is enabled. Cache is now automatically disabled for
origin requests since it is incompatible.
v4.5.0
Added
- New
is_vpnfield insecurityobject.
v4.4.2
Fixed
- Invalid field name
security.is_tor_exit_nodehas been renamed tosecurity.is_tor_exit.
Changed
- Upgrade dependencies.
4.4.1
Upgrade dependencies
v4.3.0
Added
- New
parsemethod in IpregistryClient for parsing user-agent header values.
Deprecated
- Deprecate
IpregistryConfigBuilder.withApiUrlin favor ofIpregistryConfigBuilder.withBaseUrl.
Fixed
- Replace invalid
operating_systemfield in UserAgent byos.
v4.2.0
Added
- IpInfo responses have a new
companyfield. - The Connection type field includes a new value of
INACTIVE.
v4.1.0
Added
- New connection type
government.
Changed
- Improve utility function to detect bots/crawlers/spiders based on user-agent value.
Fixed
- Fix invalid property names:
language.name_native->language.nativeandtime_zone.daylight_saving->time_zone.in_daylight_saving.
Removed
- Merge connection type
cdnwithhosting.