v0.5.0
Release v0.5.0
This release includes all changes since the previous version.
Installation
npm install langsys-js-react@0.5.0Changes in this release
3acd6c0
fix(types): narrow PhraseProps.params to ParamPrimitive
Matches TranslateProps.params and t(). The loose Record<string, unknown>
allowed values interpolation can only render as [object Object]
(objects, arrays, functions).
Compatible with both base 0.4.x and the upcoming 0.5.0, which narrows
PhraseOptions.params the same way: verified typecheck/test/build clean
against the installed 0.4.3, so this lands ahead of the bump rather
than racing it. Runtime behavior unchanged.
c4d9209
chore: base SDK ^0.5.0; document Phrase params narrowing as breaking
Pure floor bump — the narrowing itself landed in 3acd6c0 ahead of the
release, so no code is coupled to this. Changelog states the break in
consumer terms: passing an object/array as a param value stops
compiling, which surfaces code that was already rendering
[object Object].
[Version bumped to 0.5.0]
Full Changelog
See the commit history for a complete diff of all changes.