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 | ## [4.7.0](https://github.com/nuxt-community/auth-module/compare/v4.6.6...v4.7.0) (2019-06-13)
|
6 |
|
7 |
|
8 | ### Features
|
9 |
|
10 | * **oauth2:** support `access_type=offline` to enable refresh tokens from google ([#303](https://github.com/nuxt-community/auth-module/issues/303)) ([9553f5c](https://github.com/nuxt-community/auth-module/commit/9553f5c))
|
11 |
|
12 |
|
13 |
|
14 | ### [4.6.6](https://github.com/nuxt-community/auth-module/compare/v4.6.5...v4.6.6) (2019-06-05)
|
15 |
|
16 |
|
17 | ### Bug Fixes
|
18 |
|
19 | * set-cookie header contains `undefined` value ([#372](https://github.com/nuxt-community/auth-module/issues/372)) ([323346e](https://github.com/nuxt-community/auth-module/commit/323346e))
|
20 |
|
21 |
|
22 |
|
23 | ### [4.6.5](https://github.com/nuxt-community/auth-module/compare/v4.6.4...v4.6.5) (2019-06-03)
|
24 |
|
25 |
|
26 | ### Bug Fixes
|
27 |
|
28 | * fix typo in serializedCookie ([648fdc9](https://github.com/nuxt-community/auth-module/commit/648fdc9))
|
29 |
|
30 |
|
31 |
|
32 | ### [4.6.4](https://github.com/nuxt-community/auth-module/compare/v4.6.3...v4.6.4) (2019-06-03)
|
33 |
|
34 |
|
35 | ### Bug Fixes
|
36 |
|
37 | * server side Set-Cookie always set an array. ([#367](https://github.com/nuxt-community/auth-module/issues/367)) ([4d3feff](https://github.com/nuxt-community/auth-module/commit/4d3feff))
|
38 |
|
39 |
|
40 |
|
41 | ### [4.6.3](https://github.com/nuxt-community/auth-module/compare/v4.6.1...v4.6.3) (2019-05-31)
|
42 |
|
43 |
|
44 | ### Bug Fixes
|
45 |
|
46 | * **module:** warn if default strategy is not valid ([#365](https://github.com/nuxt-community/auth-module/issues/365)) ([db6d3d4](https://github.com/nuxt-community/auth-module/commit/db6d3d4))
|
47 |
|
48 |
|
49 |
|
50 | ### [4.6.2](https://github.com/nuxt-community/auth-module/compare/v4.6.1...v4.6.2) (2019-05-31)
|
51 |
|
52 |
|
53 | ### Bug Fixes
|
54 |
|
55 | * **module:** warn if default strategy is not valid ([#365](https://github.com/nuxt-community/auth-module/issues/365)) ([db6d3d4](https://github.com/nuxt-community/auth-module/commit/db6d3d4))
|
56 |
|
57 |
|
58 |
|
59 | ### [4.6.1](https://github.com/nuxt-community/auth-module/compare/v4.6.0...v4.6.1) (2019-05-31)
|
60 |
|
61 |
|
62 | ### Bug Fixes
|
63 |
|
64 | * **storage:** accept expires as a number for cookie ([dd92ec8](https://github.com/nuxt-community/auth-module/commit/dd92ec8))
|
65 |
|
66 |
|
67 |
|
68 | ## [4.6.0](https://github.com/nuxt-community/auth-module/compare/v4.5.2...v4.6.0) (2019-05-30)
|
69 |
|
70 |
|
71 | ### Bug Fixes
|
72 |
|
73 | * accept state, nonce as `login` args ([e5579e9](https://github.com/nuxt-community/auth-module/commit/e5579e9))
|
74 | * preserve query params when redirecting ([#193](https://github.com/nuxt-community/auth-module/issues/193)) ([39fa137](https://github.com/nuxt-community/auth-module/commit/39fa137))
|
75 | * **auth:** handle mounted errors during init ([#234](https://github.com/nuxt-community/auth-module/issues/234)) ([03dba23](https://github.com/nuxt-community/auth-module/commit/03dba23))
|
76 | * **docs:** GitHub capitalize ([#246](https://github.com/nuxt-community/auth-module/issues/246)) ([725e0c9](https://github.com/nuxt-community/auth-module/commit/725e0c9))
|
77 | * **docs:** GitHub capitalize ([#246](https://github.com/nuxt-community/auth-module/issues/246)) ([eb7dc9e](https://github.com/nuxt-community/auth-module/commit/eb7dc9e))
|
78 | * **docs:** spelling fix ([#247](https://github.com/nuxt-community/auth-module/issues/247)) ([c2b0d7b](https://github.com/nuxt-community/auth-module/commit/c2b0d7b))
|
79 | * **docs:** typo ([#203](https://github.com/nuxt-community/auth-module/issues/203)) ([3a0e080](https://github.com/nuxt-community/auth-module/commit/3a0e080))
|
80 | * **local:** prevent `loggedIn` being incorrectly set to true ([#346](https://github.com/nuxt-community/auth-module/issues/346)) ([aa5f29d](https://github.com/nuxt-community/auth-module/commit/aa5f29d))
|
81 | * **middleware:** remove trailing slash from redirect paths ([#235](https://github.com/nuxt-community/auth-module/issues/235)) ([398a515](https://github.com/nuxt-community/auth-module/commit/398a515))
|
82 | * **oauth2, auth0:** add audience to requests ([#222](https://github.com/nuxt-community/auth-module/issues/222)) ([174e135](https://github.com/nuxt-community/auth-module/commit/174e135))
|
83 | * **setUserToken:** Add fallback to unimplemented strategies ([c4691ab](https://github.com/nuxt-community/auth-module/commit/c4691ab))
|
84 | * randomString btoa fallback for SSR ([#230](https://github.com/nuxt-community/auth-module/issues/230)) ([604cc5d](https://github.com/nuxt-community/auth-module/commit/604cc5d))
|
85 | * remove default auth0 audience ([#239](https://github.com/nuxt-community/auth-module/issues/239)) ([abfa084](https://github.com/nuxt-community/auth-module/commit/abfa084))
|
86 | * set extended for body-parser urlencoded to prevent the deprecation warning ([#199](https://github.com/nuxt-community/auth-module/issues/199)) ([0226836](https://github.com/nuxt-community/auth-module/commit/0226836))
|
87 | * **storage.md:** fix typo ([a8fbda8](https://github.com/nuxt-community/auth-module/commit/a8fbda8))
|
88 |
|
89 |
|
90 | ### Features
|
91 |
|
92 | * improve storage ([#360](https://github.com/nuxt-community/auth-module/issues/360)) ([d05fcca](https://github.com/nuxt-community/auth-module/commit/d05fcca))
|
93 | * support `onRedirect` hook ([#185](https://github.com/nuxt-community/auth-module/issues/185)) ([aacb191](https://github.com/nuxt-community/auth-module/commit/aacb191))
|
94 | * **middleware:** add guest option in auth middleware ([#264](https://github.com/nuxt-community/auth-module/issues/264)) ([54b0720](https://github.com/nuxt-community/auth-module/commit/54b0720))
|
95 | * generate nounce for `id_token` response type ([#298](https://github.com/nuxt-community/auth-module/issues/298)) ([b730203](https://github.com/nuxt-community/auth-module/commit/b730203))
|
96 | * **oauth2:** support passing extra query params ([#358](https://github.com/nuxt-community/auth-module/issues/358)) ([0d60c2d](https://github.com/nuxt-community/auth-module/commit/0d60c2d))
|
97 | * use strategy tokenName for `requestWith` ([#301](https://github.com/nuxt-community/auth-module/issues/301)) ([8654a48](https://github.com/nuxt-community/auth-module/commit/8654a48))
|
98 | * **oauth2-set-state:** Allow set state in case it exists on oauth2 provider [[#253](https://github.com/nuxt-community/auth-module/issues/253)] ([6420ddc](https://github.com/nuxt-community/auth-module/commit/6420ddc))
|
99 | * **setUserToken:** Add functionality to manually set auth token ([9f53a4f](https://github.com/nuxt-community/auth-module/commit/9f53a4f))
|
100 | * add resetOnError ([#197](https://github.com/nuxt-community/auth-module/issues/197)) ([469f2f8](https://github.com/nuxt-community/auth-module/commit/469f2f8))
|
101 |
|
102 |
|
103 |
|
104 | <a name="4.5.2"></a>
|
105 | ## [4.5.2](https://github.com/nuxt-community/auth-module/compare/v4.5.1...v4.5.2) (2018-09-18)
|
106 |
|
107 |
|
108 | ### Bug Fixes
|
109 |
|
110 | * **api/auth.md:** typo([#204](https://github.com/nuxt-community/auth-module/issues/204)) ([f0e693a](https://github.com/nuxt-community/auth-module/commit/f0e693a))
|
111 | * **docs:** minor proper english revisions ([#200](https://github.com/nuxt-community/auth-module/issues/200)) ([619184b](https://github.com/nuxt-community/auth-module/commit/619184b))
|
112 | * **docs:** typo [#224](https://github.com/nuxt-community/auth-module/issues/224) ([752f4ad](https://github.com/nuxt-community/auth-module/commit/752f4ad))
|
113 | * **docs:** update glossary read more title ([a53c38c](https://github.com/nuxt-community/auth-module/commit/a53c38c))
|
114 | * **middleware:** remove trailing slash from redirect paths ([#235](https://github.com/nuxt-community/auth-module/issues/235)) ([c401122](https://github.com/nuxt-community/auth-module/commit/c401122))
|
115 |
|
116 |
|
117 |
|
118 | <a name="4.5.1"></a>
|
119 | ## [4.5.1](https://github.com/nuxt-community/auth-module/compare/v4.5.0...v4.5.1) (2018-05-21)
|
120 |
|
121 |
|
122 | ### Bug Fixes
|
123 |
|
124 | * **module:** allow watchLoggedIn ([471d59f](https://github.com/nuxt-community/auth-module/commit/471d59f))
|
125 |
|
126 |
|
127 |
|
128 | <a name="4.5.0"></a>
|
129 | # [4.5.0](https://github.com/nuxt-community/auth-module/compare/v4.4.0...v4.5.0) (2018-05-21)
|
130 |
|
131 |
|
132 | ### Bug Fixes
|
133 |
|
134 | * **auth:** start watching loggedIn state after current strategy is fully mounted ([#80](https://github.com/nuxt-community/auth-module/issues/80)) ([2497cc0](https://github.com/nuxt-community/auth-module/commit/2497cc0))
|
135 | * **docs:** add comma following _scheme value ([#189](https://github.com/nuxt-community/auth-module/issues/189)) ([d993e01](https://github.com/nuxt-community/auth-module/commit/d993e01))
|
136 |
|
137 | ### Features
|
138 |
|
139 | * add watchLoggedIn option to optionally disable it ([#80](https://github.com/nuxt-community/auth-module/issues/80)) ([16a7904](https://github.com/nuxt-community/auth-module/commit/16a7904))
|
140 |
|
141 |
|
142 |
|
143 | <a name="4.4.0"></a>
|
144 | # [4.4.0](https://github.com/nuxt-community/auth-module/compare/v4.3.0...v4.4.0) (2018-05-18)
|
145 |
|
146 |
|
147 | ### Bug Fixes
|
148 |
|
149 | * **storage:** use false value for unsetting token/user ([#160](https://github.com/nuxt-community/auth-module/issues/160)) ([0450b57](https://github.com/nuxt-community/auth-module/commit/0450b57)), closes [nuxt-community/auth-module#133](https://github.com/nuxt-community/auth-module/issues/133)
|
150 |
|
151 |
|
152 | ### Features
|
153 |
|
154 | * **oauth2:** set axios token ([#175](https://github.com/nuxt-community/auth-module/issues/175)) ([6206803](https://github.com/nuxt-community/auth-module/commit/6206803))
|
155 |
|
156 |
|
157 | ### Reverts
|
158 |
|
159 | * revert [#158](https://github.com/nuxt-community/auth-module/issues/158) due to conflicts ([2afe9ca](https://github.com/nuxt-community/auth-module/commit/2afe9ca))
|
160 |
|
161 |
|
162 |
|
163 | <a name="4.3.0"></a>
|
164 | # [4.3.0](https://github.com/nuxt-community/auth-module/compare/v4.2.1...v4.3.0) (2018-04-28)
|
165 |
|
166 |
|
167 | ### Bug Fixes
|
168 |
|
169 | * github provider ([#159](https://github.com/nuxt-community/auth-module/issues/159)) ([8b1819f](https://github.com/nuxt-community/auth-module/commit/8b1819f))
|
170 |
|
171 |
|
172 | ### Features
|
173 |
|
174 | * laravel passport provider ([#157](https://github.com/nuxt-community/auth-module/issues/157)) ([9b09459](https://github.com/nuxt-community/auth-module/commit/9b09459))
|
175 |
|
176 |
|
177 |
|
178 | <a name="4.2.1"></a>
|
179 | ## [4.2.1](https://github.com/nuxt-community/auth-module/compare/v4.2.0...v4.2.1) (2018-04-27)
|
180 |
|
181 |
|
182 | ### Bug Fixes
|
183 |
|
184 | * storage cookie get on client side ([#153](https://github.com/nuxt-community/auth-module/issues/153)) ([8275e60](https://github.com/nuxt-community/auth-module/commit/8275e60))
|
185 | * **watch loggedIn:** disable redirect on direct page loads ([#158](https://github.com/nuxt-community/auth-module/issues/158)) ([0386eb9](https://github.com/nuxt-community/auth-module/commit/0386eb9))
|
186 |
|
187 |
|
188 |
|
189 | <a name="4.2.0"></a>
|
190 | # [4.2.0](https://github.com/nuxt-community/auth-module/compare/v4.1.0...v4.2.0) (2018-04-20)
|
191 |
|
192 |
|
193 | ### Bug Fixes
|
194 |
|
195 | * add check for req object on getCookie ([#132](https://github.com/nuxt-community/auth-module/issues/132)) ([7d17f75](https://github.com/nuxt-community/auth-module/commit/7d17f75))
|
196 | * don't redirect callback to login when using 'auth' globally ([#131](https://github.com/nuxt-community/auth-module/issues/131)) ([08d86cb](https://github.com/nuxt-community/auth-module/commit/08d86cb))
|
197 | * **docs:** update redirect in options.md ([#146](https://github.com/nuxt-community/auth-module/issues/146)) ([19de22b](https://github.com/nuxt-community/auth-module/commit/19de22b))
|
198 | * fullPathRedirect with query support ([#149](https://github.com/nuxt-community/auth-module/issues/149)) ([a37d599](https://github.com/nuxt-community/auth-module/commit/a37d599))
|
199 | * logout locally before logging in. fixes [#136](https://github.com/nuxt-community/auth-module/issues/136). ([#151](https://github.com/nuxt-community/auth-module/issues/151)) ([b6cfad4](https://github.com/nuxt-community/auth-module/commit/b6cfad4))
|
200 |
|
201 |
|
202 | ### Features
|
203 |
|
204 | * **oauth2:** support authorization code grant and refresh token ([#145](https://github.com/nuxt-community/auth-module/issues/145)) ([18ecca5](https://github.com/nuxt-community/auth-module/commit/18ecca5))
|
205 | * add support for custom token key in request header ([#152](https://github.com/nuxt-community/auth-module/issues/152)) ([f7576e3](https://github.com/nuxt-community/auth-module/commit/f7576e3))
|
206 |
|
207 |
|
208 |
|
209 | <a name="4.1.0"></a>
|
210 | # [4.1.0](https://github.com/nuxt-community/auth-module/compare/v4.0.1...v4.1.0) (2018-04-09)
|
211 |
|
212 |
|
213 | ### Features
|
214 |
|
215 | * **scheme/oauth2:** add option to use IdToken instead of AccessToken ([#121](https://github.com/nuxt-community/auth-module/issues/121)) ([554a042](https://github.com/nuxt-community/auth-module/commit/554a042))
|
216 | * add support for logging out without an API endpoint ([#124](https://github.com/nuxt-community/auth-module/issues/124)) ([6189c6d](https://github.com/nuxt-community/auth-module/commit/6189c6d))
|
217 |
|
218 |
|
219 |
|
220 | <a name="4.0.1"></a>
|
221 | ## [4.0.1](https://github.com/nuxt-community/auth-module/compare/v4.0.0...v4.0.1) (2018-04-03)
|
222 |
|
223 |
|
224 | ### Bug Fixes
|
225 |
|
226 | * **local-scheme-token:** avoid token type duplicata on Axios requests ([3908563](https://github.com/nuxt-community/auth-module/commit/3908563))
|
227 | * **local-scheme-token:** removed token type from axios setToken ([c64e7f1](https://github.com/nuxt-community/auth-module/commit/c64e7f1)), closes [#113](https://github.com/nuxt-community/auth-module/issues/113)
|
228 | * **scheme-resolution:** fix problem with backslashes in path to schemes on windows ([77161b8](https://github.com/nuxt-community/auth-module/commit/77161b8))
|
229 | * no token exception when tokenRequired is set to false ([#118](https://github.com/nuxt-community/auth-module/issues/118)) ([56265a7](https://github.com/nuxt-community/auth-module/commit/56265a7))
|
230 |
|
231 |
|
232 |
|
233 | <a name="4.0.0"></a>
|
234 | # [4.0.0](https://github.com/nuxt-community/auth-module/compare/v4.0.0-rc.3...v4.0.0) (2018-04-02)
|
235 |
|
236 |
|
237 | ### Bug Fixes
|
238 |
|
239 | * clear axios token after logout ([#84](https://github.com/nuxt-community/auth-module/issues/84)) ([be65f09](https://github.com/nuxt-community/auth-module/commit/be65f09))
|
240 | * Typo in README.md ([1ec0882](https://github.com/nuxt-community/auth-module/commit/1ec0882))
|
241 | * use getToken ([bec8518](https://github.com/nuxt-community/auth-module/commit/bec8518))
|
242 | * wrong axios ordering in windows platform. ([#56](https://github.com/nuxt-community/auth-module/issues/56)) ([44db0d4](https://github.com/nuxt-community/auth-module/commit/44db0d4))
|
243 | * **auth:** return promise reject on request error ([f2883c6](https://github.com/nuxt-community/auth-module/commit/f2883c6))
|
244 | * **fetchUser:** fetchUser should only be called when enabled ([dd0638e](https://github.com/nuxt-community/auth-module/commit/dd0638e))
|
245 | * **fetchUser:** fetchUser should only be called when enabled ([#60](https://github.com/nuxt-community/auth-module/issues/60)) ([beb3121](https://github.com/nuxt-community/auth-module/commit/beb3121))
|
246 | * **module:** remove duplicate strategy options ([2e167f8](https://github.com/nuxt-community/auth-module/commit/2e167f8))
|
247 |
|
248 |
|
249 | ### Features
|
250 |
|
251 | * add auth0-js scheme ([c38a1e4](https://github.com/nuxt-community/auth-module/commit/c38a1e4))
|
252 | * **package:** add client-oauth2 ([e0efa60](https://github.com/nuxt-community/auth-module/commit/e0efa60))
|
253 | * **redirect:** add full path redirect option ([#96](https://github.com/nuxt-community/auth-module/issues/96)) ([ca8785f](https://github.com/nuxt-community/auth-module/commit/ca8785f))
|
254 | * allow extending auth with plugins ([#98](https://github.com/nuxt-community/auth-module/issues/98)) ([3712a60](https://github.com/nuxt-community/auth-module/commit/3712a60))
|
255 | * allow providers params to be overloaded from nuxt.config.js ([#77](https://github.com/nuxt-community/auth-module/issues/77)) ([8542959](https://github.com/nuxt-community/auth-module/commit/8542959))
|
256 | * handle invalid strategy ([f079ae2](https://github.com/nuxt-community/auth-module/commit/f079ae2))
|
257 | * loginWith function ([2aed448](https://github.com/nuxt-community/auth-module/commit/2aed448))
|
258 | * **test:** add custom _provider and _scheme for basic fixture ([7423e77](https://github.com/nuxt-community/auth-module/commit/7423e77))
|
259 | * use consola for cli messages ([1db2b2e](https://github.com/nuxt-community/auth-module/commit/1db2b2e))
|
260 | * user and loggedIn shortcuts ([13a5eec](https://github.com/nuxt-community/auth-module/commit/13a5eec))
|
261 |
|
262 |
|
263 | ### Performance Improvements
|
264 |
|
265 | * **module:** optimize plugin ([b7998c6](https://github.com/nuxt-community/auth-module/commit/b7998c6))
|
266 |
|
267 |
|
268 |
|
269 | <a name="4.0.0-rc.3"></a>
|
270 | # [4.0.0-rc.3](https://github.com/nuxt-community/auth-module/compare/v4.0.0-rc.2...v4.0.0-rc.3) (2018-02-04)
|
271 |
|
272 |
|
273 | ### Bug Fixes
|
274 |
|
275 | * fix scope checks during logout ([e2ebd97](https://github.com/nuxt-community/auth-module/commit/e2ebd97))
|
276 |
|
277 |
|
278 | ### Features
|
279 |
|
280 | * refactor init logic to $auth.init and improve error handling ([b58ca17](https://github.com/nuxt-community/auth-module/commit/b58ca17))
|
281 |
|
282 |
|
283 |
|
284 | <a name="4.0.0-rc.2"></a>
|
285 | # [4.0.0-rc.2](https://github.com/nuxt-community/auth-module/compare/v4.0.0-rc.1...v4.0.0-rc.2) (2018-02-03)
|
286 |
|
287 |
|
288 | ### Bug Fixes
|
289 |
|
290 | * **Auth:** register vuex store before all watchers ([006650f](https://github.com/nuxt-community/auth-module/commit/006650f))
|
291 |
|
292 |
|
293 |
|
294 | <a name="4.0.0-rc.1"></a>
|
295 | # [4.0.0-rc.1](https://github.com/nuxt-community/auth-module/compare/v4.0.0-rc.0...v4.0.0-rc.1) (2018-02-03)
|
296 |
|
297 |
|
298 | ### Bug Fixes
|
299 |
|
300 | * **deps:** update dependencies ([5d6cb8a](https://github.com/nuxt-community/auth-module/commit/5d6cb8a))
|
301 | * **watcher:** close [#52](https://github.com/nuxt-community/auth-module/issues/52) and undefined bug ([2a03f2f](https://github.com/nuxt-community/auth-module/commit/2a03f2f))
|
302 |
|
303 |
|
304 | ### Features
|
305 |
|
306 | * watchState and watchLoggedIn ([b628455](https://github.com/nuxt-community/auth-module/commit/b628455)), closes [#52](https://github.com/nuxt-community/auth-module/issues/52)
|
307 |
|
308 |
|
309 |
|
310 | <a name="4.0.0-rc.0"></a>
|
311 | # [4.0.0-rc.0](https://github.com/nuxt-community/auth-module/compare/v3.4.1...v4.0.0-rc.0) (2018-02-02)
|
312 |
|
313 |
|
314 | ### Bug Fixes
|
315 |
|
316 | * guard check ([cf013a0](https://github.com/nuxt-community/auth-module/commit/cf013a0))
|
317 | * prevent middleware infinite loops ([6ec1b34](https://github.com/nuxt-community/auth-module/commit/6ec1b34))
|
318 | * ssr and code reduction ([952700c](https://github.com/nuxt-community/auth-module/commit/952700c))
|
319 | * typo in lodash template ([eac33d2](https://github.com/nuxt-community/auth-module/commit/eac33d2))
|
320 |
|
321 |
|
322 | ### Features
|
323 |
|
324 | * $auth.hasScope ([6d6c7b3](https://github.com/nuxt-community/auth-module/commit/6d6c7b3))
|
325 | * $auth.onError ([151868a](https://github.com/nuxt-community/auth-module/commit/151868a))
|
326 | * allow `token` to be a nested object in the response ([#45](https://github.com/nuxt-community/auth-module/issues/45)) ([8064839](https://github.com/nuxt-community/auth-module/commit/8064839))
|
327 | * handle endpoints.propertyName ([710561b](https://github.com/nuxt-community/auth-module/commit/710561b)), closes [#46](https://github.com/nuxt-community/auth-module/issues/46)
|
328 | * rewriteRedirects ([dde409a](https://github.com/nuxt-community/auth-module/commit/dde409a))
|
329 | * update defaults to axios 5.x ([10157aa](https://github.com/nuxt-community/auth-module/commit/10157aa))
|
330 | * use new Auth class ([d4da740](https://github.com/nuxt-community/auth-module/commit/d4da740))
|
331 |
|
332 |
|
333 | ### Performance Improvements
|
334 |
|
335 | * improve cookie handling ([c50e68f](https://github.com/nuxt-community/auth-module/commit/c50e68f))
|
336 |
|
337 |
|
338 | ### BREAKING CHANGES
|
339 |
|
340 | * Lot's of API and Usage changes
|
341 |
|
342 |
|
343 |
|
344 | <a name="3.4.1"></a>
|
345 | ## [3.4.1](https://github.com/nuxt-community/auth-module/compare/v3.4.0...v3.4.1) (2017-12-29)
|
346 |
|
347 |
|
348 | ### Bug Fixes
|
349 |
|
350 | * rc11 backward compatibility ([c0222e9](https://github.com/nuxt-community/auth-module/commit/c0222e9))
|
351 |
|
352 |
|
353 |
|
354 | <a name="3.4.0"></a>
|
355 | # [3.4.0](https://github.com/nuxt-community/auth-module/compare/v3.3.0...v3.4.0) (2017-12-29)
|
356 |
|
357 |
|
358 | ### Bug Fixes
|
359 |
|
360 | * **store:** return promise in all actions ([1a9a76e](https://github.com/nuxt-community/auth-module/commit/1a9a76e))
|
361 |
|
362 |
|
363 | ### Features
|
364 |
|
365 | * improve compatibility for nuxt 1.0.0 ([7740dec](https://github.com/nuxt-community/auth-module/commit/7740dec))
|
366 |
|
367 |
|
368 |
|
369 | <a name="3.3.0"></a>
|
370 | # [3.3.0](https://github.com/nuxt-community/auth-module/compare/v3.2.1...v3.3.0) (2017-12-28)
|
371 |
|
372 |
|
373 | ### Features
|
374 |
|
375 | * add fetchUser option ([#27](https://github.com/nuxt-community/auth-module/issues/27)) ([1b8856c](https://github.com/nuxt-community/auth-module/commit/1b8856c))
|
376 | * allow customizing http method for user endpoint ([#28](https://github.com/nuxt-community/auth-module/issues/28)) ([994152b](https://github.com/nuxt-community/auth-module/commit/994152b))
|
377 | * more compatibility for nuxt@next ([d50be11](https://github.com/nuxt-community/auth-module/commit/d50be11))
|
378 |
|
379 |
|
380 |
|
381 | <a name="3.2.1"></a>
|
382 | ## [3.2.1](https://github.com/nuxt-community/auth-module/compare/v3.2.0...v3.2.1) (2017-12-20)
|
383 |
|
384 |
|
385 |
|
386 | <a name="3.2.0"></a>
|
387 | # [3.2.0](https://github.com/nuxt-community/auth-module/compare/v3.1.1...v3.2.0) (2017-11-18)
|
388 |
|
389 |
|
390 | ### Bug Fixes
|
391 |
|
392 | * **store:** skip only if token is not set. resolves [#20](https://github.com/nuxt-community/auth-module/issues/20). ([23b12d5](https://github.com/nuxt-community/auth-module/commit/23b12d5))
|
393 |
|
394 |
|
395 | ### Features
|
396 |
|
397 | * **store:** resetOnFail option ([55e2397](https://github.com/nuxt-community/auth-module/commit/55e2397))
|
398 |
|
399 |
|
400 |
|
401 | <a name="3.1.1"></a>
|
402 | ## [3.1.1](https://github.com/nuxt-community/auth-module/compare/v3.1.0...v3.1.1) (2017-11-17)
|
403 |
|
404 |
|
405 | ### Bug Fixes
|
406 |
|
407 | * **store:** better check for loggedIn ([37f22fe](https://github.com/nuxt-community/auth-module/commit/37f22fe))
|
408 |
|
409 |
|
410 |
|
411 | <a name="3.1.0"></a>
|
412 | # [3.1.0](https://github.com/nuxt-community/auth-module/compare/v3.0.1...v3.1.0) (2017-11-15)
|
413 |
|
414 |
|
415 | ### Features
|
416 |
|
417 | * **store:** let LocalStorage to be optional ([#18](https://github.com/nuxt-community/auth-module/issues/18), [@epartipilo](https://github.com/epartipilo)) ([b4086a0](https://github.com/nuxt-community/auth-module/commit/b4086a0))
|
418 | * improve token options ([2a2c4c2](https://github.com/nuxt-community/auth-module/commit/2a2c4c2))
|
419 |
|
420 |
|
421 |
|
422 | <a name="3.0.1"></a>
|
423 | ## [3.0.1](https://github.com/nuxt-community/auth-module/compare/v3.0.0...v3.0.1) (2017-11-12)
|
424 |
|
425 |
|
426 | ### Bug Fixes
|
427 |
|
428 | * **middleware:** redirects ([77bd1e4](https://github.com/nuxt-community/auth-module/commit/77bd1e4))
|
429 |
|
430 |
|
431 |
|
432 | <a name="3.0.0"></a>
|
433 | # [3.0.0](https://github.com/nuxt-community/auth-module/compare/v2.0.7...v3.0.0) (2017-11-10)
|
434 |
|
435 |
|
436 | ### Features
|
437 |
|
438 | * improve auth store ([499c28a](https://github.com/nuxt-community/auth-module/commit/499c28a))
|
439 | * improvements ([#11](https://github.com/nuxt-community/auth-module/issues/11)) ([5d870c2](https://github.com/nuxt-community/auth-module/commit/5d870c2))
|
440 |
|
441 |
|
442 | ### Performance Improvements
|
443 |
|
444 | * import only needed lodash functions ([#14](https://github.com/nuxt-community/auth-module/issues/14), [@leahci](https://github.com/leahci)Mic) ([fc6ae68](https://github.com/nuxt-community/auth-module/commit/fc6ae68))
|
445 |
|
446 |
|
447 | ### BREAKING CHANGES
|
448 |
|
449 | * Some options changed and/or simplified
|
450 |
|
451 |
|
452 |
|
453 | <a name="2.0.7"></a>
|
454 | ## [2.0.7](https://github.com/nuxt-community/auth-module/compare/v2.0.6...v2.0.7) (2017-10-19)
|
455 |
|
456 |
|
457 |
|
458 | <a name="2.0.6"></a>
|
459 | ## [2.0.6](https://github.com/nuxt-community/auth-module/compare/v2.0.5...v2.0.6) (2017-10-19)
|
460 |
|
461 |
|
462 |
|
463 | <a name="2.0.5"></a>
|
464 | ## [2.0.5](https://github.com/nuxt-community/auth-module/compare/v2.0.4...v2.0.5) (2017-09-06)
|
465 |
|
466 |
|
467 | ### Bug Fixes
|
468 |
|
469 | * warn only needed ([a9dbe04](https://github.com/nuxt-community/auth-module/commit/a9dbe04))
|
470 |
|
471 |
|
472 |
|
473 | <a name="2.0.4"></a>
|
474 | ## [2.0.4](https://github.com/nuxt-community/auth-module/compare/v2.0.3...v2.0.4) (2017-09-05)
|
475 |
|
476 |
|
477 | ### Bug Fixes
|
478 |
|
479 | * warn when axios module is not registered ([6ace50b](https://github.com/nuxt-community/auth-module/commit/6ace50b))
|
480 |
|
481 |
|
482 |
|
483 | <a name="2.0.3"></a>
|
484 | ## [2.0.3](https://github.com/nuxt-community/auth-module/compare/v2.0.2...v2.0.3) (2017-09-04)
|
485 |
|
486 |
|
487 | ### Bug Fixes
|
488 |
|
489 | * **package:** publish templates ([eb1706a](https://github.com/nuxt-community/auth-module/commit/eb1706a))
|
490 |
|
491 |
|
492 |
|
493 | <a name="2.0.2"></a>
|
494 | ## [2.0.2](https://github.com/nuxt-community/auth-module/compare/v2.0.1...v2.0.2) (2017-09-04)
|
495 |
|
496 |
|
497 |
|
498 | <a name="2.0.1"></a>
|
499 | ## [2.0.1](https://github.com/nuxt-community/auth-module/compare/v0.0.1...v2.0.1) (2017-09-04)
|
500 |
|
501 |
|
502 |
|
503 | <a name="0.0.1"></a>
|
504 | ## 0.0.1 (2017-09-04)
|