Releases: haskell-nix/hnix-store
Releases · haskell-nix/hnix-store
core-0.7.0.0
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
hnix-store-remote 0.6
- Breaking:
- (link)
System.Nix.Store.Remote
:addToStore
no longer acceptsFilePath
as its second argument but uses
more genericNarSource
(NarSource PR)
- (link)
hnix-store-core 0.6
-
Breaking:
- (link)
streamNarIO
changes type and returnsNarSource m
FilePath
can turn toNarSource m
usingdumpPath
ByteString
can turn toNarSource m
usingdumpString
- (link)
hnix-store-remote 0.5.0.0
0.5.0.0 2021-06-11
- Breaking:
- (link)
System.Nix.Store.Remote
:addToStore
: constraint ofValidAlgo a
removed in favour of constraint oncryptonite: HashAlgorithm a
through constraintNamedAlgo a
.queryPathFromHashPart
: 1st arg changed fromDigest StorePathHashAlgo
toStorePathHashPart
, for details: hnix-store-core 0.5.0.0 ChangeLog.
- (link)
hnix-store-core 0.5.0.0
0.5.0.0 2021-06-10
-
Breaking:
System.Nix.Hash
:- (link) Migration from packages
cryptohash-
->cryptonite
:- rm
newtype Digest
in favour ofcryptonite: newtype Digest
- rm
data HashAlgorithm
in favour ofcryptonite: class HashAlgorithm
- rm
class ValidAlgo
in favour ofcryptonite: class HashAlgorithm
. class NamedAlgo
removedhashSize
in favour ofcryptonite: class HashAlgorithm: hashDigestSize
. Former became a subclass of the latter.- rm
hash
in favour ofcryptonite: hash
- rm
hashLazy
in favour ofcryptonite: hashlazy
- rm
- (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) Migration from packages
- (link)
System.Nix.StorePath
:- rm
type StorePathHashAlgo = 'Truncated 20 'SHA256
in favour ofStorePathHashPart
&mkStorePathHashPart
. - rm
unStorePathName
, please useGHC: coerce
forStorePathName <-> Text
,StorePathName
data constructor is provided.
- rm
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
- added builder
- exposed
-
(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 usemkStorePathHashPart
.
- add
- Nix store (which are specially truncated) hashes are now handled separately from other hashes:
-
0.4.3.1
{Core, Remote}: proclaim 0.4.3.1 (#155)
0.4.3.0
hnix-store-core
-
Additional:
hnix-store-remote
Nothing (it is tandem hnix-store-core
fix release)
hnix-store-0.4.2.0
hnix-store-core
-
Additional:
-
(link) Cabal now properly states
tasty-discover
asbuild-tool-depends
. -
(link) added explicit
hie.yml
cradle description forcabal
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 onmacOS
).
-
hnix-store-remote
hnix-store-0.4.1.0
hnix-store-core
- Big clean-up of dependencies.
hnix-store-remote
System.Nix.Store.Remote
: module API now re-exportsSystem.Nix.Store.Remote.Types
API- Big clean-up of dependencies.