Skip to content

Releases: bensadeh/tailspin

4.0.0

12 Oct 13:45
Compare
Choose a tag to compare

Overview

This release contains several new feature and breaking changes. From a user perspective, the most notable change is the
addition of a JSON highlighter. From a developer's perspective, the highlighting engine powering tailspin has been
decoupled and extracted into a separate library called manifold.

manifold will still be used internally by tailspin, but it will also be available as a standalone library for other
projects to use.

New features:

  • Added support for handling lines which are valid JSON. tailspin will recognize if the line is a valid JSON object
    and highlight it accordingly.
  • Added date and time highlighter for formats like DD/MM/YYYY

Breaking changes:

  • tailspin will now look for theme.toml instead of config.toml for the configuration file
  • Enabling and disabling highlight groups is now done from the command line instead of in the toml file
  • Removed the border from the style from the keyword styling. Instead, the border will be enabled implicitly by
    setting a background color for the keyword.
  • Removed date highlighting for formats like Aug 14 and Sun Dec 14 etc. (Can be re-enabled by adding a custom
    regex highlighter)
  • One highlighting group for both date and time

3.0.2

17 Aug 12:38
Compare
Choose a tag to compare
  • Add completion hint so shells understand they can complete with file names (Thanks @alerque !)

3.0.1

01 Apr 06:50
Compare
Choose a tag to compare
  • Improve parsing of very large log files

3.0.0

21 Jan 13:36
Compare
Choose a tag to compare

Overview

In November 2023, tailspin had 240 stars and was only available to downloads on Crates.io and Debian. At the time of
writing this, it sits at over 4k stars and is available on most major Linux distributions, macOS and Windows.

I am glad to see that tailspin has been useful to so many people.

For version 3.0.0 there are both new features and breaking changes.

New features:

  • UUID highlighter now highlights numbers and letters in individual styling
  • Process highlighter has updated default styling and matches processes with parenthesis
  • Added a new highlighter 32-bit and 64-bit pointers (e.g. 0x7f8c8c0c0c0c)
  • Added a IPv6 highlighter (e.g. 2001:0db8:85a3:0000:0000:8a2e:0370:7334)
  • Dates formatted as yyyy/mm/dd and Day Month DD are now highlighted

Breaking changes:

Renamed --follow-command to --listen-command

The --follow-command flag has been renamed to --listen-command to avoid confusion with the --tail flag.

Removed --bucket-size flag

The --bucket-size flag has been removed. The bucket size was ultimately an implementation detail that should be set
by the program itself.

2.4.0

11 Jan 06:54
Compare
Choose a tag to compare
  • Added a regexp highlighter with support for one capture group
  • Changed the behavior of processing lines from stdin to be sequential for better stability

2.3.0

08 Jan 06:28
Compare
Choose a tag to compare
  • tailspin now uses multiple threads to process lines in parallel
  • Added --bucket-size flag to configure the number of lines to process in parallel
  • Changed -t,--tail flag to -e,--start-at-end to avoid confusion with tail -f

2.2.0

19 Nov 15:04
Compare
Choose a tag to compare
  • Added flags for setting simple highlights on the fly, for example: (tspin --words-red popcorn,movie)
  • Properly flatten and merge keywords to improve regex performance
  • Binaries are now added to the GitHub Release (Thanks @ecarrara and @supleed2)
  • Added HEAD HTTP method to the REST keywords (Thanks @mkogan1)
  • Fixed a bug where the message Failed to open file with less: Exit code 0 would show after exiting less

2.1.0

12 Nov 08:52
Compare
Choose a tag to compare
  • Fixed a bug where opening empty files would hang forever
  • Look for config file in USERPROFILE and $HOME instead of just $HOME
  • Added flags for disabling builtin keywords
  • Process names with dashes are now highlighted properly
  • Better error messages when less is not found

2.0.0

05 Nov 06:59
Compare
Choose a tag to compare
  • Changed the binary name from spin to tspin

This is a symbolic release to settle on a new binary name with fewer conflicts. Both tailspin and spin already exist
as binaries in different systems and distributions. tspin is a short and unique name that is unlikely to conflict with
other binaries.

1.6.1

01 Nov 17:56
Compare
Choose a tag to compare
  • Fixed a bug where the --print flag would occasionally cause a panic