Skip to content

Latest commit

 

History

History
739 lines (465 loc) · 43.7 KB

CHANGELOG.md

File metadata and controls

739 lines (465 loc) · 43.7 KB

2.6.0 (2023-06-28)

  • ⬆️ Bump engine.io and socket.io (3ef1738)
  • ⬆️ Bump socket.io-parser from 4.2.2 to 4.2.3 (b42aa0f)
  • ⬆️ Upgrade dependencies (b183cf7)
  • 🏭 Add fallback catcher method (46610cf), closes #192
  • 📝 Update node-fetch code snippet (3b6ac7e), closes #179
  • Fix .addons typo in README (e646004)
  • docs: fix example import in README.md (20f66a5)
  • fix(docs): miss braces (9e65465)

2.5.2 (2023-04-11)

  • 🐛 Fix catcher and resolve callback argument type. (76c295f), closes #177
  • 📝 Node.js 18 section wording (b696b1c)
  • 📝 Warn to use a custom until function to avoid retrying on 4xx errors (1812c73), closes #176
  • 2.5.2 tag (bda300c)

2.5.1 (2023-02-27)

  • 🐛 Update resolver.ts - Add null verification to .get("Content-Type") (a68a524)
  • 2.5.1 tag (77c0a1d)

2.5.0 (2023-02-20)

  • ⬆️ Bump @fastify/multipart from 7.3.0 to 7.4.1 (e6074c9)
  • ⬆️ Bump @sideway/formula from 3.0.0 to 3.0.1 (8208646)
  • ⬆️ Bump ua-parser-js from 0.7.31 to 0.7.33 (1694fe6)
  • 🏭 Parse error type as json on proper content-type (ea9adbf), closes #171
  • 2.5.0 tag (a3bec71)

2.4.1 (2023-01-20)

  • 🐛 Fix abort/progress addons state isolation issue (2b3a659)
  • 2.4.1 tag (f585b22)

2.4.0 (2023-01-19)

  • 🏭 Add skip argument to the retry middleware (746f8c9)
  • 2.4.0 tag (bd3575a)

2.3.2 (2023-01-11)

2.3.1 (2023-01-07)

  • 🐛 Fix middlewares and addons subpath exports (bfd2542), closes #160
  • 📝 Add limitations section to the readme (ad0a102), closes #159
  • 2.3.1 tag (5098dea)

2.3.0 (2022-12-12)

2.2.3 (2022-12-09)

2.2.2 (2022-12-03)

  • 🐛 Fix compatibility issue between the perfs and progress addons (b70e8cd)
  • 2.2.2 tag (3ffd0d3)
  • Fix readme typo (39a37d1)

2.2.1 (2022-12-03)

  • 🐛 Add missing export for the progress addon (ebb0577)
  • 🐛 Add missing progress addon rollup config (bd6c89b)
  • 🐛 Register the progress addon in the .all entry point (b01e03d)
  • 2.2.1 tag (34b1594)
  • Readme typo (941efd5)

2.2.0 (2022-12-03)

  • ⬆️ Bump dependencies including outdated rollup plugins (bcbcdc5)
  • ⬆️ Bump engine.io from 6.2.0 to 6.2.1 (6a93854)
  • ⬆️ Bump fastify from 4.9.2 to 4.10.2 (8ae9122)
  • 🎨 Add a prepare script (17b0a76)
  • 🐛 Fix a minor Wretch type issue in addons (23ba7b1)
  • 🏭 Add progress addon (2bae524), closes #154
  • ⬆️ Upgrade actions/checkout to v3 (a6a6502)
  • 2.2.0 tag (9ab4c60)

2.1.5 (2022-10-15)

  • ⬆️ Bump dependencies (6043c75)
  • ⬆️ Bump fastify from 4.3.0 to 4.8.1 (130ccc2)
  • 🐛 Query addon should strip undefined values (ce395b5), closes #148
  • 📝 Add timeout code sample in the readme (beb51c8)
  • 📝 Fix outdated code comments (d4c546d)
  • 📝 Fix unpkg url in the readme (07d4a00)
  • 2.1.5 tag (5505c8b)

