Skip to content

Releases: sofastack/sofa-bolt

v1.6.10 release note

24 May 08:44
1e3d89d
Compare
Choose a tag to compare

Usage

Compatibility

  • Compatible with 1.6.9 and earlier versions

POM dependency

<!-- log uses slf4j,the log implementation can be log4j、log4j2、logback,which can be referenced:https://github.com/alipay/sofa-bolt/wiki/log_implementation_jar -->
 <dependency>
    <groupId>org.slf4j</groupId>
    <artifactId>slf4j-api</artifactId>
    <version>1.7.21</version>
</dependency>
<dependency>
    <groupId>io.netty</groupId>
    <artifactId>netty-all</artifactId>
    <version>4.1.42.Final</version>
</dependency>
<dependency>
    <groupId>com.alipay.sofa</groupId>
    <artifactId>bolt</artifactId>
    <version>1.6.10</version>
</dependency>
<dependency>
    <groupId>com.alipay.sofa.common</groupId>
    <artifactId>sofa-common-tools</artifactId>
    <version>1.4.0</version>
</dependency>

What's Changed

New Contributors

Full Changelog: v1.6.9...v1.6.10

v1.6.9 release note

11 May 06:49
db18386
Compare
Choose a tag to compare

Usage

Compatibility

  • Compatible with 1.6.8 and earlier versions

POM dependency

<!-- log uses slf4j,the log implementation can be log4j、log4j2、logback,which can be referenced:https://github.com/alipay/sofa-bolt/wiki/log_implementation_jar -->
 <dependency>
    <groupId>org.slf4j</groupId>
    <artifactId>slf4j-api</artifactId>
    <version>1.7.21</version>
</dependency>
<dependency>
    <groupId>io.netty</groupId>
    <artifactId>netty-all</artifactId>
    <version>4.1.42.Final</version>
</dependency>
<dependency>
    <groupId>com.alipay.sofa</groupId>
    <artifactId>bolt</artifactId>
    <version>1.6.9</version>
</dependency>
<dependency>
    <groupId>com.alipay.sofa.common</groupId>
    <artifactId>sofa-common-tools</artifactId>
    <version>1.0.12</version>
</dependency>

What's Changed

Full Changelog: v1.6.8...v1.6.9

v1.6.8 release note

30 Apr 06:08
e3ad178
Compare
Choose a tag to compare

Usage

Compatibility

  • Compatible with 1.6.7 and earlier versions

POM dependency

<!-- log uses slf4j,the log implementation can be log4j、log4j2、logback,which can be referenced:https://github.com/alipay/sofa-bolt/wiki/log_implementation_jar -->
 <dependency>
    <groupId>org.slf4j</groupId>
    <artifactId>slf4j-api</artifactId>
    <version>1.7.21</version>
</dependency>
<dependency>
    <groupId>io.netty</groupId>
    <artifactId>netty-all</artifactId>
    <version>4.1.42.Final</version>
</dependency>
<dependency>
    <groupId>com.alipay.sofa</groupId>
    <artifactId>bolt</artifactId>
    <version>1.6.8</version>
</dependency>
<dependency>
    <groupId>com.alipay.sofa.common</groupId>
    <artifactId>sofa-common-tools</artifactId>
    <version>1.0.12</version>
</dependency>

What's Changed

Enhancement

  • sendResponse if RpcRequestProcessor.doProcess throw Throwable by @JoeCqupt in #334
  • write and flush methods are provided by @funky-eyes in #346

Fix

  • fix serialize exception response by @JoeCqupt in #335
  • fix remoteContext concurrency problem when msg batch handler by @EvenLjj in #347

New Contributors

Full Changelog: v1.6.7...v1.6.8

v1.6.7 release note

01 Mar 03:09
Compare
Choose a tag to compare

修改内容包括:

兼容性

  • 兼容1.6.6及之前版本

v1.6.7的pom依赖

