- Add
wrapSignalT
runtime utility.
- Breaking: Rename
SourceUpdates
toTextReplacements
. - Breaking: Rewrite source interface to support different types of content.
- Breaking: Directly export
filenameToSourceId
andsourceIdToFilename
. - Breaking: Replace translation data handling and related api with data adapters.
- Breaking: Replace strings with Buffers in plugin api.
- Breaking: Remove language server and related api.
- Breaking: Remove
onDiagnostics
project watch option. - Breaking: Replace
DiscardObsoleteFragmentType
with union type. - Breaking: Remove file system abstraction.
- Add project update causes to language server.
- Add
setLocale
hooks.
- Breaking: Drop support for V1 manifests.
- Implement V2 manifests with support for multiple namespaces per file.
- Add namespace to manifest file info.
- Add utility for resolving manifests.
- Add utility for converting translation data values to raw locale data values.
- Expose internal translation data view utility.
- Add stable
Context.T
type for translation functions. - Fix interpolation processor syntax errors on iOS mobile devices.
- Fix broken config parser when no plugins are configured.
- Drop support for nodejs 15 or lower.
- Add
onFinish
project watch option. - Deprecate
onDiagnostics
project watch option.
- Add customizable defaults to config parser.
- Project onDiagnostics handler can now return a promise.
- Add output manifest generation.
- Add
FetchClient
cache. - Fix
Controller.setLocale
and.setLocaleAuto
behavior. - Discard all obsolete fragments by default.
- Language server:
- Backup and restore pending changes.
- Emit project update when changes are saved or discarded.
- Fix residual file diagnostics.
- Ignore file system overwrites that are out of scope.
- Add language server translation data editing capability.
- Add u27n language server.
- Add file system watcher delays.
- Add config option to control obsolete fragment discarding.
- Add diagnostics:
valueTypeMismatch
,pluralFormCountMismatch
,unsupportedLocales
- Add plural info module.
- Add runtime translation context.
- Experimental runtime api.
- Translation data is now sorted by default.
- Add utility for updating sources.
- Add optional type param for fragments to source class.