This project adheres to semantic versioning.
Make TypeScript output compatible with verbatimModuleSyntax
.
Fixed dynamic linking in macos-aarch64 binary.
Allowed "✓" character in internal linter.
Fixed flattening in the presence of callback tags.
Added --indent
option to the flatten and prettify commands. This enables explicit configuration of formatting indentation either as tabs or as a number of spaces. The option is ignored in the presence of --minify
where applicable.
Shifted everything from the "internal" binary into the main binary behind hidden flags.
Improved CI binary naming, clarifying in particular which architecture they're built against.
Added a --version
option.
Added a changelog. Everything prior to this release may not be perfectly accurate.
Prettify JSON by default. A --minify
flag has been added to retain the old behaviour.
Fixed linking of binaries produced in CI.
Added ICU prettify command.
Redundant interpolations can now be parsed. They are linted against instead of being wholly disallowed. Further lint rules have been added, and linting output is now substantially better.
Added linting.
Fixed parsing of escaped ICU leaking across JSON messages.
Improved error reporting to now eagerly report as many errors as possible before halting.
Fixed TypeScript output producing a type error because tsc tries to be too smart.
Fixed formatting of plurals in flattened output.
Added an "internal" binary intended for Unsplash, featuring lint rules for specific use cases and plural expansion.
Fixed boolean
interpolations not being flattened.
Fixed codegen of interpolations inside boolean
interpolations.
Added a boolean
type.
Typechecking of output TypeScript code is now offloaded to downstream tsc.
Improved JSON key validation.
Compiled output is now alphabetical.
Fixed various codegen issues, and parsing of #
in select
interpolations.
Fixed description key not being preserved when flattening.
ICU parsing is now stricter, JSON keys are somewhat validated, and React import statements are conditional.
Fixed parsing of nested #
plural interpolations.
intlc is now MIT licensed.
Added flattening and --help
.
Fixed React import casing.
Hello world!