Skip to content

v0.6.4

Choose a tag to compare

@flxmrk flxmrk released this 16 Aug 17:31
· 16 commits to main since this release

Release v0.6.4

This release includes all changes since the previous version.

Installation

npm install langsys-js-react@0.6.4

Changes in this release

  • 5c97a1d
    fix: base SDK ^0.6.4 (raw ICU source rendered on missing argument)

User-visible, unlike the recent bumps. A missing ICU argument fell
through to the simple {key} interpolator, which can't match an ICU
slot, so the whole construct rendered verbatim to the page. Reachable
with no caller mistake: langsys-ai's ICU promoter can introduce a
select argument the source phrase never had, which the app cannot
supply.

Recovery matches langsys-php so a shared catalog renders one sentence:
missing select -> other branch; missing plural -> other with # as
{count}. null now counts as missing instead of coercing to 0, which
had made a missing value indistinguishable from a genuine zero.

[Version bumped to 0.6.4]

Full Changelog

See the commit history for a complete diff of all changes.