Skip to content

Releases: dandavison/delta

0.1.0

26 Apr 22:49
Compare
Choose a tag to compare
  • Windows builds are fixed!
  • [closed] File paths with spaces in them truncated #127
  • [closed] There is no output when there is a merge conflict #125

0.0.18

18 Apr 17:32
Compare
Choose a tag to compare
  • New options --keep-plus-minus-markers and --color-only #122
  • [closed] Properly calculate string widths for CJK characters #121 Thanks @xen0n!
  • [closed] Delta should be aware of diff.noprefix option (truncated filenames) #120
  • [closed] Include new bat themes introduced in v0.13.0 #118
  • [closed] Support git stash show --stat --patch #100

0.0.17

04 Mar 01:52
Compare
Choose a tag to compare

This release brings new command line options for controlling the colors used for structural element decorations (commits, files, hunk markers), and a consistent pattern for specifying colors for all options that accept a color as a value.

New options are

--commit-style <commit_style>
    Formatting style for the commit section of git output. Options are: plain, box. [default: plain]

--file-style <file_style>              
    Formatting style for the file section of git output. Options are: plain, box, underline. [default:  
    underline]
--hunk-style <hunk_style>
    Formatting style for the hunk-marker section of git output. Options are: plain, box. [default: box]

The --help output now features the following.

Colors
------

All delta color options work the same way. There are three ways to specify a color:

1. RGB hex code

   An example of using an RGB hex code is:
   --file-color="#0e7c0e"

2. ANSI color name

   There are 8 ANSI color names:
   black, red, green, yellow, blue, magenta, cyan, white.

   In addition, all of them have a bright form:
   bright-black, bright-red, bright-green, bright-yellow, bright-blue, bright-magenta, bright-cyan, bright-white

   An example of using an ANSI color name is:
   --file-color="green"

   Unlike RGB hex codes, ANSI color names are just names: you can choose the exact color that each
   name corresponds to in the settings of your terminal application (the application you use to
   enter commands at a shell prompt). This means that if you use ANSI color names, and you change
   the color theme used by your terminal, then delta's colors will respond automatically, without
   needing to change the delta command line.

   "purple" is accepted as a synonym for "magenta". Color names and codes are case-insensitive.

3. ANSI color number

   An example of using an ANSI color number is:
   --file-color=28

   There are 256 ANSI color numbers: 0-255. The first 16 are the same as the colors described in
   the "ANSI color name" section above. See https://en.wikipedia.org/wiki/ANSI_escape_code#8-bit.
   Specifying colors like this is useful if your terminal only supports 256 colors (i.e. doesn't
   support 24-bit color).
  • [closed] Support mapping 24 bit colors to 8 bit approximation #110
  • [closed] Add --paging option to control whether a pager is used #108
  • [closed] Add option to change colors of box/underline/file text #99 #103
  • [closed] Show binary files changes in delta output #93

0.0.16

07 Feb 15:10
Compare
Choose a tag to compare

There is no Windows executable for release 0.0.16 due to the current Windows build failure.

  • [closed] Support bat custom themes and syntax definitions #19
  • [closed] Fix --plus-emph-color in commented text #71
  • [closed] Fix base16, ansi-dark, and ansi-light themes #54
  • [closed] Change Debian package name to avoid clash #26
  • [closed] Fix build on macOS Catalina #24
  • [closed] Fix Haskell/SQL comment parser ambiguity #89

0.0.15

04 Dec 01:51
Compare
Choose a tag to compare
  • [enhancement][good first issue] Support diff -u ... | delta #53
  • [closed] Added first and last line of hunk is not highlighted #52
  • [bug] PAGER and BAT_PAGER should be ignored when set but empty #42
  • [bug] Terminal size is off by one on Linux #41
  • [closed] Reduce startup time #35
  • [enhancement] Allow theme to be set via environment variables #2

0.0.14

24 Oct 00:09
Compare
Choose a tag to compare
Bump version

0.0.13

14 Oct 06:09
Compare
Choose a tag to compare
Bump version

0.0.12

01 Oct 22:36
Compare
Choose a tag to compare
Bump version

0.0.11

01 Oct 20:23
Compare
Choose a tag to compare
  • New option --theme=none to disable syntax highlighting.

0.0.10

30 Sep 19:41
Compare
Choose a tag to compare

This release adds a Windows binary. There are still some issues affecting the Windows version. See #12 and thanks to @lzybkr.