Skip to content

Latest commit

 

History

History
137 lines (91 loc) · 2.99 KB

CHANGELOG.md

File metadata and controls

137 lines (91 loc) · 2.99 KB

CHANGELOG

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

[1.2.0] - 2024-08-13

Added

  • Add support for ip-address redirect condition type.

Changed

  • Update JS coding standard and migrate to ESLint flat config.

Deprecated

  • Nothing

Removed

  • Nothing

Fixed

  • Nothing

[1.1.0] - 2024-04-16

Added

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

Changed

  • Update JS coding standard

Deprecated

  • Nothing

Removed

  • Nothing

Fixed

  • Nothing

[1.0.0] - 2024-03-05

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.

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).

Deprecated

  • Nothing

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

[0.2.2] - 2024-01-20

Added

  • Nothing

Changed

  • Nothing

Deprecated

  • Nothing

Removed

  • Nothing

Fixed

  • Fix API client contract definition.

[0.2.1] - 2024-01-20

Added

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

Changed

  • Export API contract as TypeScript types instead of interfaces.

Deprecated

  • Nothing

Removed

  • Nothing

Fixed

  • Nothing

[0.2.0] - 2023-10-27

Added

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

Changed

  • Nothing

Deprecated

  • Nothing

Removed

  • Nothing

Fixed

  • Nothing

Fixed

  • Nothing

[0.1.0] - 2023-08-28

Added

  • First release

Changed

  • Nothing

Deprecated

  • Nothing

Removed

  • Nothing

Fixed

  • Nothing