Releases: ipregistry/ipregistry-javascript
Releases · ipregistry/ipregistry-javascript
6.0.0
5.0.2
5.0.1
v5.0.0
Added
- New
IpregistryClient#batchLookupAsns
method. - New
IpregistryClient#lookupAsn
method. - New
IpregistryClient#originLookupAsn
method. - New
IpregistryConfigBuilder.withEuBaseUrl
method. Once configured, requests will be handled by nodes deployed in the European Union only. - New
IpregistryRequestHandler#batchLookupAsns
method. - New
IpregistryRequestHandler#lookupAsn
method. - New
IpregistryRequestHandler#originLookupAsn
method.
Changed
- Rename
IpregistryClient#batchLookup
toIpregistryClient#batchLookupIps
. - Rename
IpregistryClient#lookup
toIpregistryClient#lookupIp
. - Rename
IpregistryClient#originLookup
toIpregistryClient#originLookupIp
. - Rename
IpregistryClient#parse
toIpregistryClient#parseUserAgents
. - Rename
IpregistryConfigBuilder.withApiUrl
toIpregistryConfigBuilder.withBaseUrl
. - Rename
IpregistryRequestHandler#batchLookup
toIpregistryRequestHandler#batchLookupIps
. - Rename
IpregistryRequestHandler#lookup
toIpregistryRequestHandler#lookupIp
. - Rename
IpregistryRequestHandler#originLookup
toIpregistryRequestHandler#originLookupIp
. - Rename
IpregistryRequestHandler#parse
toIpregistryRequestHandler#parseUserAgents
. - Rename utility class
UserAgent
toUserAgents
. - 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
v4.4.2
4.4.1
v4.3.0
v4.2.0
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.native
andtime_zone.daylight_saving
->time_zone.in_daylight_saving
.
Removed
- Merge connection type
cdn
withhosting
.