Zio-py

Latest version: v0.0.16

Safety actively analyzes 630328 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 6 of 20

1.0.13

What's Changed
* chore(deps): update zio.version to v1.0.12 by renovate in https://github.com/zio/zio/pull/5652
* chore(deps): update dependency prismjs to 1.25.0 [security] by renovate in https://github.com/zio/zio/pull/5654
* Update zio-aws-core, zio-aws-ec2, ... to 3.17.42.1 by scala-steward in https://github.com/zio/zio/pull/5656
* Update http4s-blaze-client, ... to 0.23.4 by scala-steward in https://github.com/zio/zio/pull/5657
* Update zio-aws-core, zio-aws-ec2, ... to 3.17.42.3 by scala-steward in https://github.com/zio/zio/pull/5660
* Remove site deployment from the series 1.x branch by atooni in https://github.com/zio/zio/pull/5658
* Added DPG recruitment to the list of adopters in the README by kolov in https://github.com/zio/zio/pull/5672
* Preserve Original Error In ZStreamtimeoutError by adamgfraser in https://github.com/zio/zio/pull/5671
* Update scalafmt-core to 3.0.5 by scala-steward in https://github.com/zio/zio/pull/5674
* Update sbt-ci-release to 1.5.9 by scala-steward in https://github.com/zio/zio/pull/5663
* Update scala-compiler, scala-library, ... to 2.12.15 by scala-steward in https://github.com/zio/zio/pull/5613
* Update quill-jdbc-zio to 3.10.0 by scala-steward in https://github.com/zio/zio/pull/5526
* Update zio-test-akka-http to 1.0.3 by scala-steward in https://github.com/zio/zio/pull/5673
* Update zio-aws-core, zio-aws-ec2, ... to 3.17.42.4 by scala-steward in https://github.com/zio/zio/pull/5682
* Fix getRef in Fiber.orElse by zeal18 in https://github.com/zio/zio/pull/5690
* chore(deps): update node.js to v14.18.0 by renovate in https://github.com/zio/zio/pull/5689
* Update zio-aws-core, zio-aws-ec2, ... to 3.17.42.5 by scala-steward in https://github.com/zio/zio/pull/5691
* Update jsoup to 1.14.3 by scala-steward in https://github.com/zio/zio/pull/5695
* Preserve Partial Ordering Of Stream Elements In ZStreamzipWithLatest by adamgfraser in https://github.com/zio/zio/pull/5693
* Update zio-kafka to 0.17.0 by scala-steward in https://github.com/zio/zio/pull/5698
* Add accessor method for Clock.localDateTime by nartamonov in https://github.com/zio/zio/pull/5661
* Update util-core to 21.9.0 by scala-steward in https://github.com/zio/zio/pull/5700
* Update zio-zmx to 0.0.9 by scala-steward in https://github.com/zio/zio/pull/5701
* Update rezilience to 0.7.0 by scala-steward in https://github.com/zio/zio/pull/5702
* Update scalafmt-core to 3.0.6 by scala-steward in https://github.com/zio/zio/pull/5708
* Update maven-compat, maven-embedder to 3.8.3 by scala-steward in https://github.com/zio/zio/pull/5710
* Update zio-aws-core, zio-aws-ec2, ... to 3.17.42.6 by scala-steward in https://github.com/zio/zio/pull/5712
* Preserve Scope of Forked Fibers in ZStreaminterruptWhen by adamgfraser in https://github.com/zio/zio/pull/5720
* Generalize Signature Of EffectBlockingCancelable by adamgfraser in https://github.com/zio/zio/pull/5715
* Update http4s-blaze-client, ... to 0.23.5 by scala-steward in https://github.com/zio/zio/pull/5735
* Update zio-aws-core, zio-aws-ec2, ... to 3.17.42.7 by scala-steward in https://github.com/zio/zio/pull/5740
* Update sbt-scalajs, scalajs-compiler, ... to 1.7.1 by scala-steward in https://github.com/zio/zio/pull/5738
* Back Port ZIOtoManagedAuto by adamgfraser in https://github.com/zio/zio/pull/5727
* Update zio-aws-core, zio-aws-ec2, ... to 3.17.42.9 by scala-steward in https://github.com/zio/zio/pull/5746
* Update caliban, caliban-zio-http to 1.2.0 by scala-steward in https://github.com/zio/zio/pull/5748
* Update zio-aws-core, zio-aws-ec2, ... to 3.17.56.1 by scala-steward in https://github.com/zio/zio/pull/5747
* feat: catchNonFatal by runtologist in https://github.com/zio/zio/pull/5741
* Add collectAll and foreach to ZLayer by jypma in https://github.com/zio/zio/pull/5756
* Update fs2-core to 2.5.10 by scala-steward in https://github.com/zio/zio/pull/5757
* Update reactor-core to 3.4.11 by scala-steward in https://github.com/zio/zio/pull/5758
* Update mockable macro implementation to handle inheritance by sloanesturz in https://github.com/zio/zio/pull/5737
* Implement Random.scalaRandom by adamgfraser in https://github.com/zio/zio/pull/5731
* Update http4s-blaze-client, ... to 0.23.6 by scala-steward in https://github.com/zio/zio/pull/5764
* Add ZTransducer.groupAdjacentBy by davidlar in https://github.com/zio/zio/pull/5767
* Remove Scalafix by adamgfraser in https://github.com/zio/zio/pull/5766
* Remove Scala Steward by adamgfraser in https://github.com/zio/zio/pull/5765
* chore(deps): update node.js to v14.18.1 by renovate in https://github.com/zio/zio/pull/5760
* Update zio-aws-core, zio-aws-ec2, ... to 3.17.58.1 by scala-steward in https://github.com/zio/zio/pull/5769
* chore(deps): update actions/checkout action to v2.3.5 by renovate in https://github.com/zio/zio/pull/5781
* add tamer to community by gurghet in https://github.com/zio/zio/pull/5709
* Update to Scala 3.1.0 by sideeffffect in https://github.com/zio/zio/pull/5793
* Run tests on 8 as the main Java version by sideeffffect in https://github.com/zio/zio/pull/5813
* Scala Native 0.4.1 by sideeffffect in https://github.com/zio/zio/pull/5812
* Fix zio-test-scalacheck publishing by mijicd in https://github.com/zio/zio/pull/5814
* Stop publishing examples by mijicd in https://github.com/zio/zio/pull/5816
* Remove type parameters from STM types list by mijicd in https://github.com/zio/zio/pull/5817
* Clean Up Some Documentation by adamgfraser in https://github.com/zio/zio/pull/5822
* chore(deps): update node.js to v16 by renovate in https://github.com/zio/zio/pull/5828
* ZIO Test Mock: Fix `atLeast` and add exactly bounded expectations by aartigao in https://github.com/zio/zio/pull/5834
* chore(deps): update node.js to v16.13.0 by renovate in https://github.com/zio/zio/pull/5833
* Chunk.fromIterable should work with Iterables traversing only once by narma in https://github.com/zio/zio/pull/5836
* Change/update Gitpod configs by ThijsBroersen in https://github.com/zio/zio/pull/5839
* ZIO Test Mock: Remove redundant `once` combinator for `Expectation[R]` by aartigao in https://github.com/zio/zio/pull/5840
* Fix null rendering w/ PrettyPrint by kitlangton in https://github.com/zio/zio/pull/5842
* Update README.md by yelenabun in https://github.com/zio/zio/pull/5843
* Remove Scalafix artifacts by mijicd in https://github.com/zio/zio/pull/5893
* Implement ConcurrentMap by mijicd in https://github.com/zio/zio/pull/5898
* Add CyclicBarrier by regiskuckaertz in https://github.com/zio/zio/pull/5901
* Add Scala 3 to crossScalaVersions and remove bintray.com by sideeffffect in https://github.com/zio/zio/pull/5897
* 5823 - Add ConcurrentSet by aleksandarskrbic in https://github.com/zio/zio/pull/5876
* Update stale contributing docs by mijicd in https://github.com/zio/zio/pull/5920
* Add CountdownLatch by regiskuckaertz in https://github.com/zio/zio/pull/5915
* Add concurrent set methods by kitlangton in https://github.com/zio/zio/pull/5921
* Update contributing.md by BruceEckel in https://github.com/zio/zio/pull/5929
* Add possibility to feed UUIDs to TestRandom by Edvin-san in https://github.com/zio/zio/pull/5950
* Add adpulse.io to list of adopters by dpovey in https://github.com/zio/zio/pull/5957
* Replace UIO[Unit] with UIO[Any] by mijicd in https://github.com/zio/zio/pull/5963
* Prefer Unit to Any by mijicd in https://github.com/zio/zio/pull/5967
* issue 5877: Backport some improvements to supervisor by dkarlinsky in https://github.com/zio/zio/pull/5942
* issue 5804: mockable fails to mock service that returns a stream by KineticCookie in https://github.com/zio/zio/pull/5962
* Upgrade Scala Version by adamgfraser in https://github.com/zio/zio/pull/5976
* Added ConcurrentMap methods by oliveiosello in https://github.com/zio/zio/pull/5933
* .is SmartAssertions by kitlangton in https://github.com/zio/zio/pull/5988
* Fix race condition in fromOutputStreamWriter by joroKr21 in https://github.com/zio/zio/pull/5872
* Improve `.is` with custom assertions, subtype, and anything by kitlangton in https://github.com/zio/zio/pull/5996
* Added benchmarks for Chunk methods inherited from IndexedSeq by Ethan-Edmond in https://github.com/zio/zio/pull/5971
* chore(deps): update actions/checkout action to v2.4.0 by renovate in https://github.com/zio/zio/pull/5982
* Fix Compilation Error by adamgfraser in https://github.com/zio/zio/pull/6019
* corrected the official installation to use zio-logging by ksarath in https://github.com/zio/zio/pull/6022
* Auto-docstring wrapping at 80 char line width by kitlangton in https://github.com/zio/zio/pull/6013
* Backport ZIO 2 ClockJava by ThijsBroersen in https://github.com/zio/zio/pull/6035
* Add failsWithA and diesWithA to test assertions by droptheplot in https://github.com/zio/zio/pull/5838
* Fixed 6049 - Misleading Example by eaborm in https://github.com/zio/zio/pull/6052
* Fix foldWeighted emitting too big outputs by rtimush in https://github.com/zio/zio/pull/6054
* fix nonEmptyStringGen by kazchimo in https://github.com/zio/zio/pull/6085
* 4388 Adds execute method + test by jeroenr in https://github.com/zio/zio/pull/6091
* Extract ZIO Concurrent Into Separate Module by adamgfraser in https://github.com/zio/zio/pull/6093
* Implement MockRandomnextUUID by adamgfraser in https://github.com/zio/zio/pull/6100
* Fix CODE_OF_CONDUCT.md link target [master] by ya-goodfella in https://github.com/zio/zio/pull/6106
* Add company to readme by WesselVS in https://github.com/zio/zio/pull/6114
* Don't run tests if they are filtered out by tags or labels by danilbykov in https://github.com/zio/zio/pull/6113
* chore(deps): update node.js to v16.13.1 by renovate in https://github.com/zio/zio/pull/6119
* Fix zlayer example by erdnaxeli in https://github.com/zio/zio/pull/6124
* Add LambdaWorks to the list of adopters by arnoldlacko in https://github.com/zio/zio/pull/6126
* Add ZSink.digest to calculate MessageDigest of incoming bytes by jypma in https://github.com/zio/zio/pull/6138
* add wolt to adapters list by alek-w in https://github.com/zio/zio/pull/6145
* chore(deps): update dependency net.alchim31.maven:scala-maven-plugin to v4.5.6 by renovate in https://github.com/zio/zio/pull/6164
* chore(deps): update dependency json-schema to 0.4.0 [security] by renovate in https://github.com/zio/zio/pull/6165
* the test shows that ZLayer could ignore actual values and use cached "image" of dependency by alek-w in https://github.com/zio/zio/pull/6153

