Skip to content
This repository has been archived by the owner on Aug 3, 2024. It is now read-only.

Releases: rkrisztian/search

2.0.0

05 Aug 03:10
c6926b1
Compare
Choose a tag to compare

Removed support for a few things that made maintenance harder; extending configuration files is easier than before; test coverage greatly increased.

Breaking Changes:

  • Java 11+ is now required as a runtime environment (rather than Java 8+), and also for compilation.
  • Removed support for the -w argument option.

Features:

  • Allow relative paths for included config files.
  • Allow overriding settings in included configuration files.

Bugfixes:

  • (...) is no longer displayed if there are no lines to skip.
  • Display empty lines with a non-zero height in the HTML output.

Improvements:

  • README.md now explains how to get gw, and has better syntax highlighting.

Other Changes:

  • Test coverage increased to 72%.
  • Various internal cleanups.
  • Now using java.nio.file.Path everywhere instead of java.io.File.

1.3.0

10 Jun 17:30
Compare
Choose a tag to compare

Optimized -l handling, correct context lines for -l, customizable temporary directory path, no double (...) printing

Breaking Changes:

  • The default temporary directory used for HTML output and string replacements is now taken from Java system property java.io.tmpdir, rathen than hardcoded to /tmp.

Features:

  • Allow the path of the temporary directory used for HTML output and string replacements to be set with configuration property tmpDir.

Improvements:

  • If we have displayed the last matched line we are allowed to show (when -l is used), then the search is stopped for that file.
  • Matched lines can now be context lines (when -l is used). If context lines should still be shown after the last matched line allowed to be shown, and we still find a matching line, that line will now be shown as a context line instead.
  • The "skipped lines marker" that we used to show after the last match (when -l is used), will no longer be shown. This eliminates double printing of (...).

Other Changes:

  • Significantly increased overall test coverage to increase confidence in correctness.

1.2.0

17 Oct 12:41
Compare
Choose a tag to compare

HTML output finished, more correct color highlighting.

Features:

  • HTML output will now mark matched and replaced line parts with colors.

Improvements:

  • Color highlighting is now more accurate when multiple search patterns (and/or replacements) are used.

1.1.0

09 Oct 19:54
Compare
Choose a tag to compare

Bugfix release fixing treatment of file readability issues so they are not fatal.

Breaking Changes:

  • Removed JSF EL support. JSF is rather an outdated technology today.

Bugfixes:

  • File readability errors are logged now as non-fatal ones. The script will continue searching, ignoring files with missing readability permissions. You can always get the full stacktrace with -d.

1.0.0

01 Oct 17:49
Compare
Choose a tag to compare

Self-contained executable, requires JRE 8+.