Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump fs2.version from 0.10.0-M6 to 3.0.2 #140

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dependabot-preview[bot]
Copy link
Contributor

@dependabot-preview dependabot-preview bot commented Apr 26, 2021

⚠️ Dependabot Preview has been deactivated ⚠️

This pull request was created by Dependabot Preview, and you've upgraded to Dependabot. This means it won't respond to dependabot commands nor will it be automatically closed if a new version is found.

If you close this pull request, Dependabot will re-create it the next time it checks for updates and everything will work as expected.


Bumps fs2.version from 0.10.0-M6 to 3.0.2.
Updates fs2-io_2.12 from 0.10.0-M6 to 3.0.2

Release notes

Sourced from fs2-io_2.12's releases.

v3.0.2

Built for Scala 2.12, 2.13, and 3.0.0-RC2/RC3.

Fixes:

  • Fixed stack safety of Stream#map (#2354)

Documentation:

  • Clarified proper use of TLS servers and socket connection handling (#2358)

Acknowledgments

➜  git shortlog -sn --no-merges "v3.0.0".."v3.0.2"
     9  Scala Steward
     5  Michael Pilquist
     4  Tim Spence
     1  Ross A. Baker
     1  William Narmontas

v3.0.0

FS2 3.0.0 is the first official release built for Cats Effect 3, focusing on integration with the new Cats Effect typeclasses and standard library.

Concurrency Support

The biggest API changes to FS2 are in the fs2.concurrent package:

  • The Queue (and InspectableQueue) types are gone in favor of cats.effect.std.Queue (#2201)
  • There's a brand new implementation of Topic which no longer requires an initial element and is significantly faster. (#2252)
  • There's a Channel type -- a multiple producer, single consumer concurrency primitive (#2326)
  • Support for fanout via broadcast operations has been revamped and simplified (#2312)
  • Support for balanced fanout has been removed, though it may return in a future release (#2340)
  • The experimental PubSub type has been removed
  • There's a new TimedPull API which allows simpler implementations of custom pulls that timeout while awaiting elements (#2062)
  • There's a new implementation of groupWithin which is significantly faster (#2327)

Core Changes

One of the most exciting changes yet least visible changes in FS2 3.0.0 is the new interpreter. Stream compilation and evaluation is now handled by the Pull type thanks primarily to the work of @​diesalbla. This new interpreter is much easier to work with than the old FreeC based implementation.

Another notable change to core APIs is that they no longer take Sync constraints. Instead, they take the least powerful type class or capability trait possible. For example, Stream.duration requires a Clock[F] constraint instead of Sync[F].

No More Blocker

The cats.effect.Blocker type was removed in CE 3 -- instead, Sync[F] supports blocking calls via Sync[F].blocking(thunk). As a result, FS2 APIs that took a Blocker have been simplified and in some cases, operations have been combined (e.g., lines & linesAsync have been combined to just lines).

Sinks

The deprecated Sink trait has finally been removed and we now represent sinks via a stream transformation that discards all output values -- Stream[F, O] => Stream[F, Nothing] aka Pipe[F, O, Nothing]. This is different than the old definition of Sink which emitted an undefined number of Unit values -- and as a result of the behavior being undefined, implementations varied widely. Implementations included emitting:

  • 0 unit values
  • 1 unit at termination of the source stream

... (truncated)

Commits
  • 391252d Upgrade to Scala 3.0.0-RC3
  • 5cb3bb0 Merge pull request #2370 from scala-steward/update/sbt-mdoc-2.2.20
  • babf11d Merge pull request #2372 from scala-steward/update/testng-6-7-3.2.8.0
  • 198bca8 Update testng-6-7 to 3.2.8.0
  • 219e252 Update sbt-mdoc to 2.2.20
  • 26b03ff Merge pull request #2365 from scala-steward/update/cats-effect-3.0.2
  • b680a20 Update cats-effect, cats-effect-laws, ... to 3.0.2
  • c686ef7 fs2-grpc has moved to Typelevel (#2364)
  • 5e92a01 Merge pull request #2358 from ScalaWilliam/handle-errors-client-socket
  • 24370ab Merge pull request #2359 from scala-steward/update/sbt-1.5.0
  • Additional commits viewable in compare view

Updates fs2-core_2.12 from 0.10.0-M6 to 3.0.2

Release notes

Sourced from fs2-core_2.12's releases.

v3.0.2

Built for Scala 2.12, 2.13, and 3.0.0-RC2/RC3.

Fixes:

  • Fixed stack safety of Stream#map (#2354)

Documentation:

  • Clarified proper use of TLS servers and socket connection handling (#2358)

Acknowledgments

➜  git shortlog -sn --no-merges "v3.0.0".."v3.0.2"
     9  Scala Steward
     5  Michael Pilquist
     4  Tim Spence
     1  Ross A. Baker
     1  William Narmontas

v3.0.0

FS2 3.0.0 is the first official release built for Cats Effect 3, focusing on integration with the new Cats Effect typeclasses and standard library.

Concurrency Support

The biggest API changes to FS2 are in the fs2.concurrent package:

  • The Queue (and InspectableQueue) types are gone in favor of cats.effect.std.Queue (#2201)
  • There's a brand new implementation of Topic which no longer requires an initial element and is significantly faster. (#2252)
  • There's a Channel type -- a multiple producer, single consumer concurrency primitive (#2326)
  • Support for fanout via broadcast operations has been revamped and simplified (#2312)
  • Support for balanced fanout has been removed, though it may return in a future release (#2340)
  • The experimental PubSub type has been removed
  • There's a new TimedPull API which allows simpler implementations of custom pulls that timeout while awaiting elements (#2062)
  • There's a new implementation of groupWithin which is significantly faster (#2327)

Core Changes

One of the most exciting changes yet least visible changes in FS2 3.0.0 is the new interpreter. Stream compilation and evaluation is now handled by the Pull type thanks primarily to the work of @​diesalbla. This new interpreter is much easier to work with than the old FreeC based implementation.

Another notable change to core APIs is that they no longer take Sync constraints. Instead, they take the least powerful type class or capability trait possible. For example, Stream.duration requires a Clock[F] constraint instead of Sync[F].

No More Blocker

The cats.effect.Blocker type was removed in CE 3 -- instead, Sync[F] supports blocking calls via Sync[F].blocking(thunk). As a result, FS2 APIs that took a Blocker have been simplified and in some cases, operations have been combined (e.g., lines & linesAsync have been combined to just lines).

Sinks

The deprecated Sink trait has finally been removed and we now represent sinks via a stream transformation that discards all output values -- Stream[F, O] => Stream[F, Nothing] aka Pipe[F, O, Nothing]. This is different than the old definition of Sink which emitted an undefined number of Unit values -- and as a result of the behavior being undefined, implementations varied widely. Implementations included emitting:

  • 0 unit values
  • 1 unit at termination of the source stream

... (truncated)

Commits
  • 391252d Upgrade to Scala 3.0.0-RC3
  • 5cb3bb0 Merge pull request #2370 from scala-steward/update/sbt-mdoc-2.2.20
  • babf11d Merge pull request #2372 from scala-steward/update/testng-6-7-3.2.8.0
  • 198bca8 Update testng-6-7 to 3.2.8.0
  • 219e252 Update sbt-mdoc to 2.2.20
  • 26b03ff Merge pull request #2365 from scala-steward/update/cats-effect-3.0.2
  • b680a20 Update cats-effect, cats-effect-laws, ... to 3.0.2
  • c686ef7 fs2-grpc has moved to Typelevel (#2364)
  • 5e92a01 Merge pull request #2358 from ScalaWilliam/handle-errors-client-socket
  • 24370ab Merge pull request #2359 from scala-steward/update/sbt-1.5.0
  • Additional commits viewable in compare view

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
  • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot dashboard:

  • Update frequency (including time of day and day of week)
  • Pull request limits (per update run and/or open at any time)
  • Automerge options (never/patch/minor, and dev/runtime dependencies)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

Bumps `fs2.version` from 0.10.0-M6 to 3.0.2.

Updates `fs2-io_2.12` from 0.10.0-M6 to 3.0.2
- [Release notes](https://github.com/typelevel/fs2/releases)
- [Changelog](https://github.com/typelevel/fs2/blob/main/CHANGELOG.md)
- [Commits](typelevel/fs2@v0.10.0-M6...v3.0.2)

Updates `fs2-core_2.12` from 0.10.0-M6 to 3.0.2
- [Release notes](https://github.com/typelevel/fs2/releases)
- [Changelog](https://github.com/typelevel/fs2/blob/main/CHANGELOG.md)
- [Commits](typelevel/fs2@v0.10.0-M6...v3.0.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants