Different versions of Netty and their goals

I have been using Netty for a while and cannot resolve this issue. Four different versions can be downloaded. Three of them are actively developing.

3.x

4.0.x

4.1.x

5.x

As far as I understand, 3.x is for JRE 1.5, and everything else for JREs is more than that. I use 4.0.28 because it is a stable and recommended version. But what is the difference or purpose of other versions?

I could not find information about this on my website.

EDIT: I see close voices, so I want to clarify: I'm not looking for someone who lists me all the differences in version code. But for versions 4.1.x and 5.x there must be some goal or goal.

+7
java netty
source share
3 answers

3.x is deprecated. We support it because some users still use it extensively.

4.0 is the current stable version. If in doubt, use this version.

4.1 is backward compatible version 4.0. It adds some interesting new features, such as HTTP / 2 and the asynchronous DNS resolver. So 4.1 is the version that you might want to try when your application is already working on 4.0, and you want to try new features.

5.0 is a backward incompatible version. However, this is not like the rewriting we did for 4.0 versus 3.x. However, we fixed some flaws in the design of the API. You will need to make some changes to your code so that the Netty 4 application runs on Netty 5, but this is not like porting a Netty 3 application to a Netty 4 application. After all, 4.x will be deprecated and 5.0 will be a stable version.

+10
source share

It should be noted that 5.0 was canceled in November 2015, 4.1 is the newest stable version.

+1
source share

If you want to know what new (and noteworthy changes) are between these versions, you can visit these links:

3.x → 4.0

4.0 → 4.1

4.x → 5.0

0
source share

All Articles