Skip to content

Releases: bensadeh/tailspin

5.3.0

17 Apr 09:28
Compare
Choose a tag to compare
  • Enabled parallel processing of lines from stdin
  • Fixed a bug where large log file would open before highlighting had been applied

5.2.1

12 Apr 17:27
Compare
Choose a tag to compare
  • Use stdin().is_terminal() instead of nix crate to check if stdin is a terminal

5.2.0

12 Apr 08:07
Compare
Choose a tag to compare

CLI

  • Give a warning if user is trying to read from file while also piping to stdin
  • Extract End Of File (EOF) signaling logic
  • Fixed a bug where io errors would silently be ignored

Crate

  • Better grouping of submodules
  • Add rustdoc to all public types
  • Simplify error handling by only returning the first regexp error

5.1.0

03 Apr 06:59
Compare
Choose a tag to compare
  • Merged the inlet_manifold crate back into tailspin (tailspin is now the name of both the cli and the crate)
  • Changed the apply trait to return Cow<'a, str> instead of String
  • Removed the start-at-end flag

5.0.0

28 Mar 06:11
Compare
Choose a tag to compare

This is a relatively small update with one breaking change, namely the removal of the ability to watch folders. It's never fun to remove features from tailspin that users enjoy and use, however as the tool grows, it has become more important for me to focus on the core functionality of tailspin which is highlighting.

I hope that I've made tailspin modular and extensible so that user are able to script and extend tailspin to alleviate this change.

On a lighter note, I've added support for custom pagers. This means that you can now use tailspin with your favorite pager, for example ov or minus.

New features:

  • Added support for using custom pagers

Bugfixes:

  • Fixed a bug in the config parser where it would fall back on looking for the theme in ~/tailspin/theme.toml
    instead of ~/.config/tailspin/theme.toml if XDG_CONFIG_HOME is unset
  • Fixed a bug where tailspin would crash reading files with one line

Under the hood:

  • Use PathBuf instead of String for file paths
  • Updated shell completion commands names
  • Added miette for prettier error messages
  • Removed unnecessary use of Box
  • Bump Rust edition to 2024

Breaking changes:

  • Removed support for watching folders

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