<!-- 日志门面使用slf4j,日志实现可以选择log4j、log4j2、logback,可参考:https://github.com/alipay/sofa-bolt/wiki/log_implementation_jar -->
 <dependency>
    <groupId>org.slf4j</groupId>
    <artifactId>slf4j-api</artifactId>
    <version>1.7.21</version>
</dependency>
<dependency>
    <groupId>io.netty</groupId>
    <artifactId>netty-all</artifactId>
    <version>4.1.42.Final</version>
</dependency>
<dependency>
    <groupId>com.alipay.sofa</groupId>
    <artifactId>bolt</artifactId>
    <version>1.6.7</version>
</dependency>
<dependency>
    <groupId>com.alipay.sofa.common</groupId>
    <artifactId>sofa-common-tools</artifactId>
    <version>1.0.12</version>
</dependency>

主要改动

feature

  • [feature] (对内)git action支持版本发布

tuning

  • [tuning] HessianSerializer 懒加载
  • [tuning] async context 支持发送exception, 和 sync processor保持一致
  • [tuning] 基于协议选择commandFactory

bugfix

  • [bugfix] 修复 addConnectionEventProcessor并发访问问题
  • [bugfix] Connection.isFine方法补充close状态检查

v1.6.6 release note

19 Dec 02:36
Compare
Choose a tag to compare

修改内容包括:

兼容性

  • 兼容1.6.5及之前版本

v1.6.6的pom依赖

<!-- 日志门面使用slf4j,日志实现可以选择log4j、log4j2、logback,可参考:https://github.com/alipay/sofa-bolt/wiki/log_implementation_jar -->
 <dependency>
    <groupId>org.slf4j</groupId>
    <artifactId>slf4j-api</artifactId>
    <version>1.7.21</version>
</dependency>
<dependency>
    <groupId>io.netty</groupId>
    <artifactId>netty-all</artifactId>
    <version>4.1.42.Final</version>
</dependency>
<dependency>
    <groupId>com.alipay.sofa</groupId>
    <artifactId>bolt</artifactId>
    <version>1.6.6</version>
</dependency>
<dependency>
    <groupId>com.alipay.sofa.common</groupId>
    <artifactId>sofa-common-tools</artifactId>
    <version>1.0.12</version>
</dependency>

主要改动

feature

  • [feature] 支持ipv6地址解析

tuning

  • [tuning] HessianSerializer ByteArrayOutputStream threadlocal化,减少内存重复申请

bugfix

  • [bugfix] header.length > Short.MAX_VALUE 抛异常,之前强转会导致协议解析异常

v1.6.5 release note

19 Dec 02:27
8fba4ab
Compare
Choose a tag to compare

修改内容包括:

兼容性

  • 兼容1.6.4及之前版本

v1.6.5的pom依赖

<!-- 日志门面使用slf4j,日志实现可以选择log4j、log4j2、logback,可参考:https://github.com/alipay/sofa-bolt/wiki/log_implementation_jar -->
 <dependency>
    <groupId>org.slf4j</groupId>
    <artifactId>slf4j-api</artifactId>
    <version>1.7.21</version>
</dependency>
<dependency>
    <groupId>io.netty</groupId>
    <artifactId>netty-all</artifactId>
    <version>4.1.42.Final</version>
</dependency>
<dependency>
    <groupId>com.alipay.sofa</groupId>
    <artifactId>bolt</artifactId>
    <version>1.6.5</version>
</dependency>
<dependency>
    <groupId>com.alipay.sofa.common</groupId>
    <artifactId>sofa-common-tools</artifactId>
    <version>1.0.12</version>
</dependency>

主要改动

bugfix

  • [bugfix] 连接创建失败场景触发删除全部连接情况,需同时删除连接池

v1.6.4 release note

24 Aug 03:17
42e4e3d
Compare
Choose a tag to compare

修改内容包括:

兼容性

  • 兼容1.6.3及之前版本

v1.6.4的pom依赖