2.1.4 (2022-09-28)

  • 🐛 Relax the typechecker when using resolve within defer (9e052c8), closes #146
  • 2.1.4 tag (0e07574)

2.1.3 (2022-09-28)

  • 🐛 Fix the retry middleware crashing on network errors (95cbad5), closes #145
  • 2.1.3 tag (06f9b7a)

2.1.2 (2022-09-27)

  • 🎨 Fix some linter warnings (c1029c8)
  • 🐛 Fix type inconsistencies in the body parsers (b7cae7e), closes #143
  • 📝 Fix throttling cache documentation link (f66859d)
  • 2.1.2 tag (a2b3a37)

2.1.1 (2022-09-03)

2.1.0 (2022-09-03)

  • 🏭 Add ability to resolve with latest response to the retry middleware. #141 (60a7453), closes #141
  • 📝 Remove outdated documentation entries for the retry middleware (7a5620c)
  • 2.1.0 tag (7c5b224)

2.0.4 (2022-08-18)

2.0.3 (2022-08-16)

  • 🎨 Export WretchError from the root index (76f9096), closes #79
  • 2.0.3 tag (30e6b98)

2.0.2 (2022-08-03)

2.0.1 (2022-08-02)

  • ⬆️ Add unpkg field to map to the right bundle. (ae87b64)
  • ⬆️ Upgrade dependencies. (b6a1258)
  • 📝 Update cdn links. (7571101)
  • 2.0.1 tag (4c4838d)
  • Add addons ts video to the readme (44f3083)
  • Improve the chaining part of the readme (adea0fe)
  • increase mock:wait timeout to 10s (5be1ad8)
  • Update bundle size (a43a6ab)
  • Update cdn links in readme (1b6e8d5)
  • Update estimated gzip size in readme (94ebf81)
  • Update github actions badge (51f3846)
  • Update migration guide (cfa9eb6)
  • Update migration guide (d3bff85)

2.0.0 (2022-08-01)

  • 2.0 tag (baaddaa)
  • Add minimal example to the readme (9c7e0ed)
  • Better webpack subpath exports compatibility (cc1164c)
  • Fix readme minor typos (bce61cc)
  • Fix typings when programming actions using the defer/resolver methods (285456d)
  • Minor website tweaks (c7fb571)
  • Update readme (9e666ae)
  • Upgrade dependencies (6a69b8f)
  • Use unknown type for json body handler (aec7590)
  • Readme: wording (ad88324)

2.0.0-next.1 (2022-07-08)

  • 🎨 Add editorconfig (e81eaff)
  • 🔥 Drop support on node < 14 (1ff926c)
  • 📝 Additional improvements (e79ff71)
  • 📝 Autogenerate API documentation and split it from the main README (c710a71)
  • 📝 Move svg asset and minor readme changes (30de07c)
  • 📝 Regenerate api doc (7ae5b57)
  • 📝 Small edits to the contributing file and renames scripts related to browser specs (abec7f0)
  • 📝 Update bundle size (1115d34)
  • 📝 Update companion website (d6bb842)
  • 📝 Update documentation (15fd187)
  • ✅ Fix resolvers test for node14 (ca8b559)
  • ✅ Fix test on node 18 (with polyfilled fetch) (d3b7b00)
  • ✅ Replace restify with fastify for mock server (9ee2cfc)
  • ✅ Run lint on CI (9b819d3)
  • ✅ Test in multiple version of node in CI (00d80a6)
  • ✅ Add deno specs and refactor types (c873f02)
  • ✅ Use karma.js to run browser specs (e41f142)
  • 🏭 Internalize the wretch-middlewares package (a290f77)
  • 2.0.0-next.1 tag (d867227)
  • better emoji (60d66fb)
  • fix typos (b696753)
  • minor edits (015781c)
  • Run the CI when pushing on dev (37b45ea)
  • Update README.md (21f3089)

