You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For backwards compatibility, define types so that either visitsSummary or visitsCount is defined. That will avoid doing visitsSummary?.total ?? visitsCount ?? 0 wehere we were previously doing visitsSummary?.total ?? visitsCount.
This does not work as expected, and the later is still required, which is unfortunate.
We'll have to keep the least ergonomic approach until all VisitsSummary props can be defined as non-optional due to dropping older Shlink versions support.
Mark deviceLongUrls as deprecated
Filter orphan visits by type
Mark ErrorTypeV2 and ErrorTypeV3.INVALID_URL as deprecated
The text was updated successfully, but these errors were encountered:
acelaya
changed the title
Support Shrink 4.0.0
Support Shlink 4.0.0
Feb 28, 2024
For backwards compatibility, define types so that eithervisitsSummary
orvisitsCount
is defined. That will avoid doingvisitsSummary?.total ?? visitsCount ?? 0
wehere we were previously doingvisitsSummary?.total ?? visitsCount
.This does not work as expected, and the later is still required, which is unfortunate.
We'll have to keep the least ergonomic approach until all
VisitsSummary
props can be defined as non-optional due to dropping older Shlink versions support.deviceLongUrls
as deprecatedErrorTypeV2
andErrorTypeV3.INVALID_URL
as deprecatedThe text was updated successfully, but these errors were encountered: