UNPKG

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