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
infinitelyby @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
inverseMapby @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
hashableby @JackKelly-Bellroy in #399 - [#372] Warn on usages of
readFileTextandwriteFileTextby @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:containersunordered-containerstextbytestring
Now, when using
relude, you don't need to add these libraries to
your.cabalfile to enjoy their main API. Try removing them from
your.cabalfile after upgrading to this version ofreludeto
see if you still need them.To utilise this feature, update the
mixinpart 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,universeNonEmptyandinverseMapfunctions that
previously were introduced in theRelude.Extra.Enummodule.Relude.Enum
module created that is exported in the mainReludemodule by default.Migration guide: If you were using any of these functions you can now
removeRelude.Extra.Enumfrom your imports and explicitmixinssection
as they are available for you with theReludemodule. -
Remove the
Eqconstraint onuniverseNonEmpty -
#269:
Remove theRelude.Extra.Validationmodule.Migration guide:
If you useRelude.Extra.Validationin you project you need to:-
Add
validation-selectiveinto thebuild-dependssection of your
.cabalfile. -
Change imports of
Relude.Extra.ValidationtoValidation:-- Was: import Relude.Extra.Validation (Validation (..), ..) -- Became: import Validation (Validation (..), ..)
-
-
#346,
#347:
ReimplementordNubthroughnubOrdfromcontainers.
AddordNubOn,intNubandintNubOnfunctions. -
#327:
Addinfinitelyas more strictly typedforever. -
#311:
AddmaybeAtfunction — the non-operator version of!!?with its
arguments flipped. -
#314:
Add lifted versions of functions to work withHandle:hFlushhIsEOFhSetBufferinghGetBuffering
-
#305:
Add lifted versions of functions to work with environment:getArgslookupEnv
-
Add lifted version of the
readFile'function. -
Reexport the
BufferModetype frombase. -
#309:
ReexportspanfromData.List. -
#319:
ImplementpartitionWith. -
#307:
Addfoldr1toFoldable1. -
#316:
Addaverageandaverage1— efficient functions for finding
average on foldable structures. -
#306:
AddmaximumOn1andminimumOn1toFoldable1. -
#301:
AddtraceShowWithtoRelude.Debug. -
Updates to
relude-specific.hlintrules.
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
NonEmptylists functions tables. - Add
@sinceannotations. - Improve README.
- Inline some external reexports into explicit lists of exports.
- Rewrite top-level
cabaldescription.
- #234: Reexport
scanl1,scanr1,scanl'fromData.List. - #256: Make
cycletotal function. - #233: Add
etaReaderTtoRelude.Monad.Transto help with performance. - #294: Add
atomicModifyIORef_andatomicModifyIORef'_. - #293: Add
memptyIfFalseandmemptyIfTruefunctions. - Reexport
NonEmptyfunctions fromRelude.List.NonEmptyinstead ofRelude.List.Reexport. - #239: Reexport more STM functions that work with
TMVarfromRelude.Lifted.Concurrent. - #227: Create
Relude.Extramodule - #228: Add
universeNonEmptyfunction. - #249: Fix infix of the
Relude.Extra.Lens(^.)operator. - Reexport partial
readfromRelude.Unsafefor consistency. - #244: Remove deprecated functions:
prec,dupeandmapBoth. - #246: Deprecate
Relude.Extra.Validationin favour ofvalidation-selective - #196: Deprecate
mapToFstandmapToSnd. IntroducetoFstandtoSndinRelude.Extra.Tupleas shorter aliases formapToFst. ImplementfmapToFstandfmapToSnd. Add more HLint rules forRelude.Extra.Tuplefunctions. - #286:
readEitheris not polymorphic over the first argument anymore. Now it takesString. - #281: Move
Oneproperty tests fromdoctesttohedgehog. 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,initwords,unwords,lines,unlineserrorToText,ToLText,ToStringinstances for bytestringsFoldable1instance for ordinary listsMonadinstance forValidation
-
#164:
ReexportShortByteString,toShort/fromShortfunctions.
(by @vrom911) -
#168,
#197:
Improve documentation significantly (more and better examples, better wording).
(by @chshersh,
@vrom911,
@Cmdv) -
#167:
Rename functions (and deprecate old versions):prectoprevdupetodup
-
#201:
Implement!!?as a safe equivalent of!!that returns aMaybe.
(by @kutyel) -
#203:
Implement theguardedcombinator.
(by @JonathanLorimer) -
#174:
ImplementbimapBothinRelude.Extra.Tuplemodule,
markmapBothas DEPRECATED.
(by @astynax) -
#221:
Improve documentation for theValidationmodule significantly.
(by @chshersh) -
#176:
Implement property-based tests forValidationlaws.
(by @astynax) -
#172:
AddMonoidandSemigroupinstances for theValidationtype.
(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:
Madediebe 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, andanyMin terms of&&^and||^ - Use
foldrinstead of explicit recursion andtoList - Use
mapToFstinstead ofzipto improve list fusion ininverseMap - Implement
foldMap1forNonEmptyin terms offoldr - Use
$>instead of*>andpurewhere possible - Implement
asumMapandfoldMapAby coercingfoldMap - Return Failure early in
<*and*>too
(by @josephcsible)
- Breaking change: Reorder type parameters to
-
#187:
Removetastyandtasty-hedgehogdependencies and their redundant imports.
(by @dalpd)
v0.5.0: Lens + much more docs + better HLint support
- #127:
ImplementRelude.Extra.Lensmodule. - #125:
Moved many numerical functions and types inRelude.Numeric.
ReexporttoIntegralSizedfromData.Bits.
AddintegerToBoundedandintegerToNaturalinRelude.Numeric. - #121:
ReexportApfromData.Monoid. Change definition offoldMapAto useAp. - #129:
AddappliedToandchainedToas named versions of operators=<<and<**>. - #138:
AddRealFloattoRelude.Numeric. - #144:
AddtraverseToSndand friends toRelude.Extra.Tuple. - #140:
Improve text of custom compile-time error messages forelemfunctions. - #136:
CoverRelude.Extra.*modules with custom HLint rules. - #146:
Improve documentation forRelude.Filefile: be more explicit about system
locale issues. - Improve documentation for
Onetypeclass 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.