libnetty

A set of some useful libraries based on netty-4.1.x.

MIT License

Stars
10
Committers
4
libnetty - Version 2.7.0-RC2

Published by fmjsjx almost 2 years ago

New Features

libnetty-http-client

  • Add fast method authBasic() on request builder to support the "HTTP Basic Authentication" protocol

libnetty-http-server

  • Add MatchedRoute and store it in request context when matched route in Router.routing()
  • Support routing kotlin suspend functions

Upgrade Dependencies

kotlin                > 1.7.22
kotlinx-coroutines    > 1.6.4

netty      4.1.84.Final > 4.1.85.Final
libcommon  2.7.2        > 2.8.0-RC2
jackson    2.13.4       > 2.14.1

What's Changed

Full Changelog: https://github.com/fmjsjx/libnetty/compare/v2.5.1...v2.7.0-RC2

libnetty - Version 2.5.1

Published by fmjsjx almost 2 years ago

New Features

libnetty-http-client

  • Deprecate timeout feature
  • Support connection timeout feature on HttpClient
  • Support request timeout feature on each request
  • Support default request timeout feature on HttpClient

libnetty-http-server

  • Improve kotlin support

Upgrade Dependencies

netty      4.1.82.Final > 4.1.84.Final
libcommon  2.7.1        > 2.7.2
jackson    2.13.4       > 2.13.4.20221013
junit      5.9.0        > 5.9.1
mockito    4.8.0        > 4.8.1
log4j      2.18.0       > 2.19.0
brotli4j   1.6.0        > 1.8.0

Full Changelog: https://github.com/fmjsjx/libnetty/compare/v2.4.3...v2.5.1

libnetty - Version 2.4.3

Published by fmjsjx over 2 years ago

Upgraded Dependencies

netty      4.1.73.Final > 4.1.74.Final
libcommon  2.6.1        > 2.6.2
slf4j      1.7.32       > 1.7.36
mockito    4.2.0        > 4.3.1

Full Changelog: https://github.com/fmjsjx/libnetty/compare/v2.4.2...v2.4.3

libnetty - Version 2.4.2

Published by fmjsjx over 2 years ago

Upgraded Dependencies

libcommon 2.6.0 -> 2.6.1

Full Changelog: https://github.com/fmjsjx/libnetty/compare/v2.4.1...v2.4.2

libnetty - Version 2.4.1

Published by fmjsjx over 2 years ago

Upgraded Dependencies

libcommon 2.5.5 -> 2.6.0

Full Changelog: https://github.com/fmjsjx/libnetty/compare/v2.4.0...v2.4.1

libnetty - Version 2.4.0

Published by fmjsjx almost 3 years ago

New Features

libnetty-http-server

  • Use ChannelSslInitializer to support SNI instead of SniHandlerProvider or SslContextProvider

Upgraded Dependencies

netty        4.1.72.Final -> 4.1.73.Final
libcommon    2.5.4        -> 2.5.5
junit        5.7.0        -> 5.8.2
mockito      3.12.4       -> 4.2.0
lob4j        2.17.0       -> 2.17.1

Full Changelog: https://github.com/fmjsjx/libnetty/compare/v2.3.0...v2.4.0

libnetty - Version 2.3.0

Published by fmjsjx almost 3 years ago

New Features

libnetty-handler

  • Add SniHandlerProvider to support SNI feature

libnetty-http

  • Add HttpContentCompressorProvider
  • Deprecate HttpContentCompressorFactory

libnetty-http-server

  • Use HttpContentCompressorProvider to instead of deprecated API HttpContentCompressorFactory
  • Use SniHandlerProvider to support SNI feature

Fixed Bugs

libnetty-http-server

  • Disable compression feature when using zero-copy file transfer

Full Changelog: https://github.com/fmjsjx/libnetty/compare/v2.2.9...v2.3.0

libnetty - Version 2.2.9

Published by fmjsjx almost 3 years ago

##Upgrade dependencies

libcommon  2.5.3        -> 2.5.4
netty      4.1.70.Final -> 4.1.72.Final
jackson    2.13.0       -> 2.13.1
log4j2     2.14.0       -> 2.17.0

Full Changelog: https://github.com/fmjsjx/libnetty/compare/v2.2.8...v2.2.9

libnetty - Version 2.2.8

Published by fmjsjx almost 3 years ago

Upgraded dependencies

netty      4.1.69.Final -> 4.1.70.Final
libcommon  2.5.2        -> 2.5.3
libnetty - Version 2.2.7

Published by fmjsjx almost 3 years ago

Upgraded dependencies

netty    4.1.67.Final -> 4.1.69.Final
jackson  2.12.4       -> 2.13.0
lombok   1.18.20      -> 1.18.22
libnetty - Version 2.2.6

Published by fmjsjx about 3 years ago

Bug Fixed

libnetty-fastcgi

  • Fix wrong return value on FcgiCodecUtil.decodeVariableLength().

Upgraded Dependencies

libcommon      -> 2.5.0
netty-tcnative -> 2.0.44.Final

What's Changed

New Contributors

Full Changelog: https://github.com/fmjsjx/libnetty/compare/v2.2.5...v2.2.6

libnetty - Version 2.2.5

Published by fmjsjx about 3 years ago

Dependencies

brotli4j +> 1.6.0
libnetty - Version 2.2.4

Published by fmjsjx about 3 years ago

Changes

libnetty-http

  • Use new constructor of HttpContentCompressor instead of deprecated one

Upgrade Dependencies

netty-tcnative  -> 2.0.43.Final
logback-classic -> 1.2.6
libnetty - Version 2.2.3

Published by fmjsjx about 3 years ago

New Features

libnetty-resp

  • Add syntaxError() on RespMessages

libnetty-resp3

  • Add noauthHello() on Resp3Messages
libnetty - Version 2.2.2

Published by fmjsjx about 3 years ago

New Features

libnetty-resp

  • Add invalidPassword() on RespMessages

libnetty-resp3

  • Add wrongPass() on Resp3Messages
libnetty - Version 2.2.1

Published by fmjsjx over 3 years ago

Upgrade Dependencies

  • netty >> 4.1.65.Final
  • netty-tcnative >> 2.0.39.Final
  • libcommon >> 2.2.0
  • jackson >> 2.12.4
  • slf4j >> 1.7.31
  • lombok >> 1.18.20
  • log4j >> 2.14.1
libnetty - Version 2.2.0

Published by fmjsjx over 3 years ago

New Features

libnetty-http-server

  • Add HTTP component ExceptionHandler.
libnetty - Version 2.1.1

Published by fmjsjx over 3 years ago

Fixed Bugs

libnetty-http-server

  • Change parameter type from ServerSocketChannel to ServerChannel on DefaultHttpServer#transport().
libnetty - Version 2.1.0

Published by fmjsjx over 3 years ago

New Features

libnetty-http-client

libnetty - Version 2.0.0

Published by fmjsjx over 3 years ago

Important Changes

  • Since version 2.0, All modules are compiled based on JDK11.
  • Project has been migrated from Apache Maven to Gradle Build Tool.

New Features

libnetty-handler

  • Provides new PermutableSslContextProvider.
  • Provides more factory methods on SslContextProviders.

libnetty-http-client

  • Add maxCachedSize limit for DefaultHttpClient.

libnetty-http-server

  • Add @StringBody annotation for text/plain content type.
  • Returns HTTP 204 NO CONTENT for void or CompletionStage<Void> return type.