Releases: shlinkio/shlink-js-sdk
Releases · shlinkio/shlink-js-sdk
v1.3.0
v1.2.0
Changed
- Update JS coding standard and migrate to ESLint flat config.
Added
- Add support for
ip-address
redirect condition type.
Removed
- Nothing
Fixed
- Nothing
Deprecated
- Nothing
v1.1.0
Changed
- Update JS coding standard
Added
- Add optional
visitedUrl
prop inShlinkRegularVisit
, to fulfil what Shlink 4.1.0 now supports.
Removed
- Nothing
Fixed
- Nothing
Deprecated
- Nothing
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
v0.2.2
Changed
- Nothing
Added
- Nothing
Removed
- Nothing
Fixed
- Fix API client contract definition.
Deprecated
- Nothing
v0.2.1
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
v0.1.0
Changed
- Nothing
Added
- First release
Removed
- Nothing
Fixed
- Nothing
Deprecated
- Nothing