Releases: typelevel/fs2
Releases · typelevel/fs2
v2.5.11
Supports Cats Effect 2 and built for Scala 2.12, 2.13, and 3 final.
What's Changed
- Backport #2696 opt-in FHCRC by @armanbilge in #2701
- Setup publishing at s01 for 2.x by @armanbilge in #2878
Full Changelog: v2.5.10...v2.5.11
v3.2.7
Bug Fixes
- Revert "Pull - Cut ties with BindBind, no need for BuildR" by @diesalbla in #2864
Full Changelog: v3.2.6...v3.2.7
v3.2.6
NOTICE: DO NOT USE
A NullPointerException
has been reported for this version. We recommend you avoid using this version and upgrade to next one.
Changes in the release
New Features
- Add
Stream#parEvalMapUnbounded
by @bplommer in #2849 - Add
Channel#trySend
by @armanbilge in #2768
Bug Fixes
- Fix Collector.supportsFactory by @BalmungSan in #2827
- Pull - Translate compilation - Fix error case. by @diesalbla in #2837
- Fix slowdown in throttle due to improper use of stepLeg by @mpilquist in #2839
Chunk
<-> JSUint8Array
conversion should respect offset/length by @armanbilge in #2862
Refactoring
- Pull - Cut ties with BindBind, no need for BuildR by @diesalbla in #2828
- Pull-Compile- Run trait: remove end parameter by @diesalbla in #2830
- Update pull_request_template.md by @armanbilge in #2833
- Test: add stream-specific assertions by @diesalbla in #2836
- Scope - Small tweak to isInterrupted by @diesalbla in #2847
- Set
tlJdkRelease := 8
for all modules butio
by @armanbilge in #2846 - Fix broken link in Readme by @L7R7 in #2854
- Improve description of InvariantOps by @bplommer in #2860
Upgrades
- Update sbt-typelevel, sbt-typelevel-site to 0.4.6 by @scala-steward in #2834
- Update cats-effect, cats-effect-laws, ... to 3.3.6 by @scala-steward in #2831
- Update sbt-mdoc to 2.3.2 by @scala-steward in #2859
- Update sbt-typelevel, sbt-typelevel-site to 0.4.7 by @scala-steward in #2858
- Update cats-effect, cats-effect-laws, ... to 3.3.9 by @scala-steward in #2855
New Contributors
Full Changelog: v3.2.5...v3.2.6
v3.2.5
New Features
- Add
userHome
,currentWorkingDirectory
toFiles
API by @armanbilge in #2789 - AutoCloseable support by @TimWSpence in #2803
- Add Signal.waitUntil by @SystemFw in #2815
Bug Fixes
- Fix #2785 - fix problematic usage of Stream.bracket in gunzip and add Pull.evalMap and Pull.lease by @mpilquist in #2788
- Do not withhold emission in
pauseWhen
by @SystemFw in #2813 - Catch thrown errors in
parEvalMap
,parEvalMapUnordered
by @armanbilge in #2826
Tech Debt
- Observe - Expand API Docs by @diesalbla in #2780
- remove unnecessary
CrossVersion.for3Use2_13
by @xuwei-k in #2793 - Remove reference to scalaz-stream from readme by @bplommer in #2794
- Migrate to sbt-typelevel by @armanbilge in #2791
- Remove unneeded uses of
covary
by @bplommer in #2798 - Refactor some bracket tests for better readability by @bplommer in #2799
- Fix microsite by @armanbilge in #2800
- Expand scaladoc for
fs2.Pure
by @bplommer in #2811 - Clarify corner case in TimedPull by @SystemFw in #2812
Upgrades
- Update sbt to 1.6.0 by @scala-steward in #2775
- Update to node types 16.11.7 by @armanbilge in #2776
- Update sbt to 1.6.1 by @scala-steward in #2779
- Update cats-effect, cats-effect-laws, ... to 3.3.3 by @scala-steward in #2782
- Update scalafmt-core to 3.3.1 by @scala-steward in #2783
- Update jnr-unixsocket to 0.38.17 by @scala-steward in #2787
- Update cats-effect, cats-effect-laws, ... to 3.3.4 by @scala-steward in #2790
- Update scala-library to 2.13.8 by @scala-steward in #2792
- Update scalafmt-core to 3.3.2 by @scala-steward in #2795
- Update sbt-typelevel to 0.4.1 by @scala-steward in #2796
- Update scalafmt-core to 3.3.3 by @scala-steward in #2797
- Update sbt-typelevel to 0.4.2 by @scala-steward in #2801
- Update sbt-typelevel to 0.4.3 by @scala-steward in #2802
- Update cats-effect, cats-effect-laws, ... to 3.3.5 by @scala-steward in #2806
- Update scalafmt-core to 3.4.0 by @scala-steward in #2805
- Update scala3-library, ... to 3.1.1 by @scala-steward in #2810
- Update sbt to 1.6.2 by @scala-steward in #2809
- Update scalafmt-core to 3.4.2 by @scala-steward in #2816
- Update sbt-scalajs, scalajs-compiler, ... to 1.9.0 by @scala-steward in #2824
- Update scalafmt-core to 3.4.3 by @scala-steward in #2823
- Update sbt-typelevel to 0.4.5 by @scala-steward in #2822
- Use sbt-typelevel-site plugin to build/publish microsite by @armanbilge in #2819
Full Changelog: v3.2.4...v3.2.5
v3.2.4
Improvements
- Deprecate Chunk.buffer, add Chunk.to(Collection) by @mpilquist in #2749
text.lines
enhancements by @stephenjudkins in #2758- Pull Compilation Tweak: reuse BuildR object. by @diesalbla in #2772
- Channel perf by @nikiforo in #2751
Bugfixes
- Files walk order by @SystemFw in #2756
- fsIO - realPath: re-raise ENOENT javascript exceptions as NoSuchFileException by @yurique in #2759
- Add bounds checking to ArraySlice#apply by @mpilquist in #2754
- Fix #2762 - eval after zip may cause interruption by @mpilquist in #2763
- Minimal fix of observe termination logic by @zainab-ali in #2765
- Handle trailing \r in
text.lines
consistently with other delimiters by @stephenjudkins in #2764
Build
- Rm Jabba index by @danicheg in #2752
- Disable tracing in memory leak tests by @mpilquist in #2767
- Fix build warnings by @mpilquist in #2769
Upgrades
- Update jnr-unixsocket to 0.38.15 by @scala-steward in #2748
- Update sbt to 1.5.6 by @scala-steward in #2750
- Update sbt-scalajs, scalajs-compiler, ... to 1.8.0 by @scala-steward in #2753
- Update sbt to 1.5.7 by @scala-steward in #2755
- Update sbt to 1.5.8 by @scala-steward in #2761
- Update cats-effect, cats-effect-laws, ... to 3.3.1 by @scala-steward in #2760
- Update scalafmt-core to 3.2.2 by @scala-steward in #2766
- Update scalafmt-core to 3.3.0 by @scala-steward in #2774
- Update sbt-scalafmt to 2.4.6 by @scala-steward in #2773
Full Changelog: v3.2.3...v3.2.4
v3.2.3
New Features
- Opt-in for FHCRC in gzip compression by @AL333Z in #2696
- Improve memory efficiency of Chunk.filter and replace internal use of mutable.Buffer with mutable.ArrayBuilder by @mpilquist in #2720
- Create a Chunk from an IterableOnce by @peterneyens in #2722
- rethrow by @nikiforo in #2716
- Implement
TLSSocket#applicationProtocol
on JS by @armanbilge in #2741 - Implement
io.readClassResource
andio.readClassLoaderResource
by @armanbilge in #2733
Bug Fixes
- Fix ipv4 codec by @rext in #2705
- Use Node.js API for stdout/stdin by @armanbilge in #2728
- ioJS: handle NoSuchFileException in isDirectory, isFile and isSymbolicLink by @yurique in #2727
- Revamp implementation of parEvalMap, fixing numerous issues and increasing performance by @nikiforo in #2673
- parEvalMap* - fix test "cancels unneeded" by @nikiforo in #2744
- Fix unexpected stream interruption when using zip by @mpilquist in #2745
- Change Socket#read to disallow a read after a timeout by @mpilquist in #2734
Docs
- Guide: remove references to pre-1.0 apis by @bplommer in #2677
- Improve the guide on Pull by @zainab-ali in #2706
- Extend
broadcastThrough
documentation by @diesalbla in #2621 - Change filterWithPrevious example list in Scaladoc by @valencik in #2735
Build & Upgrades
- Hush npm warnings by @armanbilge in #2697
- Make fs2-io osgi jvm-only by @armanbilge in #2698
- Fix compilation warnings by @mpilquist in #2695
- Bump base version to 3.2 by @armanbilge in #2700
- Update scalafmt-core to 3.1.0 by @scala-steward in #2707
- Update scala-library to 2.13.7 by @scala-steward in #2702
- Update sbt-mdoc to 2.2.24 by @scala-steward in #2683
- Update scalafmt to 3.1.1 by @fthomas in #2711
- Update scalafmt-core to 3.1.1 by @scala-steward in #2708
- Update jnr-unixsocket to 0.38.13 by @scala-steward in #2719
- Update scalafmt-core to 3.1.2 by @scala-steward in #2718
- Update sbt-scalafmt to 2.4.4 by @scala-steward in #2715
- Update cats-core, cats-laws to 2.7.0 by @scala-steward in #2724
- Use
TestControl
in tests by @danicheg in #2651 - Remove OSGi support by @mpilquist in #2713
- Update scalafmt-core to 3.2.0 by @scala-steward in #2730
- Update ip4s-core to 3.1.2 by @scala-steward in #2731
- Update scodec-bits to 1.1.30 by @scala-steward in #2732
- Update jnr-unixsocket to 0.38.14 by @scala-steward in #2737
- Update sbt-spiewak-sonatype to 0.23.0 by @scala-steward in #2736
- Update scalafmt-core to 3.2.1 by @scala-steward in #2738
- Update sbt-scalafmt to 2.4.5 by @scala-steward in #2739
- Update munit-cats-effect-3 to 1.0.7 by @scala-steward in #2742
New Contributors
- @AL333Z made their first contribution in #2696
- @rext made their first contribution in #2705
- @peterneyens made their first contribution in #2722
- @danicheg made their first contribution in #2651
- @yurique made their first contribution in #2727
Full Changelog: v3.2.2...v3.2.3
v3.2.2
What's Changed
- added regression test for scodec-stream subproject by @nikiforo in #2691
- Pull - Fix Memory Leak Issue 2693 by @diesalbla in #2694
- Added
spaced
function, similar tometered
but waiting by @eugeniasimich in #2684 - Update jnr-unixsocket to 0.38.12 by @scala-steward in #2692
New Contributors
- @eugeniasimich made their first contribution in #2684
Full Changelog: v3.2.1...v3.2.2
v3.2.1
What's Changed
- fix hanging test by @yanns in #2688
- Update ip4s-core to 3.1.1 by @scala-steward in #2689
- ipv6 is 16 bytes by @armanbilge in #2690
Full Changelog: v3.2.0...v3.2.1
v3.2.0
FS2 3.2.0 supports Scala 2.12, 2.13, and 3.1 and Cats Effect 3.
This release features the incorporation of scodec-stream and codec-protocols in to fs2 proper.
- The fs2-core module has a new
fs2.Scan
type for building compositional, pure, stateful transformations. - The fs2-core module also has a new
fs2.timeseries
package for working with time stamped streams. - The new fs2-scodec module defines the
fs2.interop.scodec
package, definingStreamDecoder
andStreamEncoder
- The new fs2-protocols module provides various examples of using these types.
Checkout the time series and scodec sections of the guide for more information.
What's Changed
- Update scala3-library, ... to 3.1.0 by @scala-steward in #2682
- Bump ip4s and deprecate
fs2.io.net.UnknownHostException
by @armanbilge in #2687 - Remove unused dependency to scalajs-dom by @armanbilge in #2681
- Import scodec-stream and scodec-protocols in to fs2 by @mpilquist in #2588
- Improve Node.js server shutdown and error handling by @armanbilge in #2554
Full Changelog: v3.1.6...v3.2.0
v3.1.6
What's Changed
- Make Pull#output and Pull#outputOption1 effect polymorphic by @TimWSpence in #2670
- Publisher.toStream can demand for more than one element by @yanns in #2666
- site/ecosystem.md add cabbit, fix links to edit the list by @nikiforo in #2675
- Fix #2679 - bug in Chunk.compactUntagged when used with empty or singleton chunks by @mpilquist in #2680
New Contributors
Full Changelog: v3.1.5...v3.1.6