1 | # Changelog
|
2 |
|
3 | All 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 | ## [5.13.0](https://github.com/nuxt-community/axios-module/compare/v5.12.5...v5.13.0) (2021-02-01)
|
6 |
|
7 |
|
8 | ### Features
|
9 |
|
10 | * support baseUrl and browserBaseUrl to handle casing typos ([8904847](https://github.com/nuxt-community/axios-module/commit/890484755c1897da8dd80c155fba2328c05f58f8))
|
11 |
|
12 |
|
13 | ### Bug Fixes
|
14 |
|
15 | * add `x-forwarded-port` and `x-forwarded-proto` to `proxyHeaderIgnore` defaults ([#465](https://github.com/nuxt-community/axios-module/issues/465)) ([a1a1894](https://github.com/nuxt-community/axios-module/commit/a1a189486d63356433c939529d6e631f3fc9f923))
|
16 |
|
17 | ### [5.12.5](https://github.com/nuxt-community/axios-module/compare/v5.12.4...v5.12.5) (2021-01-04)
|
18 |
|
19 |
|
20 | ### Bug Fixes
|
21 |
|
22 | * add `x-forwarded-host` to `proxyHeaderIgnore` defaults ([#462](https://github.com/nuxt-community/axios-module/issues/462)) ([433548b](https://github.com/nuxt-community/axios-module/commit/433548b1ca0e3ad22b9237add9093501fb2f7bfb)), closes [#456](https://github.com/nuxt-community/axios-module/issues/456)
|
23 |
|
24 | ### [5.12.4](https://github.com/nuxt-community/axios-module/compare/v5.12.3...v5.12.4) (2020-12-14)
|
25 |
|
26 |
|
27 | ### Bug Fixes
|
28 |
|
29 | * preserve default headers with custom headers ([#452](https://github.com/nuxt-community/axios-module/issues/452)) ([55f994f](https://github.com/nuxt-community/axios-module/commit/55f994f1627798f36174a14edd28fe7a5e4e70e7))
|
30 |
|
31 | ### [5.12.3](https://github.com/nuxt-community/axios-module/compare/v5.12.2...v5.12.3) (2020-11-30)
|
32 |
|
33 |
|
34 | ### Bug Fixes
|
35 |
|
36 | * `$loading().set(Infinity)` issue ([#424](https://github.com/nuxt-community/axios-module/issues/424)) ([7b32262](https://github.com/nuxt-community/axios-module/commit/7b322620f1349e393338fbd7388b92b0e9275fba))
|
37 |
|
38 | ### [5.12.2](https://github.com/nuxt-community/axios-module/compare/v5.12.1...v5.12.2) (2020-08-25)
|
39 |
|
40 |
|
41 | ### Bug Fixes
|
42 |
|
43 | * **types:** extend Axios.AxiosRequestConfig with "progress" option ([#408](https://github.com/nuxt-community/axios-module/issues/408)) ([ea4ea7e](https://github.com/nuxt-community/axios-module/commit/ea4ea7e323e053d6ae025210534c675e468a273c))
|
44 |
|
45 | ### Docs
|
46 |
|
47 | * Migrate docs to nuxt/content ([#404](https://github.com/nuxt-community/axios-module/pull/404))
|
48 |
|
49 | ### [5.12.1](https://github.com/nuxt-community/axios-module/compare/v5.12.0...v5.12.1) (2020-08-05)
|
50 |
|
51 |
|
52 | ### Bug Fixes
|
53 |
|
54 | * **plugin:** hide progress-bar on cancelled requests ([#398](https://github.com/nuxt-community/axios-module/issues/398)) ([2061721](https://github.com/nuxt-community/axios-module/commit/206172133e8cf3e8dc4f28efe34da695f2cb64f4))
|
55 |
|
56 | ## [5.12.0](https://github.com/nuxt-community/axios-module/compare/v5.11.0...v5.12.0) (2020-07-10)
|
57 |
|
58 |
|
59 | ### Features
|
60 |
|
61 | * **plugin:** support runtimeConfig ([#387](https://github.com/nuxt-community/axios-module/issues/387)) ([351ea5e](https://github.com/nuxt-community/axios-module/commit/351ea5ee459eea53b9124de75ebfa7674d7ccd40))
|
62 |
|
63 |
|
64 | ### Bug Fixes
|
65 |
|
66 | * **types:** add axios-retry type def for more options ([#378](https://github.com/nuxt-community/axios-module/issues/378)) ([40a0c58](https://github.com/nuxt-community/axios-module/commit/40a0c5885819406fec88b212f0219539fbc0d229))
|
67 | * **types:** add prefix, port, host options to axios types ([#381](https://github.com/nuxt-community/axios-module/issues/381)) ([301805b](https://github.com/nuxt-community/axios-module/commit/301805b5eade85ff30f80e9f34341d586a056d8b))
|
68 |
|
69 | ## [5.11.0](https://github.com/nuxt-community/axios-module/compare/v5.10.3...v5.11.0) (2020-06-05)
|
70 |
|
71 |
|
72 | ### Features
|
73 |
|
74 | * experimental runtimeConfig support ([07ca13c](https://github.com/nuxt-community/axios-module/commit/07ca13c58194c8c48a61896a07505a936c26eb93))
|
75 |
|
76 |
|
77 | ### Bug Fixes
|
78 |
|
79 | * **plugin:** always get global `$nuxt` while loading ([#364](https://github.com/nuxt-community/axios-module/issues/364)) ([e848b9d](https://github.com/nuxt-community/axios-module/commit/e848b9d0b0a1804388eb51d328ab6054d89aa979))
|
80 |
|
81 | ### [5.10.3](https://github.com/nuxt-community/axios-module/compare/v5.10.2...v5.10.3) (2020-04-30)
|
82 |
|
83 |
|
84 | ### Bug Fixes
|
85 |
|
86 | * globalName fallback for nuxt < 2.2.0 ([12da6c8](https://github.com/nuxt-community/axios-module/commit/12da6c8e2feb8cf4f7e918fbbe4693400152c1ff))
|
87 |
|
88 | ### [5.10.2](https://github.com/nuxt-community/axios-module/compare/v5.10.1...v5.10.2) (2020-04-27)
|
89 |
|
90 |
|
91 | ### Bug Fixes
|
92 |
|
93 | * **plugin:** add missing $ prefix to globalName ([#356](https://github.com/nuxt-community/axios-module/issues/356)) ([47788bd](https://github.com/nuxt-community/axios-module/commit/47788bdd0384807c9d63aa3caa7f2031f44d4c96))
|
94 |
|
95 | ### [5.10.1](https://github.com/nuxt-community/axios-module/compare/v5.10.0...v5.10.1) (2020-04-22)
|
96 |
|
97 | ## [5.10.0](https://github.com/nuxt-community/axios-module/compare/v5.9.7...v5.10.0) (2020-04-21)
|
98 |
|
99 |
|
100 | ### Features
|
101 |
|
102 | * **plugin:** enable server brotli if supported (closes [#276](https://github.com/nuxt-community/axios-module/issues/276)) ([074f98c](https://github.com/nuxt-community/axios-module/commit/074f98cbdf409473357b2cd24cd6cb13fe75f149))
|
103 |
|
104 |
|
105 | ### Bug Fixes
|
106 |
|
107 | * **module:** browserBaseURL as empty string (fixes [#303](https://github.com/nuxt-community/axios-module/issues/303)) ([18afe5c](https://github.com/nuxt-community/axios-module/commit/18afe5c1a9aac6380bdd5ffb337a0968a6d504aa))
|
108 | * **plugin:** preserve default headers (fixes [#323](https://github.com/nuxt-community/axios-module/issues/323)) ([6c5605d](https://github.com/nuxt-community/axios-module/commit/6c5605df0b77e9e4df32ad1eaecb2eac60eb1c1d))
|
109 | * **plugin:** use `globalName` instead of `$nuxt` (fixes [#345](https://github.com/nuxt-community/axios-module/issues/345)) ([fd1f8ec](https://github.com/nuxt-community/axios-module/commit/fd1f8ec17160f6e88610e3dfa2153423b3140592))
|
110 |
|
111 | ### [5.9.7](https://github.com/nuxt-community/axios-module/compare/v5.9.6...v5.9.7) (2020-03-30)
|
112 |
|
113 |
|
114 | ### Bug Fixes
|
115 |
|
116 | * **plugin:** don't convert falsy urls to string ([#347](https://github.com/nuxt-community/axios-module/issues/347)) ([b8a510e](https://github.com/nuxt-community/axios-module/commit/b8a510ee989fabf10d93d99a7ae1e17c0fc3eca0))
|
117 |
|
118 | ### [5.9.6](https://github.com/nuxt-community/axios-module/compare/v5.9.5...v5.9.6) (2020-03-27)
|
119 |
|
120 |
|
121 | ### Bug Fixes
|
122 |
|
123 | * **module:** always set protocol to `https` when `https: true` is set ([#344](https://github.com/nuxt-community/axios-module/issues/344)) ([6f82570](https://github.com/nuxt-community/axios-module/commit/6f82570b163c4d4635321601f05d0c4641a00f19))
|
124 |
|
125 | ### [5.9.5](https://github.com/nuxt-community/axios-module/compare/v5.9.3...v5.9.5) (2020-02-02)
|
126 |
|
127 |
|
128 | ### Bug Fixes
|
129 |
|
130 | * **types:** add `setBaseURL` ([#329](https://github.com/nuxt-community/axios-module/issues/329)) ([9d00d6a](https://github.com/nuxt-community/axios-module/commit/9d00d6a9b5e21396d3b195f824dd2cfe99ca9012))
|
131 |
|
132 | ### [5.9.4](https://github.com/nuxt-community/axios-module/compare/v5.9.3...v5.9.4) (2020-01-30)
|
133 |
|
134 |
|
135 | ### Bug Fixes
|
136 |
|
137 | * **types:** add `setBaseURL` ([#329](https://github.com/nuxt-community/axios-module/issues/329)) ([9d00d6a](https://github.com/nuxt-community/axios-module/commit/9d00d6a9b5e21396d3b195f824dd2cfe99ca9012))
|
138 |
|
139 | ### [5.9.3](https://github.com/nuxt-community/axios-module/compare/v5.9.2...v5.9.3) (2020-01-11)
|
140 |
|
141 |
|
142 | ### Bug Fixes
|
143 |
|
144 | * **types:** extend from `AxiosStatic` ([#319](https://github.com/nuxt-community/axios-module/issues/319)) ([9223a57](https://github.com/nuxt-community/axios-module/commit/9223a57c7ac65b2c414858360126d23bf60f9c82))
|
145 |
|
146 | ### [5.9.2](https://github.com/nuxt-community/axios-module/compare/v5.9.1...v5.9.2) (2020-01-02)
|
147 |
|
148 | ### [5.9.1](https://github.com/nuxt-community/axios-module/compare/v5.9.0...v5.9.1) (2020-01-02)
|
149 |
|
150 | ## [5.9.0](https://github.com/nuxt-community/axios-module/compare/v5.6.0...v5.9.0) (2019-12-17)
|
151 |
|
152 |
|
153 | ### Features
|
154 |
|
155 | * add `CancelToken` and `isCancel` to axios instance ([#292](https://github.com/nuxt-community/axios-module/issues/292)) ([474910b](https://github.com/nuxt-community/axios-module/commit/474910bd875f2d1f6bf0e39e511db87b08673cdc))
|
156 | * add function helper `setBaseURL` ([#296](https://github.com/nuxt-community/axios-module/issues/296)) ([c429d55](https://github.com/nuxt-community/axios-module/commit/c429d555202620343bc79b70bad3aa61958fb368))
|
157 | * allow adding custom headers with nuxt config ([#294](https://github.com/nuxt-community/axios-module/issues/294)) ([af1e86d](https://github.com/nuxt-community/axios-module/commit/af1e86d80065951a2ea47cdb291d159bf174f73a))
|
158 | * allow creating new instances ([#306](https://github.com/nuxt-community/axios-module/issues/306)) ([2ca95e5](https://github.com/nuxt-community/axios-module/commit/2ca95e58235f10b22317a7c3d53d539d8006f528))
|
159 |
|
160 |
|
161 | ### Bug Fixes
|
162 |
|
163 | * **docs:** should be response.code instead of code ([#197](https://github.com/nuxt-community/axios-module/issues/197)) ([d07102e](https://github.com/nuxt-community/axios-module/commit/d07102e51f9089988ba2b0184dd442ad4fc9d46a))
|
164 | * **headers:** don't proxy `content-md5` and `content-type` ([#300](https://github.com/nuxt-community/axios-module/issues/300)) ([46c49e2](https://github.com/nuxt-community/axios-module/commit/46c49e253cb23ffc1cf92ad02a1ab1fc24034906))
|
165 | * **progress:** handle canceled requests ([#301](https://github.com/nuxt-community/axios-module/issues/301)) ([2903fd5](https://github.com/nuxt-community/axios-module/commit/2903fd579fe5deed693b26660a687089a589ebdf))
|
166 | * **types:** correct Vuex Store instance ([#227](https://github.com/nuxt-community/axios-module/issues/227)) ([e5747eb](https://github.com/nuxt-community/axios-module/commit/e5747ebb275be56cb4496771911419038952bf4b))
|
167 | * use `Axios` for `isCancel` (fixes [#301](https://github.com/nuxt-community/axios-module/issues/301)) ([4f71479](https://github.com/nuxt-community/axios-module/commit/4f714791b564b91b915c107299bb3ffecc3a482b))
|
168 |
|
169 | ## [5.8.0](https://github.com/nuxt-community/axios-module/compare/v5.7.1...v5.8.0) (2019-10-23)
|
170 |
|
171 |
|
172 | ### Features
|
173 |
|
174 | * add `CancelToken` and `isCancel` to axios instance ([#292](https://github.com/nuxt-community/axios-module/issues/292)) ([b9335b1](https://github.com/nuxt-community/axios-module/commit/b9335b1c55b3af34e2d6e5897fedb8372a620ce4))
|
175 |
|
176 | ### [5.7.1](https://github.com/nuxt-community/axios-module/compare/v5.7.0...v5.7.1) (2019-10-22)
|
177 |
|
178 |
|
179 | ### Bug Fixes
|
180 |
|
181 | * use `Axios` for `isCancel` (fixes [#301](https://github.com/nuxt-community/axios-module/issues/301)) ([82dfccc](https://github.com/nuxt-community/axios-module/commit/82dfccce409e918a91e498af1340408dc0892bf5))
|
182 |
|
183 | ## [5.7.0](https://github.com/nuxt-community/axios-module/compare/v5.6.0...v5.7.0) (2019-10-22)
|
184 |
|
185 |
|
186 | ### Features
|
187 |
|
188 | * add function helper `setBaseURL` ([#296](https://github.com/nuxt-community/axios-module/issues/296)) ([1028bbc](https://github.com/nuxt-community/axios-module/commit/1028bbcaf2d1a29a33949f05aeb9d519c30b246e))
|
189 | * allow adding custom headers with nuxt config ([#294](https://github.com/nuxt-community/axios-module/issues/294)) ([3e38906](https://github.com/nuxt-community/axios-module/commit/3e3890616a5ac3eb34b07ec476313bb648aca59a))
|
190 |
|
191 |
|
192 | ### Bug Fixes
|
193 |
|
194 | * **headers:** don't proxy `content-md5` and `content-type` ([#300](https://github.com/nuxt-community/axios-module/issues/300)) ([f959c58](https://github.com/nuxt-community/axios-module/commit/f959c585254029ac8d623d1472b883022ab115e2))
|
195 | * **progress:** handle canceled requests ([#301](https://github.com/nuxt-community/axios-module/issues/301)) ([5096060](https://github.com/nuxt-community/axios-module/commit/50960609d913d059758658aa88434bd28faa0c47))
|
196 |
|
197 | ## [5.6.0](https://github.com/nuxt-community/axios-module/compare/v5.5.4...v5.6.0) (2019-08-20)
|
198 |
|
199 |
|
200 | ### Features
|
201 |
|
202 | * **types:** provide nuxt 2.9 compatible types ([#277](https://github.com/nuxt-community/axios-module/issues/277)) ([7aee77b](https://github.com/nuxt-community/axios-module/commit/7aee77b))
|
203 | * https detection ([#260](https://github.com/nuxt-community/axios-module/issues/260)) ([953ab8c](https://github.com/nuxt-community/axios-module/commit/953ab8c))
|
204 |
|
205 |
|
206 |
|
207 | ### [5.5.4](https://github.com/nuxt-community/axios-module/compare/v5.5.3...v5.5.4) (2019-06-05)
|
208 |
|
209 |
|
210 | ### Bug Fixes
|
211 |
|
212 | * ignore content-length header ([41ff27a](https://github.com/nuxt-community/axios-module/commit/41ff27a))
|
213 |
|
214 |
|
215 |
|
216 | ### [5.5.3](https://github.com/nuxt-community/axios-module/compare/v5.5.2...v5.5.3) (2019-05-30)
|
217 |
|
218 |
|
219 | ### Bug Fixes
|
220 |
|
221 | * bump axios to ^0.19.0 ([ee8f999](https://github.com/nuxt-community/axios-module/commit/ee8f999))
|
222 |
|
223 |
|
224 |
|
225 | ## [5.5.2](https://github.com/nuxt-community/axios-module/compare/v5.5.1...v5.5.2) (2019-05-26)
|
226 |
|
227 |
|
228 | ### Bug Fixes
|
229 |
|
230 | * vuex typescript type ([#253](https://github.com/nuxt-community/axios-module/issues/253)) ([9205fdf](https://github.com/nuxt-community/axios-module/commit/9205fdf))
|
231 |
|
232 |
|
233 |
|
234 | ## [5.5.1](https://github.com/nuxt-community/axios-module/compare/v5.5.0...v5.5.1) (2019-05-23)
|
235 |
|
236 |
|
237 | ### Bug Fixes
|
238 |
|
239 | * don't toLowerCase headers for `setHeader` and `setToken` ([#250](https://github.com/nuxt-community/axios-module/issues/250)) ([93469f0](https://github.com/nuxt-community/axios-module/commit/93469f0))
|
240 |
|
241 |
|
242 |
|
243 | # [5.5.0](https://github.com/nuxt-community/axios-module/compare/v5.4.2...v5.5.0) (2019-05-22)
|
244 |
|
245 |
|
246 | ### Bug Fixes
|
247 |
|
248 | * lowercase `accept-encoding` header (nuxt/http[#43](https://github.com/nuxt-community/axios-module/issues/43)) ([c17fec2](https://github.com/nuxt-community/axios-module/commit/c17fec2))
|
249 |
|
250 |
|
251 | ### Features
|
252 |
|
253 | * convert header names to lowercase (nuxt/http[#45](https://github.com/nuxt-community/axios-module/issues/45)) ([2e514a4](https://github.com/nuxt-community/axios-module/commit/2e514a4))
|
254 | * use `server` of nuxt.config.js to set default baseURL ([#245](https://github.com/nuxt-community/axios-module/issues/245)) ([e1120a9](https://github.com/nuxt-community/axios-module/commit/e1120a9))
|
255 |
|
256 |
|
257 |
|
258 | ## [5.4.1](https://github.com/nuxt-community/axios-module/compare/v5.4.0...v5.4.1) (2019-03-05)
|
259 |
|
260 |
|
261 | ### Bug Fixes
|
262 |
|
263 | * **types:** correct Vuex Store instance ([#227](https://github.com/nuxt-community/axios-module/issues/227)) ([1ed6e2f](https://github.com/nuxt-community/axios-module/commit/1ed6e2f))
|
264 |
|
265 |
|
266 |
|
267 | # [5.4.0](https://github.com/nuxt-community/axios-module/compare/v5.3.6...v5.4.0) (2019-03-02)
|
268 |
|
269 |
|
270 | ### Bug Fixes
|
271 |
|
272 | * **types:** `onResponseError` typo ([#203](https://github.com/nuxt-community/axios-module/issues/203)) ([5fc1441](https://github.com/nuxt-community/axios-module/commit/5fc1441))
|
273 | * **types:** add AxiosError interface ([efb7191](https://github.com/nuxt-community/axios-module/commit/efb7191))
|
274 | * **types:** move types in types folder ([deb2834](https://github.com/nuxt-community/axios-module/commit/deb2834))
|
275 |
|
276 |
|
277 | ### Features
|
278 |
|
279 | * **types:** add Context interface ([7f8952a](https://github.com/nuxt-community/axios-module/commit/7f8952a))
|
280 | * **types:** add types for helper functions ([#193](https://github.com/nuxt-community/axios-module/issues/193)) ([79909cc](https://github.com/nuxt-community/axios-module/commit/79909cc))
|
281 |
|
282 |
|
283 |
|
284 | <a name="5.3.6"></a>
|
285 | ## [5.3.6](https://github.com/nuxt-community/axios-module/compare/v5.3.5...v5.3.6) (2018-11-08)
|
286 |
|
287 |
|
288 | ### Bug Fixes
|
289 |
|
290 | * correctly ignore brotli encoding on server-side ([#180](https://github.com/nuxt-community/axios-module/issues/180)) ([4a52bfd](https://github.com/nuxt-community/axios-module/commit/4a52bfd))
|
291 |
|
292 |
|
293 |
|
294 | <a name="5.3.5"></a>
|
295 | ## [5.3.5](https://github.com/nuxt-community/axios-module/compare/v5.3.4...v5.3.5) (2018-11-07)
|
296 |
|
297 |
|
298 | ### Bug Fixes
|
299 |
|
300 | * **defaults:** ignore `cf-ray` and `cf-connecting-ip` headers on server side ([#20](https://github.com/nuxt-community/axios-module/issues/20)) ([#175](https://github.com/nuxt-community/axios-module/issues/175)) ([3ae5416](https://github.com/nuxt-community/axios-module/commit/3ae5416))
|
301 | * **defaults:** set proper Accept-Encoding for server side ([#176](https://github.com/nuxt-community/axios-module/issues/176)) ([c84fb56](https://github.com/nuxt-community/axios-module/commit/c84fb56))
|
302 |
|
303 |
|
304 |
|
305 | <a name="5.3.4"></a>
|
306 | ## [5.3.4](https://github.com/nuxt-community/axios-module/compare/v5.3.3...v5.3.4) (2018-10-30)
|
307 |
|
308 |
|
309 |
|
310 | <a name="5.3.3"></a>
|
311 | ## [5.3.3](https://github.com/nuxt-community/axios-module/compare/v5.3.2...v5.3.3) (2018-09-28)
|
312 |
|
313 |
|
314 | ### Bug Fixes
|
315 |
|
316 | * **package:** add missing types from index.d.ts ([3a06503](https://github.com/nuxt-community/axios-module/commit/3a06503))
|
317 |
|
318 |
|
319 |
|
320 | <a name="5.3.2"></a>
|
321 | ## [5.3.2](https://github.com/nuxt-community/axios-module/compare/v5.3.1...v5.3.2) (2018-09-21)
|
322 |
|
323 |
|
324 | ### Bug Fixes
|
325 |
|
326 | * **types:** replace AxiosPromise to Promise ([#162](https://github.com/nuxt-community/axios-module/issues/162)) ([5fd9214](https://github.com/nuxt-community/axios-module/commit/5fd9214))
|
327 |
|
328 |
|
329 |
|
330 | <a name="5.3.1"></a>
|
331 | ## [5.3.1](https://github.com/nuxt-community/axios-module/compare/v5.3.0...v5.3.1) (2018-03-31)
|
332 |
|
333 |
|
334 |
|
335 | <a name="5.3.0"></a>
|
336 | # [5.3.0](https://github.com/nuxt-community/axios-module/compare/v5.2.0...v5.3.0) (2018-03-31)
|
337 |
|
338 |
|
339 | ### Features
|
340 |
|
341 | * CLI improvements ([481e6da](https://github.com/nuxt-community/axios-module/commit/481e6da))
|
342 |
|
343 |
|
344 |
|
345 | <a name="5.2.0"></a>
|
346 | # [5.2.0](https://github.com/nuxt-community/axios-module/compare/v5.1.1...v5.2.0) (2018-03-31)
|
347 |
|
348 |
|
349 | ### Bug Fixes
|
350 |
|
351 | * **progress:** onProgress when currentRequests is zero ([#118](https://github.com/nuxt-community/axios-module/issues/118)) ([a90236e](https://github.com/nuxt-community/axios-module/commit/a90236e))
|
352 |
|
353 |
|
354 | ### Features
|
355 |
|
356 | * consola integration ([4ec3b5d](https://github.com/nuxt-community/axios-module/commit/4ec3b5d))
|
357 |
|
358 |
|
359 |
|
360 | <a name="5.1.1"></a>
|
361 | ## [5.1.1](https://github.com/nuxt-community/axios-module/compare/v5.1.0...v5.1.1) (2018-03-06)
|
362 |
|
363 |
|
364 | ### Bug Fixes
|
365 |
|
366 | * **progress:** handle division by zero ([#117](https://github.com/nuxt-community/axios-module/issues/117)) ([040eaf7](https://github.com/nuxt-community/axios-module/commit/040eaf7)), closes [#166](https://github.com/nuxt-community/axios-module/issues/166)
|
367 |
|
368 |
|
369 |
|
370 | <a name="5.1.0"></a>
|
371 | # [5.1.0](https://github.com/nuxt-community/axios-module/compare/v5.0.1...v5.1.0) (2018-03-05)
|
372 |
|
373 |
|
374 | ### Features
|
375 |
|
376 | * allow disable progress per request. closes [#112](https://github.com/nuxt-community/axios-module/issues/112). ([1530bb6](https://github.com/nuxt-community/axios-module/commit/1530bb6))
|
377 | * disable https for localhost url ([#93](https://github.com/nuxt-community/axios-module/issues/93)) ([dd67734](https://github.com/nuxt-community/axios-module/commit/dd67734))
|
378 |
|
379 |
|
380 |
|
381 | <a name="5.0.1"></a>
|
382 | ## [5.0.1](https://github.com/nuxt-community/axios-module/compare/v5.0.0...v5.0.1) (2018-02-08)
|
383 |
|
384 |
|
385 | ### Bug Fixes
|
386 |
|
387 | * don't mutate env.API_URL ([a8ea331](https://github.com/nuxt-community/axios-module/commit/a8ea331))
|
388 |
|
389 |
|
390 |
|
391 | <a name="5.0.0"></a>
|
392 | # [5.0.0](https://github.com/nuxt-community/axios-module/compare/v5.0.0-rc.2...v5.0.0) (2018-02-04)
|
393 |
|
394 |
|
395 | ### Bug Fixes
|
396 |
|
397 | * **progress:** finish on fail ([ea7b569](https://github.com/nuxt-community/axios-module/commit/ea7b569))
|
398 |
|
399 |
|
400 | ### Features
|
401 |
|
402 | * https option ([#57](https://github.com/nuxt-community/axios-module/issues/57)) ([9ecb547](https://github.com/nuxt-community/axios-module/commit/9ecb547))
|
403 | * passing options via proxy option ([a923db3](https://github.com/nuxt-community/axios-module/commit/a923db3))
|
404 | * support retry with axios-retry ([7221cac](https://github.com/nuxt-community/axios-module/commit/7221cac)), closes [#77](https://github.com/nuxt-community/axios-module/issues/77)
|
405 |
|
406 |
|
407 |
|
408 | <a name="5.0.0-rc.2"></a>
|
409 | # [5.0.0-rc.2](https://github.com/nuxt-community/axios-module/compare/v5.0.0-rc.1...v5.0.0-rc.2) (2018-01-29)
|
410 |
|
411 |
|
412 | ### Bug Fixes
|
413 |
|
414 | * **package:** require [@nuxtjs](https://github.com/nuxtjs)/proxy as a peerDependency ([fd1ef47](https://github.com/nuxt-community/axios-module/commit/fd1ef47))
|
415 | * support dynamic API_URL for SSR ([ea4882a](https://github.com/nuxt-community/axios-module/commit/ea4882a))
|
416 |
|
417 |
|
418 |
|
419 | <a name="5.0.0-rc.1"></a>
|
420 | # [5.0.0-rc.1](https://github.com/nuxt-community/axios-module/compare/v5.0.0-rc.0...v5.0.0-rc.1) (2018-01-28)
|
421 |
|
422 |
|
423 | ### Bug Fixes
|
424 |
|
425 | * **progress:** ensure $loading is valid ([cbdc586](https://github.com/nuxt-community/axios-module/commit/cbdc586))
|
426 |
|
427 |
|
428 |
|
429 | <a name="5.0.0-rc.0"></a>
|
430 | # [5.0.0-rc.0](https://github.com/nuxt-community/axios-module/compare/v5.0.0-alpha.1...v5.0.0-rc.0) (2018-01-28)
|
431 |
|
432 |
|
433 | ### Features
|
434 |
|
435 | * support proxy ([0d3be17](https://github.com/nuxt-community/axios-module/commit/0d3be17))
|
436 |
|
437 |
|
438 |
|
439 | <a name="5.0.0-alpha.1"></a>
|
440 | # [5.0.0-alpha.1](https://github.com/nuxt-community/axios-module/compare/v5.0.0-alpha.0...v5.0.0-alpha.1) (2018-01-28)
|
441 |
|
442 |
|
443 | ### Features
|
444 |
|
445 | * integrate with nuxt progress bar ([41a0964](https://github.com/nuxt-community/axios-module/commit/41a0964))
|
446 |
|
447 |
|
448 |
|
449 | <a name="5.0.0-alpha.0"></a>
|
450 | # [5.0.0-alpha.0](https://github.com/nuxt-community/axios-module/compare/v4.5.2...v5.0.0-alpha.0) (2018-01-28)
|
451 |
|
452 |
|
453 | ### Code Refactoring
|
454 |
|
455 | * a better and more stable way to specify baseURL and browserBaseURL options ([533cf4e](https://github.com/nuxt-community/axios-module/commit/533cf4e))
|
456 |
|
457 |
|
458 | ### Features
|
459 |
|
460 | * interceptor helpers ([fa3eb47](https://github.com/nuxt-community/axios-module/commit/fa3eb47))
|
461 | * rewrite plugin ([647b58f](https://github.com/nuxt-community/axios-module/commit/647b58f))
|
462 |
|
463 |
|
464 | ### BREAKING CHANGES
|
465 |
|
466 | * prefix should be set to `/api` for backward compability. refer to new docs.
|
467 |
|
468 |
|
469 |
|
470 | <a name="4.5.2"></a>
|
471 | ## [4.5.2](https://github.com/nuxt-community/axios-module/compare/v4.5.1...v4.5.2) (2017-12-29)
|
472 |
|
473 |
|
474 |
|
475 | <a name="4.5.1"></a>
|
476 | ## [4.5.1](https://github.com/nuxt-community/axios-module/compare/v4.5.0...v4.5.1) (2017-12-29)
|
477 |
|
478 |
|
479 |
|
480 | <a name="4.5.0"></a>
|
481 | # [4.5.0](https://github.com/nuxt-community/axios-module/compare/v4.4.0...v4.5.0) (2017-11-16)
|
482 |
|
483 |
|
484 | ### Bug Fixes
|
485 |
|
486 | * link to the proxy page ([5449939](https://github.com/nuxt-community/axios-module/commit/5449939))
|
487 |
|
488 |
|
489 | ### Features
|
490 |
|
491 | * disable sefault error handler ([#44](https://github.com/nuxt-community/axios-module/issues/44)) ([f1e95ff](https://github.com/nuxt-community/axios-module/commit/f1e95ff))
|
492 |
|
493 |
|
494 |
|
495 | <a name="4.4.0"></a>
|
496 | # [4.4.0](https://github.com/nuxt-community/axios-module/compare/v4.3.1...v4.4.0) (2017-09-30)
|
497 |
|
498 |
|
499 | ### Features
|
500 |
|
501 | * **proxyHeader:** proxyHeadersIgnore option ([7c13655](https://github.com/nuxt-community/axios-module/commit/7c13655))
|
502 |
|
503 |
|
504 |
|
505 | <a name="4.3.1"></a>
|
506 | ## [4.3.1](https://github.com/nuxt-community/axios-module/compare/v4.3.0...v4.3.1) (2017-09-28)
|
507 |
|
508 |
|
509 |
|
510 | <a name="4.3.0"></a>
|
511 | # [4.3.0](https://github.com/nuxt-community/axios-module/compare/v4.2.1...v4.3.0) (2017-09-11)
|
512 |
|
513 |
|
514 | ### Features
|
515 |
|
516 | * don't rely on hostname for default values ([dadd7d8](https://github.com/nuxt-community/axios-module/commit/dadd7d8))
|
517 |
|
518 |
|
519 |
|
520 | <a name="4.2.1"></a>
|
521 | ## [4.2.1](https://github.com/nuxt-community/axios-module/compare/v4.2.0...v4.2.1) (2017-09-08)
|
522 |
|
523 |
|
524 |
|
525 | <a name="4.2.0"></a>
|
526 | # [4.2.0](https://github.com/nuxt-community/axios-module/compare/v4.1.1...v4.2.0) (2017-09-08)
|
527 |
|
528 |
|
529 | ### Features
|
530 |
|
531 | * pass ctx to errorHandlers ([c70749a](https://github.com/nuxt-community/axios-module/commit/c70749a))
|
532 |
|
533 |
|
534 |
|
535 | <a name="4.1.1"></a>
|
536 | ## [4.1.1](https://github.com/nuxt-community/axios-module/compare/v4.1.0...v4.1.1) (2017-09-06)
|
537 |
|
538 |
|
539 | ### Bug Fixes
|
540 |
|
541 | * delete accept header ([2f04e30](https://github.com/nuxt-community/axios-module/commit/2f04e30)), closes [#12](https://github.com/nuxt-community/axios-module/issues/12)
|
542 |
|
543 |
|
544 |
|
545 | <a name="4.1.0"></a>
|
546 | # [4.1.0](https://github.com/nuxt-community/axios-module/compare/v4.0.1...v4.1.0) (2017-09-06)
|
547 |
|
548 |
|
549 | ### Bug Fixes
|
550 |
|
551 | * inject $axios in current ctx ([356b31f](https://github.com/nuxt-community/axios-module/commit/356b31f))
|
552 |
|
553 |
|
554 | ### Features
|
555 |
|
556 | * add options.init ([8e0c0e8](https://github.com/nuxt-community/axios-module/commit/8e0c0e8))
|
557 |
|
558 |
|
559 | ### Performance Improvements
|
560 |
|
561 | * move init outside of plugin ([bcd4710](https://github.com/nuxt-community/axios-module/commit/bcd4710))
|
562 |
|
563 |
|
564 |
|
565 | <a name="4.0.1"></a>
|
566 | ## [4.0.1](https://github.com/nuxt-community/axios-module/compare/v4.0.0...v4.0.1) (2017-09-04)
|
567 |
|
568 |
|
569 | ### Bug Fixes
|
570 |
|
571 | * **package:** make nuxt devDependency ([a36a886](https://github.com/nuxt-community/axios-module/commit/a36a886))
|
572 |
|
573 |
|
574 |
|
575 | <a name="4.0.0"></a>
|
576 | # [4.0.0](https://github.com/nuxt-community/axios-module/compare/v3.1.4...v4.0.0) (2017-08-30)
|
577 |
|
578 |
|
579 | ### Features
|
580 |
|
581 | * better baseURL message ([61432a1](https://github.com/nuxt-community/axios-module/commit/61432a1))
|
582 | * responseInterceptor and errorHandler ([b16d6bf](https://github.com/nuxt-community/axios-module/commit/b16d6bf))
|
583 | * upgrade for nuxt rc8 ([a341185](https://github.com/nuxt-community/axios-module/commit/a341185))
|
584 |
|
585 |
|
586 | ### BREAKING CHANGES
|
587 |
|
588 | * app.axios is not available anymore (without $) should always use app.$axios
|
589 |
|
590 |
|
591 |
|
592 | <a name="3.1.4"></a>
|
593 | ## [3.1.4](https://github.com/nuxt-community/axios-module/compare/v3.1.3...v3.1.4) (2017-08-13)
|
594 |
|
595 |
|
596 | ### Bug Fixes
|
597 |
|
598 | * create fresh objects for all default header scopes ([7ba3ae8](https://github.com/nuxt-community/axios-module/commit/7ba3ae8))
|
599 |
|
600 |
|
601 |
|
602 | <a name="3.1.3"></a>
|
603 | ## [3.1.3](https://github.com/nuxt-community/axios-module/compare/v3.1.1...v3.1.3) (2017-08-13)
|
604 |
|
605 | ### Bug Fixes
|
606 |
|
607 | * **headers:** fix security bug with default request headers ([9355228](https://github.com/nuxt-community/axios-module/commit/9355228))
|
608 |
|
609 |
|
610 |
|
611 | <a name="3.1.1"></a>
|
612 | ## 3.1.1 (2017-08-13)
|
613 | (repository moved from nuxt-community/modules)
|
614 |
|
615 | ### Features
|
616 |
|
617 | * **axios:** fetch style requests
|
618 |
|
619 | <a name="3.0.1"></a>
|
620 | ## [3.0.1](https://github.com/nuxt/modules/compare/@nuxtjs/axios@3.0.0...@nuxtjs/axios@3.0.1) (2017-07-25)
|
621 |
|
622 |
|
623 | ### Bug Fixes
|
624 |
|
625 | * **axios:** typo in default headers ([9697559](https://github.com/nuxt/modules/commit/9697559))
|
626 |
|
627 |
|
628 |
|
629 |
|
630 | <a name="3.0.0"></a>
|
631 | # [3.0.0](https://github.com/nuxt/modules/compare/@nuxtjs/axios@2.3.0...@nuxtjs/axios@3.0.0) (2017-07-25)
|
632 |
|
633 |
|
634 | ### Code Refactoring
|
635 |
|
636 | * **axios:** remove $ shortcut mixins ([1ab2bd6](https://github.com/nuxt/modules/commit/1ab2bd6))
|
637 |
|
638 |
|
639 | ### BREAKING CHANGES
|
640 |
|
641 | * **axios:** You have to explicitly use `this.$axios.[method]` instead of `this.$[method]`
|
642 |
|
643 |
|
644 |
|
645 |
|
646 | <a name="2.3.0"></a>
|
647 | # [2.3.0](https://github.com/nuxt/modules/compare/@nuxtjs/axios@2.2.4...@nuxtjs/axios@2.3.0) (2017-07-24)
|
648 |
|
649 |
|
650 | ### Features
|
651 |
|
652 | * **axios:** optionally disable error handling (#74) ([a195feb](https://github.com/nuxt/modules/commit/a195feb))
|
653 | * **axios:** redirectError ([4ce1a1c](https://github.com/nuxt/modules/commit/4ce1a1c))
|
654 |
|
655 |
|
656 |
|
657 |
|
658 | <a name="2.2.4"></a>
|
659 | ## [2.2.4](https://github.com/nuxt/modules/compare/@nuxtjs/axios@2.2.3...@nuxtjs/axios@2.2.4) (2017-07-20)
|
660 |
|
661 |
|
662 | ### Bug Fixes
|
663 |
|
664 | * **axios:** temporary fix for nuxt/nuxt.js#1127 ([499b639](https://github.com/nuxt/modules/commit/499b639)), closes [nuxt/nuxt.js#1127](https://github.com/nuxt/nuxt.js/issues/1127)
|
665 |
|
666 |
|
667 |
|
668 |
|
669 | <a name="2.2.3"></a>
|
670 | ## [2.2.3](https://github.com/nuxt/modules/compare/@nuxtjs/axios@2.2.1...@nuxtjs/axios@2.2.3) (2017-07-19)
|
671 |
|
672 |
|
673 | ### Bug Fixes
|
674 |
|
675 | * **axios:** don't proxy Host header from request (#72, #39) ([61462ca](https://github.com/nuxt/modules/commit/61462ca))
|
676 |
|
677 |
|
678 |
|
679 |
|
680 | <a name="2.2.2"></a>
|
681 | ## [2.2.2](https://github.com/nuxt/modules/compare/@nuxtjs/axios@2.2.1...@nuxtjs/axios@2.2.2) (2017-07-19)
|
682 |
|
683 |
|
684 | ### Bug Fixes
|
685 |
|
686 | * **axios:** don't proxy Host header from request (#72, #39) ([61462ca](https://github.com/nuxt/modules/commit/61462ca))
|
687 |
|
688 |
|
689 |
|
690 |
|
691 | <a name="2.2.1"></a>
|
692 | ## [2.2.1](https://github.com/nuxt/modules/compare/@nuxtjs/axios@2.2.0...@nuxtjs/axios@2.2.1) (2017-07-15)
|
693 |
|
694 |
|
695 | ### Bug Fixes
|
696 |
|
697 | * **axios:** problems related to #65 ([4e7dd3f](https://github.com/nuxt/modules/commit/4e7dd3f))
|
698 |
|
699 |
|
700 |
|
701 |
|
702 | <a name="2.0.3"></a>
|
703 | ## [2.0.3](https://github.com/nuxt/modules/compare/@nuxtjs/axios@2.0.2...@nuxtjs/axios@2.0.3) (2017-06-10)
|
704 |
|
705 |
|
706 | ### Bug Fixes
|
707 |
|
708 | * **axios:** Handle relative baseURL ([19b8453](https://github.com/nuxt/modules/commit/19b8453))
|
709 | * handle 0.0.0.0 host ([610e0f5](https://github.com/nuxt/modules/commit/610e0f5))
|
710 |
|
711 |
|
712 |
|
713 |
|
714 | <a name="2.0.2"></a>
|
715 | ## [2.0.2](https://github.com/nuxt/modules/compare/@nuxtjs/axios@2.0.1...@nuxtjs/axios@2.0.2) (2017-06-09)
|
716 |
|
717 |
|
718 | ### Bug Fixes
|
719 |
|
720 | * **axios:** Node 6.x support ([54deac0](https://github.com/nuxt/modules/commit/54deac0))
|
721 |
|
722 |
|
723 |
|
724 |
|
725 | <a name="2.0.1"></a>
|
726 | ## [2.0.1](https://github.com/nuxt/modules/compare/@nuxtjs/axios@2.0.0...@nuxtjs/axios@2.0.1) (2017-06-09)
|
727 |
|
728 |
|
729 | ### Bug Fixes
|
730 |
|
731 | * **axios:** ensure store exists before injecting ([23ad7b7](https://github.com/nuxt/modules/commit/23ad7b7))
|
732 |
|
733 |
|
734 |
|
735 |
|
736 | <a name="2.0.0"></a>
|
737 | # [2.0.0](https://github.com/nuxt/modules/compare/@nuxtjs/axios@1.0.2...@nuxtjs/axios@2.0.0) (2017-06-09)
|
738 |
|
739 |
|
740 | ### Bug Fixes
|
741 |
|
742 | * **axios:** install using Vue.use ([184651b](https://github.com/nuxt/modules/commit/184651b))
|
743 | * **axios:** req typo ([16f28b1](https://github.com/nuxt/modules/commit/16f28b1))
|
744 | * **axios:** use relative `API_URL` if same host and port else `API_URL` ([3421d19](https://github.com/nuxt/modules/commit/3421d19))
|
745 |
|
746 |
|
747 | ### Features
|
748 |
|
749 | * **axios:** AXIOS_CREDENTIALS, AXIOS_SSR_HEADERS ([4dfdc2d](https://github.com/nuxt/modules/commit/4dfdc2d))
|
750 | * **axios:** don't append optional config into env ([fe189e8](https://github.com/nuxt/modules/commit/fe189e8))
|
751 | * **axios:** Easier API ([f54a434](https://github.com/nuxt/modules/commit/f54a434))
|
752 | * **axios:** New API ([0194226](https://github.com/nuxt/modules/commit/0194226))
|
753 | * **axios:** nuxt friendly errors for SSR ([65bc50f](https://github.com/nuxt/modules/commit/65bc50f))
|
754 |
|
755 |
|
756 | ### BREAKING CHANGES
|
757 |
|
758 | * **axios:** API_PREFIX is deprecated.
|
759 |
|
760 |
|
761 |
|
762 |
|
763 | <a name="1.0.2"></a>
|
764 | ## [1.0.2](https://github.com/nuxt/modules/compare/@nuxtjs/axios@1.0.0...@nuxtjs/axios@1.0.2) (2017-05-29)
|
765 |
|
766 |
|
767 | ### Bug Fixes
|
768 |
|
769 | * **axios:** remove extra function call on computed prop ([cd9da0b](https://github.com/nuxt/modules/commit/cd9da0b))
|
770 |
|
771 |
|
772 |
|
773 |
|
774 | <a name="1.0.1"></a>
|
775 | ## [1.0.1](https://github.com/nuxt/modules/compare/@nuxtjs/axios@1.0.0...@nuxtjs/axios@1.0.1) (2017-05-26)
|
776 |
|
777 |
|
778 | ### Bug Fixes
|
779 |
|
780 | * **axios:** remove extra function call on computed prop ([cd9da0b](https://github.com/nuxt/modules/commit/cd9da0b))
|
781 |
|
782 |
|
783 |
|
784 |
|
785 | <a name="1.0.0"></a>
|
786 | # 1.0.0 (2017-05-26)
|
787 |
|
788 |
|
789 | ### Features
|
790 |
|
791 | * initial migration to 1.0.0-alpha1 ([05c1b7a](https://github.com/nuxt/modules/commit/05c1b7a))
|
792 |
|
793 |
|
794 | ### BREAKING CHANGES
|
795 |
|
796 | * New modules system is backward incompatible with nuxt-helpers style modules
|
797 |
|
798 |
|
799 |
|
800 |
|
801 | <a name="0.0.1"></a>
|
802 | ## 0.0.1 (2017-05-10)
|