From 535384f5919eafb03856cf604b99cc94ce04e37a Mon Sep 17 00:00:00 2001
From: Simon Jakobi <simon.jakobi@gmail.com>
Date: Sat, 12 Sep 2020 23:23:16 +0200
Subject: [PATCH] Prepare release 0.6.4.1 (#746)

---
 containers/changelog.md                       | 22 +++++++++++++++++++
 containers/containers.cabal                   |  2 +-
 containers/src/Data/Graph.hs                  |  2 ++
 containers/src/Data/IntMap/Internal.hs        |  4 ++--
 containers/src/Data/IntMap/Strict/Internal.hs |  2 +-
 containers/src/Data/Map/Internal.hs           |  2 +-
 6 files changed, 29 insertions(+), 5 deletions(-)

diff --git a/containers/changelog.md b/containers/changelog.md
index 0dc504f7..450d47d9 100644
--- a/containers/changelog.md
+++ b/containers/changelog.md
@@ -1,5 +1,27 @@
 # Changelog for [`containers` package](http://github.com/haskell/containers)
 
+## [0.6.4.1]
+
+### Bug fixes
+
+* [Replace value-forcing variants of `compose` with lazy variants.](https://github.com/haskell/containers/pull/745)
+  *  This brings `compose` closer in line with functions like `union` and `intersection` which don't evaluate any map values. (Thanks, Simon Jakobi)
+
+### Additions
+
+* [Add `reverseTopSort` to `Data.Graph`](https://github.com/haskell/containers/pull/638) (Thanks, James Parker)
+
+* [Expose `traverseMaybeWithKey` from `Data.IntMap.{Lazy,Strict}`](https://github.com/haskell/containers/pull/743) (Thanks, Simon
+  Jakobi)
+
+### Other changes
+
+* Improvements to the testsuite: [#663](https://github.com/haskell/containers/pull/663), [#662](https://github.com/haskell/containers/pull/662) (Thanks, Bertram Felgenhauer)
+
+* [Fix build with `stack test`](https://github.com/haskell/containers/pull/738) (Thanks, Simon Jakobi)
+
+[0.6.4.1]: https://github.com/haskell/containers/compare/v0.6.3.1-release...v0.6.4.1
+
 ## 0.6.3.1
 
 ### Bug fixes
diff --git a/containers/containers.cabal b/containers/containers.cabal
index 268a98f0..6ad9a912 100644
--- a/containers/containers.cabal
+++ b/containers/containers.cabal
@@ -1,5 +1,5 @@
 name: containers
-version: 0.6.3.1
+version: 0.6.4.1
 license: BSD3
 license-file: LICENSE
 maintainer: libraries@haskell.org
diff --git a/containers/src/Data/Graph.hs b/containers/src/Data/Graph.hs
index 10ff02fb..d558c48f 100644
--- a/containers/src/Data/Graph.hs
+++ b/containers/src/Data/Graph.hs
@@ -619,6 +619,8 @@ topSort      :: Graph -> [Vertex]
 topSort       = reverse . postOrd
 
 -- | Reverse ordering of `topSort`.
+--
+-- @since 0.6.4
 reverseTopSort :: Graph -> [Vertex]
 reverseTopSort = postOrd
 
diff --git a/containers/src/Data/IntMap/Internal.hs b/containers/src/Data/IntMap/Internal.hs
index 5caebcb0..201f17c6 100644
--- a/containers/src/Data/IntMap/Internal.hs
+++ b/containers/src/Data/IntMap/Internal.hs
@@ -783,7 +783,7 @@ disjoint t1@(Bin p1 m1 l1 r1) t2@(Bin p2 m2 l2 r2)
 -- ('compose' bc ab '!?') = (bc '!?') <=< (ab '!?')
 -- @
 --
--- __Note:__ Prior to UNRELEASED, "Data.IntMap.Strict" exposed a version of
+-- __Note:__ Prior to v0.6.4, "Data.IntMap.Strict" exposed a version of
 -- 'compose' that forced the values of the output 'IntMap'. This version does
 -- not force these values.
 --
@@ -1896,7 +1896,7 @@ traverseMaybeMissing f = WhenMissing
 
 -- | /O(n)/. Traverse keys\/values and collect the 'Just' results.
 --
--- @since UNRELEASED
+-- @since 0.6.4
 traverseMaybeWithKey
   :: Applicative f => (Key -> a -> f (Maybe b)) -> IntMap a -> f (IntMap b)
 traverseMaybeWithKey f = go
diff --git a/containers/src/Data/IntMap/Strict/Internal.hs b/containers/src/Data/IntMap/Strict/Internal.hs
index 7c639ef9..8245fd2c 100644
--- a/containers/src/Data/IntMap/Strict/Internal.hs
+++ b/containers/src/Data/IntMap/Strict/Internal.hs
@@ -904,7 +904,7 @@ traverseWithKey f = go
 
 -- | /O(n)/. Traverse keys\/values and collect the 'Just' results.
 --
--- @since UNRELEASED
+-- @since 0.6.4
 traverseMaybeWithKey
   :: Applicative f => (Key -> a -> f (Maybe b)) -> IntMap a -> f (IntMap b)
 traverseMaybeWithKey f = go
diff --git a/containers/src/Data/Map/Internal.hs b/containers/src/Data/Map/Internal.hs
index a12d3c4a..e39be002 100644
--- a/containers/src/Data/Map/Internal.hs
+++ b/containers/src/Data/Map/Internal.hs
@@ -2106,7 +2106,7 @@ disjoint (Bin _ k _ l r) t
 -- ('compose' bc ab '!?') = (bc '!?') <=< (ab '!?')
 -- @
 --
--- __Note:__ Prior to UNRELEASED, "Data.Map.Strict" exposed a version of
+-- __Note:__ Prior to v0.6.4, "Data.Map.Strict" exposed a version of
 -- 'compose' that forced the values of the output 'Map'. This version does not
 -- force these values.
 --
-- 
GitLab