typelevel / typelevel/fs2

Pull#mapOutput deleted between 2.5.10 and 3.0.0

Open
#2,861 2 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

3.x design/refactoring feature
Dominant language
Scala
Stars
2.5k
Forks
636
Avg merge
2d 4h
Merged PRs (30d)
7

Description

I'm trying to upgrade an application from fs2 2.5.10 to 3.2.5, and the method Pull#mapOutput has disappeared. It seems to have been deleted in this commit with no user-accessible replacement. As far as I can tell, there is no way to affect the output of a Pull without converting it to a Stream, but I can't do that yet because I still have results.

Is there some kind of migration guide from fs2 2-3? So far I have had to figure out migrations myself by diving through source code and reading github release notes (which do not mention the deletion of mapOutput).

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the linked commit that removed Pull#mapOutput, then compare the fs2 2.x and 3.x release notes and current Pull API. Document the user-accessible replacement for transforming Pull output before conversion to Stream and add migration guidance covering this change. Done means a newcomer can follow the guide without searching the source history.

Written by the indexing model from the issue text.

Assessment

Tech stack
scala
Domain
documentation, stream-processing
Issue type
Documentation
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.