Releases: sevagh/pq
Upgrade to Serde 1.0+
Upgrade from Serde 0.9.* to Serde 1.0.2. Still waiting on a release of serde-protobuf
to be able to publish.
Remove force logic
I no longer try to brute-force decode a message. If it can't be decoded, it exits. Fail fast and rely on the emitter to give you correct protobufs.
If I take too many liberties with how I decode, I end up completely outputting incorrect things.
Handle tty, re-add infile argument
Handles being in a tty with no pipes. Re-added the infile positional argument.
Remove input file as argument
<input>
is no longer a positional argument. Just use the pipe <myfile
. Simplifies thing. Also fix a bug where --trail
wasn't working, rework the trail strategy.
Stream with trailing delimiter
Add an optional --trail="string"
argument to delete trailing delimiter characters.
This should make pq
friendlier with input sources that output their own delimiters between each varint-delimited protobuf message.
Better errors
Better error messages.
Remove force flag
Force is no longer toggleable. Makes pqrs
simpler and it shouldn't change the behavior for most usecases.
Change FDSETS_PATH -> FDSET_PATH
Misnamed env variable compared to the docs. FDSET_PATH sounds better.
Cleaner command-line options
Better manpage, moved --fdsets-path
to env var $FDSETS_PATH
.