Skip to content

Releases: zio/zio-prelude

1.0.0-RC9

15 Dec 23:52
9f687f1
Compare
Choose a tag to compare

This release contains support for ZIO 2.0.0-RC1.

1.0.0-RC8

22 Nov 13:58
a9e0efd
Compare
Choose a tag to compare

This release reverts the changes to the encoding to ZPure in the previous relate candidate. We will explore other ways to continue to improve the ergonomics of ZPure. This release also contains various bug fixes and improvements to the new smart types functionality.

What's Changed

1.0.0-RC7

19 Oct 15:22
dd2cce9
Compare
Choose a tag to compare

This update is packed with several new features!

First, smart types are getting better thanks to work by @jorge-vasquez-2301 and @kitlangton. Assertions about smart types are now checked at compile time instead of runtime, which means you find out about issues earlier and don't have to deal with that possibility of failure in the rest of your code.

Second, ZPure is getting improved type inference. You shouldn't have to specify the state type anymore if you are not using it, which eliminates the need to specify type parameters in some cases.

Third ZIO Prelude no longer depends on ZIO Test. This means some operators that relied on ZIO Test assertions no longer exist, but these can be replaced with variants that take a normal predicate. This creates a stronger separation between test and production code and makes it even easier to get started with ZIO Prelude.

With these changes we believe we have the features we want for a 1.0 release, other than automatic derivation of functional abstractions which could potentially be added later. Following the release of ZIO 2.0 will be putting the final polish on the library to prepare for a 1.0 release.

As always, please let us know your feedback and thank you for your support.

Notable Changes

1.0.0-RC6

27 Aug 14:50
5ad51c8
Compare
Choose a tag to compare

This release contains substantially enhanced documentation along with other improvements.

Notable Changes

1.0.0-RC5

19 May 05:54
5deeaec
Compare
Choose a tag to compare

This release contains support for Scala 3.

Notable Changes

v1.0.0-RC4

28 Apr 17:32
a3da8d0
Compare
Choose a tag to compare

This release contains support for Scala 3.0.0-RC3. It also makes ZValidation its own data type, implements additional operators, and renames some existing operators to more domain specific names to give the best possible experience for handling the possibility of multiple errors. In particular, ZValidation.collectAll is now ZValidation.validate and ZValidation.foreach is now ZValidation.validateWith. The existing operator names are still available as extension methods through ForEach.

Notable Changes

v1.0.0-RC3

13 Mar 06:28
64c2f4d
Compare
Choose a tag to compare

This release contains a fix for a bug regarding the composition of state when using error handlers in ZPure. It also contains a new module with type class instances for parallel collections from the scala-parallel-collections library. Upgrading is recommended for all users.

Notable Changes

v1.0.0-RC2

03 Feb 22:49
744b47c
Compare
Choose a tag to compare

This release brings support for the latest version of Scala 3 and Scala Native as well as smart constructor variants of NewTypeF and SmartTypeF, build out of the arrow hierarchy under AssociativeCompose, additional documentation, and further generalization of ZPure.

In particular, ZPure now includes a W type parameter representing a logging effect and allow accumulating errors similar to the way ZIO does with Cause. "Parallel" operators such as zipWithPar will perform both computations and accumulate errors, as with the previous behavior of Validation#zipWithPar. The full set errors that occurred can be exposed and transformed using operators like the ones on ZIO such as foldCauseM. Validation is now a type alias for ZPure.

Your feedback is greatly appreciated!

Notable Changes

v1.0.0-RC1

14 Oct 00:33
a72a24a
Compare
Choose a tag to compare
v1.0.0-RC1 Pre-release
Pre-release

Initial release.