v1.0.0
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 (likeShlinkVisitsParams
) orData
suffix when wrapping props to be mutated (likeShlinkEditShortUrlData
). - 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 (likeShlinkDeleteVisitsResult
).
Added
-
#72 Add support for Shlink 4.0.0
- Add support to list and set short URL redirect conditions.
- Add
type
param toShlinkApiClient.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