UNPKG

5.45 kBMarkdownView Raw
1# Changelog
2
3All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
5## [0.5.0](https://github.com/nuxt/http/compare/v0.4.0...v0.5.0) (2020-04-13)
6
7
8### Features
9
10* add create helper and improve docs ([e37358f](https://github.com/nuxt/http/commit/e37358f5b2b6eb0c563ed5e85ce915faf9e3f168))
11
12
13### Bug Fixes
14
15* rename with-config to enable testing ([b1a91cb](https://github.com/nuxt/http/commit/b1a91cbe9327cbc337ec1b822d0fdf9f75119c73))
16* test failing ([255d8a1](https://github.com/nuxt/http/commit/255d8a17601ef77b3c875d0367b5fbad153dbc3c))
17* **types:** update types for `HTTPError` to `ky.HTTPError` ([#91](https://github.com/nuxt/http/issues/91)) ([3a9100f](https://github.com/nuxt/http/commit/3a9100f2fe5978a537bf6d7cd40206572a487dd4)), closes [sindresorhus/ky#241](https://github.com/sindresorhus/ky/issues/241)
18
19## [0.4.0](https://github.com/nuxt/http/compare/v0.3.9...v0.4.0) (2020-03-27)
20
21
22### ⚠ BREAKING CHANGES
23
24* **deps:** Require Node.js 10+
25
26### Bug Fixes
27
28* **module:** always set protocol to https when `https: true` is set ([50ef8e0](https://github.com/nuxt/http/commit/50ef8e05f7958a5270fdad7dc0f543f5af5bf9fd))
29
30
31* **deps:** update all non-major dependencies ([#90](https://github.com/nuxt/http/issues/90)) ([2f1411b](https://github.com/nuxt/http/commit/2f1411b64d742fbc8d1372ada5543ebc83629e1a))
32
33### [0.3.9](https://github.com/nuxt/http/compare/v0.3.8...v0.3.9) (2020-01-30)
34
35
36### Features
37
38* enable advanced retry options ([#80](https://github.com/nuxt/http/issues/80)) ([bdae0c0](https://github.com/nuxt/http/commit/bdae0c0aab93e1e402747f949045acea31613aab))
39
40
41### Bug Fixes
42
43* use json serialization for plain array ([#87](https://github.com/nuxt/http/issues/87)) ([febf265](https://github.com/nuxt/http/commit/febf2658dc605dfae8762ce0f147cce192c1c0cb))
44* **module:** read port and host from options/cli before fallback ([bc58738](https://github.com/nuxt/http/commit/bc58738c6b1158bd6e6efd45372da9765b8da577))
45
46### [0.3.8](https://github.com/nuxt/http/compare/v0.3.7...v0.3.8) (2019-11-02)
47
48
49### Features
50
51* add `onRetry` hook ([#79](https://github.com/nuxt/http/issues/79)) ([3d0aa27](https://github.com/nuxt/http/commit/3d0aa27))
52
53### [0.3.7](https://github.com/nuxt/http/compare/v0.3.6...v0.3.7) (2019-11-01)
54
55### [0.3.6](https://github.com/nuxt/http/compare/v0.3.5...v0.3.6) (2019-11-01)
56
57
58### Features
59
60* **types:** provide nuxt 2.9 compatible types ([#78](https://github.com/nuxt/http/issues/78)) ([a6bab0f](https://github.com/nuxt/http/commit/a6bab0f))
61
62### [0.3.5](https://github.com/nuxt/http/compare/v0.3.4...v0.3.5) (2019-09-05)
63
64
65### Bug Fixes
66
67* **types:** fix argument of onError ([#67](https://github.com/nuxt/http/issues/67)) ([be10314](https://github.com/nuxt/http/commit/be10314))
68
69## [0.3.4](https://github.com/nuxt/http/compare/v0.3.3...v0.3.4) (2019-08-12)
70
71
72### Bug Fixes
73
74* **types:** replace `JSONValue import from ky to `unknown` ([#63](https://github.com/nuxt/http/issues/63)) ([aff7a35](https://github.com/nuxt/http/commit/aff7a35))
75
76
77
78## [0.3.3](https://github.com/nuxt/http/compare/v0.3.2...v0.3.3) (2019-07-24)
79
80
81### Bug Fixes
82
83* transpile ky ([#61](https://github.com/nuxt/http/issues/61)) ([2ce08de](https://github.com/nuxt/http/commit/2ce08de))
84
85
86
87## [0.3.2](https://github.com/nuxt/http/compare/v0.3.1...v0.3.2) (2019-06-05)
88
89
90### Bug Fixes
91
92* ignore content-length header ([185dabb](https://github.com/nuxt/http/commit/185dabb))
93
94
95
96## [0.3.1](https://github.com/nuxt/http/compare/v0.3.0...v0.3.1) (2019-05-30)
97
98
99### Bug Fixes
100
101* handle false timeout ([d965efa](https://github.com/nuxt/http/commit/d965efa))
102
103
104
105# [0.3.0](https://github.com/nuxt/http/compare/v0.2.0...v0.3.0) (2019-05-29)
106
107
108### Features
109
110* support setting timeout and disable by default ([#51](https://github.com/nuxt/http/issues/51)) ([53287dd](https://github.com/nuxt/http/commit/53287dd))
111
112
113### Reverts
114
115* revert converting header names to lowercase ([2b0f463](https://github.com/nuxt/http/commit/2b0f463))
116
117
118
119# [0.2.0](https://github.com/nuxt/http/compare/v0.1.2...v0.2.0) (2019-05-22)
120
121
122### Bug Fixes
123
124* lowercase `accept-encoding` header ([#43](https://github.com/nuxt/http/issues/43)) ([454807c](https://github.com/nuxt/http/commit/454807c))
125
126
127### Features
128
129* convert header names to lowercase ([#45](https://github.com/nuxt/http/issues/45)) ([7ad6645](https://github.com/nuxt/http/commit/7ad6645))
130
131
132
133## [0.1.2](https://github.com/nuxt/http/compare/v0.1.1...v0.1.2) (2019-04-28)
134
135
136### Bug Fixes
137
138* **types:** add missing `JSONValue` import ([#28](https://github.com/nuxt/http/issues/28)) ([60e3370](https://github.com/nuxt/http/commit/60e3370))
139
140
141
142## [0.1.1](https://github.com/nuxt/http/compare/v0.1.0...v0.1.1) (2019-04-18)
143
144
145### Bug Fixes
146
147* correctly handle `proxyHeaders: false` ([#17](https://github.com/nuxt/http/issues/17)) ([15274cb](https://github.com/nuxt/http/commit/15274cb))
148
149
150
151# [0.1.0](https://github.com/nuxt/http/compare/v5.4.1...v0.1.0) (2019-04-09)
152
153
154### Bug Fixes
155
156* default retry to 1 ([7bc50f8](https://github.com/nuxt/http/commit/7bc50f8))
157* prefixUrl ([09a5382](https://github.com/nuxt/http/commit/09a5382))
158
159
160### Features
161
162* allow passing body as argument ([57b8a8b](https://github.com/nuxt/http/commit/57b8a8b))
163* http class ([61fb627](https://github.com/nuxt/http/commit/61fb627))
164* migrate to http and ky-universal ([d3e2c08](https://github.com/nuxt/http/commit/d3e2c08))