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:addToStoreno longer acceptsFilePathas its second argument but uses
more genericNarSource(NarSource PR)
- (link)
hnix-store-core 0.6
-
Breaking:
- (link)
streamNarIOchanges type and returnsNarSource mFilePathcan turn toNarSource musingdumpPathByteStringcan turn toNarSource musingdumpString
- (link)
hnix-store-remote 0.5.0.0
0.5.0.0 2021-06-11
- Breaking:
- (link)
System.Nix.Store.Remote:addToStore: constraint ofValidAlgo aremoved in favour of constraint oncryptonite: HashAlgorithm athrough constraintNamedAlgo a.queryPathFromHashPart: 1st arg changed fromDigest StorePathHashAlgotoStorePathHashPart, 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 Digestin favour ofcryptonite: newtype Digest - rm
data HashAlgorithmin favour ofcryptonite: class HashAlgorithm - rm
class ValidAlgoin favour ofcryptonite: class HashAlgorithm. class NamedAlgoremovedhashSizein favour ofcryptonite: class HashAlgorithm: hashDigestSize. Former became a subclass of the latter.- rm
hashin favour ofcryptonite: hash - rm
hashLazyin 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 'SHA256in favour ofStorePathHashPart&mkStorePathHashPart. - rm
unStorePathName, please useGHC: coerceforStorePathName <-> Text,StorePathNamedata constructor is provided.
- rm
Internalmodules now have export lists, if something, please contact.
-
Additional:
-
(link) Support of GHC 9.0.
-
(link)
System.Nix.StorePath:- exposed
StorePathNamedata 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-discoverasbuild-tool-depends. -
(link) added explicit
hie.ymlcradle description forcabalto 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.TypesAPI- Big clean-up of dependencies.