Update Unicode or CLDR versions in the repository
masterThe repository allows updating the underlying Unicode or CLDR data versions using environment variables with go generate.
Important Notes:
- Backwards compatibility is not maintained when updating versions; the code is adapted to the new data, which may cause breaking changes.
UNICODE_VERSIONmust correspond to a directory inhttps://www.unicode.org/Public/.CLDR_VERSIONmust correspond to a directory inhttps://www.unicode.org/Public/cldr/.- Updating to a Unicode version newer than the one in core will also update relevant packages in core. The
idnapackage inx/netis always updated.
# To update a Unicode version
UNICODE_VERSION=x.x.x go generate
# To update a CLDR version
CLDR_VERSION=version go generate