Skip to content

v1.0.0

Compare
Choose a tag to compare
@github-actions github-actions released this 05 Mar 16:09
4920164

Changed

  • Update dependencies.

  • #22 Consolidate exposed types, making them more consistent.

    • Types no longer couple with HTTP terminology, removing references to body, query, request, response, etc.
    • All types that wrap a list of entities are now suffixed with List (ShlinkShortUrlsList, ShlinkVisitsList, etc.)
    • Arguments passed to the API client frequently use the Params suffix when representing filters (like ShlinkVisitsParams) or Data suffix when wrapping props to be mutated (like ShlinkEditShortUrlData).
    • Methods returning entities, just use the name of the entity itself, regardless of the method's nature (fetch or mutation).
    • Methods returning the result of a mutation when it is not an entity, will return types using the Result suffix (like ShlinkDeleteVisitsResult).

Added

  • #72 Add support for Shlink 4.0.0

    • Add support to list and set short URL redirect conditions.
    • Add type param to ShlinkApiClient.getOrphanVisits.

Removed

  • #74 Drop support for Shlink older than 3.3.0. This version introduced the API v3, so this allows to remove the logic to fall back to v2, and remove the error types used in v2.

Fixed

  • Nothing

Deprecated

  • Nothing