Releases: 0mega/worldtides
Releases · 0mega/worldtides
v2.0.0 - Heights API Support
⚠️ BREAKING CHANGES
TidesCallbackis now generic: The callback interface has been refactored toTidesCallback<T>to support multiple response types.Height.dateis now non-nullable: Changed fromDate?toDatefor consistency withExtreme.date.
Added
getTideHeights()- Fetch predicted tide heights for a locationgetTides()- Flexible method to fetch any combination of tide data typesTideDataTypeenum for specifying data types (HEIGHTS, EXTREMES)Tidesmodel for combined tide data responsesTideHeightsandHeightmodels for height data
Changed
- Refactored
WorldTidesRepositoryandWorldTidesGatewayto 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
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
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.