Download Latest Version 3.0.7 source code.tar.gz (319.8 kB)
Email in envelope

Get an email when there's a new version of Wretch

Home / 3.0.7
Name Modified Size InfoDownloads / Week
Parent folder
3.0.7 source code.tar.gz < 24 hours ago 319.8 kB
3.0.7 source code.zip < 24 hours ago 504.7 kB
README.md < 24 hours ago 1.0 kB
Totals: 3 Items   825.6 kB 0

3.0.7 (2026-03-07)

:factory: New feature(s)

  • Allow multiple error ids on catchers (dc93190)

    :::ts // Previously: const api = wretch("https://api.example.com") .catcher(401, err => redirect("/login")) .catcher(403, err => redirect("/login")) .catcher(407, err => redirect("/login"))

    // Now we can write: const api = wretch("https://api.example.com") .catcher([401, 403, 407], err => redirect("/login"))

:arrow_up: Version update(s)

  • Bump fastify from 5.6.1 to 5.7.3 (153cae9)
  • Bump lodash from 4.17.21 to 4.17.23 (2355d02)
  • Bump qs from 6.14.0 to 6.14.2 (02ca86e)
  • Upgrade dependencies (f677f28)
Source: README.md, updated 2026-03-07