Public Release v0.12.2 · itchyny/gojq | TrylleAll releases
- implement
GOJQ_COLORS environment variable to configure individual colors
- respect
--color-output (-C) option even if NO_COLOR is set
- implement
gojq.ValueError interface for custom internal functions
- fix crash on timestamps in YAML input
- fix calculation on
infinite (infinite-infinite | isnan)
- fix comparison on
nan (nan < nan)
- fix validation of
implode ([-1] | implode)
- fix number normalization for custom JSON module loader
- print error line numbers on invalid JSON and YAML
- improve
strftime, strptime for time zone offsets
- improve performance on reading a large JSON file given by command line argument
- improve performance and reduce memory allocation of the lexer, compiler and executor