2.0.0-next.0 (2022-07-03)

  • ⬆️ Bump packages (5302d04)
  • 🎨 Improved packaging and bundling (69c1e35)
  • 🐛 Fix the jest resolver (3a1f7b8)
  • :docs: Update readme and website (2eb24dc)
  • 🏭 Add error cause (9a0a387), closes #98
  • 🏭 Mark errors with a custom class (211c902), closes #79
  • 🔥 Add url arg and harmonize replace/mixin arguments (8e4d0aa)
  • 🔥 Complete refactoring (c2f5035)
  • 🔥 Restore normal array behaviour for formdata and fix tests (6879d48), closes #119
  • 📝 Update browserstack badge. (91cad34)
  • ✅ Better tests coverage (77e85dc)
  • 2.0.0-next.0 tag (72e99f3)
  • final fixes (d2d3a36)
  • format tslint config file (59e2e5d)
  • gitignore test build output (564bce3)
  • golf bytes (e4dd8aa)
  • golf more bytes (6902d99)
  • remove paypal funding (95ad916)

BREAKING CHANGE

    • Does not append [] anymore when appending an array through the .formData helper.

1.7.10 (2022-05-21)

  • ⬆️ 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)
  • 🐛 Ignore when the .perf promise throws (33407ea), closes #131
  • 📝 Update performance api node.js polyfill. (185420b)
  • ✅ Migrate to github actions. (4b93f43)
  • 1.7.10 tag (c4c2c70)
  • Add dummy action for testing purposes. (38d5e0b)

1.7.9 (2022-02-05)

1.7.8 (2022-01-30)

  • ⬆️ Bump dependencies and npm audit. (881d17a)
  • 🐛 Fix error for opaque responses. (bbb5912), closes #121
  • 🐛 Preserve exotic json content types when strigifying body. (d51c17b), closes #122
  • 1.7.8 tag (5ec641e)

1.7.7 (2021-12-13)

1.7.6 (2021-08-06)

  • ⬆️ Upgrade dependencies. (f62f977)
  • 🐛 Prevent appending an extra ?/& for empty query strings. #114 (15464a8), closes #114
  • 📝 Update readme badges. (b65878f)
  • 1.7.6 tag (dcd114a)

1.7.5 (2021-06-30)

  • ⬆️ 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)
  • 🐛 Take into account the options argument headers when stringifying body. #75 (23484fd), closes #75
  • 📝 Update readme import section (5970e6d)
  • 💸 Add FUNDING.yml (4888bee)
  • 1.7.5 tag (16d6619)
  • Gitignore /dist file. (69800b4)
  • Remove /dist files from versioning. (5cb651c)

1.7.4 (2020-10-14)

  • 🐛 Fix post with overloaded json content-type charset. (af48887)
  • 📝 Update package size approximation. (2399419)
  • 1.7.4 tag (e61da95)

1.7.3 (2020-10-12)

  • ⬆️ Bump lodash from 4.17.14 to 4.17.19 (c5c255f)
  • ⬆️ Bump node-fetch from 2.6.0 to 2.6.1 (d536ba5)
  • ⬆️ Upgrade dependencies (0bb3235)
  • 🐛 Allow custom charset with json body. (52d2caa), closes #90
  • 📝 Fix readme arry typo. (b465a4f)
  • 📝 Fix readme bad chars. (12b7231)
  • 📝 Mention Deno in the readme. (b52847a)
  • 1.7.3 tag (4dbc097)
  • fix typo in readme (294bdb3)
  • docs: Fix simple typo, passsed -> passed (f25394f)

1.7.2 (2020-04-13)

  • ⬆️ Bump acorn from 6.4.0 to 6.4.1 (24bc906)
  • ⬆️ Upgrade dependencies (76b32fd)
  • 🐛 Prevent overriding content-type when passing body in http methods. #75 (f6f9302), closes #75
  • 1.7.2 tag (8c02bc5)

