Changelog for pantry-0.11.2
Changelog for pantry
v0.11.2
- Expose
Tree,TreeEntry,FileTypeandrenderTree, as these are used by thecasa-serverpackage's test suite.
v0.11.1
- Drop support for GHC versions before GHC 7.10.
v0.11.0
- Update
defaultHackageSecurityConfigfor changes in Hackage'sroot.jsonfile of the keys of the Hackage root key holders.
v0.10.1
- Expose new
parseRawPackageLocationImmutables. - Add errors S-925 (
RawPackageLocationImmutableParseFail) and S-775 (RawPackageLocationImmutableParseWarnings).
v0.10.0
- Name of tar file of local cache of package index is not hard coded.
withPantryConfigandwithPantryConfig'require the location of global hints to be specified.GlobalHintsLocation,defaultGlobalHintsLocation,globalHintsLocationandparseGlobalHintsLocationadded.withPantryConfig'now requires the specification of whether or not Hpack's--forceflag is to be applied.- Expose
hpackForceL, a lens to view or modify theForce(Hpack) of aPantryConfig.
v0.9.3.2
- Support
ansi-terminal-1.0.2. - Bug fix: On Windows,
loadPackageRawsupports repositories with submodules, as intended.
v0.9.3.1
- Depend on
aeson-warning-parser-0.1.1.
v0.9.3
- Add error S-628 (
LocalNoArchiveFileFound). - Depend on
rio-prettyprint-0.1.7.0.
v0.9.2
defaultCasaRepoPrefixreferences https://casa.stackage.org, instead of https://casa.fpcomplete.com.- Depend on
cryptoninstead ofcryptonite. - Depend on
tar-conduit-0.4.0, which will tolerate long filenames and directory names in archives created bygit archive.
v0.9.1
- Expose module
Pantry.SQLite.
v0.9.0
- Remove module
Pantry.Internal.AesonExtendedand depend onaeson-warning-parserpackage. - Remove module
Pantry.Internal.Companionand depend oncompanionpackage. - Remove module
Pantry.Internal.StaticBytesand depend onstatic-bytespackage. - Remove module
Pantry.Internal, previously exposed only for testing. - Update
defaultHackageSecurityConfigfor changes in Hackage'sroot.jsonfile of the keys of the Hackage root key holders.
v0.8.3
- Expose
withPantryConfig', which allows for optional use of Casa.NoCasaConfigis now a data constructor ofPantryException. withRepo, in the case of Git, will now, if necessary, fetch the specific commit. (For example, GitHub repositories include the commits of unmerged pull requests but these are not fetched when the repository is cloned.)
v0.8.2.2
- Add error S-395 (
NoLocalPackageDirFound).
v0.8.2.1
- On Windows, avoid fatal
tar: Cannot connect to C: resolve failedbug when archiving repository submodules.
v0.8.2
PantryExceptionis now an instance of theText.PrettyPrint.Leijen.Extended.Prettyclass (provided by therio-prettyprintpackage).- Module
Pantrynow exportsFuzzyResults,MismatchandSafeFilePath(andmkSafeFilePath), used in data constructors ofPantryException.
v0.8.1
- Support
hpack-0.35.1, and prettierHpackLibraryExceptionerror messages.
v0.8.0
findOrGenerateCabalFile,loadCabalFilePath,loadCabalFileandloadCabalFileRawno longer assume that the program name used by Hpack (the library) is "stack", and take a new initial argument of typeMaybe Textto specify the desired program name. The default is "hpack".
v0.7.1
- To support the Haskell Foundation's
Haskell Error Index initiative, all Pantry
error messages generated by Pantry itself begin with an unique code in the
form
[S-nnn], wherennnis a three-digit number.
v0.7.0
- Change
defaultHackageSecurityConfigsuch that fieldhscIgnoreExpiry = True, to be consistent with the defaults of theWithJSONWarnings HackageSecurityConfiginstance ofFromJSON.
v0.6.0
- Rename
HackageSecurityConfigasPackageIndexConfig,defaultHackageSecurityConfigasdefaultPackageIndexConfig, andpcHackageSecurityfield ofPantryConfigaspcPackageIndex. - Expose new
HackageSecurityConfiganddefaultHackageSecurityConfig. The former represents Hackage Security configurations (only - no download prefix). - Change the data constructor of
PackageIndexConfigto have fields for a download prefix (typeText) and of typeHackageSecurityConfig. - The
WithJSONWarnings PackageIndexConfiginstance ofFromJSONnow assigns default valuedefaultHackageSecurityConfigif thehackage-securitykey is absent from the JSON object. - Expose
defaultDownloadPrefix, for the official Hackage server.
v0.5.7
- Expose
loadAndCompleteSnapshotRaw'andloadAndCompleteSnapshot', which allow the toggling of the debug output of the raw snapshot layer. See #55. - Support GHC 9.4.
v0.5.6
- Remove operational and mirror keys from bootstrap key set. See #53.
v0.5.5
- Support
Cabal-3.6.0.0.
v0.5.4
- Support
aeson-2.0.0.0.
v0.5.3
- improve and expose
fetchRepos/fetchReposRaw.
v0.5.2.3
- Support for GHC 9.0. See #39.
v0.5.2.2
- Support for
Cabal-3.4.0.0. See #38.
v0.5.2.1
- Support
persistent-2.13.0.0. See #35.
v0.5.2
- Fall back to BSD tar when type cannot be detected. See #33.
v0.5.1.5
- Switch back to
hackage.haskell.org. See #30. - Pass through basic auth credentials specified in URLs. See #32.
v0.5.1.4
- Allow building with
persistent-2.11.0.0. See #28.
v0.5.1.3
- Handle case where tree exists in cache by blobs are missing. See #27.
v0.5.1.2
- Skip a test for issue #26.
v0.5.1.1
- Fix to allow multiple relative path of symlink.
v0.5.1.0
- Catch all exceptions from Casa calls and recover.
v0.5.0.0
- Make the location of LTS/Nightly snapshots configurable.
v0.4.0.1
- Removed errant log message.
v0.4.0.0
- Add a deprecation warning when using a repo/archive without a Cabal file, see Stack issue #5210.
- Do not include repo/archive dependencies which do not include Cabal files in lock files.
- Remove some no longer used functions.
v0.3.0.0
- Upgrade to
Cabal-3.0.0.0.
v0.2.0.0
Bug fixes:
- Don't compare the hashes of Cabal files. Addresses bugs such as Stack issue
#5045. Data type
changes: removed the
pmCabalandrpmCabalfields.
v0.1.1.2
Bug fixes:
- Module mapping insertions into the database are now atomic. Previously, if you SIGTERMed at the wrong time while running a script, you could end up with an inconsistent database state.
v0.1.1.1
Other changes:
- Support building with
persistent-template-2.7.0.
v0.1.1.0
Changes since 0.1.0.0
Bug fixes:
- Fix to allow dependencies on specific versions of local git repositories. See Stack pull request #4862.
Behavior changes:
- By default, do not perform expiry checks in Hackage Security. See Stack issue #4928.
Other changes:
- Rename
pantry-tmppackage back topantry, now that we have gained maintainership (which had been used by someone else for a candidate-only test that made it look like the name was free but prevented uploading a real package).
0.1.0.0
- Initial release.