fourmolu 0.19.0.0 → 0.19.0.1
raw patch · 3 files changed
+8/−4 lines, 3 filesdep ~optparse-applicativePVP ok
version bump matches the API change (PVP)
Dependency ranges changed: optparse-applicative
API changes (from Hackage documentation)
Files
- CHANGELOG.md +6/−1
- fourmolu.cabal +1/−1
- src/Ormolu/Utils/IO.hs +1/−2
CHANGELOG.md view
@@ -1,3 +1,8 @@+## Fourmolu 0.19.0.1++* Fixed a performance regression introduced in 0.8.0.0. [Issue+ 1176](https://github.com/tweag/ormolu/issues/1176).+ ## Fourmolu 0.19.0.0 * Add `haddock-location-signature`, to configure haddock location independently of `function-arrows` ([#376](https://github.com/fourmolu/fourmolu/issues/376))@@ -17,7 +22,7 @@ 1166](https://github.com/tweag/ormolu/issues/1166). * Make multiline function signatures in RequiredTypeArguments consistent with- types [PR 1170](https://github.com/tweag/ormolu/pull/1170)+ types [PR 1170](https://github.com/tweag/ormolu/pull/1170). * Correctly format single-line `MultiWayIf`s. [Issue 1171](https://github.com/tweag/ormolu/issues/1171).
fourmolu.cabal view
@@ -1,6 +1,6 @@ cabal-version: 2.4 name: fourmolu-version: 0.19.0.0+version: 0.19.0.1 license: BSD-3-Clause license-file: LICENSE.md maintainer:
src/Ormolu/Utils/IO.hs view
@@ -10,7 +10,6 @@ where import Control.Exception (catch, throwIO)-import Control.Monad (void) import Control.Monad.IO.Class import Data.IORef import Data.Map.Lazy (Map)@@ -67,5 +66,5 @@ Just v -> pure v Nothing -> do v <- action- void $ atomicModifyIORef cacheVar (pure . M.insert k v)+ atomicModifyIORef cacheVar ((,()) . M.insert k v) pure v