Repository navigation
v0.9.0
This release features a number of breaking changes. Typical usage remains the same except for the default polling interval. The interval has been increased to 2 seconds to match similar software.
Breaking changes
- Started to distinguish between an error when fetching or parsing data and an empty response. For example, a JSON HTTP endpoint returning error 500 and then recovering with the same data as before the error will be treated as zero changes. It was treated as two. The same now applies to a JSON endpoint or command suddenly returning
!@#$%. An empty response consisting of nothing or only whitespace is still treated as empty JSON, i.e., that all data has been removed. - Removed the short aliases
cforcmdanduforurl. They look too much like short options. - Replaced
-d/--debugwith-v/--verbosethat has two levels. Level one only prints errors; level two also prints input data. We no longer print input data as is; control characters are escaped for security reasons. A priority goal is to prevent ANSI injection attacks. A separate "End of multiline input data" debug message is printed after multiline input data. - Changed the default polling interval from 1 second to 2 seconds like watch and Viddy.
- Limited the
urlresponse size to 128 MiB.
Features
- Added the option
-c/--changesthat makes jsonwatch exit after a given number of changes.
Build
- Started generating signed checksums of the release binaries. Go to dbohdan.com/pubkeys to verify the checksum.