1.7.1 (2020-01-25)

  • 🐛 Fix crash on nested null formdata value. #68 (9c1adf0), closes #68
  • 📝 Update broken readme link. (e115c63)
  • 1.7.1 tag (bc99e50)

1.7.0 (2020-01-25)

  • ⬆️ Upgrade packages (a68d94e)
  • 🏭 Support nested objects in formData. #68 (90d9555), closes #68
  • 1.7.0 tag (74462ee)

1.6.0 (2019-11-27)

1.5.5 (2019-10-15)

  • ⬆️ Upgrade packages (05c0b9e)
  • 🐛 Fix handling falsey values for body callback and payload. (2d99a4f), closes #58
  • 📝 Update readme browserstack badge. (eddfd91)
  • ✅ Restore latest browserstack matrix and add an exception for firefox CI. (ef09fd8)
  • ✅ Use macos firefox on browserstack (e51048e)
  • 1.5.5 tag (5b158fc)

1.5.4 (2019-07-16)

  • ⬆️ Upgrade packages to fix vulnerabilities. (dced4c1)
  • 📝 Fix readme opts link (5595ef7)
  • ✅ Add missing browser test (2f5498c)
  • ✅ Add missing browser tests (9bd7e4f)
  • ✅ Fix browserstack browser & os matrix. (451ef23)
  • 1.5.4 tag (2b79b3d)
  • Add test (62a3501)
  • Pass method option to defer callback (a45ac65)

1.5.3 (2019-07-11)

1.5.2 (2019-04-28)

  • 🐛 Clear pending timeout when request resolves / fails (687570b), closes #50
  • 📝 Add 1.5.1 changelog (fd4386c)
  • 📝 Fix .catcher documentation typo. (2b98d6b)
  • 📝 Remove bad usage of .error in the readme (a5209d0)
  • 1.5.2 tag (f71faef)
  • Update README.md (6c3a271)

1.5.1 (2019-03-17)

  • ⬆️ Upgrade rollup dep (d890b8a)
  • 🐛 Fix mutating catchers propagation to cloned wretchers (d207027), closes #44
  • 📝 Add the concept of middleware context to the readme. (50a78c5)
  • 📝 Change package kb size displayed in the html (b3ebb78)
  • ✅ CI build on node.js LTS (90290ab)
  • ✅ Test form-data with streams. (92af63a)
  • 1.5.1 tag (2f5af21)

1.5.0 (2019-02-23)

  • ⬆️ Upgrade dependencies and fix package version in lock file (b17d10a)
  • ⬆️ Upgrade jest and rollup (0573f7a)
  • 🎨 Add inline source maps (03ca27e)
  • 🏭 Add a replay() method. (5af4ecc), closes #35
  • 📝 More details about the response types in the readme (270fe16)
  • 1.5.0 tag (05e07ac)

1.4.2 (2018-10-21)

  • ⬆️ Upgrade packages (268565d)
  • 🎨 Export typedefs at the root level (d2bcb13)
  • 📝 Fix readme typo (78b7a2b)
  • 📝 Update .query documentation (03c5cbe)
  • ✅ Improve performance timings test coverage (c4db506)
  • 1.4.2 tag (e53622d)
  • Update README.md (5c9c35e)

1.4.1 (2018-08-13)

  • ⬆️ 1.4.1 tag (429fd8d)
  • ⬆️ Upgrade devDeps (0a6c223)
  • 🎨 Improve typedefs (232c063)
  • 🐛 Add default errorType to response object (c134efa)
  • ✅ Improve unit tests to check default error type (3f1bb4b), closes #c134
  • ✅ Prevent running browserstack on PRs (c350060)
  • Update README.md (ff5692d)

