Skip to content

Commit

Permalink
Prepare release 0.6.4.1 (#746)
Browse files Browse the repository at this point in the history
  • Loading branch information
sjakobi authored Sep 12, 2020
1 parent ddd24d9 commit 535384f
Show file tree
Hide file tree
Showing 6 changed files with 29 additions and 5 deletions.
22 changes: 22 additions & 0 deletions containers/changelog.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion containers/containers.cabal
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 2 additions & 0 deletions containers/src/Data/Graph.hs
Original file line number Diff line number Diff line change
Expand Up @@ -619,6 +619,8 @@ topSort :: Graph -> [Vertex]
topSort = reverse . postOrd

-- | Reverse ordering of `topSort`.
--
-- @since 0.6.4
reverseTopSort :: Graph -> [Vertex]
reverseTopSort = postOrd

Expand Down
4 changes: 2 additions & 2 deletions containers/src/Data/IntMap/Internal.hs
Original file line number Diff line number Diff line change
Expand Up @@ -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.
--
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion containers/src/Data/IntMap/Strict/Internal.hs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion containers/src/Data/Map/Internal.hs
Original file line number Diff line number Diff line change
Expand Up @@ -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.
--
Expand Down

0 comments on commit 535384f

Please sign in to comment.