Skip to content

Releases: smartsupp/node-poeditor-utils

0.4.0

05 Jun 15:21
Compare
Choose a tag to compare

Changes:

  • allow to get translations for specified languages only

    const translations = await utils.getTranslations(apiToken, [
    	'project A',
    	'project B',
    ], {
    	languageCodes: [
    		'en',
    		'cz',
    		'pt-br',
    	],
    })

0.3.0

22 May 11:20
Compare
Choose a tag to compare

Changes:

  • exposed new, granular, more flexible API - getTranslations, groupTranslations, formatTranslationsAsJson
  • pullTranslations deprecated as it is too limiting and can be replaced with the new API, except the file system write, which won't be handled by the library anymore

0.2.0

15 Apr 11:06
Compare
Choose a tag to compare

This should be fully backwards compatible with the previous release, despite the major internal changes.

Changes:

  • requires Node.js 8 minimum
  • the Client and getProject exports are deprecated and will be removed in future versions, they are leaking the poeditor-client which will be treated as an implementation detail
  • moved to TypeScript
  • overall cleanup

0.1.0

20 Mar 08:56
Compare
Choose a tag to compare
0.1.0