Releases: ExtremaIS/hr-haskell
hr-haskell 0.7.1.0
Overview
hr is a utility for displaying a horizontal rule in a terminal. It is useful for marking a position in your terminal so that you can easily find it again. For example, use hr to display a horizontal rule before each build of a project so that you can easily find the beginning of the output of the last build.
A Haskell library is available, using package name horizontal-rule.
See the README for details.
This Release
This is a maintenance release that adds compatibility with GHC 9.14.1. Mock tests are removed because HMock is not actively maintained.
There are no changes to the API or CLI.
Compatibility
GHC versions 8.8.4 through 9.14.1 are supported. Note that GHC 9.12.3 is not tested, however, because it has critical issues and is not available using GHCup.
Cabal version 3.0 through 3.16.1.0 are supported.
To use this release with a Stackage snapshot that does not include it, add the following to your stack.yaml configuration:
extra-deps:
- horizontal-rule-0.7.1.0Issues
There are no known issues at this time.
hr-haskell 0.7.0.0
Overview
hr is a utility for displaying a horizontal rule in a terminal. It is useful for marking a position in your terminal so that you can easily find it again. For example, use hr to display a horizontal rule before each build of a project so that you can easily find the beginning of the output of the last build.
A Haskell library is available, using package name horizontal-rule.
See the README for details.
This Release
This release adds compatibility with the latest 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.12.1.0 are supported.
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:
- horizontal-rule-0.7.0.0Issues
There are no known issues at this time.
hr-haskell 0.6.0.0
Overview
hr is a utility for displaying a horizontal rule in a terminal. It is useful for marking a position in your terminal so that you can easily find it again. For example, use hr to display a horizontal rule before each build of a project so that you can easily find the beginning of the output of the last build.
A Haskell library is available, using package name horizontal-rule.
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 | hr 0.5.0.0 |
hr 0.6.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 | hr 0.5.0.0 |
hr 0.6.0.0 |
|---|---|---|
| base | >=4.7 && <5 |
>=4.10.1 && <4.19 |
| terminal-size | >=0.3 && <0.4 |
>=0.2 && <0.4 |
| text | >=1.2.3 && <2.1 |
>=1.2.3 && <2.1 |
Executable dependencies:
| Package | hr 0.5.0.0 |
hr 0.6.0.0 |
|---|---|---|
| ansi-wl-pprint | >=0.6 && <0.7 |
>=0.6.8 && <1.1 |
| optparse-applicative | >=0.14 && <0.18 |
>=0.13 && <0.19 |
| prettyprinter | >=1.7.1 && <1.8 |
|
| time | >=1.8 && <1.13 |
>=1.8.0.2 && <1.13 |
Test dependencies:
| Package | hr 0.5.0.0 |
hr 0.6.0.0 |
|---|---|---|
| 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:
- horizontal-rule-0.6.0.0Issues
There are no known issues at this time.
hr-haskell 0.5.0.0
Overview
hr is a utility for displaying a horizontal rule in a terminal. It is useful for marking a position in your terminal so that you can easily find it again. For example, use hr to display a horizontal rule before each build of a project so that you can easily find the beginning of the output of the last build.
A Haskell library is available, using package name horizontal-rule.
See the README for details.
This Release
This is a major release. The command-line utility interface has no changes, but almost every aspect of the library API is changed.
Package Name Change
The package is renamed to horizontal-rule so that it can be uploaded to Hackage.
MonadTerminal and Mock Tests
The library API is refactored to use a type class (MonadTerminal) instead of IO directory. This allows much more of the implementation to be tested, using the HMock library.
Dependency Versions
The following dependency version upper bounds have been bumped to support the latest versions.
Compatibility
hr 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.
To use this release with a Stackage snapshot that does not include it, add the following to your stack.yaml configuration:
extra-deps:
- horizontal-rule-0.5.0.0Issues
There are no known issues at this time.
hr-haskell 0.4.0.0
Overview
This release of hr fixes a bug and makes changes to the Nix
configuration. There are no changes to the hr API.
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
hr-haskell 0.3.0.1
Overview
This release adds a library usage example and updates the README to show how
to use the library directory from GitHub, as the package will not be uploaded
to Hackage. There are no changes to the library API or utility CLI in this
release.
hr-haskell 0.3.0.0
Overview
This is a major release of hr, adding a library and tests, as well as adding
new functionality to the CLI.
The library allows you to easily include horizontal rules in out output of
your Haskell software.
The CLI now includes an option to read a note from STDIN. When input it
read, a timeout is used to ensure that hr does not "hang" when there is no
input. There are also new options for specifying a fixed rule width as well
as the default rule width to use when the width of the terminal cannot be
determined.
hr-haskell 0.2.0.1
Overview
This release fixes two copy-paste mistakes that were included in the previous
release: a link in the README and some formatting in the RPM package
description. There are no changes to the code in the this release.
hr-haskell 0.2.0.0
Overview
This is a maintenance release of hr, 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.
hr-haskell 0.1.0.3
Overview
This is a maintenance release of hr, switching to GitHub Actions for
continuous integration testing. There are no changes to the code in this
release.