# Changelog for pantry ## v0.7.1 * To support the Haskell Foundation's [Haskell Error Index](https://errors.haskell.org/) initiative, all Pantry error messages generated by Pantry itself begin with an unique code in the form `[S-nnn]`, where `nnn` is a three-digit number. ## v0.7.0 * Change `defaultHackageSecurityConfig` such that field `hscIgnoreExpiry = True`, to be consistent with the defaults of the `WithJSONWarnings HackageSecurityConfig` instance of `FromJSON`. ## v0.6.0 * Rename `HackageSecurityConfig` as `PackageIndexConfig`, `defaultHackageSecurityConfig` as `defaultPackageIndexConfig`, and `pcHackageSecurity` field of `PantryConfig` as `pcPackageIndex`. * Expose new `HackageSecurityConfig` and `defaultHackageSecurityConfig`. The former represents Hackage Security configurations (only - no download prefix). * Change the data constructor of `PackageIndexConfig` to have fields for a download prefix (type `Text`) and of type `HackageSecurityConfig`. * The `WithJSONWarnings PackageIndexConfig` instance of `FromJSON` now assigns default value `defaultHackageSecurityConfig` if the `hackage-security` key is absent from the JSON object. * Expose `defaultDownloadPrefix`, for the official Hackage server. ## v0.5.7 * Expose `loadAndCompleteSnapshotRaw'` and `loadAndCompleteSnapshot'`, which allow the toggling of the debug output of the raw snapshot layer. See [#55](https://github.com/commercialhaskell/pantry/pull/55). * Support GHC 9.4. ## v0.5.6 * Remove operational and mirror keys from bootstrap key set. See [#53](https://github.com/commercialhaskell/pantry/pull/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](https://github.com/commercialhaskell/pantry/pull/39). ## v0.5.2.2 * Support for `Cabal-3.4.0.0`. See [#38](https://github.com/commercialhaskell/pantry/pull/38). ## v0.5.2.1 * Support `persistent-2.13.0.0`. See [#35](https://github.com/commercialhaskell/pantry/issues/35). ## v0.5.2 * Fall back to BSD tar when type cannot be detected. See [#33](https://github.com/commercialhaskell/pantry/issues/33). ## v0.5.1.5 * Switch back to `hackage.haskell.org`. See [#30](https://github.com/commercialhaskell/pantry/pull/30). * Pass through basic auth credentials specified in URLs. See [#32](https://github.com/commercialhaskell/pantry/pull/32). ## v0.5.1.4 * Allow building with `persistent-2.11.0.0`. See [#28](https://github.com/commercialhaskell/pantry/pull/28). ## v0.5.1.3 * Handle case where tree exists in cache by blobs are missing. See [#27](https://github.com/commercialhaskell/pantry/issues/27). ## v0.5.1.2 * Skip a test for issue [#26](https://github.com/commercialhaskell/pantry/issues/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](https://github.com/commercialhaskell/stack/issues/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](https://github.com/commercialhaskell/stack/issues/5045). Data type changes: removed the `pmCabal` and `rpmCabal` fields. ## 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](https://github.com/commercialhaskell/stack/pull/4862). Behavior changes: * By default, do not perform expiry checks in Hackage Security. See Stack issue [#4928](https://github.com/commercialhaskell/stack/issues/4928). Other changes: * Rename `pantry-tmp` package back to `pantry`, 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.