Skip to content

Latest commit

 

History

History
55 lines (38 loc) · 2.56 KB

CHANGELOG.md

File metadata and controls

55 lines (38 loc) · 2.56 KB
  • add Fastify type support #47
  • fallbackLng option can also be a function
  • optimize getQuery() function to check if req.query is iterable
  • fix the type of the lookup method #37
  • make sure no undefined language is detected
  • added types
  • ignoreCase option true by default
  • introduce ignoreCase option
  • fix language detection algorithm to handle fallbackLng correctly
  • prevent URIError with cookie language detector
  • transpile also esm
  • introduce lookupHeaderRegex option
  • BREAKING needs i18next >= 19.5.0
  • let i18next figure out which detected lng is best match
  • fix: get whitelist from correct property
  • extend httpFunctions getQuery to handle some edge cases
  • LanguageDetector: cookie, new option: cookiePath
  • potentially BREAKING: change cookie defaults: cookieSameSite: 'strict'