Skip to content

Releases: 0mega/worldtides

v2.0.0 - Heights API Support

15 Jan 22:29
v2.0.0
ecd01ef

Choose a tag to compare

⚠️ BREAKING CHANGES

  • TidesCallback is now generic: The callback interface has been refactored to TidesCallback<T> to support multiple response types.
  • Height.date is now non-nullable: Changed from Date? to Date for consistency with Extreme.date.

Added

  • getTideHeights() - Fetch predicted tide heights for a location
  • getTides() - Flexible method to fetch any combination of tide data types
  • TideDataType enum for specifying data types (HEIGHTS, EXTREMES)
  • Tides model for combined tide data responses
  • TideHeights and Height models for height data

Changed

  • Refactored WorldTidesRepository and WorldTidesGateway to package root for shared usage
  • Internal: Added DTO mapping extension functions for cleaner code
  • Internal: Extracted enqueueMapped() extension for callback boilerplate

See CHANGELOG.md for migration guide.

1.0.0 - Support Java clients

15 Feb 23:37
d138f80

Choose a tag to compare

This release adds support for Java clients by adding another public API method.

Breaking change: Previous public API method changed signature.

0.1.0 - Fetch tide extremes

03 Jan 01:14
b64e366

Choose a tag to compare

This release allows the clients to fetch tide extremes for a given date range and a given location in the world, specified by latitude and longitude. See readme for usage example.

Note: This is the first release of the lib the public API is likely to change as improvements are introduced. The changelog should provide details about any breaking changes in future.