Release Notes

v1.10.6

  • update client
  • Fix ensureIsSupportedLanguage middleware injection. PR 200

v1.10.5

  • [SECURITY] update client to include - merges Reimplement XSS-vulnerable sequential replacement code PR 443

v1.10.4

  • fixes appending lng in resStore if a namespace is omitted

v1.10.3

  • allows backends to promote an error having err.i18nSkipOnError that will prevent setting an empty resource set and allows a reload on next access this way (usable in remotesync if remote in unavailable)

v1.10.2

  • update client
  • fixes fetchOne issue overwriting already loaded resources

v1.10.1

  • fixes client version

v1.10.0

  • [BREAKING] new callbacks will be node.js conform function(err, t) | Forward the error from sync fetch methods to the init callback function PR 402
  • update client
  • Stop unnecessary reloading all namespaces PR 196

v1.9.0

  • updates i18next-client to 1.9.0
  • fixes issue with cache control header issue 169
  • Ensure language support in addRoute made optional PR 174
  • Removed pluralExtensions lookup from detectLanguageFromPath PR 181
  • solves issue: method 'exists' not available in req.i18n issue 187

v1.7.10

  • sync.load refactor to reload not yet loaded namespaces - not break on loaded language

v1.7.9

v1.7.8

  • update client to 1.7.7

v1.7.6

  • updated client to 1.7.6
  • multiple handlers for addRoute
  • options.detectLanguageFn(req, res) --> allows on detection Function (eg. from storage)
  • allow cache=false maxAge=0
  • JSON5 support
  • strip BOM
  • try JSON.parse

v1.7.3

  • updated client to 1.7.3
  • fixes issue with using WT with filesync issue 116
  • fixes issue with detectLngFromPath if route level pullrequest 121

v1.7.1

  • update client for some typos

v1.7.0

  • setLng via req.i18n.setLng (same as setting req.lng)
  • support cookie domain (options cookieDomain = '')
  • updated client

v1.6.8

  • fixes issue with saveMissing key/value - it should not throw error on unknown language namespace combination
  • fixes issue with fallbackLng = false in combination with sendMissingTo = fallback
  • updated client

v1.6.7

  • updated client

v1.6.6

  • fixing typo issue in client

v1.6.5

  • updated client
  • set json intend via init options jsonIntend = integer

v1.6.4

  • fixes concurrancy issue for express version < 3

v1.6.3

  • update with pre client
  • fixes possible language error caused by wrong lng set in cookie during handle

v1.6.1

  • support for null values in resources
  • reuse tests from client script

v1.6.0

  • supportedLngs now used for all detect functions too
  • sendMissingTo Option is now working on server too
  • option to disable lng lookup from headers
  • fixed setting supported lngs via options
  • fixed setting options for webtranslate

v1.5.15

  • fixed missing argument in remove route
  • updated client

v1.5.14

  • set cookie name
  • some small fixes
  • set supportedlngs for seo routes
  • updated client

v1.5.13

  • disable cookie usage by setting init option useCookie to false
  • updated client

v1.5.12

  • ignore routes inside handler

v1.5.11

  • fixed bug for returning objTree in combination with namespace

v1.5.10

  • changable querystring param to look language up from
  • yaml backend

v1.5.9

  • bugfix throws error on savemissing key
  • force lng from path (issue 32)

v1.5.8

  • updated client
  • updated i18next-webtranslate

v1.5.7

  • bugfix translations won't be in users language in async cases
  • bugfix use resSetPath instead of get to save missing resources

v1.5.6

  • bugfix in detectlng

v1.5.5

  • updated client
  • detectLng from route: detectLngFromPath index of route path, eg. 0 -> /en-US/myPage.html, 1 -> /cms/en-US/myPage.html
  • addRoutes, eg. /en/introduction, /de/einfuehrung,..

v1.5.0

  • remove route added
  • optional arg authenticated for postmissing, change, remove routes
  • integrated i18next-webtranslate
  • backend for couchdb

v1.4.1

  • post processing for translation
  • updated client

v1.4.0

  • preload multiple languages
  • translate key to other language than current
  • updated client to 1.4.0
  • added missing tests
  • new documentation

v1.3.4

  • updated client
  • fixed bug in update route

v1.3.3

  • fixed response type of post routes to json
  • updated client

v1.3.1

  • debugging / logging
  • updated client
  • easier override for backend implementation

v1.2.5

  • added function to grap current language from template (i18n.lng())
  • merged pull request #15 for express.js v3 support
  • updated client

v1.2.3 & v1.2.4

  • updated client

v1.2.0

  • keep version in sync with clientside version
  • better support to override default sync
  • support for translation contexts
  • fixed init without options, callback

v0.5.0

  • options saveMissing
  • multiple plurals
  • bug fix

v0.0.1

  • tests with mocha
  • multi-namespace support
  • loading files from filesystem
  • clientscript support
  • graceful fallback en-US -> en -> fallbackLng
  • support for pluralized strings
  • insertion of variables into translations
  • translation nestingto translations