Skip to main content
Module

x/i18next_locize_backend/CHANGELOG.md

A simple i18next backend for locize.com which can be used in Node.js, in the browser and for Deno.
Go to Latest
File

4.2.7

  • update dependencies

4.2.6

  • ensure optional callback for create is called

4.2.5

  • default console logger if not available

4.2.4

  • ignore document.cookie errors

4.2.3

  • update dependencies
  • decrease default write debounce

4.2.2

  • replace internal node-fetch with cross-fetch

4.2.0

  • Type PluginOptions properly
  • update dependencies

4.1.10

  • fix types constructor and init signatures
  • update dependencies

4.1.9

  • XMLHttpRequest fix for ios < 9

4.1.8

  • better default for reloadInterval

4.1.7

  • first first check of reloadInterval

4.1.6

  • update dependencies

4.1.5

  • ts: allowedAddOrUpdateHosts

4.1.4

  • ts: fix referenceLng option

4.1.3

  • ts: reloadInterval option

4.1.2

  • fix for retry logic

4.1.1

  • transpile also esm

4.1.0

  • rename option whitelist to supportedLngs
  • rename option whitelistThreshold to translatedPercentageThreshold

This changes are made with temporal backwards compatiblity and will warn your for deprecated usage of old terms to give users and plugin providers some time to adapt their code base.

The temporal backwards compatiblity will be removed in a follow up major release.

Learn more about why this change was made here.

4.0.13

  • fix callback types

4.0.12

  • fix xhr response handling

4.0.11

  • do not try to load node-fetch in browser

4.0.10

  • fix for non-fetch browsers using i18nextLocizeBackend.js

4.0.9

  • replace spread operator with defaults function

4.0.8

  • fix exports for react-native

4.0.7

  • dedicated export for node v14

4.0.6

  • check for logger to exist

4.0.5

  • fix checkIfProjectExists callback

4.0.4

  • fix for react-native

4.0.3

  • warning for using saveMissing or updateMissing feature on a host not beeing localhost

4.0.2

  • fix for bundlers like rollup

4.0.0

  • complete refactoring to make this module universal (replaces i18next-node-locize-backend)

3.1.3

  • page missing request

3.1.2

  • make sure checkIfProjectExists is not called, while waiting for response

3.1.1

  • fix for non-browser usage

3.1.0

  • check if project exists

3.0.3

  • retry on 400 status

3.0.2

  • retry on 408 status

3.0.1

  • fix allowedAddOrUpdateHosts function failure log 317

3.0.0

  • using the new locize.app domain replacing the deprecated locize.io domain
  • removed the deprecated pull API keeping a warning to use private option instead
  • updated dev dependencies

2.2.2

  • warn for missing options

2.2.1

  • check for window type 312

2.2.0

  • allow allowedAddOrUpdateHosts to be a function returning true if allowed or false if not allowed host

2.1.0

  • emit a onSaved(lng, ns) event if in options

2.0.2

  • small fixes in warn logic

2.0.1

  • give warnings when save missing does block the saving because reference language was not found or the allowed hosts did not contain the host

2.0.0

  • removes deprecated jsnext:main from package.json
  • Bundle all entry points with rollup 303
  • note: dist/es -> dist/esm, dist/commonjs -> dist/cjs (individual files -> one bundled file)
  • removes bower finally

v1.9.0

  • allow to define a list of allowed hosts to send lastUsed data - defaults to localhost

v1.8.0

  • handle empty result as an error if failLoadingOnEmptyJSON set true 299

v1.7.1

  • main export index.d.ts as default export

v1.7.0

  • adds index.d.ts for typescript users

v1.6.0

  • support for private versions

v1.5.0

  • experimental option to use pull api route during development

v1.4.2

  • fix typo in package.json

v1.4.1

  • fix getLanguages route to return error on not getting data

v1.4.0

  • adds getOptions route
  • add special construction with callback to autoload possible i18next options.

v1.3.1

  • fixes debounced write to send every namespace-language pair

v1.3.0

  • supports submitting options tDescription (context) i18next >= 10.4.1

v1.2.1

  • use content-type in case of POST request

v1.2.0

  • make the content-type optional using option.setContentTypeJSON

v1.1.0

  • adds update function
  • adds compatibility to i18next options updateMissing

v1.0.0

  • adds module entry point for webpack2
  • updates all it’s build dependencies
  • optimize rollbar build to use es2015 transpile