Releases: typelevel/fs2
v3.13.0-M2
Scalafmt
v3.13.0-M1
First milestone release of the upcoming 3.13.0, inclusive of #3560.
v3.12.0
This release introduces a new networking stack for the JVM and Native (#3240) platforms that uses the new I/O-integrated runtime released in Cats Effect v3.6.0.
Enhancements
- Optimise text.lines for longer lines, larger chunks use-cases by @svalaskevicius in #3481
- Optmize
interop.flow.StreamSubscriber.onNext
by @BalmungSan in #3387 - Add evalFold combinator to Stream by @Ivan091 in #3500
- Add message to requirements by @Jasper-M in #3525
- run
Process#waitFor
on virtual thread if available by @onsah in #3539 - Implement
{Signal,SignallingRef}#mapK
by @rahulrangers in #3546 - I/O polling by @armanbilge in #3240
- Add
interop.flow.pipeToProcessor
&interop.flow.processorToPipe
by @BalmungSan in #3449
Fixes
- Fix resource leak in
Scope
. by @ValdemarGr in #3473 - Change repeatN to support n=0 by @L7R7 in #3492
- Fix
writeUtf8Lines
evaluates leading effects in the input stream twice by @ChenCMD in #3489 - Be more deffensive with the
StreamSubscriber
internal state by @BalmungSan in #3545
Documentation
- Fix typo in
exists
scaladoc by @vladislavsheludchenkov in #3480 - Fix docs for Stream.exec function by @jakobmerrild in #3491
- Adding Channel to documentation by @hkateu in #3475
- Improve documentation by @arturaz in #3527
Updates
- Update scala-library to 2.12.20 by @typelevel-steward in #3470
- Update jnr-unixsocket to 0.38.23 by @typelevel-steward in #3493
- Update scala3-library, ... to 3.3.5 by @typelevel-steward in #3526
- Update scala-library to 2.13.16 by @typelevel-steward in #3517
- Update sbt-scalajs, scalajs-compiler, ... to 1.18.2 by @typelevel-steward in #3521
- Scalafix updates by @armanbilge in #3544
- Update cats-effect, cats-effect-laws, ... to 3.6.0 by @typelevel-steward in #3554
New Contributors
- @ValdemarGr made their first contribution in #3473
- @vladislavsheludchenkov made their first contribution in #3480
- @jakobmerrild made their first contribution in #3491
- @ChenCMD made their first contribution in #3489
- @hkateu made their first contribution in #3475
- @Ivan091 made their first contribution in #3500
- @onsah made their first contribution in #3539
- @rahulrangers made their first contribution in #3546
Full Changelog: v3.11.0...v3.12.0
v3.12.0-RC2
This release candidate features Cats Effect 3.6.0-RC2 integration and support the new CE I/O-integrated runtime.
Enhancements
- I/O polling by @armanbilge in #3240
- run
Process#waitFor
on virtual thread if available by @onsah in #3539 - Implement
{Signal,SignallingRef}#mapK
by @rahulrangers in #3546 - Add
interop.flow.pipeToProcessor
&interop.flow.processorToPipe
by @BalmungSan in #3449
Fixes
- Bump up memory leak params to avoid test failures on JDK 17 by @mpilquist in #3528
- Add message to requirements by @Jasper-M in #3525
- Be more deffensive with the
StreamSubscriber
internal state by @BalmungSan in #3545
Documentation
Updates
- Update scala3-library, ... to 3.3.5 by @typelevel-steward in #3526
- Update sbt-typelevel, sbt-typelevel-site to 0.7.7 by @typelevel-steward in #3523
- Update scalafmt-core to 3.8.6 by @typelevel-steward in #3522
- Update scala-library to 2.13.16 by @typelevel-steward in #3517
- Update sbt-scalajs, scalajs-compiler, ... to 1.18.2 by @typelevel-steward in #3521
- Update scalafmt-core to 3.9.2 by @typelevel-steward in #3534
- Update sbt, scripted-plugin to 1.10.10 by @typelevel-steward in #3537
- Scalafix updates by @armanbilge in #3544
- Update scalafmt-core to 3.9.3 by @typelevel-steward in #3540
- Update scalafmt-core to 3.9.4 by @typelevel-steward in #3549
- Update sbt, scripted-plugin to 1.10.11 by @typelevel-steward in #3550
New Contributors
- @onsah made their first contribution in #3539
- @rahulrangers made their first contribution in #3546
Full Changelog: v3.12.0-RC1...v3.12.0-RC2
v3.12.0-RC1
This release candidate introduces a new networking stack for the JVM and Native (#3240) that uses the new I/O-integrated runtime released in Cats Effect v3.6.0-RC1.
Enhancements
- Optimise text.lines for longer lines, larger chunks use-cases by @svalaskevicius in #3481
- Optmize
interop.flow.StreamSubscriber.onNext
by @BalmungSan in #3387 - Add evalFold combinator to Stream by @Ivan091 in #3500
- I/O polling by @armanbilge in #3240
Fixes
- Fix resource leak in
Scope
by @ValdemarGr in #3473 - Change repeatN to support n=0 by @L7R7 in #3492
- Fix
writeUtf8Lines
evaluates leading effects in the input stream twice by @ChenCMD in #3489
Documentation
- Fix typo in
exists
scaladoc by @vladislavsheludchenkov in #3480 - Fix docs for Stream.exec function by @jakobmerrild in #3491
- Adding Channel to documentation by @hkateu in #3475
Updates
- Update scala-library to 2.12.20 by @typelevel-steward in #3470
- Update scala3-library, ... to 3.3.4 by @typelevel-steward in #3482
- Update scala-library to 2.13.15 by @typelevel-steward in #3479
- Update jnr-unixsocket to 0.38.23 by @typelevel-steward in #3493
- Update sbt-scalajs, scalajs-compiler, ... to 1.17.0 by @typelevel-steward in #3509
New Contributors
- @ValdemarGr made their first contribution in #3473
- @vladislavsheludchenkov made their first contribution in #3480
- @jakobmerrild made their first contribution in #3491
- @ChenCMD made their first contribution in #3489
- @hkateu made their first contribution in #3475
- @Ivan091 made their first contribution in #3500
Full Changelog: v3.11.0...v3.12.0-RC1
v3.11.0
Features
- Add StreamDecoder#{filter, withFilter} and Chunk#withFilter by @mpilquist in #3432
- Replace fs2.hash with fs2.hashing.Hashing[F] by @mpilquist in #3454
- Add
unfoldChunkLoop
andunfoldChunkLoopEval
, more (downstream) efficient versions ofunfoldLoop
andunfoldLoopEval
. by @CremboC in #3457 - Update Hashing to support HMACs, update names in fs2.hashing to be clearer, introduce Digest type by @mpilquist in #3465
- Add tests for hashPureStream and hashChunk by @mpilquist in #3466
- Refactor hashPureStream by @mpilquist in #3467
Fixes
Docs
- 📝 Add more examples / uses to the Concurrency section in the documentation guide of Fs2 by @Hombre-x in #3437
- Fix README link by @bwignall in #3447
Build Support
- Fix macos gha runners by @mpilquist in #3431
Updates
- Update scalafmt-core to 3.8.1 by @typelevel-steward in #3417
- Update sbt-scalajs, scalajs-compiler, ... to 1.16.0 by @typelevel-steward in #3418
- Update munit-cats-effect to 2.0.0-M5 by @typelevel-steward in #3421
- Update scala-library to 2.13.14 by @typelevel-steward in #3427
- Update sbt to 1.10.0 by @typelevel-steward in #3428
- Update sbt-scala-native-config-brew-github-actions to 0.3.0 by @typelevel-steward in #3426
- Update sbt-typelevel, sbt-typelevel-site to 0.7.1 by @typelevel-steward in #3429
- Update munit-cats-effect to 2.0.0-RC1 by @typelevel-steward in #3430
- Update munit-cats-effect to 2.0.0 by @typelevel-steward in #3439
- Update cats-core, cats-laws to 2.11.0 by @typelevel-steward in #3441
- flake.lock: Update by @typelevel-steward in #3438
- Update ip4s-core to 3.6.0 by @typelevel-steward in #3445
- Update Guide snippet error by @bwignall in #3450
- Update scalafmt-core to 3.8.2 by @typelevel-steward in #3448
- flake.lock: Update by @typelevel-steward in #3443
- Update sbt-typelevel, sbt-typelevel-site to 0.7.2 by @typelevel-steward in #3456
- flake.lock: Update by @typelevel-steward in #3452
- Update sbt to 1.10.1 by @typelevel-steward in #3455
- flake.lock: Update by @typelevel-steward in #3459
New Contributors
Full Changelog: v3.10.2...v3.11.0
v2.5.12
Fixes a bug in UDP socket support that can lead to memory leaks.
What's Changed
- Update to Scala.js 1.16.0 on series/2.5.x by @mpilquist in #3435
- Fix Ordering of UDP pending timeouts by @zkerriga in #3434
New Contributors
Full Changelog: v2.5.11...v2.5.12
v3.10.2
What's Changed
- Remove CODE_OF_CONDUCT override, use org default by @valencik in #3414
- Fix #3415 - fromIterator looping infinitely by @mpilquist in #3416
Full Changelog: v3.10.1...v3.10.2
v3.10.1
v3.10.0
Improvements
- Update scaladoc for Process by @daddykotex in #3381
- Add chunk-preserving ensure function. by @zainab-ali in #3382
- Do not let handled errors get printed to the console by @fredfp in #3385
- Improve performance of Files.walk on the JVM by @mpilquist in #3383
- Fix performance of Stream.from(Blocking)Iterator when using large chunk sizes by @mpilquist in #3392
- Add
Files.walkWithAttributes
by @mpilquist in #3390 - Remove walkEager optimization by @mpilquist in #3394
- add/remove on PosixPermissions by @daddykotex in #3396
- Add conflate operations to Stream by @mpilquist in #3401
- Make Chunk.asSeqPlatform private by @BalmungSan in #3409
- Add retries to UdpSuite by @mpilquist in #3408
Updates
- Update ip4s-core to 3.5.0 by @typelevel-steward in #3386
- Update jnr-unixsocket to 0.38.22 by @typelevel-steward in #3389
- Update sbt-typelevel, sbt-typelevel-site to 0.6.6 by @typelevel-steward in #3391
- flake.lock: Update by @typelevel-steward in #3335
- Update sbt to 1.9.9 by @typelevel-steward in #3395
- Update scalafmt-core to 3.8.0 by @typelevel-steward in #3393
- Update sbt-typelevel, sbt-typelevel-site to 0.6.7 by @typelevel-steward in #3397
- Update scala-library to 2.12.19 by @typelevel-steward in #3398
- flake.lock: Update by @typelevel-steward in #3400
- Update scala3-library, ... to 3.3.3 by @typelevel-steward in #3402
- Update cats-effect, cats-effect-laws, ... to 3.5.4 by @typelevel-steward in #3407
- flake.lock: Update by @typelevel-steward in #3405
- flake.lock: Update by @typelevel-steward in #3410
New Contributors
Full Changelog: v3.9.4...v3.10.0