hnix/CHANGELOG.md

5.0 KiB

Changelog

(diff) Progress

(diff) 0.11.1 (2020-12-09)

  • Additional:
    • (link) Nix/Builtins: isString fixed - It used to return True for values coercible to string like derivations and paths. It only accepts string values now.
    • (link) Nix/Builtins: substring fixed - Negative lengths used to capture an empty string. Now they capture the whole rmeainder of the string.
    • (link) Nix/Effects: pathExists fixed - Now also works with directories.
    • (link) Nix/Parser: -> is now properly right-associative (was non-associative).
    • (link) Nix/Parser: Nix assert parser (nixAssert function) now accepts top-level Nix format also (which means also accepts all kinds of statements), before that it accepted only regular Nix expressions.
    • (link) Nix/Render: renderLocation now also shows/handles location of errors in raw strings.

(diff) 0.11.0 (2020-11-02)

  • Breaking:

    • (link) Deleted incorrect instance Generic1 NKeyName from module Nix.Expr.Types.
    • (link) Parentheses now are properly included in the location annotation for Nix expressions, change of nixParens in module Nix.Parser essentially results in the change of all module nix* function results, essentially making results of the whole module more proper.
  • Additional:

(diff) 0.10.1 (2020-09-13)

  • Additional:
    • (link) {Binding, NExpr, NExprF, NKeyName} gained Ord1 instances.
      • These instances were required by downstream projects to be able to use newer HNix.
    • (link) CLI gained --long-version option for gathering a detailed debug information.
      • Currently, reports Git commit and its date.
      • (link) Currently does not work in case of use of the nix-build, in which case simply returns UNKNOWN placeholder.

(diff) 0.10.0 (2020-09-12)

  • Breaking:

    • (link) Removed NExpr {FromJSON, ToJSON} instances.
      • This also removed the JSON output feature for unevaluated expression trees.
  • Additional:

    • (link) CLI gained --version option.
    • Dependencies:
      • (link) Requires last major data-fix (0.3).
      • (link) Requires last major prettyprinter (1.7).

(diff) 0.9.1 (2020-07-13)

  • Additional:
    • REPL:
      • Better tab completion.
      • Accepting multi-line input.
      • Support for passing evaluated expression result of hnix --eval -E. to REPL as an input variable.
      • Support for loading .hnixrc from the current directory.
    • Reporting of builtins.nixVersion bumped from 2.0 to 2.3.
    • Dependencies:
      • Freed from: {interpolate, contravariant, semigroups, generic-random, tasty-quickcheck}.
      • Requires last major repline (0.4).

(diff) 0.9.0 (2020-06-15)

  • Breaking:

    • Removed instances due to migration to haskeline 0.8:
      • instance MonadException m => MonadException(StateT(HashMap FilePath NExprLoc) m).
      • instance MonadException m => MonadException(Fix1T StandardTF m).
    • Dependencies:
      • Requires last major haskeline (0.8).
  • Additional:

    • Library: Official support for GHC 8.4 - 8.10.
    • Executable complies only under GHC 8.10.
  • Changelog started. Previous release was 0.8.0.


HNix uses PVP Versioning.