Skip to content

Releases: smartsupp/node-poeditor-utils

0.4.0

Choose a tag to compare

@famousgarkin famousgarkin released this 05 Jun 15:21

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

Choose a tag to compare

@famousgarkin famousgarkin released this 22 May 11:20

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

Choose a tag to compare

@famousgarkin famousgarkin released this 15 Apr 11:06

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

Choose a tag to compare

@famousgarkin famousgarkin released this 20 Mar 08:56
0.1.0