New Contributors
* kolov made their first contribution in https://github.com/zio/zio/pull/5672
* zeal18 made their first contribution in https://github.com/zio/zio/pull/5690
* nartamonov made their first contribution in https://github.com/zio/zio/pull/5661
* sloanesturz made their first contribution in https://github.com/zio/zio/pull/5737
* davidlar made their first contribution in https://github.com/zio/zio/pull/5767
* ThijsBroersen made their first contribution in https://github.com/zio/zio/pull/5839
* yelenabun made their first contribution in https://github.com/zio/zio/pull/5843
* BruceEckel made their first contribution in https://github.com/zio/zio/pull/5929
* Edvin-san made their first contribution in https://github.com/zio/zio/pull/5950
* KineticCookie made their first contribution in https://github.com/zio/zio/pull/5962
* oliveiosello made their first contribution in https://github.com/zio/zio/pull/5933
* Ethan-Edmond made their first contribution in https://github.com/zio/zio/pull/5971
* droptheplot made their first contribution in https://github.com/zio/zio/pull/5838
* eaborm made their first contribution in https://github.com/zio/zio/pull/6052
* rtimush made their first contribution in https://github.com/zio/zio/pull/6054
* danilbykov made their first contribution in https://github.com/zio/zio/pull/6113
* erdnaxeli made their first contribution in https://github.com/zio/zio/pull/6124
* alek-w made their first contribution in https://github.com/zio/zio/pull/6145

