Skip to content

v1.9.0

Latest

Choose a tag to compare

@JiangJie JiangJie released this 13 Jan 08:38

[1.9.0] - 2026-01-13

Changed

  • BREAKING: Rename FetchResponse<T, E> to FetchResult<T> (simplified type, E is always Error)
  • BREAKING: Rename FetchTask.response property to FetchTask.result

Migration

// Before
import type { FetchResponse } from '@happy-ts/fetch-t';
const task = fetchT(url, { abortable: true });
const result = await task.response;

// After
import type { FetchResult } from '@happy-ts/fetch-t';
const task = fetchT(url, { abortable: true });
const result = await task.result;

Full Changelog: v1.8.1...v1.9.0