Skip to content

Releases: shlinkio/shlink-js-sdk

v1.1.0

16 Apr 08:06
Compare
Choose a tag to compare

Changed

  • Update JS coding standard

Added

  • Add optional visitedUrl prop in ShlinkRegularVisit, to fulfil what Shlink 4.1.0 now supports.

Removed

  • Nothing

Fixed

  • Nothing

Deprecated

  • Nothing

v1.0.0

05 Mar 16:09
4920164
Compare
Choose a tag to compare

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

v0.2.2

20 Jan 11:45
Compare
Choose a tag to compare

Changed

  • Nothing

Added

  • Nothing

Removed

  • Nothing

Fixed

  • Fix API client contract definition.

Deprecated

  • Nothing

v0.2.1

20 Jan 11:39
Compare
Choose a tag to compare

Changed

  • Export API contract as TypeScript types instead of interfaces.

Added

  • Export different types for short URL visits params and other visits params.

Removed

  • Nothing

Fixed

  • Nothing

Deprecated

  • Nothing

v0.2.0

27 Oct 18:03
c1ddf9b
Compare
Choose a tag to compare

Changed

  • Nothing

Added

  • #2 Implement node.js HttpClient.
  • Add support for orphan and short URL visits deletion methods.

Removed

  • Nothing

Fixed

  • Nothing

Deprecated

  • Nothing

v0.1.0

28 Aug 20:32
Compare
Choose a tag to compare

Changed

  • Nothing

Added

  • First release

Removed

  • Nothing

Fixed

  • Nothing

Deprecated

  • Nothing