v1.0: Reexport libs entirely, GHC 9, official standard
-
#353:
Reexport most common modules from the following libraries:containers
unordered-containers
text
bytestring
Now, when using
relude
, you don't need to add these libraries to
your.cabal
file to enjoy their main API. Try removing them from
your.cabal
file after upgrading to this version ofrelude
to
see if you still need them.To utilise this feature, update the
mixin
part of your package
configuration (if you're using the mixins approach) to the following:mixins: base hiding (Prelude) , relude (Relude as Prelude) , relude
-
#345:
Support GHC-9.0. -
Upgrade minor GHC versions to GHC-8.10.4 and GHC-8.8.4.
-
#268:
Drop support of GHC-8.0.2. -
#270:
Standardiseuniverse
,universeNonEmpty
andinverseMap
functions that
previously were introduced in theRelude.Extra.Enum
module.Relude.Enum
module created that is exported in the mainRelude
module by default.Migration guide: If you were using any of these functions you can now
removeRelude.Extra.Enum
from your imports and explicitmixins
section
as they are available for you with theRelude
module. -
Remove the
Eq
constraint onuniverseNonEmpty
-
#269:
Remove theRelude.Extra.Validation
module.Migration guide:
If you useRelude.Extra.Validation
in you project you need to:-
Add
validation-selective
into thebuild-depends
section of your
.cabal
file. -
Change imports of
Relude.Extra.Validation
toValidation
:-- Was: import Relude.Extra.Validation (Validation (..), ..) -- Became: import Validation (Validation (..), ..)
-
-
#346,
#347:
ReimplementordNub
throughnubOrd
fromcontainers
.
AddordNubOn
,intNub
andintNubOn
functions. -
#327:
Addinfinitely
as more strictly typedforever
. -
#311:
AddmaybeAt
function — the non-operator version of!!?
with its
arguments flipped. -
#314:
Add lifted versions of functions to work withHandle
:hFlush
hIsEOF
hSetBuffering
hGetBuffering
-
#305:
Add lifted versions of functions to work with environment:getArgs
lookupEnv
-
Add lifted version of the
readFile'
function. -
Reexport the
BufferMode
type frombase
. -
#309:
Reexportspan
fromData.List
. -
#319:
ImplementpartitionWith
. -
#307:
Addfoldr1
toFoldable1
. -
#316:
Addaverage
andaverage1
— efficient functions for finding
average on foldable structures. -
#306:
AddmaximumOn1
andminimumOn1
toFoldable1
. -
#301:
AddtraceShowWith
toRelude.Debug
. -
Updates to
relude
-specific.hlint
rules.
Thanks @googleson78, @sushi-shi, @rektrex, @aleator, @mjgpy3, @dalpd, @Bodigrim for helping with this release!