1.4.0 (2018-07-10)

  • ⬆️ 1.4.0 tag (27acc8e)
  • 🔥 Make .formUrl encode arrays in a standard way (f04c9af), closes #26
  • Update README.md (e3e9701)
  • Update README.md (74ad74c)

1.3.1 (2018-06-12)

  • ⬆️ 1.3.1 tag (f162e0e)
  • 🎨 Launch the mock server aside of the test file. (35c5a4e)
  • 📝 Add bundlephobia badge. (0399a65)
  • 📝 Add paypal badge (cd98e4d)
  • 📝 Fix broken readme links. (75f767d)
  • 📝 Mention browserstack in the readme. (2f6ad8e)
  • 📝 Update readme package version (04f75ce)
  • ✅ Add jasmine browser tests & integrate with browserstack. (4c946bb)

1.3.0 (2018-06-09)

  • ⬆️ 1.3.0 tag (ff05dfc)
  • 🐛 Fix .url call when the url contains query parameters (e68764f)
  • 🏭 Add deferred callback chain. (10ddfe5)
  • 🔥 Add body argument shorthand to the http methods. (103cde3)
  • 📝 Mention the wretch-middlewares package in the readme (880c02c)
  • 📝 Update .query anchor (b2670d9)

1.2.0 (2018-05-24)

  • ⬆️ 1.2.0 tag (3f067df)
  • 🏭 Accept string argument in .query() #20 (b53cca3), closes #20
  • 🔥 Make .query() chainable #20 (1a6a7c8), closes #20
  • ✅ Add more node.js versions used by the travis CI (7d6d779)
  • ✅ Fixes for node.js v10 (0dcba96)
  • ⬆️ Upgrade dev dependencies (57c6c6f)
  • add monthly downloads badge (386f340)
  • small website style update (970b19e)

1.1.2 (2018-03-07)

  • ⬆️ 1.1.2 tag (f4e9ffe)
  • 🎨 Relaxed Response & Options types (16c0b97)
  • ✅ Update tests with a working abortController polyfill (171ac48)
  • ⬆️ Update packages (de2b842)
  • Update README.md (eddeba7)

1.1.1 (2018-01-08)

  • ⬆️ 1.1.1 tag (efc67a4)
  • 🎨 Remove typo (7883219)
  • 🏭 Pass the original request to the catchers/resolvers callback (1e4d3a4)
  • 📝 Update middleware and intro (09b0dc1)
  • ⬆️ Update packages (e5cf536)

