1 | ### [6.22.3](https://github.com/nuxt-community/i18n-module/compare/v6.22.2...v6.22.3) (2021-03-30)
|
2 |
|
3 |
|
4 | ### Bug Fixes
|
5 |
|
6 | * **lazy:** message function not working when using lazy loading ([#1125](https://github.com/nuxt-community/i18n-module/issues/1125)) ([68b580e](https://github.com/nuxt-community/i18n-module/commit/68b580e2690d07c5b4383ea8ca53acab24304e14)), closes [#1124](https://github.com/nuxt-community/i18n-module/issues/1124)
|
7 |
|
8 | ### [6.22.2](https://github.com/nuxt-community/i18n-module/compare/v6.22.1...v6.22.2) (2021-03-26)
|
9 |
|
10 |
|
11 | ### Bug Fixes
|
12 |
|
13 | * crash registering the vue-i18n-loader in old Node versions ([43022c4](https://github.com/nuxt-community/i18n-module/commit/43022c46a107c71d5ddc1bb3f0b93c63ac47853e))
|
14 |
|
15 | ### [6.22.1](https://github.com/nuxt-community/i18n-module/compare/v6.22.0...v6.22.1) (2021-03-25)
|
16 |
|
17 |
|
18 | ### Bug Fixes
|
19 |
|
20 | * move lodash.merge to dependencies ([b3f3f43](https://github.com/nuxt-community/i18n-module/commit/b3f3f436e46d59f928c80d479be83e5c68e7d7dc))
|
21 |
|
22 | ## [6.22.0](https://github.com/nuxt-community/i18n-module/compare/v6.21.1...v6.22.0) (2021-03-24)
|
23 |
|
24 |
|
25 | ### Features
|
26 |
|
27 | * add i18n APIs to Nuxt Context ([#1120](https://github.com/nuxt-community/i18n-module/issues/1120)) ([394ec7d](https://github.com/nuxt-community/i18n-module/commit/394ec7d72d06a1d649d6b8d39868bc2d323580f2)), closes [#1112](https://github.com/nuxt-community/i18n-module/issues/1112)
|
28 |
|
29 |
|
30 | ### Bug Fixes
|
31 |
|
32 | * router base not considered on redirecting in static mode ([#1119](https://github.com/nuxt-community/i18n-module/issues/1119)) ([75b7c6e](https://github.com/nuxt-community/i18n-module/commit/75b7c6ea4ca96e2d5935344871efc8166ad1d0f0)), closes [#1060](https://github.com/nuxt-community/i18n-module/issues/1060)
|
33 |
|
34 | ### [6.21.1](https://github.com/nuxt-community/i18n-module/compare/v6.21.0...v6.21.1) (2021-03-15)
|
35 |
|
36 |
|
37 | ### Bug Fixes
|
38 |
|
39 | * only replace ".js" at the end of the resolved klona path ([#1110](https://github.com/nuxt-community/i18n-module/issues/1110)) ([204d77d](https://github.com/nuxt-community/i18n-module/commit/204d77d4e8b07b007fd2bba2cda3914818ac53d2)), closes [#1109](https://github.com/nuxt-community/i18n-module/issues/1109)
|
40 | * page not updated on changing lazy locale files (dev mode) ([#1104](https://github.com/nuxt-community/i18n-module/issues/1104)) ([e1ff096](https://github.com/nuxt-community/i18n-module/commit/e1ff096846c7e7ad42e1ba503d9059a1b305a1da)), closes [#905](https://github.com/nuxt-community/i18n-module/issues/905)
|
41 |
|
42 | ## [6.21.0](https://github.com/nuxt-community/i18n-module/compare/v6.20.6...v6.21.0) (2021-03-10)
|
43 |
|
44 |
|
45 | ### Features
|
46 |
|
47 | * **vuex:** expose nuxt-i18n API on store ([#1098](https://github.com/nuxt-community/i18n-module/issues/1098)) ([3ea3d4d](https://github.com/nuxt-community/i18n-module/commit/3ea3d4d4a539a1e60588d807a0be8990c7342892)), closes [#1031](https://github.com/nuxt-community/i18n-module/issues/1031)
|
48 |
|
49 |
|
50 | ### Bug Fixes
|
51 |
|
52 | * localePath/localeRoute missing query params ([#1103](https://github.com/nuxt-community/i18n-module/issues/1103)) ([0a95790](https://github.com/nuxt-community/i18n-module/commit/0a957902059bab94f2b6747de3bf63e3ff4a6e10))
|
53 |
|
54 | ### [6.20.6](https://github.com/nuxt-community/i18n-module/compare/v6.20.5...v6.20.6) (2021-03-08)
|
55 |
|
56 |
|
57 | ### Bug Fixes
|
58 |
|
59 | * ensure langDir is escaped on Windows ([#1097](https://github.com/nuxt-community/i18n-module/issues/1097)) ([a0a3adc](https://github.com/nuxt-community/i18n-module/commit/a0a3adc13bb16d4ec4ffcdd94e24b318f8e9bbad))
|
60 |
|
61 | ### [6.20.5](https://github.com/nuxt-community/i18n-module/compare/v6.20.4...v6.20.5) (2021-03-08)
|
62 |
|
63 |
|
64 | ### Bug Fixes
|
65 |
|
66 | * don't apply any locale-logic to non-existent routes ([#1093](https://github.com/nuxt-community/i18n-module/issues/1093)) ([7180412](https://github.com/nuxt-community/i18n-module/commit/71804129dcf1dd9882cfbddeee33b3253a107b4d)), closes [#1092](https://github.com/nuxt-community/i18n-module/issues/1092)
|
67 | * recursive clone triggered when "locales" object made reactive ([#1090](https://github.com/nuxt-community/i18n-module/issues/1090)) ([83c4398](https://github.com/nuxt-community/i18n-module/commit/83c4398e20d409ebf7ce5304452b9c6a22a6e1d1)), closes [#1075](https://github.com/nuxt-community/i18n-module/issues/1075)
|
68 | * support localePath with path input and customized routes ([#1088](https://github.com/nuxt-community/i18n-module/issues/1088)) ([4043968](https://github.com/nuxt-community/i18n-module/commit/4043968c1f57b7dd3e0bd3a9aaa24648f1060007))
|
69 | * **docs:** adjusted example code in documentation to call the right context ([#1087](https://github.com/nuxt-community/i18n-module/issues/1087)) ([7b8f77d](https://github.com/nuxt-community/i18n-module/commit/7b8f77dd556335d5bf9c6c5a82b432490a5dcf71))
|
70 |
|
71 | ### [6.20.4](https://github.com/nuxt-community/i18n-module/compare/v6.20.3...v6.20.4) (2021-03-01)
|
72 |
|
73 |
|
74 | ### Bug Fixes
|
75 |
|
76 | * avoid using commonjs for runtime (vite support) ([3fc14ba](https://github.com/nuxt-community/i18n-module/commit/3fc14ba255f0791d5a8f13edd23a301e56665dca))
|
77 | * use mjs version of klona ([#1079](https://github.com/nuxt-community/i18n-module/issues/1079)) ([bb0445d](https://github.com/nuxt-community/i18n-module/commit/bb0445db55403cc6e13b60df87d05a242d2e5463))
|
78 |
|
79 | ### [6.20.3](https://github.com/nuxt-community/i18n-module/compare/v6.20.2...v6.20.3) (2021-02-24)
|
80 |
|
81 |
|
82 | ### Bug Fixes
|
83 |
|
84 | * **lazy:** allow extensions yml/yaml when loading lazy locales ([01f92ae](https://github.com/nuxt-community/i18n-module/commit/01f92ae72ba2a37cda2be119f618751ab7dbf20b))
|
85 |
|
86 | ### [6.20.2](https://github.com/nuxt-community/i18n-module/compare/v6.20.1...v6.20.2) (2021-02-19)
|
87 |
|
88 |
|
89 | ### Bug Fixes
|
90 |
|
91 | * **lazy:** only process lang files with js, ts and json extensions ([#1070](https://github.com/nuxt-community/i18n-module/issues/1070)) ([1cf1ac2](https://github.com/nuxt-community/i18n-module/commit/1cf1ac2d031b924b4d2b82113f7580cfa18f7efa)), closes [#1068](https://github.com/nuxt-community/i18n-module/issues/1068)
|
92 |
|
93 | ### [6.20.1](https://github.com/nuxt-community/i18n-module/compare/v6.20.0...v6.20.1) (2021-02-15)
|
94 |
|
95 |
|
96 | ### Bug Fixes
|
97 |
|
98 | * compatibility issue with Nuxt 2.15.0 ([9d276d7](https://github.com/nuxt-community/i18n-module/commit/9d276d7943ada9f96cf27d870b0072fae83e9c33)), closes [#1063](https://github.com/nuxt-community/i18n-module/issues/1063)
|
99 | * **docs:** missing semicolon in Locales option example ([#1056](https://github.com/nuxt-community/i18n-module/issues/1056)) ([e9f2a6a](https://github.com/nuxt-community/i18n-module/commit/e9f2a6a4e07d89bdb4212f43bf2062e0186c8041))
|
100 |
|
101 | ## [6.20.0](https://github.com/nuxt-community/i18n-module/compare/v6.19.0...v6.20.0) (2021-02-03)
|
102 |
|
103 |
|
104 | ### Features
|
105 |
|
106 | * API for handling locale change during page transitions ([#963](https://github.com/nuxt-community/i18n-module/issues/963)) ([23b9cc4](https://github.com/nuxt-community/i18n-module/commit/23b9cc4b9b831c91248f840ff1b9229824ed7268))
|
107 |
|
108 | ## [6.19.0](https://github.com/nuxt-community/i18n-module/compare/v6.18.0...v6.19.0) (2021-02-01)
|
109 |
|
110 |
|
111 | ### Features
|
112 |
|
113 | * add dir property and defaultDirection option ([#1023](https://github.com/nuxt-community/i18n-module/issues/1023)) ([3b3dcc6](https://github.com/nuxt-community/i18n-module/commit/3b3dcc6ba418ce6250498225873da3a063c8321c))
|
114 |
|
115 |
|
116 | ### Bug Fixes
|
117 |
|
118 | * invalid canonical SEO link with differentDomains ([#1049](https://github.com/nuxt-community/i18n-module/issues/1049)) ([d05317b](https://github.com/nuxt-community/i18n-module/commit/d05317be2eb26a211f1783c35a966b9d779feeb8))
|
119 | * **deps:** update all non-major dependencies ([#1048](https://github.com/nuxt-community/i18n-module/issues/1048)) ([8f4cef5](https://github.com/nuxt-community/i18n-module/commit/8f4cef5d5335138e638e2c58b75ab77602f25c65))
|
120 | * localeProperties undefined when <i18n> component used ([#1043](https://github.com/nuxt-community/i18n-module/issues/1043)) ([ff56a35](https://github.com/nuxt-community/i18n-module/commit/ff56a35a052487b17632e5ad6f08bf588f94f966))
|
121 |
|
122 | ## [6.18.0](https://github.com/nuxt-community/i18n-module/compare/v6.17.0...v6.18.0) (2021-01-13)
|
123 |
|
124 |
|
125 | ### Features
|
126 |
|
127 | * expose API for detecting browser locale ([#1022](https://github.com/nuxt-community/i18n-module/issues/1022)) ([ac75635](https://github.com/nuxt-community/i18n-module/commit/ac75635d963104498e876040b111dd8d16fef6d3)), closes [#1018](https://github.com/nuxt-community/i18n-module/issues/1018)
|
128 | * expose localeProperties property ([#1016](https://github.com/nuxt-community/i18n-module/issues/1016)) ([a9457a0](https://github.com/nuxt-community/i18n-module/commit/a9457a02177e230ec4529a96b97b3aa2993b9ec2)), closes [#916](https://github.com/nuxt-community/i18n-module/issues/916)
|
129 |
|
130 | ## [6.17.0](https://github.com/nuxt-community/i18n-module/compare/v6.16.0...v6.17.0) (2021-01-05)
|
131 |
|
132 |
|
133 | ### Features
|
134 |
|
135 | * **fallbackLocale:** support vue-i18n decision map fallback ([#992](https://github.com/nuxt-community/i18n-module/issues/992)) ([b4c6cfd](https://github.com/nuxt-community/i18n-module/commit/b4c6cfd9968562c35c6e6a1b0e6805efb6945d47))
|
136 |
|
137 |
|
138 | ### Bug Fixes
|
139 |
|
140 | * use local klona dependency from the plugin ([#1008](https://github.com/nuxt-community/i18n-module/issues/1008)) ([42c3cd5](https://github.com/nuxt-community/i18n-module/commit/42c3cd5595e4fcc06866c373a1a430e6f1b337c6)), closes [#1004](https://github.com/nuxt-community/i18n-module/issues/1004)
|
141 | * **deps:** update dependency is-https to v3 ([#997](https://github.com/nuxt-community/i18n-module/issues/997)) ([cd377b4](https://github.com/nuxt-community/i18n-module/commit/cd377b49441465de3283e68b253e984077d24ac3))
|
142 |
|
143 | ## [6.16.0](https://github.com/nuxt-community/i18n-module/compare/v6.15.4...v6.16.0) (2020-12-09)
|
144 |
|
145 |
|
146 | ### Features
|
147 |
|
148 | * "onlyOnNoPrefix" - detect browser locale when no prefix ([#896](https://github.com/nuxt-community/i18n-module/issues/896)) ([15f0a44](https://github.com/nuxt-community/i18n-module/commit/15f0a4444b22ff99c5d07814e8d30a3e68a73720))
|
149 |
|
150 |
|
151 | ### Bug Fixes
|
152 |
|
153 | * **detectBrowserLanguage:** use ISO code if available ([#965](https://github.com/nuxt-community/i18n-module/issues/965)) ([1e39a3b](https://github.com/nuxt-community/i18n-module/commit/1e39a3bf43010d05f5d52a3b046020ccfb23d7cc)), closes [#979](https://github.com/nuxt-community/i18n-module/issues/979) [#499](https://github.com/nuxt-community/i18n-module/issues/499)
|
154 | * **docs:** add defaultLocale to examples ([#955](https://github.com/nuxt-community/i18n-module/issues/955)) ([4b69c6c](https://github.com/nuxt-community/i18n-module/commit/4b69c6c72fe7217ede1d687fa7f4a0fbcc04285c))
|
155 | * **docs:** add missing parenthesis ([#941](https://github.com/nuxt-community/i18n-module/issues/941)) ([4ecdee1](https://github.com/nuxt-community/i18n-module/commit/4ecdee1cadd9c46a19bf932e1f7a933728b45282))
|
156 | * **docs:** clarify the type of the "vueI18n" option ([c9be559](https://github.com/nuxt-community/i18n-module/commit/c9be559b0e2560641d41fa0d3ca40e4f3b981cc7))
|
157 | * **docs:** fix some links in the documentation ([1249226](https://github.com/nuxt-community/i18n-module/commit/12492263ce923f3fb8aa97c7b8a8fdf9affef860))
|
158 | * **docs:** fix some more links in the documentation ([abbf212](https://github.com/nuxt-community/i18n-module/commit/abbf212f1694d1fb295a6386bd7001315e442232))
|
159 | * **docs:** include "defaultLocale" in the example configuration ([#951](https://github.com/nuxt-community/i18n-module/issues/951)) ([6bacb3b](https://github.com/nuxt-community/i18n-module/commit/6bacb3b18f9cd15a6f4e60139f8f23106b39f218))
|
160 | * **docs:** remove unwanted characters ([bc9f76e](https://github.com/nuxt-community/i18n-module/commit/bc9f76e4bbc69f1be895a60704448a0a6519bbfe)), closes [#960](https://github.com/nuxt-community/i18n-module/issues/960)
|
161 | * **generate:** don't try to redirect route when static generating ([#989](https://github.com/nuxt-community/i18n-module/issues/989)) ([d5957d0](https://github.com/nuxt-community/i18n-module/commit/d5957d057c819049c9d73a526fb6752c428a67c6)), closes [#911](https://github.com/nuxt-community/i18n-module/issues/911)
|
162 | * **test:** fix test expectation for trailingSlash=true ([c9f2ef5](https://github.com/nuxt-community/i18n-module/commit/c9f2ef52a844990e0ffa373c7eae83873814d34d))
|
163 |
|
164 | ### [6.15.4](https://github.com/nuxt-community/i18n-module/compare/v6.15.3...v6.15.4) (2020-10-19)
|
165 |
|
166 |
|
167 | ### Bug Fixes
|
168 |
|
169 | * node-libs-browser being imported on the client ([#936](https://github.com/nuxt-community/i18n-module/issues/936)) ([7490ae9](https://github.com/nuxt-community/i18n-module/commit/7490ae9b742bd60d4f9f8f81f5b540491380c84f)), closes [#907](https://github.com/nuxt-community/i18n-module/issues/907) [#935](https://github.com/nuxt-community/i18n-module/issues/935)
|
170 |
|
171 | ### [6.15.3](https://github.com/nuxt-community/i18n-module/compare/v6.15.2...v6.15.3) (2020-10-14)
|
172 |
|
173 |
|
174 | ### Bug Fixes
|
175 |
|
176 | * don't use optional chaining for compatibility reasons ([#930](https://github.com/nuxt-community/i18n-module/issues/930)) ([2d96629](https://github.com/nuxt-community/i18n-module/commit/2d96629e71d36a0901ce0ef255d6e730338e0ede)), closes [#929](https://github.com/nuxt-community/i18n-module/issues/929)
|
177 |
|
178 | ### [6.15.2](https://github.com/nuxt-community/i18n-module/compare/v6.15.1...v6.15.2) (2020-10-13)
|
179 |
|
180 |
|
181 | ### Bug Fixes
|
182 |
|
183 | * **docs:** add warnings regarding no_prefix strategy ([#891](https://github.com/nuxt-community/i18n-module/issues/891)) ([bbcbad9](https://github.com/nuxt-community/i18n-module/commit/bbcbad96955b07d81168f61059cca7ebdb6995f6))
|
184 | * **seo:** don't include queries in canonical tag ([d09ad9e](https://github.com/nuxt-community/i18n-module/commit/d09ad9e6f521a1c193fdb05f1ed2f26289586847)), closes [#912](https://github.com/nuxt-community/i18n-module/issues/912)
|
185 | * **seo:** enable canonical tag for all strategies ([4ae4199](https://github.com/nuxt-community/i18n-module/commit/4ae41997017faa0e7900274f725eee010e523dae))
|
186 | * **seo:** enable self-referential canonical tags ([b62fd39](https://github.com/nuxt-community/i18n-module/commit/b62fd39718f1bde419897ca9348b058b637ca2a6))
|
187 | * add x-default hreflang tag for improved SEO ([#922](https://github.com/nuxt-community/i18n-module/issues/922)) ([b35bc57](https://github.com/nuxt-community/i18n-module/commit/b35bc579cb6431953e8473f4bd4fd5dbbed33426))
|
188 |
|
189 | ### [6.15.1](https://github.com/nuxt-community/i18n-module/compare/v6.15.0...v6.15.1) (2020-09-11)
|
190 |
|
191 |
|
192 | ### Bug Fixes
|
193 |
|
194 | * ("prefix" strategy) redirect from root doesn't respect cookie locale ([#890](https://github.com/nuxt-community/i18n-module/issues/890)) ([d3b09f5](https://github.com/nuxt-community/i18n-module/commit/d3b09f55252e6a436842500d0f04e8360c711291)), closes [#887](https://github.com/nuxt-community/i18n-module/issues/887)
|
195 | * add plugins from the main context to have consistent loading order ([#889](https://github.com/nuxt-community/i18n-module/issues/889)) ([1ec8814](https://github.com/nuxt-community/i18n-module/commit/1ec8814e5aaf5849153ac640eea3891caf9b5214)), closes [#874](https://github.com/nuxt-community/i18n-module/issues/874)
|
196 | * **docs:** refactor options documentation ([#888](https://github.com/nuxt-community/i18n-module/issues/888)) ([5f295be](https://github.com/nuxt-community/i18n-module/commit/5f295befc35156ca1c7d08ba3d737810b354e66b))
|
197 |
|
198 | ## [6.15.0](https://github.com/nuxt-community/i18n-module/compare/v6.14.2...v6.15.0) (2020-09-10)
|
199 |
|
200 |
|
201 | ### Features
|
202 |
|
203 | * add option to only detect browser locale on root path ([#799](https://github.com/nuxt-community/i18n-module/issues/799)) ([7bdb227](https://github.com/nuxt-community/i18n-module/commit/7bdb227dfb6c2c4ee1474f09add28dd8afc99764)), closes [#455](https://github.com/nuxt-community/i18n-module/issues/455) [#761](https://github.com/nuxt-community/i18n-module/issues/761)
|
204 |
|
205 |
|
206 | ### Bug Fixes
|
207 |
|
208 | * **differentDomains:** Match domain properly on client if port provided ([#832](https://github.com/nuxt-community/i18n-module/issues/832)) ([3a0bc88](https://github.com/nuxt-community/i18n-module/commit/3a0bc88e6acb5c08d1d0f5567bc9f9ce12db56d4))
|
209 |
|
210 | ### [6.14.2](https://github.com/nuxt-community/i18n-module/compare/v6.14.1...v6.14.2) (2020-09-08)
|
211 |
|
212 |
|
213 | ### Bug Fixes
|
214 |
|
215 | * fails at extending routes when followed by another module ([#884](https://github.com/nuxt-community/i18n-module/issues/884)) ([c0d136b](https://github.com/nuxt-community/i18n-module/commit/c0d136b83a4998926500ed90e34c4223f98034b9)), closes [#157](https://github.com/nuxt-community/i18n-module/issues/157)
|
216 |
|
217 | ### [6.14.1](https://github.com/nuxt-community/i18n-module/compare/v6.14.0...v6.14.1) (2020-09-08)
|
218 |
|
219 |
|
220 | ### Bug Fixes
|
221 |
|
222 | * remove postinstall script that breaks production ([56f8084](https://github.com/nuxt-community/i18n-module/commit/56f8084f44c80eb30c43684a0adf474162679245))
|
223 |
|
224 | ## [6.14.0](https://github.com/nuxt-community/i18n-module/compare/v6.13.12...v6.14.0) (2020-09-08)
|
225 |
|
226 |
|
227 | ### Features
|
228 |
|
229 | * add "cookieSecure" setting to set the Secure flag on the cookie ([#869](https://github.com/nuxt-community/i18n-module/issues/869)) ([0f2d762](https://github.com/nuxt-community/i18n-module/commit/0f2d7629d456400ef3d9a25e4bc9d871b6b1d128))
|
230 | * **docs:** migrate docs to Nuxt Content ([#864](https://github.com/nuxt-community/i18n-module/issues/864)) ([affb845](https://github.com/nuxt-community/i18n-module/commit/affb8450bacee2a58c6cd716dd3934b296ba60a5))
|
231 | * add setting to use cross-origin cookie for "detectBrowserLocale" ([#853](https://github.com/nuxt-community/i18n-module/issues/853)) ([e446676](https://github.com/nuxt-community/i18n-module/commit/e4466767d30d9b4ef2078a97f11354fbac5f2b03))
|
232 |
|
233 |
|
234 | ### Bug Fixes
|
235 |
|
236 | * only import build-time dependency at build time ([#875](https://github.com/nuxt-community/i18n-module/issues/875)) ([095cc78](https://github.com/nuxt-community/i18n-module/commit/095cc78ca46a075b979fd9f35a518b1d8a613969))
|
237 | * **deps:** pin dependencies ([#865](https://github.com/nuxt-community/i18n-module/issues/865)) ([d66545f](https://github.com/nuxt-community/i18n-module/commit/d66545f73b198f12095a852c02c3639d10629b53))
|
238 | * **docs:** fix various documentation links after migration ([19c516c](https://github.com/nuxt-community/i18n-module/commit/19c516c66b3e3f9a39af51b11591d965b945dc84))
|
239 | * **docs:** typo in Spanish accent mark ([#867](https://github.com/nuxt-community/i18n-module/issues/867)) ([4fadb8b](https://github.com/nuxt-community/i18n-module/commit/4fadb8b9f7bb03c954640038b03b32e355b732a6))
|
240 |
|
241 | ### [6.13.12](https://github.com/nuxt-community/i18n-module/compare/v6.13.11...v6.13.12) (2020-08-22)
|
242 |
|
243 |
|
244 | ### Bug Fixes
|
245 |
|
246 | * force-transpile deepcopy dependency to fix IE11 ([#861](https://github.com/nuxt-community/i18n-module/issues/861)) ([9b9fec5](https://github.com/nuxt-community/i18n-module/commit/9b9fec5f6e47392a8cf0b80cf3b635d2c5d9aa0a)), closes [#860](https://github.com/nuxt-community/i18n-module/issues/860)
|
247 |
|
248 | ### [6.13.11](https://github.com/nuxt-community/i18n-module/compare/v6.13.10...v6.13.11) (2020-08-21)
|
249 |
|
250 |
|
251 | ### Bug Fixes
|
252 |
|
253 | * **lazy:** null-check nuxtState as it might not exist in SPA ([#859](https://github.com/nuxt-community/i18n-module/issues/859)) ([6763390](https://github.com/nuxt-community/i18n-module/commit/676339076c3dad802dbf966863c52bae75f3c63b)), closes [#858](https://github.com/nuxt-community/i18n-module/issues/858)
|
254 |
|
255 | ### [6.13.10](https://github.com/nuxt-community/i18n-module/compare/v6.13.9...v6.13.10) (2020-08-18)
|
256 |
|
257 |
|
258 | ### Bug Fixes
|
259 |
|
260 | * **routes:** fix routes being generated after other modules ([#851](https://github.com/nuxt-community/i18n-module/issues/851)) ([b453191](https://github.com/nuxt-community/i18n-module/commit/b45319182d07c471ef871d0a59cdb952ccff5803)), closes [#850](https://github.com/nuxt-community/i18n-module/issues/850)
|
261 | * **types:** add types for app.localePath and co. ([#849](https://github.com/nuxt-community/i18n-module/issues/849)) ([dfd6d76](https://github.com/nuxt-community/i18n-module/commit/dfd6d76d3082e28ed42040df218e0b71b93eb590))
|
262 |
|
263 | ### [6.13.9](https://github.com/nuxt-community/i18n-module/compare/v6.13.8...v6.13.9) (2020-08-15)
|
264 |
|
265 |
|
266 | ### Bug Fixes
|
267 |
|
268 | * **lazy:** failure to load locales on SPA navigation to default locale ([#846](https://github.com/nuxt-community/i18n-module/issues/846)) ([c2aafd6](https://github.com/nuxt-community/i18n-module/commit/c2aafd63601675a2745e2fe2c052ccb1cc6e2802)), closes [#843](https://github.com/nuxt-community/i18n-module/issues/843)
|
269 |
|
270 | ### [6.13.8](https://github.com/nuxt-community/i18n-module/compare/v6.13.7...v6.13.8) (2020-08-11)
|
271 |
|
272 |
|
273 | ### Bug Fixes
|
274 |
|
275 | * don't crash on missing route when parsing page component options ([#841](https://github.com/nuxt-community/i18n-module/issues/841)) ([46bbdc5](https://github.com/nuxt-community/i18n-module/commit/46bbdc5e0a7403f2527dfde2c178e4da83140bdf)), closes [#838](https://github.com/nuxt-community/i18n-module/issues/838)
|
276 | * null-check route to avoid rare crashes ([fc02a65](https://github.com/nuxt-community/i18n-module/commit/fc02a657578f2556277af6cee67aefd0ca1e5dc6))
|
277 |
|
278 | ### [6.13.7](https://github.com/nuxt-community/i18n-module/compare/v6.13.6...v6.13.7) (2020-08-05)
|
279 |
|
280 |
|
281 | ### Bug Fixes
|
282 |
|
283 | * **lazy:** error importing file when having imports within "locale.file" ([3cb1d2a](https://github.com/nuxt-community/i18n-module/commit/3cb1d2af38cf3f14e5b2b942d9b0ef528af00b09)), closes [#835](https://github.com/nuxt-community/i18n-module/issues/835)
|
284 |
|
285 | ### [6.13.6](https://github.com/nuxt-community/i18n-module/compare/v6.13.5...v6.13.6) (2020-08-04)
|
286 |
|
287 |
|
288 | ### Bug Fixes
|
289 |
|
290 | * restore compatibility with Nuxt <2.14 ([#830](https://github.com/nuxt-community/i18n-module/issues/830)) ([02f6b99](https://github.com/nuxt-community/i18n-module/commit/02f6b997e95dce50bf3d45c90f59686461c7f82e)), closes [#829](https://github.com/nuxt-community/i18n-module/issues/829)
|
291 |
|
292 | ### [6.13.5](https://github.com/nuxt-community/i18n-module/compare/v6.13.4...v6.13.5) (2020-08-04)
|
293 |
|
294 |
|
295 | ### Bug Fixes
|
296 |
|
297 | * **lazy:** don't try to copy locales to build dir at run-time ([#827](https://github.com/nuxt-community/i18n-module/issues/827)) ([55dac74](https://github.com/nuxt-community/i18n-module/commit/55dac7459c3f5f50517af3009c27a2c5a46c7c82)), closes [#826](https://github.com/nuxt-community/i18n-module/issues/826)
|
298 |
|
299 | ### [6.13.4](https://github.com/nuxt-community/i18n-module/compare/v6.13.3...v6.13.4) (2020-08-04)
|
300 |
|
301 |
|
302 | ### Bug Fixes
|
303 |
|
304 | * **lazy:** webpack error when only default locale exists ([#825](https://github.com/nuxt-community/i18n-module/issues/825)) ([97f1dd8](https://github.com/nuxt-community/i18n-module/commit/97f1dd8e101a69282acb509ec0d9a3202f99a1d1)), closes [#824](https://github.com/nuxt-community/i18n-module/issues/824)
|
305 |
|
306 | ### [6.13.3](https://github.com/nuxt-community/i18n-module/compare/v6.13.2...v6.13.3) (2020-08-04)
|
307 |
|
308 |
|
309 | ### Bug Fixes
|
310 |
|
311 | * **lazy:** include default locale in the main bundle ([#819](https://github.com/nuxt-community/i18n-module/issues/819)) ([6ed4ae6](https://github.com/nuxt-community/i18n-module/commit/6ed4ae616a0c9b555e3966c169886d3650427e07)), closes [#818](https://github.com/nuxt-community/i18n-module/issues/818)
|
312 | * **lazy:** make client use translations loaded on the server ([#823](https://github.com/nuxt-community/i18n-module/issues/823)) ([06bc5f1](https://github.com/nuxt-community/i18n-module/commit/06bc5f1fce1c1349a7b035a40fd698f5ae7ac7f1)), closes [#486](https://github.com/nuxt-community/i18n-module/issues/486) [#663](https://github.com/nuxt-community/i18n-module/issues/663)
|
313 |
|
314 | ### [6.13.2](https://github.com/nuxt-community/i18n-module/compare/v6.13.1...v6.13.2) (2020-07-31)
|
315 |
|
316 |
|
317 | ### Bug Fixes
|
318 |
|
319 | * generate fallback routes for static build ([#808](https://github.com/nuxt-community/i18n-module/issues/808)) ([c2106f7](https://github.com/nuxt-community/i18n-module/commit/c2106f7185df2329d2068582b5e5a59c371c0192)), closes [#805](https://github.com/nuxt-community/i18n-module/issues/805)
|
320 | * redirect loop on initial load (static mode & route with no locale) ([4c9bc13](https://github.com/nuxt-community/i18n-module/commit/4c9bc13968c96f3abd544f3b24ef90882ea10d96)), closes [#798](https://github.com/nuxt-community/i18n-module/issues/798)
|
321 | * **types:** fix type of detectBrowserLanguage to allow false ([#793](https://github.com/nuxt-community/i18n-module/issues/793)) ([c62f19b](https://github.com/nuxt-community/i18n-module/commit/c62f19b527d91658b036c15a9f86399a2deded34))
|
322 |
|
323 | ### [6.13.1](https://github.com/nuxt-community/nuxt-i18n/compare/v6.13.0...v6.13.1) (2020-07-03)
|
324 |
|
325 |
|
326 | ### Bug Fixes
|
327 |
|
328 | * incorrect SEO links when vue-loader forces local i18n instance ([#786](https://github.com/nuxt-community/nuxt-i18n/issues/786)) ([8cf173d](https://github.com/nuxt-community/nuxt-i18n/commit/8cf173d202869c9999e0b7cbc8a2f31b0ebedd17)), closes [#785](https://github.com/nuxt-community/nuxt-i18n/issues/785)
|
329 |
|
330 | ## [6.13.0](https://github.com/nuxt-community/nuxt-i18n/compare/v6.12.2...v6.13.0) (2020-07-02)
|
331 |
|
332 |
|
333 | ### Features
|
334 |
|
335 | * pass to-be-loaded locale when lazy-loading from exported function ([#752](https://github.com/nuxt-community/nuxt-i18n/issues/752)) ([145f3b2](https://github.com/nuxt-community/nuxt-i18n/commit/145f3b2a080a91028fd5ef59f9c8bd88755d3b4b)), closes [#742](https://github.com/nuxt-community/nuxt-i18n/issues/742)
|
336 |
|
337 |
|
338 | ### Bug Fixes
|
339 |
|
340 | * handling of trailing slash in localePath ([#756](https://github.com/nuxt-community/nuxt-i18n/issues/756)) ([1a69387](https://github.com/nuxt-community/nuxt-i18n/commit/1a6938784581789465b41035aadc181782c9d68e)), closes [#717](https://github.com/nuxt-community/nuxt-i18n/issues/717)
|
341 | * initial redirect breaks reactivity in static mode ([54b8186](https://github.com/nuxt-community/nuxt-i18n/commit/54b8186c711389ce051b8ffbd4f30e201332e5f8)), closes [#737](https://github.com/nuxt-community/nuxt-i18n/issues/737)
|
342 | * preserve query when handling rootRedirect ([#771](https://github.com/nuxt-community/nuxt-i18n/issues/771)) ([b201609](https://github.com/nuxt-community/nuxt-i18n/commit/b201609de36c11b7dd6c369bf08a7e43c9cc6b59))
|
343 | * **types:** extend NuxtOptions with "i18n" (when using i18n in the root of Nuxt config) ([7c5241b](https://github.com/nuxt-community/nuxt-i18n/commit/7c5241bd17f6b5f8053b0c3b1e197be211677683))
|
344 |
|
345 | ## [6.13.0-beta.0](https://github.com/nuxt-community/nuxt-i18n/compare/v6.12.2...v6.13.0-beta.0) (2020-06-03)
|
346 |
|
347 |
|
348 | ### Features
|
349 |
|
350 | * pass to-be-loaded locale when lazy-loading from exported function ([#752](https://github.com/nuxt-community/nuxt-i18n/issues/752)) ([145f3b2](https://github.com/nuxt-community/nuxt-i18n/commit/145f3b2a080a91028fd5ef59f9c8bd88755d3b4b)), closes [#742](https://github.com/nuxt-community/nuxt-i18n/issues/742)
|
351 |
|
352 |
|
353 | ### Bug Fixes
|
354 |
|
355 | * initial redirect breaks reactivity in static mode ([ef80b0d](https://github.com/nuxt-community/nuxt-i18n/commit/ef80b0db8e2a74101929a063e7142b7ab5708ef0)), closes [#737](https://github.com/nuxt-community/nuxt-i18n/issues/737)
|
356 |
|
357 | ### [6.12.2](https://github.com/nuxt-community/nuxt-i18n/compare/v6.12.1...v6.12.2) (2020-06-02)
|
358 |
|
359 |
|
360 | ### Bug Fixes
|
361 |
|
362 | * revert back to generating routes from extendRoutes() ([#751](https://github.com/nuxt-community/nuxt-i18n/issues/751)) ([439781f](https://github.com/nuxt-community/nuxt-i18n/commit/439781f66127cf99e4318f8774dd9b441ccfca31)), closes [#750](https://github.com/nuxt-community/nuxt-i18n/issues/750)
|
363 | * **deps:** update dependency is-https to v2 ([#744](https://github.com/nuxt-community/nuxt-i18n/issues/744)) ([baf3082](https://github.com/nuxt-community/nuxt-i18n/commit/baf3082c0ac48c90a20b476a7d158e20fd2cf248))
|
364 |
|
365 | ### [6.12.1](https://github.com/nuxt-community/nuxt-i18n/compare/v6.12.0...v6.12.1) (2020-05-29)
|
366 |
|
367 |
|
368 | ### Bug Fixes
|
369 |
|
370 | * crash on using nuxt-i18n properties in a component with i18n options ([#736](https://github.com/nuxt-community/nuxt-i18n/issues/736)) ([fd8b684](https://github.com/nuxt-community/nuxt-i18n/commit/fd8b684a19a109bb68066716ed92dfb02fe900a2)), closes [#557](https://github.com/nuxt-community/nuxt-i18n/issues/557)
|
371 | * don't add trailing slashes to generated routes ([#733](https://github.com/nuxt-community/nuxt-i18n/issues/733)) ([b062044](https://github.com/nuxt-community/nuxt-i18n/commit/b062044998062fe217f69a1e3d00184e34b7ffc5)), closes [#717](https://github.com/nuxt-community/nuxt-i18n/issues/717)
|
372 | * favor non-prefixed route with prefix_and_default strategy ([#732](https://github.com/nuxt-community/nuxt-i18n/issues/732)) ([09d2c0f](https://github.com/nuxt-community/nuxt-i18n/commit/09d2c0ff39089802db67b2db9c67e46d93fda64d)), closes [#721](https://github.com/nuxt-community/nuxt-i18n/issues/721)
|
373 | * remove "encodePaths" option and don't encode paths by default ([#731](https://github.com/nuxt-community/nuxt-i18n/issues/731)) ([aba92b3](https://github.com/nuxt-community/nuxt-i18n/commit/aba92b318559521c268d2d3bbe427653bb4c14d6)), closes [#712](https://github.com/nuxt-community/nuxt-i18n/issues/712)
|
374 |
|
375 | ## [6.12.0](https://github.com/nuxt-community/nuxt-i18n/compare/v6.11.1...v6.12.0) (2020-05-25)
|
376 |
|
377 |
|
378 | ### Features
|
379 |
|
380 | * add localeRoute API for getting the localized route ([#729](https://github.com/nuxt-community/nuxt-i18n/issues/729)) ([0c4bd52](https://github.com/nuxt-community/nuxt-i18n/commit/0c4bd52babdd868fdc254387589529600e1a3496)), closes [#728](https://github.com/nuxt-community/nuxt-i18n/issues/728)
|
381 | * add support for using localePath with no route name and path ([#727](https://github.com/nuxt-community/nuxt-i18n/issues/727)) ([7a011a0](https://github.com/nuxt-community/nuxt-i18n/commit/7a011a07bede6bad62f9faf44873643a1a8b0ec1)), closes [#691](https://github.com/nuxt-community/nuxt-i18n/issues/691)
|
382 |
|
383 |
|
384 | ### Bug Fixes
|
385 |
|
386 | * don't do browser language detection during Nuxt generate ([#718](https://github.com/nuxt-community/nuxt-i18n/issues/718)) ([f1c5aca](https://github.com/nuxt-community/nuxt-i18n/commit/f1c5aca9aa35febdb19f46c45b0cf37ba5ab3db6))
|
387 | * don't leave out non-prefixed routes for generate + prefix strategy ([#726](https://github.com/nuxt-community/nuxt-i18n/issues/726)) ([97fabbf](https://github.com/nuxt-community/nuxt-i18n/commit/97fabbfafa2c7ec852f134c6587b291e4f5dfda9)), closes [#700](https://github.com/nuxt-community/nuxt-i18n/issues/700)
|
388 | * trigger language detection on initial load in generated mode ([#724](https://github.com/nuxt-community/nuxt-i18n/issues/724)) ([a853de9](https://github.com/nuxt-community/nuxt-i18n/commit/a853de929d2f764ccd08c4323c6cfb8f95e4490c))
|
389 |
|
390 | ### [6.11.1](https://github.com/nuxt-community/nuxt-i18n/compare/v6.11.0...v6.11.1) (2020-05-10)
|
391 |
|
392 |
|
393 | ### Bug Fixes
|
394 |
|
395 | * NavigationDuplicated error on loading 404 page in SPA ([#705](https://github.com/nuxt-community/nuxt-i18n/issues/705)) ([6bd80da](https://github.com/nuxt-community/nuxt-i18n/commit/6bd80da4ee21918abb551629720723dc82d69fc0)), closes [#702](https://github.com/nuxt-community/nuxt-i18n/issues/702)
|
396 |
|
397 | ## [6.11.0](https://github.com/nuxt-community/nuxt-i18n/compare/v6.10.1...v6.11.0) (2020-04-30)
|
398 |
|
399 |
|
400 | ### Features
|
401 |
|
402 | * **docs:** enable indexed search results in documentation ([#687](https://github.com/nuxt-community/nuxt-i18n/issues/687)) ([bea56a9](https://github.com/nuxt-community/nuxt-i18n/commit/bea56a90947e1bc767efe036644437f47a9d148f))
|
403 |
|
404 |
|
405 | ### Bug Fixes
|
406 |
|
407 | * redirect from 404 to defaultLocale if there is matching route ([e99978d](https://github.com/nuxt-community/nuxt-i18n/commit/e99978dcba6ecea19c915e9aa6b5865dab2bc3b8)), closes [#677](https://github.com/nuxt-community/nuxt-i18n/issues/677) [#491](https://github.com/nuxt-community/nuxt-i18n/issues/491)
|
408 |
|
409 | ### [6.10.1](https://github.com/nuxt-community/nuxt-i18n/compare/v6.10.0...v6.10.1) (2020-04-23)
|
410 |
|
411 |
|
412 | ### Bug Fixes
|
413 |
|
414 | * **types:** fix type of baseUrl to allow string ([a495cb3](https://github.com/nuxt-community/nuxt-i18n/commit/a495cb3ad0c9cf42b1e0c23c5e5be7b08caefdc5))
|
415 |
|
416 | ## [6.10.0](https://github.com/nuxt-community/nuxt-i18n/compare/v6.9.3...v6.10.0) (2020-04-23)
|
417 |
|
418 |
|
419 | ### Features
|
420 |
|
421 | * allow providing function for baseUrl option ([#679](https://github.com/nuxt-community/nuxt-i18n/issues/679)) ([056a8f7](https://github.com/nuxt-community/nuxt-i18n/commit/056a8f727b678fbe64496d2fb82af08443fe471c))
|
422 |
|
423 | ### [6.9.3](https://github.com/nuxt-community/nuxt-i18n/compare/v6.9.1...v6.9.3) (2020-04-23)
|
424 |
|
425 |
|
426 | ### Bug Fixes
|
427 |
|
428 | * crash with latest vue-i18n related to using null locale ([#678](https://github.com/nuxt-community/nuxt-i18n/issues/678)) ([642fddf](https://github.com/nuxt-community/nuxt-i18n/commit/642fddfb4eac8bed42e537737c74d9ec7f8e10ad))
|
429 | * lock vue-i18n version to 8.16.0 until crashing issue is fixed ([#673](https://github.com/nuxt-community/nuxt-i18n/issues/673)) ([9e99f19](https://github.com/nuxt-community/nuxt-i18n/commit/9e99f193ac25befd3e4cdcf40b3e92df1b443e58))
|
430 |
|
431 | ### [6.9.2](https://github.com/nuxt-community/nuxt-i18n/compare/v6.9.1...v6.9.2) (2020-04-22)
|
432 |
|
433 |
|
434 | ### Bug Fixes
|
435 |
|
436 | * lock vue-i18n version to 8.16.0 until crashing issue is fixed ([ad82009](https://github.com/nuxt-community/nuxt-i18n/commit/ad820091a9004bb16d47496dff7661023fd254eb))
|
437 |
|
438 | ### [6.9.1](https://github.com/nuxt-community/nuxt-i18n/compare/v6.9.0...v6.9.1) (2020-04-14)
|
439 |
|
440 |
|
441 | ### Bug Fixes
|
442 |
|
443 | * crash with invalid locale cookie + no_prefix strategy + SEO ([#666](https://github.com/nuxt-community/nuxt-i18n/issues/666)) ([2ec72bc](https://github.com/nuxt-community/nuxt-i18n/commit/2ec72bce3f5ca6841c75811bd4cf5a676a9aeafa))
|
444 |
|
445 | ## [6.9.0](https://github.com/nuxt-community/nuxt-i18n/compare/v6.8.1...v6.9.0) (2020-04-14)
|
446 |
|
447 |
|
448 | ### Features
|
449 |
|
450 | * re-use the store locale on the client if set on server ([#593](https://github.com/nuxt-community/nuxt-i18n/issues/593)) ([c8b05b1](https://github.com/nuxt-community/nuxt-i18n/commit/c8b05b123288574777046302e2a258558c841410))
|
451 |
|
452 |
|
453 | ### Bug Fixes
|
454 |
|
455 | * **deps:** update dependency @intlify/vue-i18n-loader to v1 ([#659](https://github.com/nuxt-community/nuxt-i18n/issues/659)) ([9886e1f](https://github.com/nuxt-community/nuxt-i18n/commit/9886e1fcad4b443b2a09b427dd92a77f2c1e299d))
|
456 |
|
457 | ### [6.8.1](https://github.com/nuxt-community/nuxt-i18n/compare/v6.8.0...v6.8.1) (2020-04-03)
|
458 |
|
459 |
|
460 | ### Bug Fixes
|
461 |
|
462 | * match full browser locale case-insensitively (same as short) ([#655](https://github.com/nuxt-community/nuxt-i18n/issues/655)) ([e614e8e](https://github.com/nuxt-community/nuxt-i18n/commit/e614e8e31010a7a0114cd9ea9d01588d7c26e510)), closes [#651](https://github.com/nuxt-community/nuxt-i18n/issues/651)
|
463 |
|
464 | ## [6.8.0](https://github.com/nuxt-community/nuxt-i18n/compare/v6.7.2...v6.8.0) (2020-04-02)
|
465 |
|
466 |
|
467 | ### Features
|
468 |
|
469 | * match against all language codes provided by the browser ([#651](https://github.com/nuxt-community/nuxt-i18n/pull/651)) ([93e1918)](https://github.com/nuxt-community/nuxt-i18n/commit/93e1918ce7f9e204393e24fdf649af37d4b43aee))
|
470 |
|
471 | ### [6.7.2](https://github.com/nuxt-community/nuxt-i18n/compare/v6.7.1...v6.7.2) (2020-03-31)
|
472 |
|
473 |
|
474 | ### Bug Fixes
|
475 |
|
476 | * locale not updated on navigation (no fallbackLocale) ([#647](https://github.com/nuxt-community/nuxt-i18n/issues/647)) ([1ad3ed1](https://github.com/nuxt-community/nuxt-i18n/commit/1ad3ed166ad25623c6663b34e0c21dfcdfdf94ff)), closes [#643](https://github.com/nuxt-community/nuxt-i18n/issues/643)
|
477 |
|
478 | ### [6.7.1](https://github.com/nuxt-community/nuxt-i18n/compare/v6.7.0...v6.7.1) (2020-03-30)
|
479 |
|
480 |
|
481 | ### Bug Fixes
|
482 |
|
483 | * don't try to use route params when vuex.syncRouteParams ([1bdf320](https://github.com/nuxt-community/nuxt-i18n/commit/1bdf3207dddbf1dde66b2ea3b938a9d1411679fb)), closes [#644](https://github.com/nuxt-community/nuxt-i18n/issues/644)
|
484 |
|
485 | ## [6.7.0](https://github.com/nuxt-community/nuxt-i18n/compare/v6.6.1...v6.7.0) (2020-03-24)
|
486 |
|
487 |
|
488 | ### Features
|
489 |
|
490 | * allow customization of rootRedirect status code ([#639](https://github.com/nuxt-community/nuxt-i18n/issues/639)) ([38d8935](https://github.com/nuxt-community/nuxt-i18n/commit/38d893524eaefec05e754834689506b72aabe189))
|
491 |
|
492 | ### [6.6.1](https://github.com/nuxt-community/nuxt-i18n/compare/v6.6.0...v6.6.1) (2020-03-16)
|
493 |
|
494 |
|
495 | ### Bug Fixes
|
496 |
|
497 | * **types:** add vueI18nLoader to AllOptionsInterface ([#634](https://github.com/nuxt-community/nuxt-i18n/issues/634)) ([f1dd816](https://github.com/nuxt-community/nuxt-i18n/commit/f1dd81676803033a210d28e3bc406a54b4c86c0c))
|
498 | * add tests for forwardedHost change, deprecate setting instead of removing ([3f4d135](https://github.com/nuxt-community/nuxt-i18n/commit/3f4d13577bbca02e3b8d4bdd156a7854a95c7f0d))
|
499 | * Incomplete initialization with 'en-US' locale code and no default ([#629](https://github.com/nuxt-community/nuxt-i18n/issues/629)) ([eeb63bb](https://github.com/nuxt-community/nuxt-i18n/commit/eeb63bb701d1b76804790e87ef8cabe9149fdb9a)), closes [#628](https://github.com/nuxt-community/nuxt-i18n/issues/628)
|
500 | * remove forwardedHost option - make domain matching consistent on server/client ([#630](https://github.com/nuxt-community/nuxt-i18n/issues/630)) ([2a17c99](https://github.com/nuxt-community/nuxt-i18n/commit/2a17c99145c280b7304691396b8e009056054ae5))
|
501 |
|
502 | ## [6.6.0](https://github.com/nuxt-community/nuxt-i18n/compare/v6.5.0...v6.6.0) (2020-02-27)
|
503 |
|
504 |
|
505 | ### Features
|
506 |
|
507 | * Added cookieDomain option to override locale cookie's domain ([#599](https://github.com/nuxt-community/nuxt-i18n/issues/599)) ([7525cd7](https://github.com/nuxt-community/nuxt-i18n/commit/7525cd712fde658befdae948f75db5b95a914bf2))
|
508 | * **seo:** additional catchall hreflang tags ([#597](https://github.com/nuxt-community/nuxt-i18n/issues/597)) ([ebd2213](https://github.com/nuxt-community/nuxt-i18n/commit/ebd22137901255fffd8468464d87ac0afa43c8aa)), closes [#522](https://github.com/nuxt-community/nuxt-i18n/issues/522)
|
509 | * support external configuration file for vue-i18n options ([#605](https://github.com/nuxt-community/nuxt-i18n/issues/605)) ([c55bc6a](https://github.com/nuxt-community/nuxt-i18n/commit/c55bc6a5f2cae0b2bf323f7de1e02da9e1d278d2)), closes [#585](https://github.com/nuxt-community/nuxt-i18n/issues/585) [#237](https://github.com/nuxt-community/nuxt-i18n/issues/237)
|
510 |
|
511 |
|
512 | ### Bug Fixes
|
513 |
|
514 | * sync store locale before triggering onLanguageSwitched listener ([#609](https://github.com/nuxt-community/nuxt-i18n/issues/609)) ([9b699cf](https://github.com/nuxt-community/nuxt-i18n/commit/9b699cf61eb0515fe9a3479e04abce810650ed25)), closes [#556](https://github.com/nuxt-community/nuxt-i18n/issues/556)
|
515 |
|
516 | ## [6.5.0](https://github.com/nuxt-community/nuxt-i18n/compare/v6.4.1...v6.5.0) (2020-01-20)
|
517 |
|
518 |
|
519 | ### Features
|
520 |
|
521 | * support paths in localePath() ([#554](https://github.com/nuxt-community/nuxt-i18n/issues/554)) ([29a282e](https://github.com/nuxt-community/nuxt-i18n/commit/29a282ebf47a6dab9de3520abae5393de6f4c721))
|
522 |
|
523 | ### [6.4.1](https://github.com/nuxt-community/nuxt-i18n/compare/v6.4.0...v6.4.1) (2019-12-02)
|
524 |
|
525 |
|
526 | ### Bug Fixes
|
527 |
|
528 | * **routing:** Restore handling of route argument in getRouteBaseName ([3685abb](https://github.com/nuxt-community/nuxt-i18n/commit/3685abba66edfb5e5b3720db8ba99d2af4127f13)), closes [#539](https://github.com/nuxt-community/nuxt-i18n/issues/539)
|
529 |
|
530 | ## [6.4.0](https://github.com/nuxt-community/nuxt-i18n/compare/v6.3.1...v6.4.0) (2019-11-18)
|
531 |
|
532 |
|
533 | ### Features
|
534 |
|
535 | * **parser:** parse typescript 3.7 shipped proposals ([a69a8fb](https://github.com/nuxt-community/nuxt-i18n/commit/a69a8fb4ba478a022e363b2f1b7990588360f07f))
|
536 |
|
537 | ### [6.3.1](https://github.com/nuxt-community/nuxt-i18n/compare/v6.3.0...v6.3.1) (2019-11-11)
|
538 |
|
539 |
|
540 | ### Bug Fixes
|
541 |
|
542 | * default locale catch-all route overrides locale-specific one ([196bf9c](https://github.com/nuxt-community/nuxt-i18n/commit/196bf9cb58f157a72d49a7598df77e536f272093)), closes [#152](https://github.com/nuxt-community/nuxt-i18n/issues/152)
|
543 | * Direct navigation to URL in SPA with vue-router in hash mode ([0a9c4c8](https://github.com/nuxt-community/nuxt-i18n/commit/0a9c4c8b4cffc81f5c1c5f9906f545edd1d5cd9a)), closes [#490](https://github.com/nuxt-community/nuxt-i18n/issues/490)
|
544 | * make switchLocalePath work from Nuxt plugin or middleware ([8a1c052](https://github.com/nuxt-community/nuxt-i18n/commit/8a1c052f340ad8f86d62fb1e3c6f1107360fb0e9)), closes [#480](https://github.com/nuxt-community/nuxt-i18n/issues/480)
|
545 | * set sameSite=Lax option for detected-language cookie ([8d84986](https://github.com/nuxt-community/nuxt-i18n/commit/8d8498619023296957ae56fea4ca6996b357aa6a)), closes [#516](https://github.com/nuxt-community/nuxt-i18n/issues/516)
|
546 |
|
547 | ## [6.3.0](https://github.com/nuxt-community/nuxt-i18n/compare/v6.2.1...v6.3.0) (2019-09-26)
|
548 |
|
549 |
|
550 | ### Bug Fixes
|
551 |
|
552 | * **types:** add missing seo: false type for component options ([0fae937](https://github.com/nuxt-community/nuxt-i18n/commit/0fae937))
|
553 | * all routes removed when locales are absent ([1c5e42c](https://github.com/nuxt-community/nuxt-i18n/commit/1c5e42c)), closes [#444](https://github.com/nuxt-community/nuxt-i18n/issues/444)
|
554 | * **types:** specify arguments for onLanguageSwitched and beforeLanguageSwitch ([da6a523](https://github.com/nuxt-community/nuxt-i18n/commit/da6a523))
|
555 | * Don't inject to store if store is not defined ([e547639](https://github.com/nuxt-community/nuxt-i18n/commit/e547639))
|
556 | * Locale prefixes missing for child routes with custom paths ([10c1d9d](https://github.com/nuxt-community/nuxt-i18n/commit/10c1d9d)), closes [#359](https://github.com/nuxt-community/nuxt-i18n/issues/359)
|
557 | * NO_PREFIX - localePath with `path` returns route with prefix ([4d4186c](https://github.com/nuxt-community/nuxt-i18n/commit/4d4186c)), closes [#457](https://github.com/nuxt-community/nuxt-i18n/issues/457)
|
558 | * Route name missing for routes that have children ([bd23683](https://github.com/nuxt-community/nuxt-i18n/commit/bd23683)), closes [#356](https://github.com/nuxt-community/nuxt-i18n/issues/356)
|
559 |
|
560 |
|
561 | ### Features
|
562 |
|
563 | * Inject $i18n into Vuex Store as `this.$i18n` ([bb31cb0](https://github.com/nuxt-community/nuxt-i18n/commit/bb31cb0))
|
564 |
|
565 | ### [6.2.1](https://github.com/nuxt-community/nuxt-i18n/compare/v6.2.0...v6.2.1) (2019-09-13)
|
566 |
|
567 |
|
568 | ### Bug Fixes
|
569 |
|
570 | * **types:** use correct module name for nuxt augmentation ([46f67ea](https://github.com/nuxt-community/nuxt-i18n/commit/46f67ea))
|
571 |
|
572 | ## [6.2.0](https://github.com/nuxt-community/nuxt-i18n/compare/v6.1.3...v6.2.0) (2019-09-13)
|
573 |
|
574 |
|
575 | ### Bug Fixes
|
576 |
|
577 | * crash on no_prefix + invalid/tempered locale cookie ([4b56d84](https://github.com/nuxt-community/nuxt-i18n/commit/4b56d84))
|
578 | * Don't try to process routes with no component ([a53e32a](https://github.com/nuxt-community/nuxt-i18n/commit/a53e32a))
|
579 | * failure to change locale on initial try with nuxt generate ([9b4b6f6](https://github.com/nuxt-community/nuxt-i18n/commit/9b4b6f6)), closes [#378](https://github.com/nuxt-community/nuxt-i18n/issues/378)
|
580 |
|
581 |
|
582 | ### Features
|
583 |
|
584 | * support 'path' parameter in localePath(...) ([bbaa266](https://github.com/nuxt-community/nuxt-i18n/commit/bbaa266)), closes [#215](https://github.com/nuxt-community/nuxt-i18n/issues/215)
|
585 |
|
586 | ### [6.1.3](https://github.com/nuxt-community/nuxt-i18n/compare/v6.1.2...v6.1.3) (2019-09-04)
|
587 |
|
588 |
|
589 | ### Bug Fixes
|
590 |
|
591 | * make `parsePages` compatible with typescript decorators ([5a3db3b](https://github.com/nuxt-community/nuxt-i18n/commit/5a3db3b)), closes [#408](https://github.com/nuxt-community/nuxt-i18n/issues/408) [#76](https://github.com/nuxt-community/nuxt-i18n/issues/76)
|
592 |
|
593 | ### [6.1.2](https://github.com/nuxt-community/nuxt-i18n/compare/v6.1.1...v6.1.2) (2019-09-04)
|
594 |
|
595 |
|
596 | ### Bug Fixes
|
597 |
|
598 | * issue with locale not being updated when cookie not stored ([999ac4b](https://github.com/nuxt-community/nuxt-i18n/commit/999ac4b))
|
599 | * multiple redirects on switching to another locale ([14ceeb3](https://github.com/nuxt-community/nuxt-i18n/commit/14ceeb3))
|
600 | * **types:** add type for Nuxt's `context.app.i18n` ([d5afd8b](https://github.com/nuxt-community/nuxt-i18n/commit/d5afd8b))
|
601 | * **types:** add types for in-component options ([e2e3bca](https://github.com/nuxt-community/nuxt-i18n/commit/e2e3bca))
|
602 | * **types:** export `NuxtVueI18n` namespace to allow to annotate configuration ([906a776](https://github.com/nuxt-community/nuxt-i18n/commit/906a776))
|
603 | * **types:** fixed various types for NuxtI18n configuration ([6f6c235](https://github.com/nuxt-community/nuxt-i18n/commit/6f6c235))
|
604 | * **types:** move getLocaleCookie/setLocaleCookie/SetLocale to proper interface ([7d3eceb](https://github.com/nuxt-community/nuxt-i18n/commit/7d3eceb))
|
605 | * **types:** remove `null` result from `getLocaleCookie` to simplify types ([df5ac8a](https://github.com/nuxt-community/nuxt-i18n/commit/df5ac8a))
|
606 | * **types:** update NuxtI18nSeo interface to use VueMeta types ([3a4ada6](https://github.com/nuxt-community/nuxt-i18n/commit/3a4ada6))
|
607 |
|
608 | ### Notes
|
609 |
|
610 | * `app.$t` API was removed ([ca198e5](https://github.com/nuxt-community/nuxt-i18n/commit/ca198e5)) - This is not a breaking change since this API has never worked according to my understanding.
|
611 | * `getLocaleCookie` will no longer return `null` value in case cookie is missing. Instead it will consistently return `undefined`. This is unlikely to affect anyone unless one was checking for `null` specifically which would not be a correct thing to do even before.
|
612 |
|
613 | ### [6.1.1](https://github.com/nuxt-community/nuxt-i18n/compare/v6.1.0...v6.1.1) (2019-08-28)
|
614 |
|
615 |
|
616 | ### Bug Fixes
|
617 |
|
618 | * fix loading fallback locale with lazy loading ([d8db5b1](https://github.com/nuxt-community/nuxt-i18n/commit/d8db5b1))
|
619 | * locale not set with differentDomains enabled ([634690a](https://github.com/nuxt-community/nuxt-i18n/commit/634690a))
|
620 | * redirects to wrong route after SPA navigation ([8bf61d9](https://github.com/nuxt-community/nuxt-i18n/commit/8bf61d9))
|
621 |
|
622 | ## [6.1.0](https://github.com/nuxt-community/nuxt-i18n/compare/v6.0.2...v6.1.0) (2019-08-27)
|
623 |
|
624 |
|
625 | ### Features
|
626 |
|
627 | * Add `no_prefix` strategy + `setLocale` API function ([#409](https://github.com/nuxt-community/nuxt-i18n/issues/409)) ([998011e](https://github.com/nuxt-community/nuxt-i18n/commit/998011e))
|
628 |
|
629 | ### [6.0.2](https://github.com/nuxt-community/nuxt-i18n/compare/v6.0.1...v6.0.2) (2019-08-20)
|
630 |
|
631 |
|
632 | ### Bug Fixes
|
633 |
|
634 | * warning in nuxt 2.9.x / vue-meta 2.x ([3605632](https://github.com/nuxt-community/nuxt-i18n/commit/3605632))
|
635 |
|
636 | ## [6.0.1](https://github.com/nuxt-community/nuxt-i18n/compare/v6.0.0...v6.0.1) (2019-08-13)
|
637 |
|
638 |
|
639 | ### Bug Fixes
|
640 |
|
641 | * **deps:** update all non-major dependencies ([#375](https://github.com/nuxt-community/nuxt-i18n/issues/375)) ([9efbbf0](https://github.com/nuxt-community/nuxt-i18n/commit/9efbbf0))
|
642 | * **deps:** update dependency acorn to v7 ([#392](https://github.com/nuxt-community/nuxt-i18n/issues/392)) ([9fc564f](https://github.com/nuxt-community/nuxt-i18n/commit/9fc564f))
|
643 | * **deps:** update dependency acorn-walk to v7 ([#393](https://github.com/nuxt-community/nuxt-i18n/issues/393)) ([06ddf3e](https://github.com/nuxt-community/nuxt-i18n/commit/06ddf3e))
|
644 |
|
645 |
|
646 |
|
647 | # [6.0.0](https://github.com/nuxt-community/nuxt-i18n/compare/v5.12.8...v6.0.0) (2019-07-20)
|
648 |
|
649 |
|
650 | ### Bug Fixes
|
651 |
|
652 | * **routing:** resolve localePath with fullPath instead of href ([b827681](https://github.com/nuxt-community/nuxt-i18n/commit/b827681))
|
653 | * Disable seo by default ([741ae12](https://github.com/nuxt-community/nuxt-i18n/commit/741ae12)), closes [#346](https://github.com/nuxt-community/nuxt-i18n/issues/346)
|
654 | * update link to SEO metadata generation logic ([#352](https://github.com/nuxt-community/nuxt-i18n/issues/352)) ([10a5ff2](https://github.com/nuxt-community/nuxt-i18n/commit/10a5ff2))
|
655 |
|
656 |
|
657 | ### Code Refactoring
|
658 |
|
659 | * Disable setLocale & setMessages mutations by default ([76c9978](https://github.com/nuxt-community/nuxt-i18n/commit/76c9978))
|
660 | * Rename and flatten vuex options ([8897ac6](https://github.com/nuxt-community/nuxt-i18n/commit/8897ac6))
|
661 |
|
662 |
|
663 | ### Features
|
664 |
|
665 | * Dynamic route parameters translation ([#345](https://github.com/nuxt-community/nuxt-i18n/issues/345)) ([2d1d729](https://github.com/nuxt-community/nuxt-i18n/commit/2d1d729)), closes [#79](https://github.com/nuxt-community/nuxt-i18n/issues/79)
|
666 | * Use default locale's custom path if not defined for a locale ([#354](https://github.com/nuxt-community/nuxt-i18n/issues/354)) ([d30e5f0](https://github.com/nuxt-community/nuxt-i18n/commit/d30e5f0))
|
667 |
|
668 |
|
669 | ### Performance Improvements
|
670 |
|
671 | * Register global mixins from plugins ([2ceb8e4](https://github.com/nuxt-community/nuxt-i18n/commit/2ceb8e4))
|
672 |
|
673 |
|
674 | ### BREAKING CHANGES
|
675 |
|
676 | [5.x to 6.x migration path](https://nuxt-community.github.io/nuxt-i18n/migrating.html#upgrading-from-5-x-to-6-x)
|
677 |
|
678 | * Store module's options have been flattened and renamed
|
679 | * The mutations responsible for syncing nuxt-i18n's store module with vue-i18n's
|
680 | locale and messages are now disabled by default, you'll need to manually re-enable them in the
|
681 | module's configuration
|
682 | * `preserveState` is now set automatically when registering the store module and
|
683 | cannot be set via the configuration anymore
|
684 | * Global seo option is now disabled by default. To
|
685 | preserve the previous behaviour, set `seo: true` in the module's
|
686 | options.
|
687 | Doc: https://nuxt-community.github.io/nuxt-i18n/seo.html
|
688 |
|
689 |
|
690 |
|
691 | # [6.0.0-0](https://github.com/nuxt-community/nuxt-i18n/compare/v5.12.8...v6.0.0-0) (2019-07-01)
|
692 |
|
693 |
|
694 | ### Features
|
695 |
|
696 | * Dynamic route parameters translation ([04373ef](https://github.com/nuxt-community/nuxt-i18n/commit/04373ef)), closes [#79](https://github.com/nuxt-community/nuxt-i18n/issues/79)
|
697 |
|
698 |
|
699 | ### BREAKING CHANGES
|
700 |
|
701 | * `preserveState` is now set automatically when registering the store module and
|
702 | cannot be set via the configuration anymore
|
703 |
|
704 |
|
705 |
|
706 | ## [5.12.8](https://github.com/nuxt-community/nuxt-i18n/compare/v5.12.6...v5.12.8) (2019-07-01)
|
707 |
|
708 | > NOTE: Version bump only, all fixes were released in `v5.12.7` already
|
709 |
|
710 | ### Bug Fixes
|
711 |
|
712 | * Move SEO types out of Vue module declaration ([be085d5](https://github.com/nuxt-community/nuxt-i18n/commit/be085d5))
|
713 | * Move SEO types out of Vue module declaration ([#335](https://github.com/nuxt-community/nuxt-i18n/issues/335)) ([0cc0ba0](https://github.com/nuxt-community/nuxt-i18n/commit/0cc0ba0))
|
714 | * Only require is-https dependency on the server (fixes [#329](https://github.com/nuxt-community/nuxt-i18n/issues/329)) ([8a728ef](https://github.com/nuxt-community/nuxt-i18n/commit/8a728ef))
|
715 | * revert using cookies package to fix cookie headers handling ([#332](https://github.com/nuxt-community/nuxt-i18n/issues/332)) ([9cd034d](https://github.com/nuxt-community/nuxt-i18n/commit/9cd034d)), closes [#330](https://github.com/nuxt-community/nuxt-i18n/issues/330)
|
716 |
|
717 |
|
718 |
|
719 | ## [5.12.7](https://github.com/nuxt-community/nuxt-i18n/compare/v5.12.6...v5.12.7) (2019-06-22)
|
720 |
|
721 |
|
722 | ### Bug Fixes
|
723 |
|
724 | * Move SEO types out of Vue module declaration ([#335](https://github.com/nuxt-community/nuxt-i18n/issues/335)) ([0cc0ba0](https://github.com/nuxt-community/nuxt-i18n/commit/0cc0ba0))
|
725 | * Only require is-https dependency on the server (fixes [#329](https://github.com/nuxt-community/nuxt-i18n/issues/329)) ([8a728ef](https://github.com/nuxt-community/nuxt-i18n/commit/8a728ef))
|
726 | * Revert using cookies package to fix cookie headers handling ([#332](https://github.com/nuxt-community/nuxt-i18n/issues/332)) ([9cd034d](https://github.com/nuxt-community/nuxt-i18n/commit/9cd034d)), closes [#330](https://github.com/nuxt-community/nuxt-i18n/issues/330)
|
727 |
|
728 |
|
729 |
|
730 | ## [5.12.6](https://github.com/nuxt-community/nuxt-i18n/compare/v5.12.5...v5.12.6) (2019-06-21)
|
731 |
|
732 |
|
733 | ### Bug Fixes
|
734 |
|
735 | * do not discard already present set-cookie header ([#327](https://github.com/nuxt-community/nuxt-i18n/issues/327)) ([ec08be8](https://github.com/nuxt-community/nuxt-i18n/commit/ec08be8))
|
736 |
|
737 |
|
738 |
|
739 | ## [5.12.5](https://github.com/nuxt-community/nuxt-i18n/compare/v5.12.4...v5.12.5) (2019-06-20)
|
740 |
|
741 |
|
742 | ### Bug Fixes
|
743 |
|
744 | * better server side protocol detection (fixes [#123](https://github.com/nuxt-community/nuxt-i18n/issues/123)) ([8cb3eb6](https://github.com/nuxt-community/nuxt-i18n/commit/8cb3eb6))
|
745 |
|
746 |
|
747 |
|
748 | ## [5.12.4](https://github.com/nuxt-community/nuxt-i18n/compare/v5.12.3...v5.12.4) (2019-06-02)
|
749 |
|
750 |
|
751 | ### Bug Fixes
|
752 |
|
753 | * **deps:** update dependency cookie to ^0.4.0 ([4223f6a](https://github.com/nuxt-community/nuxt-i18n/commit/4223f6a))
|
754 | * add types for nuxtI18nSeo ([5811bbe](https://github.com/nuxt-community/nuxt-i18n/commit/5811bbe))
|
755 | * Unexpected token when using dynamic imports ([#320](https://github.com/nuxt-community/nuxt-i18n/issues/320)) ([7dd1dbc](https://github.com/nuxt-community/nuxt-i18n/commit/7dd1dbc)), closes [#134](https://github.com/nuxt-community/nuxt-i18n/issues/134) [#301](https://github.com/nuxt-community/nuxt-i18n/issues/301)
|
756 |
|
757 |
|
758 |
|
759 | ## [5.12.3](https://github.com/nuxt-community/nuxt-i18n/compare/v5.12.2...v5.12.3) (2019-05-13)
|
760 |
|
761 |
|
762 | ### Bug Fixes
|
763 |
|
764 | * remove explicit dependency on vue-template-compiler (fixes [#297](https://github.com/nuxt-community/nuxt-i18n/issues/297)) ([576382e](https://github.com/nuxt-community/nuxt-i18n/commit/576382e))
|
765 | * remove explicit dependency on vue-template-compiler (fixes [#297](https://github.com/nuxt-community/nuxt-i18n/issues/297)) ([#305](https://github.com/nuxt-community/nuxt-i18n/issues/305)) ([2eff158](https://github.com/nuxt-community/nuxt-i18n/commit/2eff158))
|
766 |
|
767 |
|
768 |
|
769 | ## [5.12.2](https://github.com/nuxt-community/nuxt-i18n/compare/v5.12.1...v5.12.2) (2019-05-09)
|
770 |
|
771 |
|
772 | ### Bug Fixes
|
773 |
|
774 | * add missing vue-template-compiler dependency (fixes [#297](https://github.com/nuxt-community/nuxt-i18n/issues/297)) ([#298](https://github.com/nuxt-community/nuxt-i18n/issues/298)) ([196b4e0](https://github.com/nuxt-community/nuxt-i18n/commit/196b4e0))
|
775 |
|
776 |
|
777 |
|
778 | ## [5.12.1](https://github.com/nuxt-community/nuxt-i18n/compare/v5.12.0...v5.12.1) (2019-05-09)
|
779 |
|
780 |
|
781 | ### Bug Fixes
|
782 |
|
783 | * Fix duplicate child routes with PREFIX_AND_DEFAULT strategy (fixes [#292](https://github.com/nuxt-community/nuxt-i18n/issues/292)) ([#294](https://github.com/nuxt-community/nuxt-i18n/issues/294)) ([76d5948](https://github.com/nuxt-community/nuxt-i18n/commit/76d5948))
|
784 | * Fix exception when using multiple domains option (fixes [#293](https://github.com/nuxt-community/nuxt-i18n/issues/293)) ([#295](https://github.com/nuxt-community/nuxt-i18n/issues/295)) ([17f1e07](https://github.com/nuxt-community/nuxt-i18n/commit/17f1e07))
|
785 |
|
786 |
|
787 |
|
788 | # [5.12.0](https://github.com/nuxt-community/nuxt-i18n/compare/v5.11.0...v5.12.0) (2019-05-06)
|
789 |
|
790 |
|
791 | ### Features
|
792 |
|
793 | * Load fallback locale when needed if lazy-loading is enabled ([#291](https://github.com/nuxt-community/nuxt-i18n/issues/291)) ([0148546](https://github.com/nuxt-community/nuxt-i18n/commit/0148546)), closes [#34](https://github.com/nuxt-community/nuxt-i18n/issues/34)
|
794 |
|
795 |
|
796 |
|
797 | # [5.11.0](https://github.com/nuxt-community/nuxt-i18n/compare/v5.10.0...v5.11.0) (2019-05-05)
|
798 |
|
799 |
|
800 | ### Features
|
801 |
|
802 | * add global options ([fe6d114](https://github.com/nuxt-community/nuxt-i18n/commit/fe6d114))
|
803 | * Always redirect to language that was saved in cookie ([#283](https://github.com/nuxt-community/nuxt-i18n/issues/283)) ([dc66895](https://github.com/nuxt-community/nuxt-i18n/commit/dc66895))
|
804 |
|
805 |
|
806 |
|
807 | # [5.10.0](https://github.com/nuxt-community/nuxt-i18n/compare/v5.9.0...v5.10.0) (2019-04-27)
|
808 |
|
809 |
|
810 | ### Bug Fixes
|
811 |
|
812 | * Prevent redirect failure when accessing a dynamic route with detectBrowserLanguage enabled ([#266](https://github.com/nuxt-community/nuxt-i18n/issues/266)) ([b7adba0](https://github.com/nuxt-community/nuxt-i18n/commit/b7adba0))
|
813 |
|
814 |
|
815 | ### Features
|
816 |
|
817 | * Upgrade vue-i18n to v8.11.1 ([29f7f54](https://github.com/nuxt-community/nuxt-i18n/commit/29f7f54)), closes [/github.com/kazupon/vue-i18n/blob/dev/CHANGELOG.md#8111-2019-04-26](https://github.com//github.com/kazupon/vue-i18n/blob/dev/CHANGELOG.md/issues/8111-2019-04-26)
|
818 |
|
819 |
|
820 |
|
821 | # [5.9.0](https://github.com/nuxt-community/nuxt-i18n/compare/v5.8.5...v5.9.0) (2019-04-25)
|
822 |
|
823 |
|
824 | ### Features
|
825 |
|
826 | * pass nuxt context to loadLanguageAsync ([3834899](https://github.com/nuxt-community/nuxt-i18n/commit/3834899))
|
827 |
|
828 |
|
829 |
|
830 | ## [5.8.5](https://github.com/nuxt-community/nuxt-i18n/compare/v5.8.4...v5.8.5) (2019-03-01)
|
831 |
|
832 |
|
833 | ### Bug Fixes
|
834 |
|
835 | * Prevent error "Cannot read property 'iso' of undefined" on 404 pages ([#233](https://github.com/nuxt-community/nuxt-i18n/issues/233)) ([6cb2fa1](https://github.com/nuxt-community/nuxt-i18n/commit/6cb2fa1))
|
836 |
|
837 |
|
838 |
|
839 | <a name="5.8.4"></a>
|
840 | ## [5.8.4](https://github.com/nuxt-community/nuxt-i18n/compare/v5.8.3...v5.8.4) (2019-02-22)
|
841 |
|
842 |
|
843 | ### Bug Fixes
|
844 |
|
845 | * Prevent duplicated route names issue with prefix_and_default strategy ([318850c](https://github.com/nuxt-community/nuxt-i18n/commit/318850c)), closes [#140](https://github.com/nuxt-community/nuxt-i18n/issues/140)
|
846 |
|
847 |
|
848 |
|
849 | <a name="5.8.3"></a>
|
850 | ## [5.8.3](https://github.com/nuxt-community/nuxt-i18n/compare/v5.8.2...v5.8.3) (2019-02-17)
|
851 |
|
852 |
|
853 | ### Bug Fixes
|
854 |
|
855 | * Remove extraneous name from og:locale ([#225](https://github.com/nuxt-community/nuxt-i18n/issues/225)) ([9460d27](https://github.com/nuxt-community/nuxt-i18n/commit/9460d27)), closes [#224](https://github.com/nuxt-community/nuxt-i18n/issues/224)
|
856 |
|
857 |
|
858 |
|
859 | <a name="5.8.2"></a>
|
860 | ## [5.8.2](https://github.com/nuxt-community/nuxt-i18n/compare/v5.8.1...v5.8.2) (2019-02-15)
|
861 |
|
862 |
|
863 | ### Bug Fixes
|
864 |
|
865 | * Set new locale into vuex store module when switching languages ([#222](https://github.com/nuxt-community/nuxt-i18n/issues/222)) ([77cc393](https://github.com/nuxt-community/nuxt-i18n/commit/77cc393)), closes [#221](https://github.com/nuxt-community/nuxt-i18n/issues/221)
|
866 |
|
867 |
|
868 |
|
869 | <a name="5.8.1"></a>
|
870 | ## [5.8.1](https://github.com/nuxt-community/nuxt-i18n/compare/v5.8.0...v5.8.1) (2019-02-10)
|
871 |
|
872 |
|
873 | ### Bug Fixes
|
874 |
|
875 | * Update types ([#212](https://github.com/nuxt-community/nuxt-i18n/issues/212)) ([5f8f4d7](https://github.com/nuxt-community/nuxt-i18n/commit/5f8f4d7))
|
876 |
|
877 |
|
878 |
|
879 | <a name="5.8.0"></a>
|
880 | # [5.8.0](https://github.com/nuxt-community/nuxt-i18n/compare/v5.7.0...v5.8.0) (2019-01-27)
|
881 |
|
882 |
|
883 | ### Bug Fixes
|
884 |
|
885 | * Rename option encodeURI to encodePaths ([776c2dd](https://github.com/nuxt-community/nuxt-i18n/commit/776c2dd))
|
886 |
|
887 |
|
888 | ### Features
|
889 |
|
890 | * Add encodeURI option to allow skipping encodeURI for custom paths ([#199](https://github.com/nuxt-community/nuxt-i18n/issues/199)) ([00c89f1](https://github.com/nuxt-community/nuxt-i18n/commit/00c89f1)), closes [#191](https://github.com/nuxt-community/nuxt-i18n/issues/191)
|
891 |
|
892 |
|
893 |
|
894 | <a name="5.7.0"></a>
|
895 | # [5.7.0](https://github.com/nuxt-community/nuxt-i18n/compare/v5.6.0...v5.7.0) (2019-01-23)
|
896 |
|
897 |
|
898 | ### Bug Fixes
|
899 |
|
900 | * Fix broken condition in middleware & prevent cookie from being set twice ([#164](https://github.com/nuxt-community/nuxt-i18n/issues/164)) ([7c83922](https://github.com/nuxt-community/nuxt-i18n/commit/7c83922))
|
901 |
|
902 |
|
903 | ### Features
|
904 |
|
905 | * Upgrade vue-i18n (v8.2.1 -> v8.7.0) ([feac945](https://github.com/nuxt-community/nuxt-i18n/commit/feac945))
|
906 |
|
907 |
|
908 |
|
909 | <a name="5.6.0"></a>
|
910 | # [5.6.0](https://github.com/nuxt-community/nuxt-i18n/compare/v5.5.0...v5.6.0) (2019-01-20)
|
911 |
|
912 |
|
913 | ### Bug Fixes
|
914 |
|
915 | * Create correct baseroute for switchlocalepath ([#193](https://github.com/nuxt-community/nuxt-i18n/issues/193)) ([909062f](https://github.com/nuxt-community/nuxt-i18n/commit/909062f))
|
916 | * Preserve route params in base route ([13b2e73](https://github.com/nuxt-community/nuxt-i18n/commit/13b2e73))
|
917 |
|
918 |
|
919 | ### Features
|
920 |
|
921 | * Add canonical link to PREFIX_AND_DEFAULT duplicated pages ([#194](https://github.com/nuxt-community/nuxt-i18n/issues/194)) ([dcd1f79](https://github.com/nuxt-community/nuxt-i18n/commit/dcd1f79))
|
922 |
|
923 |
|
924 |
|
925 | <a name="5.5.0"></a>
|
926 | # [5.5.0](https://github.com/nuxt-community/nuxt-i18n/compare/v5.4.4...v5.5.0) (2019-01-14)
|
927 |
|
928 |
|
929 | ### Bug Fixes
|
930 |
|
931 | * preserve queryString when redirecting to rootRedirect ([#169](https://github.com/nuxt-community/nuxt-i18n/issues/169)) ([1ddcac2](https://github.com/nuxt-community/nuxt-i18n/commit/1ddcac2))
|
932 | * Set i18n_redirect cookie path to '/' ([#143](https://github.com/nuxt-community/nuxt-i18n/issues/143)) ([9ad540e](https://github.com/nuxt-community/nuxt-i18n/commit/9ad540e))
|
933 | * State not defined ([#178](https://github.com/nuxt-community/nuxt-i18n/issues/178)) ([142dcb0](https://github.com/nuxt-community/nuxt-i18n/commit/142dcb0)), closes [#173](https://github.com/nuxt-community/nuxt-i18n/issues/173)
|
934 | * Update types ([#167](https://github.com/nuxt-community/nuxt-i18n/issues/167)) ([225e700](https://github.com/nuxt-community/nuxt-i18n/commit/225e700))
|
935 | * Wait for lazy loading promises ([#163](https://github.com/nuxt-community/nuxt-i18n/issues/163)) ([8b42631](https://github.com/nuxt-community/nuxt-i18n/commit/8b42631))
|
936 |
|
937 |
|
938 | ### Features
|
939 |
|
940 | * Allow i18n component to load json ([#174](https://github.com/nuxt-community/nuxt-i18n/issues/174)) ([21d4305](https://github.com/nuxt-community/nuxt-i18n/commit/21d4305))
|
941 | * expose head SEO function to use in layout ([#154](https://github.com/nuxt-community/nuxt-i18n/issues/154)) ([ce373c4](https://github.com/nuxt-community/nuxt-i18n/commit/ce373c4))
|
942 | * make t() method available server-side through app.$t() ([#168](https://github.com/nuxt-community/nuxt-i18n/issues/168)) ([90bcd80](https://github.com/nuxt-community/nuxt-i18n/commit/90bcd80))
|
943 | * rework browser detection and save lang to cookie ([#148](https://github.com/nuxt-community/nuxt-i18n/issues/148)) ([d1bbc84](https://github.com/nuxt-community/nuxt-i18n/commit/d1bbc84))
|
944 |
|
945 |
|
946 |
|
947 | <a name="5.4.4"></a>
|
948 | ## [5.4.4](https://github.com/nuxt-community/nuxt-i18n/compare/v5.4.3...v5.4.4) (2018-10-23)
|
949 |
|
950 |
|
951 | ### Bug Fixes
|
952 |
|
953 | * encode custom paths ([#145](https://github.com/nuxt-community/nuxt-i18n/issues/145)) ([98c9945](https://github.com/nuxt-community/nuxt-i18n/commit/98c9945)), closes [#7](https://github.com/nuxt-community/nuxt-i18n/issues/7)
|
954 |
|
955 |
|
956 |
|
957 | <a name="5.4.3"></a>
|
958 | ## [5.4.3](https://github.com/nuxt-community/nuxt-i18n/compare/v5.4.2...v5.4.3) (2018-10-12)
|
959 |
|
960 |
|
961 | ### Bug Fixes
|
962 |
|
963 | * Fix acorn-walk dependency ([#138](https://github.com/nuxt-community/nuxt-i18n/issues/138)) ([19c9f96](https://github.com/nuxt-community/nuxt-i18n/commit/19c9f96)), closes [#137](https://github.com/nuxt-community/nuxt-i18n/issues/137)
|
964 |
|
965 |
|
966 |
|
967 | <a name="5.4.2"></a>
|
968 | ## [5.4.2](https://github.com/nuxt-community/nuxt-i18n/compare/v5.4.1...v5.4.2) (2018-10-12)
|
969 |
|
970 |
|
971 | ### Bug Fixes
|
972 |
|
973 | * Revert "feat: i18n.locale property changes when route changed" ([9e04b00](https://github.com/nuxt-community/nuxt-i18n/commit/9e04b00))
|
974 |
|
975 |
|
976 |
|
977 | <a name="5.4.1"></a>
|
978 | ## [5.4.1](https://github.com/nuxt-community/nuxt-i18n/compare/v5.4.0...v5.4.1) (2018-10-11)
|
979 |
|
980 |
|
981 | ### Bug Fixes
|
982 |
|
983 | * Include Types in NPM bundle (when published) ([fc67f4e](https://github.com/nuxt-community/nuxt-i18n/commit/fc67f4e))
|
984 |
|
985 |
|
986 |
|
987 | <a name="5.4.0"></a>
|
988 | # [5.4.0](https://github.com/nuxt-community/nuxt-i18n/compare/v5.3.0...v5.4.0) (2018-10-07)
|
989 |
|
990 |
|
991 | ### Features
|
992 |
|
993 | * add TypeScript types ([#133](https://github.com/nuxt-community/nuxt-i18n/issues/133)) ([817c58e](https://github.com/nuxt-community/nuxt-i18n/commit/817c58e))
|
994 | * i18n.locale property changes when route changed ([2f2f284](https://github.com/nuxt-community/nuxt-i18n/commit/2f2f284))
|
995 |
|
996 |
|
997 |
|
998 | <a name="5.3.0"></a>
|
999 | # [5.3.0](https://github.com/nuxt-community/nuxt-i18n/compare/v5.2.1...v5.3.0) (2018-09-11)
|
1000 |
|
1001 |
|
1002 | ### Features
|
1003 |
|
1004 | * Support vue-loader >=15.0.0 ([#125](https://github.com/nuxt-community/nuxt-i18n/issues/125)) ([3d5b9d2](https://github.com/nuxt-community/nuxt-i18n/commit/3d5b9d2))
|
1005 |
|
1006 |
|
1007 |
|
1008 | <a name="5.2.1"></a>
|
1009 | ## [5.2.1](https://github.com/nuxt-community/nuxt-i18n/compare/v5.2.0...v5.2.1) (2018-08-26)
|
1010 |
|
1011 |
|
1012 |
|
1013 | <a name="5.2.0"></a>
|
1014 | ## [5.2.0](https://github.com/nuxt-community/nuxt-i18n/compare/v5.1.1...v5.2.0) (2018-08-24)
|
1015 |
|
1016 | ### Features
|
1017 |
|
1018 | * Ability to define locale domains at runtime via Vuex store ([0226b07](https://github.com/nuxt-community/nuxt-i18n/commit/0226b07))
|
1019 |
|
1020 | <a name="5.1.1"></a>
|
1021 | ## [5.1.1](https://github.com/nuxt-community/nuxt-i18n/compare/v5.1.0...v5.1.1) (2018-08-14)
|
1022 |
|
1023 |
|
1024 |
|
1025 | <a name="5.1.0"></a>
|
1026 | # [5.1.0](https://github.com/nuxt-community/nuxt-i18n/compare/v5.0.3...v5.1.0) (2018-08-11)
|
1027 |
|
1028 |
|
1029 | ### Features
|
1030 |
|
1031 | * Add option to automatically add vue-i18n-loader to Webpack config ([d997b81](https://github.com/nuxt-community/nuxt-i18n/commit/d997b81)), closes [#58](https://github.com/nuxt-community/nuxt-i18n/issues/58)
|
1032 |
|
1033 |
|
1034 |
|
1035 | <a name="5.0.3"></a>
|
1036 | ## [5.0.3](https://github.com/nuxt-community/nuxt-i18n/compare/v5.0.2...v5.0.3) (2018-08-10)
|
1037 |
|
1038 |
|
1039 | ### Bug Fixes
|
1040 |
|
1041 | * **middleware:** Return after root redirect ([c2ce741](https://github.com/nuxt-community/nuxt-i18n/commit/c2ce741)), closes [#104](https://github.com/nuxt-community/nuxt-i18n/issues/104)
|
1042 |
|
1043 |
|
1044 |
|
1045 | <a name="5.0.2"></a>
|
1046 | ## [5.0.2](https://github.com/nuxt-community/nuxt-i18n/compare/v5.0.1...v5.0.2) (2018-08-09)
|
1047 |
|
1048 |
|
1049 | ### Bug Fixes
|
1050 |
|
1051 | * Fix `TypeError: Cannot read property 'pages' of undefined` in `extendRoutes` ([10ba9ed](https://github.com/nuxt-community/nuxt-i18n/commit/10ba9ed)), closes [#113](https://github.com/nuxt-community/nuxt-i18n/issues/113)
|
1052 |
|
1053 |
|
1054 |
|
1055 | <a name="5.0.1"></a>
|
1056 | ## [5.0.1](https://github.com/nuxt-community/nuxt-i18n/compare/v5.0.0...v5.0.1) (2018-08-09)
|
1057 |
|
1058 |
|
1059 | ### Bug Fixes
|
1060 |
|
1061 | * Prevent error when using `extendRoutes` ([1509a71](https://github.com/nuxt-community/nuxt-i18n/commit/1509a71)), closes [#52](https://github.com/nuxt-community/nuxt-i18n/issues/52)
|
1062 |
|
1063 |
|
1064 |
|
1065 | <a name="5.0.0"></a>
|
1066 | # [5.0.0](https://github.com/nuxt-community/nuxt-i18n/compare/v4.1.0...v5.0.0) (2018-08-08)
|
1067 |
|
1068 |
|
1069 | ### Bug Fixes
|
1070 |
|
1071 | * making hreflang href full-qualified ([5dd4231](https://github.com/nuxt-community/nuxt-i18n/commit/5dd4231))
|
1072 |
|
1073 |
|
1074 | ### Chores
|
1075 |
|
1076 | * Upgrade vue-i18n to v8.0.0 ([6b1a982](https://github.com/nuxt-community/nuxt-i18n/commit/6b1a982))
|
1077 |
|
1078 |
|
1079 | ### Features
|
1080 |
|
1081 | * **strategy:** add PREFIX_AND_DEFAULT strategy ([a7ea4df](https://github.com/nuxt-community/nuxt-i18n/commit/a7ea4df))
|
1082 |
|
1083 |
|
1084 | ### BREAKING CHANGES
|
1085 |
|
1086 | [4.x to 5.x migration path](https://nuxt-community.github.io/nuxt-i18n/migrating.html#upgrading-from-4-x-to-5-x)
|
1087 |
|
1088 | * [https://github.com/kazupon/vue-i18n/blob/dev/CHANGELOG.md#800-2018-06-23](https://github.com/kazupon/vue-i18n/blob/dev/CHANGELOG.md#800-2018-06-23)
|
1089 |
|
1090 |
|
1091 |
|
1092 | <a name="4.1.0"></a>
|
1093 | # [4.1.0](https://github.com/nuxt-community/nuxt-i18n/compare/v4.0.2...v4.1.0) (2018-06-27)
|
1094 |
|
1095 |
|
1096 | ### Features
|
1097 |
|
1098 | * **browser language detection:** Add support for mode SPA ([12bbef6](https://github.com/nuxt-community/nuxt-i18n/commit/12bbef6)), closes [#103](https://github.com/nuxt-community/nuxt-i18n/issues/103)
|
1099 |
|
1100 |
|
1101 |
|
1102 | <a name="4.0.2"></a>
|
1103 | ## [4.0.2](https://github.com/nuxt-community/nuxt-i18n/compare/v4.0.1...v4.0.2) (2018-06-27)
|
1104 |
|
1105 |
|
1106 | ### Bug Fixes
|
1107 |
|
1108 | * support locales with names that match other locales (`en` and `en-us`) ([eeda1c5](https://github.com/nuxt-community/nuxt-i18n/commit/eeda1c5))
|
1109 |
|
1110 |
|
1111 |
|
1112 | <a name="4.0.1"></a>
|
1113 | ## [4.0.1](https://github.com/nuxt-community/nuxt-i18n/compare/v4.0.0...v4.0.1) (2018-06-22)
|
1114 |
|
1115 |
|
1116 | ### Bug Fixes
|
1117 |
|
1118 | * No name on parent routes ([#101](https://github.com/nuxt-community/nuxt-i18n/issues/101)) ([fd51e3e](https://github.com/nuxt-community/nuxt-i18n/commit/fd51e3e)), closes [#98](https://github.com/nuxt-community/nuxt-i18n/issues/98)
|
1119 |
|
1120 |
|
1121 |
|
1122 | <a name="4.0.0"></a>
|
1123 | # [4.0.0](https://github.com/nuxt-community/nuxt-i18n/compare/v3.3.1...v4.0.0) (2018-06-07)
|
1124 |
|
1125 |
|
1126 | ### Bug Fixes
|
1127 |
|
1128 | * Rename in-component options key from i18n to nuxtI18n ([5ff618d](https://github.com/nuxt-community/nuxt-i18n/commit/5ff618d)), closes [#94](https://github.com/nuxt-community/nuxt-i18n/issues/94) [#67](https://github.com/nuxt-community/nuxt-i18n/issues/67)
|
1129 |
|
1130 |
|
1131 | ### BREAKING CHANGES
|
1132 |
|
1133 | [3.x to 4.x migration path](https://nuxt-community.github.io/nuxt-i18n/migrating.html#upgrading-from-3-x-to-4-x)
|
1134 |
|
1135 | * Pages using i18n key need to be updated to use nuxtI18n key instead
|
1136 |
|
1137 |
|
1138 |
|
1139 | <a name="3.3.1"></a>
|
1140 | ## [3.3.1](https://github.com/nuxt-community/nuxt-i18n/compare/v3.3.0...v3.3.1) (2018-06-06)
|
1141 |
|
1142 |
|
1143 | ### Bug Fixes
|
1144 |
|
1145 | * Fix routes generation with nuxt generate ([#95](https://github.com/nuxt-community/nuxt-i18n/issues/95)) ([ff127a5](https://github.com/nuxt-community/nuxt-i18n/commit/ff127a5)), closes [#82](https://github.com/nuxt-community/nuxt-i18n/issues/82)
|
1146 |
|
1147 |
|
1148 |
|
1149 | <a name="3.3.0"></a>
|
1150 | # [3.3.0](https://github.com/nuxt-community/nuxt-i18n/compare/v3.2.4...v3.3.0) (2018-05-30)
|
1151 |
|
1152 |
|
1153 | ### Features
|
1154 |
|
1155 | * **loadLanguageAsync:** Support promises return in lang files. ([9b220c3](https://github.com/nuxt-community/nuxt-i18n/commit/9b220c3))
|
1156 | * Add support for X-Forwarded-Host ([#92](https://github.com/nuxt-community/nuxt-i18n/issues/92)) ([514ad63](https://github.com/nuxt-community/nuxt-i18n/commit/514ad63))
|
1157 |
|
1158 |
|
1159 |
|
1160 | <a name="3.2.4"></a>
|
1161 | ## [3.2.4](https://github.com/nuxt-community/nuxt-i18n/compare/v3.2.3...v3.2.4) (2018-05-27)
|
1162 |
|
1163 |
|
1164 |
|
1165 | <a name="3.2.3"></a>
|
1166 | ## [3.2.3](https://github.com/nuxt-community/nuxt-i18n/compare/v3.2.2...v3.2.3) (2018-05-10)
|
1167 |
|
1168 |
|
1169 | ### Bug Fixes
|
1170 |
|
1171 | * Fix 'logger is not defined' error ([b79b570](https://github.com/nuxt-community/nuxt-i18n/commit/b79b570))
|
1172 |
|
1173 |
|
1174 |
|
1175 | <a name="3.2.2"></a>
|
1176 | ## [3.2.2](https://github.com/nuxt-community/nuxt-i18n/compare/v3.2.1...v3.2.2) (2018-05-10)
|
1177 |
|
1178 |
|
1179 | ### Bug Fixes
|
1180 |
|
1181 | * Fix an issue where the module would attempt to generate og:locale tags without required ISO code ([5dd97d5](https://github.com/nuxt-community/nuxt-i18n/commit/5dd97d5)), closes [#80](https://github.com/nuxt-community/nuxt-i18n/issues/80)
|
1182 |
|
1183 |
|
1184 |
|
1185 | <a name="3.2.1"></a>
|
1186 | ## [3.2.1](https://github.com/nuxt-community/nuxt-i18n/compare/v3.2.0...v3.2.1) (2018-05-10)
|
1187 |
|
1188 |
|
1189 | ### Bug Fixes
|
1190 |
|
1191 | * Lock esm to 3.0.28 to prevent error at build time ([e909837](https://github.com/nuxt-community/nuxt-i18n/commit/e909837)), closes [#85](https://github.com/nuxt-community/nuxt-i18n/issues/85)
|
1192 |
|
1193 |
|
1194 |
|
1195 | <a name="3.2.0"></a>
|
1196 | # [3.2.0](https://github.com/nuxt-community/nuxt-i18n/compare/v3.1.0...v3.2.0) (2018-05-09)
|
1197 |
|
1198 |
|
1199 | ### Features
|
1200 |
|
1201 | * Add parsePages & pages options ([b2980cf](https://github.com/nuxt-community/nuxt-i18n/commit/b2980cf))
|
1202 |
|
1203 |
|
1204 |
|
1205 | <a name="3.1.0"></a>
|
1206 | # [3.1.0](https://github.com/nuxt-community/nuxt-i18n/compare/v3.0.0...v3.1.0) (2018-05-01)
|
1207 |
|
1208 |
|
1209 | ### Features
|
1210 |
|
1211 | * Add og:locale support & fix i18n.seo component option ([8c1588e](https://github.com/nuxt-community/nuxt-i18n/commit/8c1588e))
|