5.0 KiB
5.0 KiB
Changelog
(diff) Progress
(diff) 0.11.1 (2020-12-09)
- Additional:
- (link)
Nix/Builtins
:isString
fixed - It used to returnTrue
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
: Nixassert
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.
- (link)
(diff) 0.11.0 (2020-11-02)
-
Breaking:
- (link) Deleted incorrect
instance Generic1 NKeyName
frommodule Nix.Expr.Types
. - (link) Parentheses now are properly included in the location annotation for Nix expressions, change of
nixParens
inmodule Nix.Parser
essentially results in the change of all modulenix*
function results, essentially making results of the whole module more proper.
- (link) Deleted incorrect
-
Additional:
- (link) Fix QQ Text lifting error: work around of GHC#12596 "can't find interface-file declaration".
- (link) Fix comments inclusion into location annotations, by using pre-whitespace position for source end locations.
(diff) 0.10.1 (2020-09-13)
- Additional:
- (link)
{Binding, NExpr, NExprF, NKeyName}
gainedOrd1
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 returnsUNKNOWN
placeholder.
- (link)
(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.
- (link) Removed
-
Additional:
(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 aninput
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
).
- Freed from:
- REPL:
(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
).
- Requires last major
- Removed instances due to migration to
-
Additional:
- Library: Official support for
GHC 8.4 - 8.10
. - Executable complies only under
GHC 8.10
.
- Library: Official support for
-
Changelog started. Previous release was
0.8.0
.
HNix uses PVP Versioning.