Skip to content

Latest commit

 

History

History
91 lines (62 loc) · 4.54 KB

CHANGELOG.md

File metadata and controls

91 lines (62 loc) · 4.54 KB
  • Just to be sure, sanitize the Content-Language response header. (Eventhough there is no known/reproducible vulnerability yet #80)
  • support i18next v24
  • introduce convertDetectedLanguage option
  • fix: separate cjs and mjs typings
  • fix(languageDetector): handle es-419 special case #65
  • support koa #61
  • deno: oak fix #59
  • Support TS5 types exports
  • fallback in getResourcesHandler to check also in route params
  • optimize header based language detection for 3 char languages #54
  • fix issue missing i18n.t and t functions before authenticating #52
  • HapiJs support #50
  • 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'