Releases: kowainik/relude
v1.2.0.0 – GHC 9.4
What's Changed
- GA(deps): Bump actions/checkout from 2 to 3 by @dependabot in #414
- GA(deps): Bump haskell/actions from 1.2 to 2.0 by @dependabot in #415
- Minor haddock fixes by @nitinprakash96 in #418
- fix: Fix typo in comment for
infinitely
by @elldritch in #417 - GA(deps): Bump haskell/actions from 2.0 to 2.2 by @dependabot in #428
- GA(deps): Bump haskell/actions from 2.2 to 2.3 by @dependabot in #429
- [#420] Add support for GHC 9.4 by @vrom911 in #433
- Prepare 1.2.0.0 release by @vrom911 in #434
New Contributors
- @dependabot made their first contribution in #414
- @nitinprakash96 made their first contribution in #418
- @elldritch made their first contribution in #417
Full Changelog: v1.1.0.0...v1.2.0.0
v1.1.0.0 - GHC 9.2
What's Changed
- Correct typo in cabal file by @eschnett in #368
- Correct typo in README by @eschnett in #367
- Build with working GHC on Windows and macOS by @chshersh in #369
- "export" -> "import" by @eschnett in #370
- "less" -> "fewer" by @eschnett in #371
- s/avaiable/available/ by @gregorias in #378
- [ci skip] Fix typo in author name of linked blog post by @JaSpa in #383
- Fix warning in
inverseMap
by @amesgen in #389 - Change relative link to hard link [ci skip] by @alexkassil in #392
- Ghc 9.2 compat by @TeofilC in #403
- Future-proof re-exports from Data.Eq by @Bodigrim in #391
- Raise upper bound on
hashable
by @JackKelly-Bellroy in #399 - [#372] Warn on usages of
readFileText
andwriteFileText
by @chshersh in #407 - Switch from criterion to tasty-bench by @Bodigrim in #410
- Fix typo. by @kodaj in #412
- [#404] Build failure in a released version when using an older version of 'containers' by @vrom911 in #413
- Prepare release 1.1.0.0 by @chshersh in #409
New Contributors
- @eschnett made their first contribution in #368
- @gregorias made their first contribution in #378
- @JaSpa made their first contribution in #383
- @alexkassil made their first contribution in #392
- @TeofilC made their first contribution in #403
- @JackKelly-Bellroy made their first contribution in #399
- @kodaj made their first contribution in #412
Full Changelog: v1.0.0.1...v1.1.0.0
Minor docs fixes
v1.0.0.1 Minor docs fixes (#366)
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!
GHC-8.10, Docs, New FUNctions and FUN
0.7.0.0 — May 14, 2020
- #253: Support GHC-8.10. Upgrade GHC-8.8 to 8.8.3.
- Significant documentation improvements:
- Add high-level description to each reexported module.
- Add String Conversion Table.
- Add
NonEmpty
lists functions tables. - Add
@since
annotations. - Improve README.
- Inline some external reexports into explicit lists of exports.
- Rewrite top-level
cabal
description.
- #234: Reexport
scanl1
,scanr1
,scanl'
fromData.List
. - #256: Make
cycle
total function. - #233: Add
etaReaderT
toRelude.Monad.Trans
to help with performance. - #294: Add
atomicModifyIORef_
andatomicModifyIORef'_
. - #293: Add
memptyIfFalse
andmemptyIfTrue
functions. - Reexport
NonEmpty
functions fromRelude.List.NonEmpty
instead ofRelude.List.Reexport
. - #239: Reexport more STM functions that work with
TMVar
fromRelude.Lifted.Concurrent
. - #227: Create
Relude.Extra
module - #228: Add
universeNonEmpty
function. - #249: Fix infix of the
Relude.Extra.Lens
(^.)
operator. - Reexport partial
read
fromRelude.Unsafe
for consistency. - #244: Remove deprecated functions:
prec
,dupe
andmapBoth
. - #246: Deprecate
Relude.Extra.Validation
in favour ofvalidation-selective
- #196: Deprecate
mapToFst
andmapToSnd
. IntroducetoFst
andtoSnd
inRelude.Extra.Tuple
as shorter aliases formapToFst
. ImplementfmapToFst
andfmapToSnd
. Add more HLint rules forRelude.Extra.Tuple
functions. - #286:
readEither
is not polymorphic over the first argument anymore. Now it takesString
. - #281: Move
One
property tests fromdoctest
tohedgehog
. Significant test time boost. - #264: Support Dhall-16.0.0 in HLint rules.
See CHANGELOG for more details.
v0.6.0.0: Better UX + better docs + more tests + new functions
-
#171:
Add custom type errors to various functions and instances.head
,tail
,last
,init
words
,unwords
,lines
,unlines
error
ToText
,ToLText
,ToString
instances for bytestringsFoldable1
instance for ordinary listsMonad
instance forValidation
-
#164:
ReexportShortByteString
,toShort
/fromShort
functions.
(by @vrom911) -
#168,
#197:
Improve documentation significantly (more and better examples, better wording).
(by @chshersh,
@vrom911,
@Cmdv) -
#167:
Rename functions (and deprecate old versions):prec
toprev
dupe
todup
-
#201:
Implement!!?
as a safe equivalent of!!
that returns aMaybe
.
(by @kutyel) -
#203:
Implement theguarded
combinator.
(by @JonathanLorimer) -
#174:
ImplementbimapBoth
inRelude.Extra.Tuple
module,
markmapBoth
as DEPRECATED.
(by @astynax) -
#221:
Improve documentation for theValidation
module significantly.
(by @chshersh) -
#176:
Implement property-based tests forValidation
laws.
(by @astynax) -
#172:
AddMonoid
andSemigroup
instances for theValidation
type.
(by @mauriciofierrom) -
#156:
Implement helper type-level functions inRelude.Extra.Type
.
(by @TheMatten) -
#165:
Re-exportGHC.Float.atan2
.
(by @ethercrow) -
#155:
ImplementfoldlSC
— short-circuting list fold — inRelude.Extra.Foldable
.
(by @josephcsible) -
#148:
Migrate HLint rules to the latest Dhall spec.
(by @vrom911) -
#178:
Madedie
be polymorphic in its return type.
(by @ilyakooo0) -
#162,
#189,
#190,
#191,
#193,
#194,
#195:
Various refactorings and code improvements:- Breaking change: Reorder type parameters to
asumMap
- Implement
andM
,orM
,allM
, andanyM
in terms of&&^
and||^
- Use
foldr
instead of explicit recursion andtoList
- Use
mapToFst
instead ofzip
to improve list fusion ininverseMap
- Implement
foldMap1
forNonEmpty
in terms offoldr
- Use
$>
instead of*>
andpure
where possible - Implement
asumMap
andfoldMapA
by coercingfoldMap
- Return Failure early in
<*
and*>
too
(by @josephcsible)
- Breaking change: Reorder type parameters to
-
#187:
Removetasty
andtasty-hedgehog
dependencies and their redundant imports.
(by @dalpd)
v0.5.0: Lens + much more docs + better HLint support
- #127:
ImplementRelude.Extra.Lens
module. - #125:
Moved many numerical functions and types inRelude.Numeric
.
ReexporttoIntegralSized
fromData.Bits
.
AddintegerToBounded
andintegerToNatural
inRelude.Numeric
. - #121:
ReexportAp
fromData.Monoid
. Change definition offoldMapA
to useAp
. - #129:
AddappliedTo
andchainedTo
as named versions of operators=<<
and<**>
. - #138:
AddRealFloat
toRelude.Numeric
. - #144:
AddtraverseToSnd
and friends toRelude.Extra.Tuple
. - #140:
Improve text of custom compile-time error messages forelem
functions. - #136:
CoverRelude.Extra.*
modules with custom HLint rules. - #146:
Improve documentation forRelude.File
file: be more explicit about system
locale issues. - Improve documentation for
One
typeclass and add tests. - Support ghc-8.6.4 and ghc-8.4.4.
Drop support for ghc-8.6.1 and ghc-8.4.3.
v0.4.0: Contravariant, Bifoldable/Bitraversable, Validation and much more
v0.3.0: New combinators
See CHANGELOG.md for details.
v0.2.0: Newtypes, documentation, reexports
See CHANGELOG.md for more details.