Skip to content

Releases: ExtremaIS/redact-haskell

redact-haskell 0.6.0.0

29 Dec 23:26
Compare
Choose a tag to compare

Overview

Redact is a utility for hiding secret text on the terminal.

See the README for details.

This Release

This release adds compatibility with newer releases of GHC and removes support for versions of GHC that were released more than five years ago. To do so, dependencies HMock and explainable-predicates are vendored.

GHC versions 8.8.4 through 9.10.1 are supported. Cabal version 3.0 through 3.14.1.0 are supported. Support for GHC 9.12.1 is currently blocked but will hopefully be added soon.

There are no changes to the API or CLI.

Compatibility

To use this release with a Stackage snapshot that does not include it, add the following to your stack.yaml configuration:

extra-deps:
  - redact-0.6.0.0

Issues

There are no known issues at this time.

redact-haskell 0.5.0.0

28 May 05:04
Compare
Choose a tag to compare

Overview

Redact is a utility for hiding secret text on the terminal.

See the README for details.

This Release

This release adds compatibility with the latest version of the optparse-applicative library. Both lower and upper bounds of dependencies are now tested in CI. This release also includes changes to the project management infrastructure.

There are no changes to the API or CLI.

Compatibility

Build software:

Software redact 0.4.0.0 redact 0.5.0.0
GHC 8.2.2 ~ 9.2.1 8.2.2 ~ 9.6.2
cabal-install 1.24 ~ 3.4 1.24 ~ 3.10

Library dependencies:

Package redact 0.4.0.0 redact 0.5.0.0
ansi-terminal >=0.8 && <0.12 >=0.8.0.4 && <1.1
base >=4.7 && <5 >=4.10.1 && <4.19
text >=1.2.3 && <2.1 >=1.2.3 && <2.1

Executable dependencies:

Package redact 0.4.0.0 redact 0.5.0.0
ansi-wl-pprint >=0.6 && <0.7 >=0.6.8.2 && <1.1
directory >=1.3 && <1.4 >=1.3.0.2 && <1.4
optparse-applicative >=0.14 && <0.18 >=0.13 && <0.19
[prettyprinter][] >=1.7.1 && <1.8

Test dependencies:

Package redact 0.4.0.0 redact 0.5.0.0
explainable-predicates >=0.1.2.1 && <0.2 >=0.1.2.1 && <0.2
HMock >=0.5.1 && <0.6 >=0.5.1 && <0.6
tasty >=1.0 && <1.5 >=0.12 && <1.5
tasty-hunit >=0.10 && <0.11 >=0.8 && <0.11

To use this release with a Stackage snapshot that does not include it, add the following to your stack.yaml configuration:

extra-deps:
  - redact-0.5.0.0

Issues

There are no known issues at this time.

redact-haskell 0.4.0.0

02 Mar 06:19
Compare
Choose a tag to compare

Overview

Redact is a utility for hiding secret text on the terminal.

See the README for details.

This Release

This release of Redact is almost a complete rewrite. It is now implemented in a way that allows for extensive testing using mocks. The redact command-line utility also has significant changes.

MonadTerminal, MonadHandle, and Mock Tests

The project was redesigned to use a library. The API uses (MonadTerminal and MonadHandle) type classes instead of IO directly. This allows much more of the implementation to be tested, using the HMock library.

--lenient Flag

In this release of Redact, the program terminates if there is a parsing error. A --lenient flag is added, which causes the program to ignore parsing errors, like the behavior in previous versions.

Exception Handling

If the program has an error, an exception handler now resets the terminal. This prevents the terminal from remaining in redact mode in cases when an error is raised while in redact mode.

Dependency Versions

The following dependency version upper bound has been bumped to support the latest version.

Compatibility

Redact is currently tested with GHC 8.2.2 through GHC 9.2.1. The .cabal file uses Cabal version 1.24 (included with GHC 8.2.2), so it should build fine on relatively old Haskell installations as well as current installations.

Issues

There are no known issues at this time.

redact-haskell 0.3.0.0

25 Jun 01:53
Compare
Choose a tag to compare

Overview

This release of redact fixes a bug and makes changes to the Nix
configuration. There are no changes to the redact CLI.

Big Fix

This release includes a fix for a bug that broke --help output. The issue
only affected builds using optparse-applicative 0.16, so none of the
published builds were affected.

Nix Configuration

The Nix configuration now supports testing against the following GHC versions
using known working nixpkgs revisions:

  • GHC 8.2.2
  • GHC 8.4.4
  • GHC 8.6.5
  • GHC 8.8.4
  • GHC 8.10.4
  • GHC 9.0.1

redact-haskell 0.2.0.1

27 May 01:48
Compare
Choose a tag to compare

Overview

This release fixes a copy-paste mistake that was included in the previous
release: a link in the README. There are no changes to the code in the this
release.

redact-haskell 0.2.0.0

27 May 00:27
Compare
Choose a tag to compare

Overview

This is a maintenance release of redact, adding .deb and .rpm packaging.
In addition, support for optparse-applicative 0.16 is added. There are no
changes to the CLI in this release.

redact-haskell 0.1.0.0

28 Nov 11:34
Compare
Choose a tag to compare

Overview

This is the first public release of redact.