Release v0.43.0
The badge said ~3KB, so we made it true. That badge has been on the README since the beginning while the runtime was 3.68 KB, and 0.42.0 took it to 3.28, which was still not what it said. Rather than weaken the claim, this release removes the last passenger heavy enough to be worth removing: relative time formatting is 318 bytes that most apps never write, and it now ships only where a catalog asks for it. The runtime is 3.00 KB gzip, which is what its badge has claimed all along. The rest of the release is the same idea applied to everything else the project says about itself: the security policy covered seven of twelve packages, contributing said ten, and our security posture was a claim rather than something a stranger could check.
Highlights
- The runtime is 3.00 KB, exactly what the badge always claimed. Relative time formatting joins ICU as something the compiler ships only when one of your messages actually uses it, and there is nothing for you to configure.
- A custom formatter now knows which message it was called for. It receives the parameter name and the message key, so its own errors can say where they happened, which was impossible before.
- The security policy covers all twelve packages, not the seven that existed when it was written.
- The security posture is checkable rather than claimed: an OpenSSF Scorecard badge on the README reads a workflow that runs on every push, so nobody has to take our word for it.
For the full details of this release, see the repository changelog.