relude v1.0.0.1 Release Notes
Release Date: 2021-03-15 // over 3 years ago-
- ๐ Minor documentation changes.
Previous changes from v1.0.0.0
-
#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:
Standardise
universe
,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 remove
Relude.Extra.Enum
from your imports and explicitmixins
section as they are available for you with theRelude
module.- โ Remove the
Eq
constraint onuniverseNonEmpty
- #269:
Remove the
Relude.Extra.Validation
module.
Migration guide: If you use
Relude.Extra.Validation
in you project you need to:1. Add `validation-selective` into the `build-depends` section of your `.cabal` file. 2. Change imports of `Relude.Extra.Validation` to `Validation`: ```haskell -- Was: import Relude.Extra.Validation (Validation (..), ..) -- Became: import Validation (Validation (..), ..) ```
- #346,
#347:
Reimplement
ordNub
throughnubOrd
fromcontainers
. AddordNubOn
,intNub
andintNubOn
functions. - #327:
Add
infinitely
as more strictly typedforever
. - #311:
Add
maybeAt
function โ the non-operator version of!!?
with its arguments flipped. #314: Add lifted versions of functions to work with
Handle
: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: Reexport
span
fromData.List
.#319: Implement
partitionWith
.#307: Add
foldr1
toFoldable1
.#316: Add
average
andaverage1
โ efficient functions for finding average on foldable structures.#306: Add
maximumOn1
andminimumOn1
toFoldable1
.#301: Add
traceShowWith
toRelude.Debug
.โก๏ธ Updates to
relude
-specific.hlint
rules.
Thanks @googleson78, @sushi-shi, @rektrex, @aleator, @mjgpy3, @dalpd, ๐ @Bodigrim for helping with this release!