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

0.23 -> main #6551

Merged
merged 71 commits into from Jul 23, 2022
Merged

Conversation

armanbilge
Copy link
Member

No conflicts.

diesalbla and others added 30 commits June 23, 2022 19:08
Each method takes a FrameTranscoder as parameter,
but it is always the non-client one, so we can
extract it as a constant.
EncodeFrames was just a pipe to do a flatMap. We extract
the function of flatMap as `encodeFrame`. We also replace
some calls to `through(encodeFrames)` with a flatMap call.
We replace the `through handleIncomingFrames`  parts with just
calls to `.evalMapFilter`. We extract from `handleIncomingFrames`
the inner function to optional.
It could be to Option, but somehow Option is not Seq.
Before commit, `encodeFrame` takes a frame and generate a stream of
bytes, which is then immediately processed chunk by chunk.
Instead, we can by-pass the stream phase, leave the chunks in a list,
and use a `traverse_`.
…touches

Ember-Server: WebSocketHelper rewrite / optimisation
fix typo in `Throttle` middleware `httpAapp->httpApp`
…-minimal-en_us-db-1.4.1

Update locales-minimal-en_us-db to 1.4.1 in series/0.23
…fect-3.3.13

Update cats-effect, cats-effect-std, ... to 3.3.13 in series/0.23
…e-3.2.9

Update fs2-core, fs2-io to 3.2.9 in series/0.23
http4s-steward bot and others added 21 commits July 12, 2022 02:28
…uffer-4.1.79.Final

Update netty-buffer, netty-codec-http to 4.1.79.Final in series/0.23
Completely my bad, the changes in http4s#6498 needed the action to be updated to latest 😅
…fect-3.3.14

Update cats-effect, cats-effect-std, ... to 3.3.14 in series/0.23
…s-core-2.4.0

Update log4cats-core, log4cats-noop, ... to 2.4.0 in series/0.23
Executed command: sbt tlPrePrBotHook
…p4s-org-0.14.4

Update sbt-http4s-org to 0.14.4 in series/0.23
Flake lock file updates:

• Updated input 'typelevel-nix':
    'github:rossabaker/typelevel-nix/a183dd87238be83478fdca8a35b05dbcf57e96f8' (2022-07-04)
  → 'github:rossabaker/typelevel-nix/2d2b118d056b851dea9ccb0775ddd5ce8a1dbd79' (2022-07-18)
• Updated input 'typelevel-nix/flake-utils':
    'github:numtide/flake-utils/bee6a7250dd1b01844a2de7e02e4df7d8a0a206c' (2022-06-24)
  → 'github:numtide/flake-utils/7e2a3b3dfd9af950a856d66b0a7d01e3c18aa249' (2022-07-04)
• Updated input 'typelevel-nix/nixpkgs':
    'github:nixos/nixpkgs/660ac43ff9ab1f12e28bfb31d4719795777fe152' (2022-07-02)
  → 'github:nixos/nixpkgs/78e748fa68079b77ac055c80ef21342dd7e2ae2b' (2022-07-17)
Remove references to `HttpService` in `testing.md`
@armanbilge armanbilge added the behind-the-scenes Appreciated, but not user-facing label Jul 20, 2022
@@ -129,9 +129,14 @@ object Throttle {
Throttle.httpRoutes(bucket, defaultResponse[F] _)(httpRoutes)
)

@deprecated("Use httpApp instead.", "0.23.14")
def httpAapp[F[_]](amount: Int, per: FiniteDuration)(httpApp: HttpApp[F])(implicit
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we can remove this

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe we should give once cycle of deprecation, to help migration?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤷🏻 Can't suggest how many users might be affected by just removing this, but this was introduced weeks ago

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh, I didn't realize it was so recent. I guess it was in M33 and M34.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't mind if we release this with deprecation and then remove it. Just we definitely have to remove it for 1.0 :)

@armanbilge armanbilge merged commit 0fe77b8 into http4s:main Jul 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
behind-the-scenes Appreciated, but not user-facing docs Relates to our website or tutorials module:client module:ember-core module:ember-server module:server
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants