Skip to content

jlog v0.0.4

Compare
Choose a tag to compare
@jrockway jrockway released this 02 Jan 04:44
· 51 commits to master since this release

This release added some fuzz tests and fixed a crash they found. You can now read a file that contains the first line {"": 0}. We also handle longer lines now.

Unknown arguments will now trigger a failure at command line parsing time. This helpful when you forget the letter for the e option, and write jlog -l jq.program, which would previously work, but unexpectedly not run your jlog program. This is now an error.

A linter suggests buffering the SIGINT handling channel. I normally always do this, but didn't here, so now we do. Looking at the revision history, I didn't see a good reason to do it "wrong" here, so now it's right.

Changelog

84aa3aa goreleaser: build darwin/arm64 releases
49577ce main: buffer signal channel as per linter suggestion
9f9c049 main: complain if there are extra args (occasionally i use the wrong flag for -e; this makes the mistake clearer)
afd3863 parse: add some more fuzz tests (no interesting bugs found though)
77c8785 parse: fix a panic when printing a level without initalizing a level formatter
fa5644c parse: handle lines up to 1MiB long