1.1.0 (2017-11-17)

  • ⬆️ 1.1.0 tag (75e0c68)
  • 🎨 Comply with the commonjs typescript transpilation (#10) (6931ff6), closes #10
  • 🎨 Refactor method function call (cf07316)
  • 🎨 Remove irregular whitespace (7bc2990)
  • 🐛 Fix es6 const generated by rollup typescript helpers (6791721), closes #11
  • 🏭 Add middlewares helper. (#12) (b9c6a65), closes #12
  • 📝 Adding middlewares code samples (#12). (b43cb1b), closes #12
  • 📝 Update npm badge color (0eae7bb)
  • 📝 Update readme top message and remove experimental flag for aborting requests feature (e449b46)
  • ⬆️ Update packages (41834e0)

1.0.0 (2017-10-20)

  • ⬆️ 1.0.0 tag (63b7d2b)
  • 🎨 Widen resolver return type (6e2b299)
  • 🏭 Add auth method to set the Authorization header. (1694396)
  • 🏭 Add early resolvers with the resolve function (481803b)
  • 🏭 Add HEAD and OPTIONS http methods. (3c30844)
  • 📝 Add homepage usage section, tagboxes and footer (fd3bcf7)
  • 📝 Bypass jekyll (22c957c)
  • 📝 Fix readme typo (9d1b4c6)
  • 📝 Readme modifications : fix method links, simplify polyfills, add homepage links (e37ea0b)
  • ✅ Migrate from mocha to jest (f67bd84)

0.3.1 (2017-10-09)

  • ⬆️ 0.3.1 tag (ccca2dc)
  • 📝 Add homepage in package.json (c78a5dd)

0.3.0 (2017-10-09)

  • ⬆️ 0.3.0 tag (a9450c1)
  • 🎨 Add polyfill getter method (ca49cfc)
  • 🎨 Can now catch on error name (2a0f7e9)
  • 🏁 Refactor perfs() to improve robustness and performance (7b2b27c)
  • 🏭 Abortable requests (c5888fe), closes #7
  • 🏭 Add formUrl body type (64f6c3e), closes #9
  • 🔥 The .options function now mixin by default (47b4630)
  • 🔥 Remove .baseUrl and change .url behaviour (5142b02), closes #8
  • :memo Clarify usage in readme (f297512)
  • 📝 Add methods indexes and clarify some point in the readme (54dae1c)
  • 📝 Add minimalist companion website. (10f2197)
  • 📝 Add readme announcement. (d87a57d)
  • 📝 Fix readme typo (85852a6)
  • 📝 Fixed readme usage layout (7f8ea0f)
  • 📝 Update readme (7881e2c)

0.2.4 (2017-10-06)

  • ⬆️ 0.2.4 tag (879e14a)
  • 🐛 Fix perfs() concurrency issues (79f86ce)

0.2.3 (2017-10-06)

  • ⬆️ 0.2.3 tag (cce504c)
  • 🎨 Add module field in package.json (90431ff)
  • 🎨 Add node.js partial support to the perf function (0045672)
  • 🎨 Hide the changelog preset beneath a scripts folder + rewrite (696503c)
  • 🏭 Highly experimental perfs function. (6fa1d29)
  • 📝 Correct errorType typo (e058b7a)
  • 📝 Fix contributing typo (d12e29c)
  • 📝 Perfs() documentation (6c90e15)
  • 📝 Readme : image cdn and shorten unpkg link (8eac8c9)
  • ✅ Write perfs() tests (3a14499)

0.2.2 (2017-10-04)

  • ⬆️ 0.2.2 tag (0883134)
  • 🎨 Moves polyfills to the config object (2820e34)
  • 🏭 Allow non-global fetch & FormData (112b9cc)

0.2.1 (2017-10-03)

  • ⬆️ 0.2.1 tag (d13e8ad)
  • 🎨 Add custom changelog preset (023a73c)
  • 🎨 change changelog format to atom (970bf7b)
  • 🐛 Fix baseUrl not mixing in options (5c90df4)
  • 📝 Add badges (d29c96d)
  • 📝 Regenerate changelog (c14ede7)
  • 📝 Update contributing guidelines (b96022d)

0.2.0 (2017-10-03)

  • ⬆️ 0.2.0 tag (d903c48)
  • 🔥 🎨 Replace mixdefaults with a mixin flag. (c497f6e)
  • 📝 Create CONTRIBUTING.md (c79578a)
  • 📝 Update readme with unpkg (1131755)
  • 📝 Update README.md (b8f3cc8)

0.1.5 (2017-10-03)

  • ⬆️ 0.1.5 tag (6551424)
  • 🎨 Update changelog (7717052)
  • 🏁 Use a Map instead of an Array for catchers (dba8e63)

0.1.4 (2017-10-03)

0.1.3 (2017-10-03)

0.1.2 (2017-10-03)

0.1.1 (2017-10-03)

  • ⬆️ 0.1.1 tag (f054836)
  • 🎨 Correct optional callbacks in declaration files (0b37983)

0.1.0 (2017-10-03)

  • ⬆️ 0.1.0 tag (2d161d6)
  • 🎨 Add coverage (517ee5d)
  • 🎨 Move from webpack to rollup and restore source maps (6515d7a)
  • 🔥 Remove source maps (338f080)
  • 📝 Add documentation (5cae7f3)
  • ✅ Improve coverage (5b10a93)

0.0.1 (2017-10-03)