Skip to content

Releases: elbywan/wretch

2.1.2

27 Sep 16:13
Compare
Choose a tag to compare

2.1.2 (2022-09-27)

🎨 Code improvement(s)

  • Fix some linter warnings (c1029c8)

🐛 Bug fix(es)

  • Fix type inconsistencies in the body parsers (b7cae7e), closes #143

📝 Documentation update(s)

  • Fix throttling cache documentation link (f66859d)

2.1.1

03 Sep 10:29
Compare
Choose a tag to compare

2.1.1 (2022-09-03)

🐛 Bug fix(es)

  • Fix typo in function name resolveWithLatestReponse -> resolveWithLatestResponse #141 (d82cfd5), closes #141

2.1.0

03 Sep 10:28
Compare
Choose a tag to compare

2.1.0 (2022-09-03)

🏭 New feature(s)

  • Add ability to resolve with latest response to the retry middleware (60a7453), closes #141

📝 Documentation update(s)

  • Remove outdated documentation entries for the retry middleware (7a5620c)

2.0.4

18 Aug 07:47
Compare
Choose a tag to compare

2.0.4 (2022-08-18)

🎨 Code improvement(s)

  • Harmonize WretchError types (1981837)

2.0.3

16 Aug 17:00
Compare
Choose a tag to compare

2.0.3 (2022-08-16)

🎨 Code improvement(s)

  • Export WretchError from the root index (76f9096), closes #79

2.0.2

03 Aug 10:46
Compare
Choose a tag to compare

2.0.2 (2022-08-03)

🐛 Bug fix(es)

  • Fix defer and resolve return types. (0c59c6c), closes #140

2.0.1

02 Aug 15:12
Compare
Choose a tag to compare

2.0.1 (2022-08-02)

⬆️ Version update(s)

  • Add unpkg field to map to the right bundle. (ae87b64)
  • Upgrade dependencies. (b6a1258)

📝 Documentation update(s)

2.0.0

01 Aug 10:49
Compare
Choose a tag to compare

🔥 This is a major version which implies that there are breaking changes.

Please refer to the migration guide for more details on how to migrate from v1.

Philosophy

Wretch has been completely rewritten with the following goals in mind:

  • reduce its size by making it modular
  • preserve the typescript type coverage
  • improve the API by removing several awkward choices

And because one tiny video can be more descriptive than a thousand words:

typesafe.mov

Main changes

  • The bundle size was cut down from ~3.2KB to ~1.9KB 🪶
  • wretch-middlewares is now deprecated and has been integrated into the main wretch package
  • Non-core features have been split from the main import and will need to be imported separately as Addons
  • API documentation is now autogenerated
  • Long running issues have been fixed as part of the refactor

Changelog

The full changelog is available here

v1.7.10

23 May 09:48
Compare
Choose a tag to compare

1.7.10 (2022-05-21)

⬆️ Version update(s)

  • Bump minimist from 1.2.5 to 1.2.6 (6365ad0)
  • Bump moment from 2.24.0 to 2.29.2 (26e3889)
  • Bump to npm 8 (9d5758e)

🐛 Bug fix(es)

  • Ignore when the .perf promise throws (33407ea), closes #131

📝 Documentation update(s)

  • Update performance api node.js polyfill. (185420b)

✅ Test improvement(s)

  • Migrate to github actions. (4b93f43)

v1.7.9

05 Feb 08:08
Compare
Choose a tag to compare

1.7.9 (2022-02-05)

🐛 Bug fix(es)

  • Body json serialization condition fix. (1c90fa3), closes #123