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

Correctly shade netty-reactive-streams #863

Merged
merged 1 commit into from
Mar 7, 2024

Conversation

mkurz
Copy link
Member

@mkurz mkurz commented Mar 7, 2024

Fixes

The problem was introduced in 0efba3c were the assumption was made that the latest netty-reactive-streams version 3 needs to be shaded, however turns out that latest asynchttpclient 2.x still depends on netty-reactive-streams 2.x, so the changing the shading rename rule com.typesafe.netty.** to org.playframework.netty.** does not make sense and ruines the original shading...

With this fix the shading works again (tested locally).

Side note:
Upcoming async-http-client v3 does not depend on netty-reactive-streams anymore, so as soon as we upgrade, we can remove the corresponding shading settings:

Another side note:
We already had a case were we almost ran into a problem because of the fact that async-http-client depends on netty-reactive-streams, but back then we were lucky that selenium dropped the usage of async-http-client.

So basically with upcoming async-http-client 3 things will improve from itself 😉

@mkurz mkurz linked an issue Mar 7, 2024 that may be closed by this pull request
@mkurz mkurz merged commit 778648a into playframework:main Mar 7, 2024
12 checks passed
@mkurz mkurz deleted the shade-netty-reactive-streams branch March 7, 2024 21:21
@mkurz
Copy link
Member Author

mkurz commented Mar 7, 2024

btw, no need to backport

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Inconsistent shading of asynchttpclient
1 participant