Skip to content

Releases: haskell-nix/hnix-store

core-0.7.0.0

15 Nov 07:27
3b44930
Compare
Choose a tag to compare

What's Changed

  • Do not store the store dir in the store path by @Ericson2314 in #216
  • Fix NAR parsing failure when not enough input is available by @sandydoo in #226
  • Use the narReadFile effect in the NAR streamer by @sandydoo in #224
  • Handle case conflicts on case-insensitive filesystems by @sandydoo in #218

New Contributors

Full Changelog: core-0.6.1.0...core-0.7.0.0

hnix-store-core-0.6.1.0

02 Jan 11:42
Compare
Choose a tag to compare
  • Fixed:

    • (link) (link) NAR serialization compatibility (symlinks, directory symlinks, UTF-8 handling)

hnix-store-remote 0.6

06 Jun 10:27
74f543f
Compare
Choose a tag to compare
  • Breaking:
    • (link) System.Nix.Store.Remote:
      • addToStore no longer accepts FilePath as its second argument but uses
        more generic NarSource (NarSource PR)

hnix-store-core 0.6

06 Jun 10:26
8e14153
Compare
Choose a tag to compare
  • Breaking:

    • (link) streamNarIO changes type and returns NarSource m
      • FilePath can turn to NarSource m using dumpPath
      • ByteString can turn to NarSource m using dumpString

hnix-store-remote 0.5.0.0

10 Jun 22:43
Compare
Choose a tag to compare

0.5.0.0 2021-06-11

  • Breaking:
    • (link) System.Nix.Store.Remote:
      • addToStore: constraint of ValidAlgo a removed in favour of constraint on cryptonite: HashAlgorithm a through constraint NamedAlgo a.
      • queryPathFromHashPart: 1st arg changed from Digest StorePathHashAlgo to StorePathHashPart, for details: hnix-store-core 0.5.0.0 ChangeLog.

hnix-store-core 0.5.0.0

10 Jun 14:26
Compare
Choose a tag to compare

0.5.0.0 2021-06-10

  • Breaking:

    • System.Nix.Hash:
      • (link) Migration from packages cryptohash- -> cryptonite:
        • rm newtype Digest in favour of cryptonite: newtype Digest
        • rm data HashAlgorithm in favour of cryptonite: class HashAlgorithm
        • rm class ValidAlgo in favour of cryptonite: class HashAlgorithm.
        • class NamedAlgo removed hashSize in favour of cryptonite: class HashAlgorithm: hashDigestSize. Former became a subclass of the latter.
        • rm hash in favour of cryptonite: hash
        • rm hashLazy in favour of cryptonite: hashlazy
      • (link) Base encoding/decoding function for hashes (digests) changed (due to changes in type system & separation of specially truncated Nix Store hasing):
        • encode(InBase -> DigestWith)
        • decode(Base -> DigestWith)
    • (link) System.Nix.StorePath:
      • rm type StorePathHashAlgo = 'Truncated 20 'SHA256 in favour of StorePathHashPart & mkStorePathHashPart.
      • rm unStorePathName, please use GHC: coerce for StorePathName <-> Text, StorePathName data constructor is provided.
    • Internal modules now have export lists, if something, please contact.
  • Additional:

    • (link) Support of GHC 9.0.

    • (link) System.Nix.StorePath:

      • exposed StorePathName data constructor to API.
      • added newtype StorePathHashPart = StorePathHashPart ByteString.
        • added builder mkStorePathHashPart :: ByteString -> StorePathHashPart
    • (link) System.Nix.Hash:

      • Nix store (which are specially truncated) hashes are now handled separately from other hashes:
        • add mkStorePathHash - a function to create a content into Nix storepath-style hash:
          mkStorePathHash :: HashAlgorithm a => ByteString -> ByteString
          but recommend to at once use mkStorePathHashPart.

0.4.3.1

30 May 18:07
0eb0e02
Compare
Choose a tag to compare
{Core, Remote}: proclaim 0.4.3.1 (#155)

0.4.3.0

30 May 15:58
b4377c7
Compare
Choose a tag to compare

hnix-store-core

  • Additional:

    • (link) System.Nix.ReadonlyStore: add a readonly computeStorePathForPath
    • (link) System.Nix.ReadonlyStore: computeStorePathForPath: force SHA256 as it's the only valid choice
    • (link): makeTextPath: order the references

hnix-store-remote

Nothing (it is tandem hnix-store-core fix release)

hnix-store-0.4.2.0

12 Mar 18:19
c582d0a
Compare
Choose a tag to compare

hnix-store-core

  • Additional:

    • (link) Cabal now properly states tasty-discover as build-tool-depends.

    • (link) added explicit hie.yml cradle description for cabal to help Haskell Language Server to work with monorepo.

    • (link) rm vacuous Setup.hs, it was throwing-off HLS, and anyway file is vacuous and gets deprecated by Cabal itself.

    • (link) Nix dev env: removed GHC 8.6.5 support, afaik it is not even in Nixpkgs anymore.

    • (link) Test suite: fixed nar test for the envs without /proc (test suite now works on macOS).

hnix-store-remote

  • Additional:

    • (link) Cabal now properly states tasty-discover as build-tool-depends.

    • (link) added explicit hie.yml cradle description for cabal to help Haskell Language Server to work with monorepo.

    • (link) Nix dev env: removed GHC 8.6.5 support, afaik it is not even in Nixpkgs anymore.

hnix-store-0.4.1.0

16 Jan 09:16
Compare
Choose a tag to compare

hnix-store-core

  • Big clean-up of dependencies.

hnix-store-remote

  • System.Nix.Store.Remote: module API now re-exports System.Nix.Store.Remote.Types API
  • Big clean-up of dependencies.