Skip to content

Commit 3d4fdec

Browse files
authored
Merge pull request #6950 from phadej/changelog-3.4
Update changelog for 3.4
2 parents 5ee43c8 + fde059f commit 3d4fdec

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

82 files changed

+916
-24
lines changed

Cabal/Distribution/Compat/DList.hs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ runDList (DList run) = run []
3232
singleton :: a -> DList a
3333
singleton a = DList (a:)
3434

35+
-- | @since 3.4.0.0
3536
empty :: DList a
3637
empty = DList id
3738

Cabal/Distribution/Compat/NonEmptySet.hs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ import Control.Applicative (empty)
3939
import Control.Monad (fail)
4040
#endif
4141

42+
-- | @since 3.4.0.0
4243
newtype NonEmptySet a = NES (Set.Set a)
4344
deriving (Eq, Ord, Typeable, Data, Read)
4445

Cabal/Distribution/Simple/GHC.hs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -364,6 +364,8 @@ toPackageIndex verbosity pkgss progdb = do
364364
ghcProg = fromMaybe (error "GHC.toPackageIndex: no ghc program") $ lookupProgram ghcProgram progdb
365365

366366
-- | Return the 'FilePath' to the GHC application data directory.
367+
--
368+
-- @since 3.4.0.0
367369
getGhcAppDir :: IO FilePath
368370
getGhcAppDir = getAppUserDataDirectory "ghc"
369371

Cabal/Distribution/Types/Dependency.hs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,8 @@ versionGuardMultilibs = do
166166
]
167167

168168
-- | Library set with main library.
169+
--
170+
-- @since 3.4.0.0
169171
mainLibSet :: NonEmptySet LibraryName
170172
mainLibSet = NES.singleton LMainLibName
171173

Cabal/Distribution/Types/Mixin.hs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,8 @@ versionGuardMultilibs = do
7979
]
8080

8181
-- | Smart constructor of 'Mixin', enforces invariant.
82+
--
83+
-- @since 3.4.0.0
8284
mkMixin :: PackageName -> LibraryName -> IncludeRenaming -> Mixin
8385
mkMixin pn (LSubLibName uqn) incl
8486
| packageNameToUnqualComponentName pn == uqn

Cabal/Distribution/Types/PackageVersionConstraint.hs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,11 +63,12 @@ instance Parsec PackageVersionConstraint where
6363
else
6464
pure (PackageVersionConstraint name (thisVersion ver))
6565

66-
66+
-- | @since 3.4.0.0
6767
thisPackageVersionConstraint :: PackageIdentifier -> PackageVersionConstraint
6868
thisPackageVersionConstraint (PackageIdentifier pn vr) =
6969
PackageVersionConstraint pn (thisVersion vr)
7070

71+
-- | @since 3.4.0.0
7172
simplifyPackageVersionConstraint :: PackageVersionConstraint -> PackageVersionConstraint
7273
simplifyPackageVersionConstraint (PackageVersionConstraint pn vr) =
7374
PackageVersionConstraint pn (simplifyVersionRange vr)

Cabal/Distribution/Types/SourceRepo.hs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,8 @@ instance NFData RepoKind where rnf = genericRnf
125125
-- obtain and track the repo depend on the repo type.
126126
--
127127
data KnownRepoType = Darcs | Git | SVN | CVS
128-
| Mercurial | GnuArch | Bazaar | Monotone | Pijul
128+
| Mercurial | GnuArch | Bazaar | Monotone
129+
| Pijul -- ^ @since 3.4.0.0
129130
deriving (Eq, Generic, Ord, Read, Show, Typeable, Data, Enum, Bounded)
130131

131132
instance Binary KnownRepoType

Cabal/Distribution/Verbosity.hs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -279,10 +279,14 @@ verboseNoTimestamp :: Verbosity -> Verbosity
279279
verboseNoTimestamp = verboseNoFlag VTimestamp
280280

281281
-- | Turn on timestamps for log messages.
282+
--
283+
-- @since 3.4.0.0
282284
verboseStderr :: Verbosity -> Verbosity
283285
verboseStderr = verboseFlag VStderr
284286

285287
-- | Turn off timestamps for log messages.
288+
--
289+
-- @since 3.4.0.0
286290
verboseNoStderr :: Verbosity -> Verbosity
287291
verboseNoStderr = verboseNoFlag VStderr
288292

@@ -326,6 +330,8 @@ isVerboseTimestamp :: Verbosity -> Bool
326330
isVerboseTimestamp = isVerboseFlag VTimestamp
327331

328332
-- | Test if we should output to stderr when we log.
333+
--
334+
-- @since 3.4.0.0
329335
isVerboseStderr :: Verbosity -> Bool
330336
isVerboseStderr = isVerboseFlag VStderr
331337

Cabal/Distribution/Verbosity/Internal.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ data VerbosityFlag
2020
| VNoWrap
2121
| VMarkOutput
2222
| VTimestamp
23-
| VStderr
23+
| VStderr -- ^ @since 3.4.0.0
2424
deriving (Generic, Show, Read, Eq, Ord, Enum, Bounded, Typeable)
2525

2626
instance Binary VerbosityFlag

changelog.d/Cabal-QuickCheck

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
synopsis: Cabal-QuickCheck package with `Arbirary` instances
2+
prs: #6557 #6891
3+
issues: #6882
4+
packages: Cabal

0 commit comments

Comments
 (0)