This repository has been archived by the owner on Oct 1, 2024. It is now read-only.
Releases: skolmer/i18n-tag-schema
Releases · skolmer/i18n-tag-schema
v2.0.4
v2.0.3
v2.0.2
v2.0.1
v2.0.0
<a name"2.0.0">
2.0.0 (2016-11-12)
Features
- cli:
- i18nTagSchema:
- options: added babylonConfig option to override default babylon parser options (44da5e01)
- preprocessors: added preprocessor option. (53052d49, closes #16)
Breaking Changes
- removed callback option. use ES2015 promise or ES2017 async/await instead. (7df7df82)
- The i18nTagSchema default export has been remove and renamed to generateTranslationSchema (38bce233)
- The validateSchema function has been renamed to validateTranslations (8ee5fefc)
- Added new options parameter to i18nTagSchema, exportTranslationKeys and validateSchema (54a36ec1)
v1.5.3
v1.5.2
v1.5.1
v1.5.0
Major Bugfixes
- Fixes a bug that leads to duplicated required attributes in the translation schema #5
- Fixed a bug where
i18n
tags are grouped even if they don't use the localthis.i18n
instance - Removed groups param (⚠This is a breaking change⚠) and added resolving of __translationGroup constant. If you update to v1.5.0 take care that you also remove the groups param from your code.
v1.4.0
i18nTagSchema('./src', '\\.jsx?$', './translation.schema.json', false, (output, type) => {
// log(output)
})
v1.5.0
i18nTagSchema('./src', '\\.jsx?$', './translation.schema.json', (output, type) => {
// log(output)
})