Skip to content

0.15.0

Compare
Choose a tag to compare
@Anton-Latukha Anton-Latukha released this 29 Oct 12:23
· 371 commits to master since this release
0.15.0

For support refer to: #984

Partial log (for now):

  • Breaking:

    • Nix.Expr.Shorthands:
      • inherit{,From}:

        • dropped second(/third) argument as irrelevant (report)
        • bindings to inherit changed type from complex [NKeyName] (which is for static & dynamic keys) to [VarName] (VarName is newtype of Text).
        • So examples of use now are: inherit ["a", "b"], inheritFrom (var "a") ["b", "c"]
      • mkAssert: fixed (report).

      • fx presedence between the operators:

        (@@), (@.), (@./), ($==), ($!=), ($<), ($<=), ($>), ($>=), ($&&), ($||), ($->), ($//), ($+), ($-), ($*), ($/), ($++), (==>)

        Now these shorthands can be used without sectioning & so represent the Nix expressions one to one.

        nix = "           a/b   //            c/def   //           <g>  <             def/d"
        hask = mkRelPath "a/b" $// mkRelPath "c/def" $// mkEnvPath "g" $<  mkRelPath "def/d"
  • Additional

    • Nix.Expr.Shorthands:
      • added:
        • emptySet
        • emptyList
        • mkOp{,2}
        • mk{,Named,Variadic,General}ParamSet
        • mkNeg - number negation.
        • @.<|> for Nix language s.x or y expession.
      • entered deprecation:
        • mkOper{,2} bacame mkOp{,2}.
        • mkBinop became mkOp2.
        • mkParaset supeceeded by mk{,Named{,Variadic},Variadic,General}ParamSet.
      • fixed:
        • mkAssert was creating with, now properly creates assert.

What's Changed

New Contributors

  • @mrgutkun made their first contribution in #988

Full Changelog: 0.14.0...0.15.0