Skip to content

Releases: elbywan/wretch

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

v1.7.8

05 Feb 08:09
Compare
Choose a tag to compare

1.7.8 (2022-01-30)

⬆️ Version update(s)

  • Bump dependencies and npm audit. (881d17a)

🐛 Bug fix(es)

  • Fix error for opaque responses. (bbb5912), closes #121
  • Preserve exotic json content types when strigifying body. (d51c17b), closes #122

v1.7.7

05 Feb 08:09
Compare
Choose a tag to compare

1.7.7 (2021-12-13)

🐛 Bug fix(es)

📝 Documentation update(s)

  • Update outdated badges. (f286481)

v1.7.6

05 Feb 08:09
Compare
Choose a tag to compare

1.7.6 (2021-08-06)

⬆️ Version update(s)

🐛 Bug fix(es)

  • Prevent appending an extra ?/& for empty query strings. #114 (15464a8), closes #114

📝 Documentation update(s)

v1.7.5

30 Jun 10:11
Compare
Choose a tag to compare

1.7.5 (2021-06-30)

⬆️ Version update(s)

  • Bump find-my-way from 2.2.1 to 2.2.5 (687a999)
  • Bump handlebars from 4.7.6 to 4.7.7 (0cb2ac2)
  • Bump hosted-git-info from 2.8.8 to 2.8.9 (c862315)
  • Bump ini from 1.3.5 to 1.3.7 (79fd31f)
  • Bump lodash from 4.17.19 to 4.17.21 (fe66a14)
  • Bump node-notifier from 8.0.0 to 8.0.1 (43cd685)
  • Bump ws from 7.3.1 to 7.4.6 (d0f89f1)
  • Bump y18n from 4.0.0 to 4.0.1 (6d0fbdc)
  • Upgrade dependencies. (805fade)

🐛 Bug fix(es)

  • Take into account the options argument headers when stringifying bo (23484fd), closes #75

📝 Documentation update(s)

  • Update readme import section (5970e6d)