Releases: typelevel/fs2
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
v3.9.4
Improvements
- Use
toByteBufferUnsafe
intoArraySlice
by @armanbilge in #3331 - Add flow.unsafeToPublisher by @BalmungSan in #3342
- Fix subtle bug in the interop.flow/StreamSubscription by @BalmungSan in #3347
- Handle root path correctly by @InversionSpaces in #3354
- Call
Subscriber.onSubscribe(StreamSubscription)
before returning fromStreamPublisher.subscribe(Subscriber)
by @BalmungSan in #3360 - Avoid double evaluation of pattern matchers in Chunk.collect by @flipp5b in #3364
- Tidy unnecessary cast in JS
Socket
by @armanbilge in #3352 - Default
client_auth_type = optional
for TLS clients on Native by @armanbilge in #3349 - Preserve chunking of input to
writeUtf8Lines
withintersperse
. by @zainab-ali in #3357 - Don't use
Dispatcher
forsuspendReadableAndRead
and TLS initialization on Node.js by @armanbilge in #3348 - Enforce new wildcard syntax by @xuwei-k in #3367
- Use nondirect buffer instead of direct buffer by @Bunyod in #3371
- Remove
SuspendedStream
,MicrotaskExecutor
hacks in Node.jsProcess
by @armanbilge in #3366 - Refactor Node.js
Duplex
interop by @armanbilge in #3365 - Move
j.u.c.Flow
interop methods onto Stream by @armanbilge in #3346 - Use ev directly in flatten. by @He-Pin in #3375
- Add keepAlive method in Stream. by @fmeriaux in #3374
- Add Chunk#collectWhile. by @He-Pin in #3379
- Add
List[Stream]#parJoinUnbounded
. by @kamilkloch in #3363 - Fix fetching permissions through getPosixFileAttributes and add equality by @dantb in #3345
- Add methods to timeout on pulls by @bplommer in #2845
Docs
- Input Objects GmbH adopter by @jrozanski in #3340
Updates
- Update munit-cats-effect to 2.0.0-M4 by @typelevel-steward in #3333
- Update scalafmt-core to 3.7.17 by @typelevel-steward in #3339
- Update sbt-typelevel, sbt-typelevel-site to 0.6.2 by @typelevel-steward in #3334
- Update sbt-typelevel, sbt-typelevel-site to 0.6.3 by @typelevel-steward in #3356
- Update sbt-jmh to 0.4.7 by @typelevel-steward in #3358
- Update sbt-typelevel, sbt-typelevel-site to 0.6.4 by @typelevel-steward in #3362
- Update sbt to 1.9.8 by @typelevel-steward in #3361
- Update sbt-typelevel, sbt-typelevel-site to 0.6.5 by @typelevel-steward in #3368
- Update sbt-scalajs, scalajs-compiler, ... to 1.15.0 by @typelevel-steward in #3372
- Update cats-effect, cats-effect-laws, ... to 3.5.3 by @typelevel-steward in #3373
- Update nscplugin, sbt-scala-native, ... to 0.4.17 by @typelevel-steward in #3380
New Contributors
- @jrozanski made their first contribution in #3340
- @InversionSpaces made their first contribution in #3354
- @flipp5b made their first contribution in #3364
- @Bunyod made their first contribution in #3371
- @fmeriaux made their first contribution in #3374
- @dantb made their first contribution in #3345
Full Changelog: v3.9.3...v3.9.4
v3.9.3
Improvements
- Fix temporary file name generation on Node.js by @armanbilge in #3312
- Add result type to Stream#
withFilter
by @He-Pin in #3309 - FileHandle from SeekableByteChannel by @lhns in #3299
- Implement Node.js stream
destroy
w/interruptWhen
by @armanbilge in #3322 - Fix 'fs.io.readInputStreamGeneric' overallocation of underlying buffers by @seigert in #3318
- Restore the logo(s) by @Zelenya in #3317
Updates
- Update sbt to 1.9.5 by @typelevel-steward in #3306
- flake.lock: Update by @typelevel-steward in #3303
- Update sbt-typelevel, sbt-typelevel-site to 0.5.3 by @typelevel-steward in #3308
- Update sbt to 1.9.6 by @typelevel-steward in #3307
- Update sbt-scalajs, scalajs-compiler, ... to 1.14.0 by @typelevel-steward in #3313
- Update cats-effect, cats-effect-laws, ... to 3.5.2 by @typelevel-steward in #3314
- Update nscplugin, sbt-scala-native, ... to 0.4.16 by @typelevel-steward in #3319
- Update sbt-typelevel, sbt-typelevel-site to 0.5.4 by @typelevel-steward in #3315
- Update sbt-mdoc to 2.3.8 by @typelevel-steward in #3316
- flake.lock: Update by @typelevel-steward in #3310
- Update sbt-typelevel, sbt-typelevel-site to 0.6.0 by @typelevel-steward in #3320
- Update scalafmt-core to 3.7.15 by @typelevel-steward in #3325
- Update sbt to 1.9.7 by @typelevel-steward in #3324
- Update scodec-bits to 1.1.38 by @typelevel-steward in #3323
- Update ip4s-core to 3.4.0 by @typelevel-steward in #3330
- Update sbt-typelevel, sbt-typelevel-site to 0.6.1 by @typelevel-steward in #3327
- flake.lock: Update by @typelevel-steward in #3326
New Contributors
Full Changelog: v3.9.2...v3.9.3
v3.9.2
Improvements
Fixes
- Remove
@nowarn213
annotation fromio
package object by @armanbilge in a9566bd
Updates
- Update nscplugin, sbt-scala-native, ... to 0.4.15 by @typelevel-steward in #3295
- Update sbt-jmh to 0.4.6 by @typelevel-steward in #3296
- Update scalafmt-core to 3.7.14 by @typelevel-steward in #3292
- Update testng-7-5 to 3.2.17.0 by @typelevel-steward in #3297
- Update scala3-library, ... to 3.3.1 by @typelevel-steward in #3298
- Update scala-library to 2.13.12 by @typelevel-steward in #3301
- Update sbt-typelevel, sbt-typelevel-site to 0.5.2 by @typelevel-steward in #3302
- Update jnr-unixsocket to 0.38.21 by @typelevel-steward in #3304
New Contributors
Full Changelog: v3.9.1...v3.9.2
v3.9.1
Bug Fixes
- Localize
@nowarn212
to method parameters by @armanbilge in #3291 - Fix for decoding a PES packet with a header, when the DTS (Decoding Timestamp) is unavailable. by @tomiwu in #3290
New Contributors
Full Changelog: v3.9.0...v3.9.1
v3.9.0
This is the ninth minor release in the 3.x series (and the nine thousand two hundred and ninety first release as measured by unique commits). This release features improvements to the Chunk
class (including the addition of the new, generic Chunk.from
method to create chunks from collections and subsequent deprecation of various concrete constructors like seq
and vector
). The StreamDecoder
type also has some important bug fixes.
Improvements
- Chunk improvements by @BalmungSan in #3274
- Optimize
fs2.text.{char2string,string2char}
by @armanbilge in #3278 - Fix rechunkRandomly with large ending chunk by @domaspoliakas in #3277
- Handle
AggregateError
s on Node.js by @armanbilge in #3269 - Fix various issues with PCAP decoding by @mpilquist in #3283
- Chunk - Optimise Flatten implementation. by @diesalbla in #3190
Documentation & Build
- fix comment about followLinks by @nikiforo in #3273
- Fix compile, run I/O tests on macOS via Cirrus CI by @armanbilge in #3286
- Fix compilation error due to bad merge and change in Chunk constructors by @mpilquist in #3288
- Fix deprecations and tweak Cirrus CI by @armanbilge in #3289
Updates
- Update scalafmt-core to 3.7.12 by @typelevel-steward in #3270
- Update cats-core, cats-laws to 2.10.0 by @typelevel-steward in #3275
- Update epollcat to 0.1.6 by @typelevel-steward in #3284
- Update scalafmt-core to 3.7.13 by @typelevel-steward in #3285
- Update sbt to 1.9.4 by @typelevel-steward in #3282
- Update sbt-typelevel, sbt-typelevel-site to 0.5.0 by @typelevel-steward in #3281
- Update to sbt-typelevel 0.5.0 by @armanbilge in #3272
- flake.lock: Update by @typelevel-steward in #3268
- flake.lock: Update by @typelevel-steward in #3287
Full Changelog: v3.8.0...v3.9.0