**Full Changelog**: https://github.com/zio/zio/compare/v1.0.12...v1.0.13

v2.0.0-M6-2
This release fixes a publishing issue with 2.0.0-M6.

v2.0.0-M6-1
This release fixes a publishing issue with `2.0.0-M6`.

v2.0.0-M6
We did it again! We expected `2.0.0-M5` to be the final milestone before publishing a release candidate of ZIO 2.0, but based on breakthrough work to dramatically simplify the environment type we are publishing one more milestone release.

This release deletes the `Has` data type and builds the ZIO Environment directly into ZIO. This allows us to offer the same power of compositionally building your application's dependencies but without `Has`, simplifying type signatures and improving teachability. Based on this change we have also reverted the renaming of `ZLayer` to `ZServiceBuilder` since this addresses the underlying goal of simplifying dependency injection in a more fundamental way.

Our plan to publish a release candidate in early December remains unchanged. As always thank you for your support and please continue to share your feedback!

v2.0.0-M5
We got so many contributions in the ZIO Hackathon we needed one more milestone to get them all in!

We expect that this will be the last milestone before we publish the first release candidate of ZIO 2.0 and it comes packed with several major new features.

First, rendering of tracing information has been dramatically improved. Traces now look like Java stack traces, so if you know how to read a Java stack trace you know how to read a ZIO trace. This way any tooling you are using to work with Java stack traces today will work with ZIO traces. You shouldn't have to change your infrastructure just because you use an effect system.

