Changelog of @hackage/gitrev-typed 0.1

Revision history for gitrev-typed

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to the Haskell Package Versioning Policy.

Note that the first version, 0.1, is relative to its parent from which it was forked: https://github.com/acfoltzer/gitrev

0.1 -- 2025-05-07

Changed

  • Updated GHC support to >= 9 && < 9.13.

Added

  • Added Development.GitRev.Typed for typed TH interface.
  • Added Development.GitRev.Typed.OsString for OsString support.
  • Added variants that return typed errors (Either), rather than just a default string "UNKNOWN".
  • Added support for obtaining data via environment variables for e.g. "out-of-tree" builds.
  • New git queries: short hash, git diff, git tree.
  • Added support for user-defined custom git queries.

Fixed

  • Possibly fixed locale bug by switching from prelude readFile :: FilePath -> IO String to file-io.readFile' :: OsPath -> IO ByteString and decoding to UTF-8.