UNPKG

4.19 kBMarkdownView Raw
1### 6.1.2
2
3- fox lookup return types [245](https://github.com/i18next/i18next-browser-languageDetector/issues/245)
4
5
6### 6.1.1
7
8- cookieOptions types [239](https://github.com/i18next/i18next-browser-languageDetector/pull/239)
9
10
11### 6.1.0
12
13- Type PluginOptions properly [235](https://github.com/i18next/i18next-browser-languageDetector/pull/235)
14
15
16### 6.0.1
17
18- optimize check for local storage and session storage [222](https://github.com/i18next/i18next-browser-languageDetector/pull/222)
19
20
21### 6.0.0
22
23- **BREAKING** rename lookupSessionStorage and add it to defaults [221](https://github.com/i18next/i18next-browser-languageDetector/pull/221)
24
25### 5.0.1
26
27- optimize cookie serialization and set sameSite to strict by default, to prepare for browser changes
28
29### 5.0.0
30
31- **BREAKING** needs i18next >= 19.5.0
32- let i18next figure out which detected lng is best match
33
34### 4.3.1
35
36- typescript Updated typescript typings for DetectorOptions to align with current options [216](https://github.com/i18next/i18next-browser-languageDetector/pull/216)
37
38### 4.3.0
39
40- sessionStorage support [215](https://github.com/i18next/i18next-browser-languageDetector/pull/215)
41
42### 4.2.0
43
44- Add config option checkForSimilarInWhitelist [211](https://github.com/i18next/i18next-browser-languageDetector/pull/211)
45
46### 4.1.1
47
48- fix: pass cookieOptions with the cacheUserLang [205](https://github.com/i18next/i18next-browser-languageDetector/pull/205)
49
50### 4.1.0
51
52- feat: add cookieOptions for setting cookies [203](https://github.com/i18next/i18next-browser-languageDetector/pull/203)
53
54### 4.0.2
55
56- update index file to reflect build changes done in 4.0.0
57
58### 4.0.1
59
60- typescript: Use updated ts export default from i18next [194](https://github.com/i18next/i18next-browser-languageDetector/pull/194)
61
62### 4.0.0
63
64- removes deprecated jsnext:main from package.json
65- Bundle all entry points with rollup bringing it up to same standard as [xhr-backend](https://github.com/i18next/i18next-xhr-backend/pull/314)
66- **note:** dist/es -> dist/esm, dist/commonjs -> dist/cjs (individual files -> one bundled file)
67- removes bower finally
68
69### v3.1.1
70
71- add default checkWhitelist: true
72
73### v3.1.0
74
75- Added option to prevent checking whitelist for detected languages `checkWhitelist: true` [190](https://github.com/i18next/i18next-browser-languageDetector/pull/190)
76
77### v3.0.3
78
79- Remove clutter from npm package [181](https://github.com/i18next/i18next-browser-languageDetector/pull/181)
80
81### v3.0.2
82
83- typescript: Fix types for `use()` module [180](https://github.com/i18next/i18next-browser-languageDetector/pull/180)
84
85### v3.0.1
86
87- typescript: fix types [165](https://github.com/i18next/i18next-browser-languageDetector/pull/165)
88
89### v3.0.0
90
91- typescript: add types [164](https://github.com/i18next/i18next-browser-languageDetector/pull/164)
92
93### v2.2.4
94
95- fix [157](https://github.com/i18next/i18next-browser-languageDetector/issues/157)
96
97### v2.2.3
98
99- fix [159](https://github.com/i18next/i18next-browser-languageDetector/pull/159)
100
101### v2.2.2
102
103- Lang by path: skip if language not found [159](https://github.com/i18next/i18next-browser-languageDetector/pull/159)
104
105### v2.2.1
106
107- fixes option validation in path lookup [158](https://github.com/i18next/i18next-browser-languageDetector/issues/158)
108- fixes lookup from href for subdomain [157](https://github.com/i18next/i18next-browser-languageDetector/issues/157)
109
110### v2.2.0
111
112- add detector for path and subdomain [PR153](https://github.com/i18next/i18next-browser-languageDetector/pull/153) and [PR152](https://github.com/i18next/i18next-browser-languageDetector/pull/152)
113
114### v2.1.1
115
116- support for fallback language in form of object [151](https://github.com/i18next/i18next-browser-languageDetector/issues/151)
117
118### v2.1.0
119
120- add .js for browser import implementation [PR147](https://github.com/i18next/i18next-browser-languageDetector/pull/147)
121
122### v2.0.0
123
124- [BREAKING] options.excludeCacheFor (array of language codes; default ['cimode']): if a language maps a value in that list the language will not be written to cache (eg. localStorage, cookie). If you use lng cimode in your tests and require it to be cached set the option to false or empty array