Second, this release contains the new channel based stream encoding. While we have striven to maintain a consistent API, under the hood streams and sinks are both implemented as channels, supporting higher performance and reflecting a deep unification that reveals more about the fundamental nature of these data types. Transducers are also gone and have been replaced with pipelines, which represent a stream transformation as a data type.

Third, this release continues our work to improve the ergonomics of providing applications with their required dependencies. We have already taken dramatic steps in this direction with automatic construction of the dependency graph and standardized ways to define services. Now we are improving how we describe building services by renaming `ZLayer` to `ZServiceBuilder`. This tells you exactly what it does, it builds one or more of the services that your application needs.

With these changes we have achieved all the features we targeted for ZIO 2.0. From here we expect to publish the first release candidate at the beginning of December, assuming no major issues, and then work to rapidly upgrade the ecosystem in preparation for a final release.

Thank you all for your support as we build the next generation of cloud native programming in Scala and as always please let us know your feedback!

v2.0.0-M4
This fourth milestone release of ZIO 2.0 brings us rapidly closer to realizing our vision of next generation concurrent programming in Scala.

Specifically, this milestone contains a new implementation of execution tracing that dramatically reduces the overhead of collecting traces. Since most production applications use execution tracing this should have a material impact on the performance of some ZIO applications.

In addition, this release contains a new `ZPool` concurrent data structure that represents a pool of managed resources, for example a connection pool. Users can `get` a value from the pool, semantically blocking until a resource is available, and all resources will be automatically released when the scope of the pool is closed.

Please let us know your feedback. Assuming there are no major issues with this release we expect to publish the first release candidate of ZIO 2.0 in the next two to three weeks. At that point we will work with all ZIO ecosystem libraries to publish versions for ZIO 2.0 so that users can test their applications on ZIO 2.0. At that time we will also have a Scalafix migration rule which will automate the process of upgrading from ZIO 1.0 to ZIO 2.0.

As always thank you for your support!

v2.0.0-M3
This third milestone release of ZIO 2.0 focuses on realizing our vision of next level support for operational concerns, with built in logging and metrics.

