Skip to content

Latest commit

 

History

History
159 lines (132 loc) · 5.76 KB

CHANGELOG.md

File metadata and controls

159 lines (132 loc) · 5.76 KB

Changelog

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 - 2023-05-08

Added

  • Add new IpregistryGeolocationDataset class for easy loading and query an Ipregistry Geolocation dataset offline.

Changed

  • Updated required Java version to Java 11 from Java 8.

3.7.0 - 2022-06-10

Added

  • Add new parse method to IpregistryClient to parse one or more user-agent values.

3.6.0 - 2022-04-15

Added

  • New vpn field in security object.

3.5.0 - 2021-12-21

Added

  • New relay field in security object.

Deprecated

  • Deprecate IpregistryConfigBuilder.apiUrl in favor of IpregistryConfigBuilder.baseUrl.

3.4.0 - 2021-11-07

Added

  • Support for usage in native images with GraalVM.

3.3.0 - 2021-10-26

Added

  • IpInfo responses has a new company field.
  • The enum ConnectionType includes a new value of INACTIVE.
  • The class DefaultRequestHandler accepts a custom ObjectMapper.

Changed

  • A single ObjectMapper instance is created and reused in DefaultRequestHandler.
  • The API key is no longer passed as a query parameter but as a header when a request is sent.

3.2.1 - 2021-07-26

Changed

  • Restore missing getters in Region model class.

3.2.0 - 2021-07-26

Added

  • Add setters to all model classes.
  • New connection type GOVERNMENT.

Changed

  • Improve utility method to detect bots/crawlers/spiders based on user-agent value.
  • Parsing of unknown connection type values fallbacks to BUSINESS.
  • Upgrade dependencies.

Removed

  • Merge connection type CDN with HOSTING.

3.1.2 - 2021-04-08

Changed

  • Upgrade dependencies

3.1.1 - 2020-09-03

Changed

  • Compatibility level is set to Java 8.

Fixed

  • Fix broken lookup when InetAddress is used as input parameter.

3.1.0 - 2020-07-05

Changed

  • Upgrade dependencies.
  • Increase default timeout values to 15s from 2s.

3.0.0 - 2020-04-16

Changed

  • [BREAKING] Rename DefaultCache to InMemoryCache.
  • Upgrade dependencies

Fixed

  • Fix a ClassCastException that was raised when a valid remote resource is used as lookup input (e.g. robots.txt).

2.3.0 - 2020-01-12

Added

  • New field connection.route in response model.
  • Introduce new value cdn for field connection.type.

Fixed

  • Change type Integer to Long for Autonomous System number associated with field connection.asn.

2.2.0 - 2019-10-27

Added

  • New currency fields name_native and plural_native.

Changed

2.1.1 - 2019-08-08

Fixed

  • Lombok warnings (equals not calling super and builder ignoring default value).

2.1.0 - 2019-08-08

Added

  • Error code FORBIDDEN_IP_ORIGIN.
  • Carrier class and field.
  • Connection domain field.
  • Connection type field and enum.
  • Security is_cloud_provider field.

Changed

  • Implement equals/hashCode in all IpInfo subfield classes.
  • Default cache implementation will expire entries older than 24 hours by default.
  • Allow passing any int value to expireAfter and maximumSize parameters of DefaultCache constructor.

2.0.0 - 2019-07-19

Added

  • Changelog file.
  • Manifest file with build information on generated JAR.
  • Missing file headers.
  • Unknown IP type.
  • Utility class IpregistryOptions.

Changed

  • Rename EmptyCache class to NoCache.
  • Rename IpData* classes to IpInfo*.
  • Rename Ipregistry class to IpregistryClient.
  • Use all lookup parameters (including options) to cache results.

Removed

  • Remove docs/ folder.

Fixed

  • Fix NPE with origin lookup.

1.1.0 - 2019-07-03

  • Increased version number for testing purposes.

1.0.0 - 2019-07-03

  • First public release.