Skip to content

Latest commit

 

History

History
178 lines (90 loc) · 5.52 KB

CHANGELOG.md

File metadata and controls

178 lines (90 loc) · 5.52 KB

8.0.0

  • chore: set browsers target to defaults 286
  • perf: use object deconstruction, optional chaining and hot path optimisations 287

7.2.1

  • fix: align addDetector impementation to type definition 282

7.2.0

  • fix: separate cjs and mjs typings

7.1.0

  • introduce convertDetectedLanguage option

7.0.2

  • simplify usage without i18next

7.0.1

  • try to force esm moduel type for esm build 269

7.0.0

  • typescript fix for i18next v22

6.1.8

  • fix export order for typescript 267

6.1.7

  • Types entries missing in package exports (Needed for Typescript >= 4.7 and moduleResolution="Node16"/"Nodenext") 266

6.1.6

  • define module exports in package.json

6.1.5

  • lookup subdomain with localhost option 264

6.1.4

  • fix querystring lookup if happening after # 256

6.1.3

  • export DecetorOptions and CustomDetector types

6.1.2

  • fix lookup return types 245

6.1.1

  • cookieOptions types 239

6.1.0

  • Type PluginOptions properly 235

6.0.1

  • optimize check for local storage and session storage 222

6.0.0

  • BREAKING rename lookupSessionStorage and add it to defaults 221

5.0.1

  • optimize cookie serialization and set sameSite to strict by default, to prepare for browser changes

5.0.0

  • BREAKING needs i18next >= 19.5.0
  • let i18next figure out which detected lng is best match

4.3.1

  • typescript Updated typescript typings for DetectorOptions to align with current options 216

4.3.0

  • sessionStorage support 215

4.2.0

  • Add config option checkForSimilarInWhitelist 211

4.1.1

  • fix: pass cookieOptions with the cacheUserLang 205

4.1.0

  • feat: add cookieOptions for setting cookies 203

4.0.2

  • update index file to reflect build changes done in 4.0.0

4.0.1

  • typescript: Use updated ts export default from i18next 194

4.0.0

  • removes deprecated jsnext:main from package.json
  • Bundle all entry points with rollup bringing it up to same standard as xhr-backend
  • note: dist/es -> dist/esm, dist/commonjs -> dist/cjs (individual files -> one bundled file)
  • removes bower finally

v3.1.1

  • add default checkWhitelist: true

v3.1.0

  • Added option to prevent checking whitelist for detected languages checkWhitelist: true 190

v3.0.3

  • Remove clutter from npm package 181

v3.0.2

  • typescript: Fix types for use() module 180

v3.0.1

  • typescript: fix types 165

v3.0.0

  • typescript: add types 164

v2.2.4

v2.2.3

v2.2.2

  • Lang by path: skip if language not found 159

v2.2.1

  • fixes option validation in path lookup 158
  • fixes lookup from href for subdomain 157

v2.2.0

  • add detector for path and subdomain PR153 and PR152

v2.1.1

  • support for fallback language in form of object 151

v2.1.0

  • add .js for browser import implementation PR147

v2.0.0

  • [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