See [this](https://ziverge.com/blog/a-preview-of-logging-in-zio-2) blog post by jdegoes for a discussion of the new logging functionality.

For metrics, you can now use `ZIOMetric` to define metrics such as counters, gauges, and histograms and either call them yourself or apply them to effects as aspects:

scala
import zio._

val countErrors = ZIOMetric.countErrors("my service errors")

handle(request) countErrors


In the future ZIO Metrics will support plugging in one or more metrics backends to automatically send metrics to the service or services you want with a single line of code.

This release candidate also contains a new `ZIOApp` that lets you combine multiple applications and share layers between them, as well as a `ZIOAppDefault` to make it even easier to demonstrate and prototype ZIO applications.

scala
object MyApp extends ZIOAppDefault {

def run = Console.printLine("Hello ZIO!")
}


This release also contains `THub`, a version of `ZHub` that can be composed transactionally. So now if you are working with any ZIO data structure and run into a concurrency problem you have trouble solving you can always "upgrade" to the STM version and unblock yourself.

Finally, this release contains a variety of improvements to polish to continue to get us ready for the final release of ZIO 2.0.

As always, thank you for your support and let us know what you think!

1.0.12

This minor release contains miscellaneous improvements as well as a couple of new stream operators.

ZIO Core
* Fix method name in Hub's documentation (5618) mijicd
* Back Port Schedule Improvements to ZIO 1.0 (5489) adamgfraser
* Back Port Zippable and Unzippable To ZIO 1.0 (5480) adamgfraser
* add missing comma (5461) joprice
* docs(blocking.md): fix typo (5454) civilizeddev
* Add missing word in Scaladoc (5455) kluen

ZIO Stream
* Handle Empty Pull (5651) adamgfraser
* Implement ZStreamzipAllSortedByKeyWith (5571) adamgfraser
* Add ZStream.effectAsyncManaged (4478) frekw
* Add "tapError" operator to ZStream (5591) jypma
* Implement ZStreamserviceWithStream (5298) adamgfraser

ZIO Test
* Add tests and better null handling for isThrowableCause (5573) stephendavidmarsh
* Eagerly Build Shared Layers (5532) adamgfraser
* Replacing ☛ with `at` so tooling can auto-hyperlink stacktrace paths (5435) hmemcpy
* Fix pretty printing for SmartAssertions (5443) kitlangton

v2.0.0-M2
This next milestone release contains bug fixes and performance improvements., bringing us one step closer to the first release candidate for ZIO 2.0. Please let us know your feedback!

1.0.11

This minor release contains big fixes and various improvements. In particular, `ZLayerflatMap` has now been implemented to make it easier to build layers dynamically based on inputs such as configuration information. Smart assertions get better with improved diffing and more accurate source locations thanks to work by kitlangton. And khajavi has continued his work of building out the website by adding documentation for ZIO ecosystem libraries.

As always, thank you for your continued support.

ZIO Core
* Update documentation example corresponding to zio-slick-interop 0.4 (5419) khajavi
* Implement NonEmptyChunkfromIterableOption (5371) adamgfraser
* Introduction to community libraries (5318) khajavi
* Backport ZLayerflatmap To ZIO 1.0 (5372) adamgfraser
* Introduction to the ZIO libraries (5272) khajavi
* Implement ZManaged.memoize (5347) adamgfraser
* Complete Takers After On Queue Empty Space (5365) adamgfraser
* Add Default Value For Yield On Start (5370) adamgfraser
* Remove Illegal Reflective Access (5364) adamgfraser
* [Doc] FiberRef: fix the doc example which demonstrates inheritRefs and join (5367) antivanov
* Update basic_operations.md (5331) AlekseiLitkovetc

ZIO Stream
* Fixed typo in ZTransducer docs (5401) amitayh
* Implement Specialized Version Of Register Function For ZStream.effectAsync (5397) adamgfraser
* fix typo in zstream qeuue => queue (5376) txdv

ZIO Test
* Multiline string diffing (5379) kitlangton
* Use SourceLocation for assertTrue (5363) kitlangton
* Improve PrettyPrint for Smart Assertions (5361) kitlangton
* Generalize Signature Of Test Aspect Before (5351) adamgfraser

v2.0.0-M1
We are excited to share with you the first milestone release of ZIO 2.0, the next generation of concurrent programming in Scala.
ZIO 2.0 is the culmination of years of work by more than four hundred contributors and changes the game in four key areas.

Performance

ZIO has always been laser-focused on performance and ZIO 2.0 is no exception. The core runtime system has been hand-optimized to eliminate unnecessary work, getting you as close to bare metal as possible, while still providing the guarantees you have come to expect. This includes a new optimized interpreter for short, synchronous workloads to make it easy to run ZIO workflows in mixed applications without compromising performance.

ZIO 2.0 also features a new fiber-aware scheduler that automatically shifts work between underlying operating system threads to maximize fiber thread affinity, while using all the cores on your machine. This increases cache-locality and improves the performance of ZIO applications, without you having to do anything. With these changes, ZIO continues its history of bringing ZIO users leading performance.

Finally, ZIO 2.0 features optimized handling of blocking operations, avoiding unnecessary shifting between thread pools. Even if you write your code with many individual blocking operations, the ZIO runtime can eliminate most of these thread pool shifts. If you do blocking at a higher level, your code gets even faster.

scala
ZIO.blocking {
for {
result1 <- ZIO.blocking(ZIO.attempt(doIO1()))
result2 <- ZIO.blocking(ZIO.attempt(doIO2()))
result3 <- ZIO.blocking(ZIO.attempt(doIO3()))
} yield result1 + result2 + result3
}


Ergonomics

Ergonomics has always been a strong point for ZIO with its focus on concrete operators on concrete data types. And we're taking this to the next level in ZIO 2.0.

First, layers are getting easier to use. Layers have become the go-to solution for architecting large-scale applications, allowing teams to build functionality in a modular way with resource-safety, with more accessibility and less ramp-up time than alternative approaches. With the module pattern in ZIO 2.0, you can define services the way you would normal Java interfaces and implementation classes. Then you can wire them together with no boilerplate with built-in automatic layer construction, which is type-safe and happens at compile-time.

scala
trait UserRepo {
def getUserById(userId: UserId): Task[User]
}

final case class UserRepoRDBMS(database: Database) extends UserRepo {
def getUserById(userId: UserId): Task[User] = ...
}

val userRepoDBMS =
(for {
database <- ZIO.service[Database]
} yield UserRepoRDMS(database)).toLayer
...
myApp.inject(UserRepoDBMS.live, MySqlDatabase.live, ...)


Second, the entire API has been polished and refined. Every operator describes what it does in as clear a way as possible. Instead of `console.putStrLn` think `Console.printLine`. Instead of `ZIO.effect` think `ZIO.succeed`. These changes make ZIO more accessible and enjoyable for developers of all backgrounds.

Third, we are introducing a new set of smart constructors that will automatically lift any data type into a `ZIO`, `ZManaged`, or `ZStream`. Don't remember the operator name for constructing a `ZIO` from an `Either` particular value? No problem, just use `ZIO.from(either)`. This is particularly helpful for quickly getting new developers productive with ZIO.

scala
ZIO.from {
println("Entering example")
for {
result1 <- ZIO.from(Future.successful(1))
result2 <- ZIO.from(Right(2))
result3 <- ZIO.from(ZIO.from(3))
result4 <- ZIO.from(Try(4))
} yield result1 + result2 + result3 + result4
}


Operations

As more and more large organizations have adopted ZIO for mission critical applications, we have consistently heard the need for high quality, out-of-the-box solutions for logging, metrics, and tracing.

When ZIO 2.0 is released, it will have logging and metrics built-in, a first for any functional effect system in Scala. This will let you write an application and immediately have logging and metrics for free. Of course, you will also be able to plug in any existing logging or metrics system you are using and have it automatically work with ZIO.

Not yet available in this milestone release, ZIO 2.0 will also optimize execution tracing. ZIO pioneered execution traces for asynchronous code and we are building on this legacy by making execution traces even lower cost and even more useful, pointing directly to the section of user code that failed in the event of an error, and showing execution tracing in way that interfaces with existing debugging tooling.

Streaming

ZIO 2.0 is realizing the vision of what streams can be. Streaming has always been an extremely attractive paradigm for defining data flows in a compositional way, but for performance-sensitive applications that high level interface can turn into an obstacle when that streaming code is just too slow.

We believe that streams can be both principled and highly performant and we are making that a reality in ZIO 2.0 with a new encoding of streams based on the idea of conduits that fundamentally unifies streams and sinks. In this model, a conduit is essentially just a mutable asynchronous channel when it is run, much like the ones we might work with from the `java.nio` package. This lets us build all of the high level streaming abstractions from ZIO 1.0 while keeping that low level performance. It also gives users the flexibility to drop down to that lower level layer if necessary for implementing their own streaming operators.

This new vision of streams is backed up by optimized data structures. In particular, ZIO 2.0 features a highly optimized asynchronous message hub that is dramatically faster than equivalent data structures in other streaming libraries, supporting extremely fast broadcast operations. Data structures like hubs and queues give us the building blocks to implement many of these streaming operators in a highly performant way.

* * *

Thank you all for your support and we look forward to your feedback as we prepare for the final release of ZIO 2.0. For intrepid users who are aware of the costs of doing so, trying out an early release is extremely valuable to help us refine the changes we are making.
We expect to push quickly for an initial release candidate, with the goal of doing a final release of ZIO 2.0 in October assuming there have been no significant issues reported with the latest release candidate.

There has never been a more exciting time to be programming with Scala. We hope you enjoy using ZIO as much as we have developing it and can't wait to see what you build with it!

1.0.10

This minor release contains bug fixes and additional documentation. It also includes diffing for smart assertions.

ZIO Core
* Fix Bug In ZStreamflatMapPar (5325) adamgfraser
* Fix Signature of ZManaged.makeEffectTotal_ (5327) adamgfraser
* YieldOnStart: Configuration (5328) tusharmath
* Fix Signature Of ZStream.FromJavaStream (5322) adamgfraser
* Inherit FiberRefs in ForEachPar_ (5323) adamgfraser
* Start documenting migration from cats effect to ZIO (5279) zhrebicek
* Fix documentation (5296) dannashirn
* Fix typo in documentation. (5315) sergey-lagutin
* Fixed 5288 - correcting wrong partially applied value class instantiated (5307) remiguittaut
* Fixed 5288 - Adding serviceWithManaged to ZManaged constructors (5291) remiguittaut
* Update ref.md (5283) yisraelU
* Added munit-zio to community libraries list (5278) poslegm
* Introduce Schedule.upTo operator (5274) agarella
* Update officials.md (5216) mkows
* Improve Cats Effect Interop Documentation (5251) khajavi
* Turns out Scalac is using ZIO (5258) jczuchnowski
* Implement Boolean Operators for ZIO (5252) adamgfraser
* Avoid exception caused by very long durations (5255) vigoo
* Fix 5152: include .sjsir files when publishing for scalajs on scala 3 (5238) roald-di
* Implement ZIOtapDefect (5214) adamgfraser
* WIP: Improve interop with cats effect documentation (4965) khajavi
* Adds reference to ZIO.tupled and ZIO.tupledPar (5247) erikvanoosten
* Documentation of ZIO Interruption (5235) khajavi
* Cause: Then distributes over Both even in the presence of Empty (5242) sideeffffect
* Add Concurrency Stress Test (5232) adamgfraser
* Harden ZHub Implementation (5231) adamgfraser
* [resource/managed][documentation] Fix minor documentation typo Managed -> ZManaged (5230) antivanov
* Custom Runtime Documentation (5211) khajavi
* fix typo (5223) ibraheemdev
* Add zio-redis to official libs (5220) mijicd
* Update List Of ZIO Libraries (5219) adamgfraser
* Generalize ZIO.debug (5218) adamgfraser
* Fix wrong link name (5213) mijicd
* Add YourKit To Sponsors (5209) adamgfraser
* Deprecating `.bimap`, adding `.mapBoth` instead (5208) hmemcpy
* ZIO Runtime System Documentation (5200) khajavi
* Implement Chunk.unapplySeq (5180) adamgfraser

ZIO Stream
* Fix Signature Of ZStream.FromJavaStream (5322) adamgfraser
* Bug fix: `ZStreamtimeoutError` has a by-name error parameter that is eagerly evaluated (5260) harveywi
* Improve Connection API - address and shutdownWrite (5228) searler
* ZIO Streams documentation (5102) khajavi
* Fixing issue 5057 - ZStream collectType operator (5058) remiguittaut

ZIO Test
* Fix smart assert diff bug (5317) kitlangton
* Support Combining Specs (5100) adamgfraser
* Smart assert diffing (5295) kitlangton
* Smart assert bug-fix and better array equality (5294) kitlangton
* Fix SmartAssertions for isInstanceOf (5292) kitlangton
* Fix `Assertion.isFailure` name (5286) guizmaii
* Fix 5244: don't expand package definitions in the assertTrue macro for scala 3 (5245) roald-di
* Make TestAspect.fibers public (5210) joroKr21
* Fix flaky mockable spec (5227) (5233) vigoo
* Show all failures in the presence of a mock exception in the report (5193) vigoo
* Adding missing && to some assertions in MyersDiffSpec (5195) hmemcpy
* Fix broken link in docs/howto/mock-services.md (5188) axtsnee
* Display Warning If Test Clock Is Being Advanced But Fiber Is Not Suspending (5179) adamgfraser

1.0.9

In addition to various other improvements, this release introduces smart assertions for ZIO Test. Smart assertions allow you to make assertions about expected behavior using ordinary Scala expressions that return `Boolean` values instead of specialized assertion operators.

For example, instead of this:

scala
assert(Option(3))(isSome(equalTo(2)))


You would do this:

scala
assertTrue(Option(3).get == 2)


These expressions will automatically be translated to provide detailed messages pointing you to exactly what went wrong if a test does fail.

We are currently making smart assertions available through the `assertTrue` operator along with the existing assertions. However, we are considering replacing the existing assertions entirely with smart assertions in ZIO 2.0 (with an automated migration tool) so we would appreciate any feedback you have on this new feature.

Thanks to kitlangton for his work on this as well as to girishkolantra for his work on implementing the string diffing functionality that is included with the new smart assertions.

And as always thanks to all of you for your continued support!

ZIO Core
* Implement Validate Variants for NonEmptyChunk (5035) adamgfraser
* Add Additional Operators to NonEmptyChunk (5154) adamgfraser
* Support Transforming TRef Values with STM effects (5167) adamgfraser
* Fix dead test (5149) kazchimo
* Implement ZManagedfirstSuccessOf (5119) adamgfraser
* clarify ZLayer.identity (in relation to >>> as opposed to ++) (5143) phderome
* Accessible trait rename and implicit hints (5133) kitlangton
* Implement ZIO.debug (5131) adamgfraser
* Implement Accessor trait for simple macro-less accessor methods (5130) kitlangton
* Implement ! As Symbolic Operator For orDie (5128) adamgfraser
* Generate accessors for "flat" service 3217 (5122) DmytroOrlov-flixbus
* Implement ZIO.exists, ZIO.forall, and ZIO.collectFirst (5120) adamgfraser

ZIO Stream
* Implement ZStream.fromHubManaged (5048) adamgfraser
* Add methods to access socket addresses on Connection (5157) searler

ZIO Test
* Support Converting ScalaCheck Generators To ZIO Test Generators (5042) adamgfraser
* Smart assertions (5036) kitlangton
* First cut of the Myers diff algorithm (5158) girishkolantra
* Implement Refined Gen instances (4602) (5144) kazchimo
* Javatime generators (5082) igrebenik
* feat(zio-test): include duration in JUnit test reports (4972) MichalPawlicki

1.0.8

This release contains support for Scala 3 on both the JVM and Scala.js platforms.

ZIO Core
* Add ZIOtapEither and tests (5105) 2ne1ugly
* Fix publishing on Scala 3 + Scala.js (5104) ghostdogpr
* Upgrade to Scala 3 and publish for Scala.js (5101) ghostdogpr
* Docs: Fixing misc typos (5098) hmemcpy
* prefer def over val for abstract data members (5060) phderome
* eg over ie (wording) (5059) phderome
* add support for validatePar_ and validate_ (5054) phderome
* Docs: fixing dead links (5043) hmemcpy
* Expose Error Type In Console Operators (5034) adamgfraser
* Contextual Data Types Documentation (5003) khajavi
* Add updateLocally & updateSomeLocally (5030) kitlangton
* Update README.md (5024) apeshimam
* Handle careless use in bracket (4961) regiskuckaertz
* Fix inference issue with FunctionToLayerOps (5019) kitlangton

ZIO Streams
* Implement ZStream.fromBlockingIterator (5067) luis3m
* Update Documentation Regarding ZStreamrunHead (5078) adamgfraser
* Implement ZStreamlock (5068) adamgfraser
* Remove dead links in documentation - howto mock section (5008) esthomw
* Fix broken stream page (5023) khajavi
* Fix aggregateAsyncWithinEither schedule behavior (5017) luis3m

ZIO Test
* Add test assertions for infinite/nan values (5049) fsarradin
* Test layer is not shared between tests anymore (5016) fokot

Page 6 of 20

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.