Tags: ftrackhq/ftrack-javascript
Tags
fix(session): don't log aborted requests as failed requests (#389) When a request is cancelled via an AbortSignal, fetch rejects with an AbortError. The inner fetch catch wrapped every error — including the abort — into a NetworkError before the outer handler's AbortError check ran, so a routine cancellation (e.g. a React component unmounting mid-request) was logged as "Failed to perform request" at warn level and surfaced as a ServerError instead of an AbortError. Let AbortError propagate unchanged from the inner catch so the outer handler treats it as the expected cancellation it is: logged at debug and thrown as AbortError. Co-authored-by: Claude Opus 4.8 (1M context) <[email protected]>
chore(deps): update dependency vite to v7 (#342) * chore(deps): update dependency vite to v7 * bump all deps --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Jimmy Callin <[email protected]> Co-authored-by: Jimmy Callin <[email protected]>
feat: Remove moment js (#302) * Replace moment with dayjs * Set decodeDatesAsIso as true by default * Remove decodeDatesAsIso param entirely * Return iso date string instead dayjs objects * Remove corresponding test * Remove is_timezone_support_enabled flag * Remove unused dayjs instances --------- Co-authored-by: Mert Kirbuga <[email protected]>
PreviousNext