Skip to content

Commit

Permalink
(#1035) Proclaim 0.16.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Anton-Latukha authored Jan 18, 2022
1 parent e96619f commit 9c971ed
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 2 deletions.
31 changes: 31 additions & 0 deletions ChangeLog.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,37 @@

# ChangeLog

## [(diff)](https://github.com/haskell-nix/hnix/compare/0.15.0...0.16.0#files_bucket) 0.16.0

On update problems, please reach out to us. For support refere to: https://github.com/haskell-nix/hnix/issues/984

Partial log (for now):

* Breaking:
* Where `coerce` should work, removed `newtype` accessors.
* [(link)](https://github.com/haskell-nix/hnix/pull/1006/files), [(link)](https://github.com/haskell-nix/hnix/pull/1009/files) Incomprehensible record accessors zoo like: `arg`, `options`, `unStore`, `scFlavor`, `nsContext` `_provenance` - was organized, now all record accessors start with `get*`, and their names tend to have according unique sematic meaning of data action they do.
* Builder names got unified. Now they all start with `mk*`. So a lof of `nvSet` became `mkNVSet`.
* `Nix.String` builders/destructors instead of `make` use `mk`, & where mentioning of `string` is superflous - dropped it from the name, so `stringIgnoreContext`, became `ignoreContext`.
* Type system:
* Things that are paths are now `newtype Path = Path String`.
* Things that are indentifier names are now `newtype VarName = VarName Text`.
* Function signatures changed accordingly.

* Additional:
* [(link)](https://github.com/haskell-nix/hnix/pull/1019) Matched expression escaping & its representation to breaking changes in Nix `2.4`.
* `Builtins` (`builtins` function set) gained functions:
* [(link)](https://github.com/haskell-nix/hnix/pull/1032) `path`
* [(link)](https://github.com/haskell-nix/hnix/pull/1020) `isPathNix`
* [(link)](https://github.com/haskell-nix/hnix/pull/1032) `unsafeDiscardOutputDependency`
* [(link)](https://github.com/haskell-nix/hnix/pull/1031) `ceil`
* [(link)](https://github.com/haskell-nix/hnix/pull/1031) `floor`
* [(link)](https://github.com/haskell-nix/hnix/pull/1021) `hashFile`
* [(link)](https://github.com/haskell-nix/hnix/pull/1033) `groupBy`
* [(link)](https://github.com/haskell-nix/hnix/pull/1029) `data/nix` submodule (& its tests) updated to 2022-01-17.

* Other notes:
* `Shorthands` was kept untouched.

## [(diff)](https://github.com/haskell-nix/hnix/compare/0.14.0...0.15.0#files_bucket) 0.15.0

For support refere to: https://github.com/haskell-nix/hnix/issues/984
Expand Down
4 changes: 2 additions & 2 deletions hnix.cabal
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cabal-version: 2.2
name: hnix
version: 0.15.0
version: 0.16.0
synopsis: Haskell implementation of the Nix language
description: Haskell implementation of the Nix language.
category: System, Data, Nix
Expand Down Expand Up @@ -392,7 +392,7 @@ library
build-depends:
aeson >= 1.4.2 && < 1.6 || >= 2.0 && < 2.1
, array >= 0.4 && < 0.6
, base >= 4.12 && < 5
, base >= 4.12 && < 4.16
, base16-bytestring >= 0.1.1 && < 1.1
, binary >= 0.8.5 && < 0.9
, bytestring >= 0.10.8 && < 0.12
Expand Down

0 comments on commit 9c971ed

Please sign in to comment.