<!-- 日志门面使用slf4j,日志实现可以选择log4j、log4j2、logback,可参考:https://github.com/alipay/sofa-bolt/wiki/log_implementation_jar -->
 <dependency>
    <groupId>org.slf4j</groupId>
    <artifactId>slf4j-api</artifactId>
    <version>1.7.21</version>
</dependency>
<dependency>
    <groupId>io.netty</groupId>
    <artifactId>netty-all</artifactId>
    <version>4.1.42.Final</version>
</dependency>
<dependency>
    <groupId>com.alipay.sofa</groupId>
    <artifactId>bolt</artifactId>
    <version>1.6.4</version>
</dependency>
<dependency>
    <groupId>com.alipay.sofa.common</groupId>
    <artifactId>sofa-common-tools</artifactId>
    <version>1.0.12</version>
</dependency>

主要改动

feature

  • [feature] 支持双向SSL验证
  • [feature] 支持用户拓展注入Netty的ChannelHandler
  • [feature] 支持Wireshark插件

tuning

  • [tuning] 及时返回调用结果,避免客户端设置超时未1s,实际超过1s未返回超时的情况
  • [tuning] 记录更精确的request处理链路各个阶段的耗时
  • [tuning] 使用统一的Option配置接口代替散落的Switch和ConfigManager

v1.5.9 release note

23 Aug 12:31
Compare
Choose a tag to compare

兼容性

  • 兼容1.5.8及之前所有版本

v1.5.9的pom依赖

<!-- 日志门面使用slf4j,日志实现可以选择log4j、log4j2、logback,可参考:https://github.com/alipay/sofa-bolt/wiki/log_implementation_jar -->
 <dependency>
    <groupId>org.slf4j</groupId>
    <artifactId>slf4j-api</artifactId>
    <version>1.7.21</version>
</dependency>
<dependency>
    <groupId>io.netty</groupId>
    <artifactId>netty-all</artifactId>
    <version>4.1.42.Final</version>
</dependency>
<dependency>
    <groupId>com.alipay.sofa</groupId>
    <artifactId>bolt</artifactId>
    <version>1.5.9</version>
</dependency>
<dependency>
    <groupId>com.alipay.sofa.common</groupId>
    <artifactId>sofa-common-tools</artifactId>
    <version>1.0.12</version>
</dependency>

主要改动

feature

  • [feature] 支持更精准的记录请求处理各个阶段的耗时:客户端请求生成时间、请求Header解码时间、请求Body解码时间、请求进入处理队列时间等

v1.5.7

29 Jan 07:09
Compare
Choose a tag to compare
  • 优化 log4j2 日志配置,解决在异常场景下的性能问题

v1.6.2 release note

22 Jul 08:04
94c3623
Compare
Choose a tag to compare

修改内容包括:

所有MR以及issue见milestone1.6.2

兼容性

  • 兼容1.6.1版本

v1.6.2的pom依赖

<!-- 日志门面使用slf4j,日志实现可以选择log4j、log4j2、logback,可参考:https://github.com/alipay/sofa-bolt/wiki/log_implementation_jar -->
 <dependency>
    <groupId>org.slf4j</groupId>
    <artifactId>slf4j-api</artifactId>
    <version>1.7.21</version>
</dependency>
<dependency>
    <groupId>io.netty</groupId>
    <artifactId>netty-all</artifactId>
    <version>4.1.42.Final</version>
</dependency>
<dependency>
    <groupId>com.alipay.sofa</groupId>
    <artifactId>bolt</artifactId>
    <version>1.6.2</version>
</dependency>
<dependency>
    <groupId>com.alipay.sofa.common</groupId>
    <artifactId>sofa-common-tools</artifactId>
    <version>1.0.12</version>
</dependency>

主要改动

feature

  • [feature] 增加方法支持验证链接是否可用并异步创建连接
  • [feature] UserProcessor暴露方法支持用户设置ClassLoader

bugfix

  • [bugfix] 修复Url对象默认连接数为0导致不创建连接的问题#212
  • [bugfix] 修复无可用连接的ConnectionPool无法被回收的问题#210