Skip to content

Release v0.42.0

Choose a tag to compare

@github-actions github-actions released this 28 Aug 01:09
44245ba

You were paying for an escape hatch you never opened. Verbaly's own syntax covers plurals, selects and formats, and ICU message syntax is the way out for what it does not. It has always been described as opt-in, and it never was: parse imported the ICU parser unconditionally, so every app shipped it whether or not a single message used it. Our own docs site has zero ICU messages and shipped it on every page. The compiler already reads every catalog, so it can tell, and now it does. No API is removed and an app that uses ICU is unaffected.

Highlights

  • The runtime got 11% smaller for anyone who does not use ICU syntax, which is most projects. The parser only ships when one of your messages actually needs it, and nothing about that is yours to configure.
  • A message that reaches your app after the build and uses ICU shows its own text and says why, instead of half-rendering into something that looks almost right. If your messages come from a CMS, icu: true ships the parser anyway.
  • Nothing changes if you do use ICU. The compiler sees it in your catalogs and wires it, exactly as before.

For the full details of this release, see the repository changelog.